Bug 13005 – DMD 2.066 prep: 32-bit build fails on Windows via create_dmd_release

Status
RESOLVED
Resolution
INVALID
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-06-29T04:49:00Z
Last change time
2014-07-06T14:03:20Z
Assigned to
nobody
Creator
edwards.ac

Attachments

IDFilenameSummaryContent-TypeSize
1366output.txtcreate_dmd_release outputtext/plain6944

Comments

Comment #0 by edwards.ac — 2014-06-29T04:49:22Z
Created attachment 1366 create_dmd_release output Issue does not appear until https://github.com/P-Programming-Language/installer/pull/81 is applied. Same problem as Issue 13002. See attachment for build output.
Comment #1 by safety0ff.bugz — 2014-06-29T05:33:25Z
The error is not in the output (looks like stdout and no stderr.) I took a quick look at the Windows makefiles and didn't see anything missing (I don't have a Windows machine with D devel. set up, so I can't test.)
Comment #2 by edwards.ac — 2014-06-29T05:55:57Z
Seems to be the same problem as that encountered in 13002. Note that this issue did not surface for me until https://github.com/D-Programming-Language/installer/pull/81/ was applied. Output pasted below: Building DMD 32-bit Copying file 'C:\Users\vagrant\AppData\Local\Temp\create_dmd_release/dmd/src/dmd.exe' to 'C:\Users\vagrant\AppData\Local\Temp\create_dmd_release/dmd/src/dmd32.exe'. Copying file 'C:\Users\vagrant\Documents\installer\create_dmd_release\extras/windows/dmd2/windows/bin/link.exe' to 'C:\Users\vagrant\AppData\Local\Temp\create_dmd_release/dmd/src/link.exe'. Building Druntime 32-bit Building Phobos 32-bit std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. Copying file 'C:\Users\vagrant\AppData\Local\Temp\create_dmd_release/phobos/phobos.lib' to 'C:\Users\vagrant\AppData\Local\Temp\create_dmd_release/phobos/generated/windows/release/32/phobos.lib'. Building Druntime Docs Building Phobos Docs std\bitmanip.d(2354): Warning: Ddoc: function declaration has no parameter 'index' std\bitmanip.d(2354): Warning: Ddoc: parameter count mismatch std\bitmanip.d(2958): Warning: Ddoc: parameter count mismatch std\bitmanip.d(3314): Warning: Ddoc: parameter count mismatch std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\getopt.d(388): Warning: Ddoc: Stray '('. This may cause incorrect Ddoc output. Use $(LPAREN) instead for unpaired left parentheses. std\parallelism.d(1807): Warning: Ddoc: function declaration has no parameter 'source' std\parallelism.d(1807): Warning: Ddoc: function declaration has no parameter 'bufSize' std\parallelism.d(1807): Warning: Ddoc: function declaration has no parameter 'workUnitSize' std\process.d(1615): Warning: Ddoc: function declaration has no parameter 'program' std\process.d(1615): Warning: Ddoc: function declaration has no parameter 'command' std\process.d(1615): Warning: Ddoc: parameter count mismatch std\process.d(1953): Warning: Ddoc: function declaration has no parameter 'program' std\process.d(1953): Warning: Ddoc: function declaration has no parameter 'command' std\process.d(1953): Warning: Ddoc: parameter count mismatch std\random.d(1601): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired right parentheses. std\random.d(1601): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired right parentheses. std\stdio.d(709): Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"&="(__fhnd_info[cast(uint)fd], ~FHND_TEXT) instead. std\string.d(1044): Warning: Ddoc: parameter count mismatch std\string.d(1109): Warning: Ddoc: parameter count mismatch std\string.d(1189): Warning: Ddoc: parameter count mismatch std\string.d(1271): Warning: Ddoc: parameter count mismatch ..\druntime\src\core\thread.d(2743): Warning: Ddoc: function declaration has no parameter 'hasMarks' std\uni.d(2333): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired right parentheses. std\uni.d(2333): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired right parentheses. std\uni.d(2333): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired right parentheses. std\net\curl.d(2450): Warning: Ddoc: function declaration has no parameter 'dlTotal' std\net\curl.d(2450): Warning: Ddoc: function declaration has no parameter 'dlNow' std\net\curl.d(2450): Warning: Ddoc: function declaration has no parameter 'ulTotal' std\net\curl.d(2450): Warning: Ddoc: function declaration has no parameter 'ulNow' std\net\curl.d(2450): Warning: Ddoc: parameter count mismatch std\net\curl.d(3058): Warning: Ddoc: function declaration has no parameter 'dlTotal' std\net\curl.d(3058): Warning: Ddoc: function declaration has no parameter 'dlNow' std\net\curl.d(3058): Warning: Ddoc: function declaration has no parameter 'ulTotal' std\net\curl.d(3058): Warning: Ddoc: function declaration has no parameter 'ulNow' std\net\curl.d(3058): Warning: Ddoc: parameter count mismatch std\net\curl.d(3396): Warning: Ddoc: function declaration has no parameter 'dlTotal' std\net\curl.d(3396): Warning: Ddoc: function declaration has no parameter 'dlNow' std\net\curl.d(3396): Warning: Ddoc: function declaration has no parameter 'ulTotal' std\net\curl.d(3396): Warning: Ddoc: function declaration has no parameter 'ulNow' std\net\curl.d(3396): Warning: Ddoc: parameter count mismatch std\windows\registry.d(123): Warning: Ddoc: parameter count mismatch std\windows\registry.d(136): Warning: Ddoc: parameter count mismatch std\windows\registry.d(898): Warning: Ddoc: parameter count mismatch std\windows\registry.d(973): Warning: Ddoc: parameter count mismatch Building dlang.org create_dmd_release: Error: Command failed (ran from dir 'C:\Users\vagrant\AppData\Local\Temp\create_dmd_release\dlang.org'): make MODEL=32 DMD=../dmd/src/dmd RELEASE=1 LATEST=master -f win32.mak chm DOCSRC=../dlang.org DOCDIR=../web/phobos-prerelease > NUL
Comment #3 by safety0ff.bugz — 2014-06-29T06:09:18Z
In the mess of warnings and deprecation messages issue 13002 had this line: make: *** No rule to make target `../web/phobos-prerelease/std_container_package.html', needed by `html'. Stop. make: *** Waiting for unfinished jobs.... This is likely on stderr, your output looks to be stdout only and does not say what the actual issue is.
Comment #4 by edwards.ac — 2014-06-29T06:25:20Z
Output is a combination of stderr and stdout. It is produced in accordance with instructions at http://support.microsoft.com/kb/110930. Actual command used: create_dmd_release --extras=extras/windows --archive master 1> output.txt 2>&1
Comment #5 by safety0ff.bugz — 2014-06-29T06:32:03Z
Ok, I'll leave it to somebody who understand the Windows build.
Comment #6 by r.sagitario — 2014-06-30T07:35:14Z
For me, it is curl.lib that's missing from the localextras-windows\dmd2\windows\lib folder.
Comment #7 by r.sagitario — 2014-07-01T06:34:17Z
(In reply to Andrew Edwards from comment #4) > Output is a combination of stderr and stdout. It is produced in accordance > with instructions at http://support.microsoft.com/kb/110930. > > Actual command used: > create_dmd_release --extras=extras/windows --archive master 1> output.txt > 2>&1 BTW: you can see OPTLINK failing if you add --verbose.
Comment #8 by edwards.ac — 2014-07-06T14:03:20Z
Vagrant 1.6+ natively supports Windows guests over WinRM. This eliminated the need to install the vagrant-windows plugin. In order for the build system to work properly however, this plugin is required.