Thread overview
[Issue 13005] DMD 2.066 prep: 32-bit build fails on Windows via create_dmd_release
Jun 29, 2014
safety0ff.bugz
Jun 29, 2014
Andrew Edwards
Jun 29, 2014
safety0ff.bugz
Jun 29, 2014
Andrew Edwards
Jun 29, 2014
safety0ff.bugz
Jun 30, 2014
Rainer Schuetze
Jul 01, 2014
Rainer Schuetze
Jul 06, 2014
Andrew Edwards
June 29, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

safety0ff.bugz <safety0ff.bugz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |safety0ff.bugz@gmail.com

--- Comment #1 from safety0ff.bugz <safety0ff.bugz@gmail.com> ---
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.)

--
June 29, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

--- Comment #2 from Andrew Edwards <edwards.ac@gmail.com> ---
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

--
June 29, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

--- Comment #3 from safety0ff.bugz <safety0ff.bugz@gmail.com> ---
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.

--
June 29, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

--- Comment #4 from Andrew Edwards <edwards.ac@gmail.com> ---
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

--
June 29, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

--- Comment #5 from safety0ff.bugz <safety0ff.bugz@gmail.com> ---
Ok, I'll leave it to somebody who understand the Windows build.

--
June 30, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #6 from Rainer Schuetze <r.sagitario@gmx.de> ---
For me, it is curl.lib that's missing from the localextras-windows\dmd2\windows\lib folder.

--
July 01, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

--- Comment #7 from Rainer Schuetze <r.sagitario@gmx.de> ---
(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.

--
July 06, 2014
https://issues.dlang.org/show_bug.cgi?id=13005

Andrew Edwards <edwards.ac@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #8 from Andrew Edwards <edwards.ac@gmail.com> ---
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.

--