Skip Menu |

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 116596
Status: resolved
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: sinan [...] unur.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.76



Subject: Net::SSLeay 1.75 fails to build on Windows
Date: Sat, 30 Jul 2016 22:06:56 -0400
To: bug-Net-SSLeay [...] rt.cpan.org
From: "A. Sinan Unur" <sinan [...] unur.com>
This is with MSVC2013 compiled 64-bit perl 5.24.1-RC2. Output of perl -V below. 1.74 built with no problems. ... Creating library blib\arch\auto\Net\SSLeay\SSLeay.lib and object blib\arch\auto\Net\SSLeay\SSLeay.exp SSLeay.obj : error LNK2001: unresolved external symbol bzero blib\arch\auto\Net\SSLeay\SSLeay.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\link.EXE"' : return code '0x460' Stop. As far as I know, there is no bzero on this platform. See also https://stackoverflow.com/q/17096990/100754 and https://msdn.microsoft.com/en-us/library/windows/desktop/aa366877(v=vs.85).aspx Summary of my perl5 (revision 5 version 24 subversion 1) configuration: Platform: osname=MSWin32, osvers=10.0, archname=MSWin32-x64-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -O2 -favor:INTEL64 -Qpar -MD -Zi -DNDEBUG -GL -fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DWIN32_NO_REGISTRY', optimize='-O2 -favor:INTEL64 -Qpar -MD -Zi -DNDEBUG -GL -fp:precise', cppflags='-DWIN32' ccversion='18.00.31101', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8, longdblkind=0 ivtype='__int64', ivsize=8, 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:\opt\perl\5.24.1\lib\CORE" -machine:AMD64 -subsystem:console,"5.02"' libpth="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64" 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=perl524.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:\opt\perl\5.24.1\lib\CORE" -machine:AMD64 -subsystem:console,"5.02"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_NO_REGISTRY USE_PERLIO USE_PERL_ATOF Locally applied patches: RC2 Built under MSWin32 Compiled at Jul 30 2016 12:11:40 %ENV: PERLDOC_PAGER="c:\opt\cygwin64\bin\less.exe -+C -E -F -g -i" PERL_CPANM_OPT="--from https://cpan.metacpan.org/" @INC: c:/opt/perl/site/5.24.1/lib/MSWin32-x64-multi-thread c:/opt/perl/site/5.24.1/lib c:/opt/perl/5.24.1/lib .
Subject: Re: [rt.cpan.org #116596] Net::SSLeay 1.75 fails to build on Windows
Date: Sun, 31 Jul 2016 12:52:44 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Hi, thanks for the report. New version 1.76 now sent to CPAN. Cheers. On Saturday, July 30, 2016 10:07:08 PM you wrote: Show quoted text
> Sat Jul 30 22:07:07 2016: Request 116596 was acted upon. > Transaction: Ticket created by sinan@unur.com > Queue: Net-SSLeay > Subject: Net::SSLeay 1.75 fails to build on Windows > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: sinan@unur.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116596 > > > > This is with MSVC2013 compiled 64-bit perl 5.24.1-RC2. Output of perl -V > below. > > 1.74 built with no problems. > > ... > Creating library blib\arch\auto\Net\SSLeay\SSLeay.lib and object > blib\arch\auto\Net\SSLeay\SSLeay.exp > SSLeay.obj : error LNK2001: unresolved external symbol bzero > blib\arch\auto\Net\SSLeay\SSLeay.dll : fatal error LNK1120: 1 > unresolved externals > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio 12.0\VC\BIN\amd64\link.EXE"' : return code '0x460' > Stop. > > As far as I know, there is no bzero on this platform. > > See also https://stackoverflow.com/q/17096990/100754 > > and > > https://msdn.microsoft.com/en-us/library/windows/desktop/aa366877(v=vs.85).a > spx > > Summary of my perl5 (revision 5 version 24 subversion 1) configuration: > > Platform: > osname=MSWin32, osvers=10.0, archname=MSWin32-x64-multi-thread > uname='' > config_args='undef' > hint=recommended, useposix=true, d_sigaction=undef > useithreads=define, usemultiplicity=define > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cl', ccflags ='-nologo -GF -W3 -O2 -favor:INTEL64 -Qpar -MD > -Zi -DNDEBUG -GL -fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 > -DCONSERVATIVE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE > -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS > -DWIN32_NO_REGISTRY', > optimize='-O2 -favor:INTEL64 -Qpar -MD -Zi -DNDEBUG -GL -fp:precise', > cppflags='-DWIN32' > ccversion='18.00.31101', gccversion='', gccosandvers='' > intsize=4, longsize=4, ptrsize=8, doublesize=8, > byteorder=12345678, doublekind=3 > d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8, > longdblkind=0 > ivtype='__int64', ivsize=8, 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:\opt\perl\5.24.1\lib\CORE" -machine:AMD64 > -subsystem:console,"5.02"' > libpth="C:\Program Files (x86)\Microsoft Visual Studio > 12.0\VC\lib\amd64" 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=perl524.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:\opt\perl\5.24.1\lib\CORE" > -machine:AMD64 -subsystem:console,"5.02"' > > > Characteristics of this binary (from libperl): > Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY > PERLIO_LAYERS PERL_COPY_ON_WRITE > PERL_DONT_CREATE_GVSV > PERL_HASH_FUNC_ONE_AT_A_TIME_HARD > PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS > PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL > USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES > USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE > USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_NO_REGISTRY > USE_PERLIO USE_PERL_ATOF > Locally applied patches: > RC2 > Built under MSWin32 > Compiled at Jul 30 2016 12:11:40 > %ENV: > PERLDOC_PAGER="c:\opt\cygwin64\bin\less.exe -+C -E -F -g -i" > PERL_CPANM_OPT="--from https://cpan.metacpan.org/" > @INC: > c:/opt/perl/site/5.24.1/lib/MSWin32-x64-multi-thread > c:/opt/perl/site/5.24.1/lib > c:/opt/perl/5.24.1/lib > .
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474
CC: "A. Sinan Unur" <sinan [...] unur.com>
Subject: Re: [rt.cpan.org #116596] Net::SSLeay 1.75 fails to build on Windows
Date: Sun, 31 Jul 2016 07:40:56 -0400
To: bug-Net-SSLeay [...] rt.cpan.org
From: "A. Sinan Unur" <sinan [...] unur.com>
Thank you. C:\Users\sinan> cpan-outdated|cpanm --> Working on M/MI/MIKEM/Net-SSLeay-1.76.tar.gz Fetching https://cpan.metacpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.76.tar.gz ... OK Configuring Net-SSLeay-1.76 ... OK Building and testing Net-SSLeay-1.76 ... OK Successfully installed Net-SSLeay-1.76