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

Dub fails in case insensitive filesystems when the source folder is named "Source" #1748

Closed
yatima1460 opened this issue Aug 2, 2019 · 3 comments
Labels

Comments

@yatima1460
Copy link

yatima1460 commented Aug 2, 2019

Exactly as the title says, on my Travis build.

ex:

Error: module Context from file Source/Backend/Context.d conflicts with another module Context from file source/Backend/Context.d

https://travis-ci.org/yatima1460/Drill/jobs/566776946

Dub fails on Windows and OSX because their dub version actually both automatically includes source and Source, on Linux it works

In fact moving the source files outside of Source solved the issue:

https://travis-ci.org/yatima1460/Drill/jobs/566782770

@Geod24
Copy link
Member

Geod24 commented Aug 2, 2019

That's DMD erroring on you, not dub.
Just set sourcePaths to not have the default value and you'd be fine.

@yatima1460
Copy link
Author

Oh I see, nonetheless it has different behaviors based on the filesystem type, shouldn't this be considered a bug anyway?

@Geod24
Copy link
Member

Geod24 commented Dec 20, 2019

Oh I see, nonetheless it has different behaviors based on the filesystem type, shouldn't this be considered a bug anyway?

It's one of those bugs where working around it will not yield much fruit. There is only so much manpower we can dedicate to the tool.

And since it affects an external tool, closing the issue now.

@Geod24 Geod24 closed this as completed Dec 20, 2019
@Geod24 Geod24 added the invalid label Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants