Bug 23953 – Windows. import path contains not all files

Status
NEW
Severity
major
Priority
P1
Component
installer
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2023-06-01T16:53:23Z
Last change time
2025-01-02T15:47:38Z
Assigned to
Iain Buclaw
Creator
a11e99z
Moved to GitHub: installer#668 →

Comments

Comment #0 by black80 — 2023-06-01T16:53:23Z
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).
Comment #1 by robert.schadek — 2025-01-02T15:47:38Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/668 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB