DUB mismatch between project structure and dub.json contents
Nordlöw via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Apr 10 05:59:21 PDT 2017
On Monday, 10 April 2017 at 12:56:49 UTC, Nordlöw wrote:
> I have a project with the tree structure
>
> ├── knetquery
Ignore this sub-directory. It's unused.
Further, `dub -v` outputs
Using dub registry url 'http://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at
/var/lib/dub/packages/local-packages.json
Looking for local package map at
/home/per/.dub/packages/local-packages.json
Determined package version using GIT: knet ~master
Refreshing local packages (refresh existing: false)...
Looking for local package map at
/var/lib/dub/packages/local-packages.json
Looking for local package map at
/home/per/.dub/packages/local-packages.json
Refreshing local packages (refresh existing: false)...
Looking for local package map at
/var/lib/dub/packages/local-packages.json
Looking for local package map at
/home/per/.dub/packages/local-packages.json
Checking for upgrades.
Using cached upgrade results...
Generating using build
Generate target knet (executable /home/per/Work/knet knet)
Performing "debug" build using dmd for x86_64.
Target
'/home/per/Work/knet/.dub/build/application-debug-linux.posix-x86_64-dmd_2075-21557963A7E675B601897ABC1341C7AF/knet' doesn't exist, need rebuild.
knet ~master: building configuration "application"...
dmd -vcolumns -c
-of.dub/build/application-debug-linux.posix-x86_64-dmd_2075-21557963A7E675B601897ABC1341C7AF/knet.o -debug -g -w -version=VibeCustomMain -version=Have_knet -Isrc -Ilinenoise-d -Iphobos-next/src linenoise-d/examples/D/example.d phobos-next/src/algorithm_ex.d phobos-next/src/array_ex.d phobos-next/src/arrayn.d phobos-next/src/assert_ex.d phobos-next/src/bijections.d phobos-next/src/bithashset.d phobos-next/src/bitop_ex.d phobos-next/src/bitset.d phobos-next/src/borrowed.d phobos-next/src/borrown.d phobos-next/src/bound.d phobos-next/src/byline.d phobos-next/src/bylinefast.d phobos-next/src/casing.d phobos-next/src/combinations.d phobos-next/src/container_traits.d phobos-next/src/conv_ex.d phobos-next/src/datetime_ex.d phobos-next/src/dbgio.d phobos-next/src/find_ex.d phobos-next/src/geodetic.d phobos-next/src/getopt_ex.d phobos-next/src/grammar.d phobos-next/src/index_array.d phobos-next/src/inplace_algorithm.d phobos-next/src/ipa.d phobos-next/src/ixes.d phobos-next/src/languages.d phobos-next/src/math_ex.d phobos-next/src/mmfile_ex.d phobos-next/src/modulo.d phobos-next/src/nesses.d phobos-next/src/nstate.d phobos-next/src/owned.d phobos-next/src/permutations.d phobos-next/src/predicates.d phobos-next/src/products.d phobos-next/src/qcmeman.d phobos-next/src/rainbows.d phobos-next/src/random_ex.d phobos-next/src/range_ex.d phobos-next/src/rational.d phobos-next/src/rdf.d phobos-next/src/searching_ex.d phobos-next/src/setops_ex.d phobos-next/src/skip_ex.d phobos-next/src/slicing.d phobos-next/src/sort_ex.d phobos-next/src/sortn.d phobos-next/src/stemming.d phobos-next/src/string_ex.d phobos-next/src/substitution.d phobos-next/src/syllables.d phobos-next/src/ties.d phobos-next/src/traits_ex.d phobos-next/src/trie.d phobos-next/src/typecons_ex.d phobos-next/src/unique_range.d phobos-next/src/variant_ex.d phobos-next/src/vary.d phobos-next/src/vla.d src/app.d src/knet/acceptors.d src/knet/association.d src/knet/attributes.d src/knet/base.d src/knet/coloring.d src/knet/config.d src/knet/connectivity.d src/knet/contexts.d src/knet/conv.d src/knet/data.d src/knet/decodings.d src/knet/fact.d src/knet/factixs.d src/knet/filtering.d src/knet/genders.d src/knet/index.d src/knet/inference.d src/knet/io.d src/knet/iteration.d src/knet/learning.d src/knet/lectures/adjectives.d src/knet/lectures/adverbials.d src/knet/lectures/adverbs.d src/knet/lectures/articles.d src/knet/lectures/associations.d src/knet/lectures/computers.d src/knet/lectures/conjunctions.d src/knet/lectures/emotions.d src/knet/lectures/etymology.d src/knet/lectures/feelings.d src/knet/lectures/grammar.d src/knet/lectures/interjections.d src/knet/lectures/math.d src/knet/lectures/minimal.d src/knet/lectures/misc.d src/knet/lectures/names.d src/knet/lectures/nouns.d src/knet/lectures/package.d src/knet/lectures/physics.d src/knet/lectures/pos.d src/knet/lectures/precise.d src/knet/lectures/pronouns.d src/knet/lectures/punctuations.d src/knet/lectures/standard.d src/knet/lectures/syllabifications.d src/knet/lectures/time.d src/knet/lectures/trained.d src/knet/lectures/usage.d src/knet/lectures/verbs.d src/knet/lemma.d src/knet/linking.d src/knet/lookup.d src/knet/morphology.d src/knet/nlmappings.d src/knet/node.d src/knet/origins.d src/knet/path.d src/knet/patterns.d src/knet/persistence.d src/knet/potes.d src/knet/predicates.d src/knet/properties.d src/knet/querying.d src/knet/readers/cn5.d src/knet/readers/dbpedia.d src/knet/readers/folklex.d src/knet/readers/moby.d src/knet/readers/nell.d src/knet/readers/package.d src/knet/readers/saldom.d src/knet/readers/sumo.d src/knet/readers/swesaurus.d src/knet/readers/synlex.d src/knet/readers/wordnet.d src/knet/readers/wordnet_saldo.d src/knet/reduction.d src/knet/relation_inference.d src/knet/relations.d src/knet/rhyming.d src/knet/roles.d src/knet/roles_io.d src/knet/searching.d src/knet/sense.d src/knet/separators.d src/knet/setops.d src/knet/sorting.d src/knet/statistics.d src/knet/step.d src/knet/tests/association.d src/knet/tests/data.d src/knet/tests/linking.d src/knet/tests/lookup.d src/knet/tests/other.d src/knet/tests/traversal.d src/knet/thematics.d src/knet/time.d src/knet/traversal.d src/knet/visualization.d -vcolumns
src/knet/traversal.d(20,8): Error: module factixs from file
src/knet/factixs.d must be imported with 'import factixs;'
FAIL
.dub/build/application-debug-linux.posix-x86_64-dmd_2075-21557963A7E675B601897ABC1341C7AF/ knet executable
dmd failed with exit code 1.
More information about the Digitalmars-d-learn
mailing list