develooper Front page | perl.perl5.porters | Postings from April 2018

[perl #133070] [PATCH] fix parallel ALL_STATIC Win32 build

Thread Previous
From:
bulk88
Date:
April 6, 2018 03:34
Subject:
[perl #133070] [PATCH] fix parallel ALL_STATIC Win32 build
Message ID:
rt-4.0.24-19092-1522985660-1937.133070-75-0@perl.org
# New Ticket Created by  bulk88 
# Please include the string:  [perl #133070]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133070 >


This is a bug report for perl from bulk88@hotmail.com,
generated with the help of perlbug 1.41 running under perl 5.27.9.


-----------------------------------------------------------------
[Please describe your issue here]

See attached patch. This is intended for 5.28. Its a follow on to 
problems I discussed in 
https://rt.perl.org/Ticket/Display.html?id=132992 . It fixes not being 
able to build ALL_STATIC Extensions_static target individually and 
relying on a race/adjacent targets to randomly finish first to make 
Extensions_static not fail.

example of failed static Normalize compile because the mktables data 
wasn't generated yet
----------------------------
cl -c   -nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -GL -DWIN32 -D_CONSOLE 
-DNO_STRICT
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
-DWIN32_NO_R
EGISTRY -DUSE_PERLIO -D_USE_32BIT_TIME_T -DPERLDLL -O1 -MD -Zi -DNDEBUG 
-GL   -D
VERSION=\"1.25\" -DXS_VERSION=\"1.25\"  "-I..\..\lib\CORE"   Collate.c
Collate.c
C:\perl521\srcnew\miniperl.exe "-I..\..\lib" -MExtUtils::Command -e rm_f 
-- "..\
..\lib\auto\Unicode\Collate\Collate.lib"
lib -ltcg -out:..\..\lib\auto\Unicode\Collate\Collate.lib Collate.obj
Microsoft (R) Library Manager Version 7.10.6030
Copyright (C) Microsoft Corporation.  All rights reserved.

C:\perl521\srcnew\miniperl.exe "-I..\..\lib" -MExtUtils::Command -e 
chmod -- 755
  ..\..\lib\auto\Unicode\Collate\Collate.lib
gmake[1]: Leaving directory 'C:/perl521/srcnew/cpan/Unicode-Collate'
Making header files for XS...
Unicode::Normalize, mkheader: CombiningClass.pl not found at ./mkheader 
line 67.

         require ./mkheader called at Makefile.PL line 11
Unsuccessful Makefile.PL(dist/Unicode-Normalize): code=512 at 
..\make_ext.pl lin
e 518.
GNUmakefile:1584: recipe for target 'Extensions_static' failed
gmake: *** [Extensions_static] Error 2
----------------------------

example of static extension failing because lib.pm not finished yet by a 
race

----------------------------
gmake[1]: Leaving directory 'C:/perl521/srcnew/ext/B'
Can't locate lib.pm in @INC (you may need to install the lib module) 
(@INC conta
ins: C:\perl521\srcnew\lib C:\perl521\srcnew\cpan\AutoLoader\lib 
C:\perl521\srcn
ew\dist\Carp\lib C:\perl521\srcnew\dist\PathTools 
C:\perl521\srcnew\dist\PathToo
ls\lib C:\perl521\srcnew\cpan\ExtUtils-Install\lib 
C:\perl521\srcnew\cpan\ExtUti
ls-MakeMaker\lib C:\perl521\srcnew\cpan\ExtUtils-Manifest\lib 
C:\perl521\srcnew\
cpan\File-Path\lib C:\perl521\srcnew\ext\re 
C:\perl521\srcnew\dist\Term-ReadLine
\lib C:\perl521\srcnew\dist\Exporter\lib 
C:\perl521\srcnew\ext\File-Find\lib C:\
perl521\srcnew\cpan\Text-Tabs\lib C:\perl521\srcnew\dist\constant\lib 
C:\perl521
\srcnew\cpan\version\lib C:\perl521\srcnew\cpan\Text-ParseWords\lib 
C:\perl521\s
rcnew\dist\ExtUtils-ParseXS\lib C:\perl521\srcnew\cpan\Getopt-Long\lib 
C:\perl52
1\srcnew\cpan\parent\lib C:\perl521\srcnew\cpan\ExtUtils-Constant\lib .) 
at Make
file.PL line 6.
BEGIN failed--compilation aborted at Makefile.PL line 6.
Unsuccessful Makefile.PL(cpan/Compress-Raw-Bzip2): code=512 at 
..\make_ext.pl li
ne 518.
GNUmakefile:1584: recipe for target 'Extensions_static' failed
gmake: *** [Extensions_static] Error 2
----------------------------


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
             category=core
             severity=low
---
Site configuration information for perl 5.27.9:

Configured by Administrator at Tue Jan 30 20:34:30 2018.

Summary of my perl5 (revision 5 version 27 subversion 9) configuration:

           Platform:
             osname=MSWin32
             osvers=5.2.3790
             archname=MSWin32-x86-multi-thread
             uname=''
             config_args='undef'
             hint=recommended
             useposix=true
             d_sigaction=undef
             useithreads=define
             usemultiplicity=define
             use64bitint=undef
             use64bitall=undef
             uselongdouble=undef
             usemymalloc=n
             default_inc_excludes_dot=define
             bincompat5005=undef
           Compiler:
             cc='cl'
             ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -GL -DWIN32
-D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE  -DPERL_TEXTMODE_SCRIPTS
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DWIN32_NO_REGISTRY'
             optimize='-O1 -MD -Zi -DNDEBUG -GL'
             cppflags='-DWIN32'
             ccversion='15.00.30729.01'
             gccversion=''
             gccosandvers=''
             intsize=4
             longsize=4
             ptrsize=4
             doublesize=8
             byteorder=1234
             doublekind=3
             d_longlong=undef
             longlongsize=8
             d_longdbl=define
             longdblsize=8
             longdblkind=0
             ivtype='long'
             ivsize=4
             nvtype='double'
             nvsize=8
             Off_t='__int64'
             lseeksize=8
             alignbytes=8
             prototype=define
           Linker and Libraries:
             ld='link'
             ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -ltcg
-libpath:"c:\perl\lib\CORE"        -machine:x86'
             libpth="C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\lib"
             libs=oldnames.lib kernel32.lib user32.lib gdi32.lib 
winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib
odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
             perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib
odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
             libc=msvcrt.lib
             so=dll
             useshrplib=true
             libperl=perl527.lib
             gnulibc_version=''
           Dynamic Linking:
             dlsrc=dl_win32.xs
             dlext=dll
             d_dlsymun=undef
             ccdlflags=' '
             cccdlflags=' '
             lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -ltcg
             -libpath:"c:\perl\lib\CORE"        -machine:x86'


---
@INC for perl 5.27.9:
             lib
             C:/p527/srcnew/lib

---
Environment for perl 5.27.9:
             CYGWIN=tty
             HOME (unset)
             LANG (unset)
             LANGUAGE (unset)
             LD_LIBRARY_PATH=/usr/lib/x86:/usr/X11R6/lib
             LOGDIR (unset)
             PATH=C:\WINDOWS\system32;C:\Program Files (x86)\Microsoft 
Visual
Studio 9.0\VC\BIN;C:\Program Files\Microsoft
SDKs\Windows\v6.0A\bin;C:\Perl\bin;C:\WINDOWS;C:\Program Files
(x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files
(x86)\Git\bin;C:\sp3220\c\bin;
             PERL_BADLANG (unset)
             SHELL (unset)

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About