Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Bad error message when toplevel package.json5 is missing #80

Open
me-minus opened this issue Jun 26, 2021 · 0 comments
Open

[BUG] Bad error message when toplevel package.json5 is missing #80

me-minus opened this issue Jun 26, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@me-minus
Copy link

eden.tar.gz

Building this little project fails with an unhelpfull error message.
Adding a simple project.json5 in the eden directory makes the build work.

dds Output

~/program/eden$ ../eden2/dds/_build/dds --log_level debug build -t :clang-10
[debug] Opening package database [/home/minus/.local/share/dds/pkgs.db]
[warning] Dependency version ranges are deprecated. All are treated as same-major-version. (Parsing dependency 'neo-fun^0.5.5')
[debug] Scanning for sources in /home/minus/program/eden/libs/mousetail
[debug] Found 2 source files
[debug] Scanning for sources in /home/minus/program/eden/libs/gardenia
[debug] Found 1 source files
[debug] Generating an archive library for /mousetail
[debug] Library /gardenia has no compiled inputs, so no archive will be generated
[error] Cannot find non-existent usage requirements for 'eden/mousetail'
[error] 
A `uses` or `links` field for a library specifies a library of an unknown name.
Check your spelling, and check that the package containing the library is
available, either from the `package.json5` or from the `INDEX.lmi` that was used
for the build.

[error] Refer: https://vector-of-bool.github.io/docs/dds/err/unknown-usage.html

Desktop (please complete the following information):

  • Operating System: Linux Ubuntu 21.04
  • Compiler: Clang
  • dds Version: devel: 8de0085
@me-minus me-minus added the bug Something isn't working label Jun 26, 2021
@me-minus me-minus changed the title [BUG] [BUG] Bad error message when toplevel package.json5 is missing Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant