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

Windows. import path contains not all files #668

Open
dlangBugzillaToGithub opened this issue Jun 1, 2023 · 0 comments
Open

Windows. import path contains not all files #668

dlangBugzillaToGithub opened this issue Jun 1, 2023 · 0 comments

Comments

@dlangBugzillaToGithub
Copy link

a11e99z reported this on 2023-06-01T16:53:23Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=23953

CC List

Description

I faced up with issues:
(dmd2)\windows\bin64\..\..\src\druntime\import\object.d-mixin-4744(4744,19): Error: unable to read module `sync`
(dmd2)\windows\bin64\..\..\src\druntime\import\object.d-mixin-4744(4744,19):        Expected 'core\sync.d' or 'core\sync\package.d' in one of the following import paths:
import path[0] = source
import path[1] = (dmd2)\windows\bin64\..\..\src\phobos
import path[2] = (dmd2)\windows\bin64\..\..\src\druntime\import

and u can see in https://downloads.dlang.org/pre-releases/2.x/2.104.0/dmd.2.104.0-rc.1.windows.7z (2.103.1 same) that folder "src\druntime\import" doesn't contain "core/sync/package.d".
but folder "src\druntime\src" contains the one.

so workaround copy the one from one folder to other.

need to fix:
1) deal with import files/folder.
2) try to get rid of duplicate files (just increase the archive).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant