Skip Menu |
 

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

Report information
The Basics
Id: 60375
Status: resolved
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: nanis [...] runu.moc.invalid
Requestors: sprout [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.57_01
Fixed in: 0.57_05



Subject: Test failures when HTTPS_PROXY is set
Date: Sun, 15 Aug 2010 14:01:07 -0700
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: Father Chrysostomos <sprout [...] cpan.org>
Download (untitled) / with headers
text/plain 4.7k
I’m getting test failures with DLAND/Crypt-SSLeay-0.57_01.tar.gz. I have the HTTPS_PROXY environment variable set. If I disable it, the failures go away. I also have NO_PROXY set to *.local,localhost,10.10.10.0/24 and I also tried it with 127.0.0.1, but Crypt::SSLeay seems to be ignoring it. I think it should bypass proxies for localhost/127.0.0.1 regardless. (Many other apps do the same.) cpan[2]> test DLAND/Crypt-SSLeay-0.57_01.tar.gz Running make for D/DL/DLAND/Crypt-SSLeay-0.57_01.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persistent state CPAN.pm: Going to build D/DL/DLAND/Crypt-SSLeay-0.57_01.tar.gz ======================================================= Only one OpenSSL installation found at /usr Consider running 'perl Makefile.PL --default' the next time Crypt::SSLeay is upgraded to select this directory automatically thereby avoiding the following prompt. ======================================================= Which SSL install path do you want to use? [/usr] BUILD INFORMATION ================================================ ssl library: OpenSSL 0.9.8 in /usr ssl header: openssl/ssl.h libraries: -L/usr/lib -lssl -lcrypto -lgcc include dir: -I/usr/include/openssl ================================================ Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgcc Writing Makefile for Crypt::SSLeay The test suite can attempt to connect to public servers to ensure that the code is working properly. If you are behind a strict firewall or have no network connectivity, these tests may fail (through no fault of the code). Do you want to run the live tests (y/N) ? [N] Could not read '/Users/sprout/.cpan/build/Crypt-SSLeay-0.57_01-luNBBu/META.yml'. Falling back to other methods to determine prerequisites cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm cp lib/Net/SSL.pm blib/lib/Net/SSL.pm cp SSLeay.pm blib/lib/Crypt/SSLeay.pm cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm /usr/bin/perl /System/Library/Perl/5.10.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.10.1/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -I/usr/include/openssl -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"0.57_01\" -DXS_VERSION=\"0.57_01\" "-I/System/Library/Perl/5.10.1/darwin-thread-multi-2level/CORE" SSLeay.c Running Mkbootstrap for Crypt::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.bundle LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.bundle \ -L/usr/lib -lssl -lcrypto \ chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.bundle cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs Manifying blib/man3/Net::SSL.3pm Manifying blib/man3/Crypt::SSLeay.3pm DLAND/Crypt-SSLeay-0.57_01.tar.gz /usr/bin/make -- OK Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-basic.t .... ok t/01-connect.t .. 1/8 # Failed test 'Net::SSL->new' # at t/01-connect.t line 28. # proxy connect failed: Bad arg length for Socket::pack_sockaddr_in, length is 9, should be 4 at /System/Library/Perl/5.10.1/darwin-thread-multi-2level/IO/Socket/INET.pm line 257. # ; No such file or directory at t/01-connect.t line 11 # Looks like you failed 1 test of 8. t/01-connect.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests (less 7 skipped subtests: 0 okay) t/02-live.t ..... 1/4 # config on darwin # ssl OpenSSL 0.9.8 in /usr # lib -L/usr/lib -lssl -lcrypto -lgcc # inc -I/usr/include/openssl # cc cc t/02-live.t ..... ok Test Summary Report ------------------- t/01-connect.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=3, Tests=24, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.44 cusr 0.05 csys = 0.56 CPU) Result: FAIL Failed 1/3 test programs. 1/24 subtests failed. make: *** [test_dynamic] Error 255 DLAND/Crypt-SSLeay-0.57_01.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DLAND/Crypt-SSLeay-0.57_01.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persistent state Failed during this command: DLAND/Crypt-SSLeay-0.57_01.tar.gz : make_test NO cpan[3]>
Download (untitled) / with headers
text/plain 5.2k
Could you please try http://search.cpan.org/~nanis/Crypt-SSLeay-0.57_05/ there a few patches related to proxy support. Thank you. -- Sinan On Sun Aug 15 17:01:22 2010, sprout@cpan.org wrote: Show quoted text
> I’m getting test failures with DLAND/Crypt-SSLeay-0.57_01.tar.gz. I > have the HTTPS_PROXY environment variable set. If I disable it, the > failures go away. I also have NO_PROXY set to > *.local,localhost,10.10.10.0/24 and I also tried it with 127.0.0.1, > but Crypt::SSLeay seems to be ignoring it. I think it should bypass > proxies for localhost/127.0.0.1 regardless. (Many other apps do the > same.) > > > > cpan[2]> test DLAND/Crypt-SSLeay-0.57_01.tar.gz > Running make for D/DL/DLAND/Crypt-SSLeay-0.57_01.tar.gz > Warning (usually harmless): 'YAML' not installed, will not store > persistent state > > CPAN.pm: Going to build D/DL/DLAND/Crypt-SSLeay-0.57_01.tar.gz > > ======================================================= > Only one OpenSSL installation found at /usr > Consider running 'perl Makefile.PL --default' the next > time Crypt::SSLeay is upgraded to select this directory > automatically thereby avoiding the following prompt. > ======================================================= > Which SSL install path do you want to use? [/usr] > > BUILD INFORMATION > ================================================ > ssl library: OpenSSL 0.9.8 in /usr > ssl header: openssl/ssl.h > libraries: -L/usr/lib -lssl -lcrypto -lgcc > include dir: -I/usr/include/openssl > ================================================ > Checking if your kit is complete... > Looks good > Note (probably harmless): No library found for -lgcc > Writing Makefile for Crypt::SSLeay > The test suite can attempt to connect to public servers > to ensure that the code is working properly. If you are > behind a strict firewall or have no network connectivity, > these tests may fail (through no fault of the code). > Do you want to run the live tests (y/N) ? [N] > Could not read '/Users/sprout/.cpan/build/Crypt-SSLeay-0.57_01- > luNBBu/META.yml'. Falling back to other methods to determine > prerequisites > cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm > cp lib/Net/SSL.pm blib/lib/Net/SSL.pm > cp SSLeay.pm blib/lib/Crypt/SSLeay.pm > cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm > cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm > cp lib/Crypt/SSLeay/MainContext.pm > blib/lib/Crypt/SSLeay/MainContext.pm > cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm > /usr/bin/perl /System/Library/Perl/5.10.1/ExtUtils/xsubpp -typemap > /System/Library/Perl/5.10.1/ExtUtils/typemap -typemap typemap > SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c > cc -c -I/usr/include/openssl -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -O3 -DVERSION=\"0.57_01\" > -DXS_VERSION=\"0.57_01\" "-I/System/Library/Perl/5.10.1/darwin- > thread-multi-2level/CORE" SSLeay.c > Running Mkbootstrap for Crypt::SSLeay () > chmod 644 SSLeay.bs > rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.bundle > LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle > -undefined dynamic_lookup -L/usr/local/lib -fstack-protector > SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.bundle \ > -L/usr/lib -lssl -lcrypto \ > > chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.bundle > cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs > chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs > Manifying blib/man3/Net::SSL.3pm > Manifying blib/man3/Crypt::SSLeay.3pm > DLAND/Crypt-SSLeay-0.57_01.tar.gz > /usr/bin/make -- OK > Warning (usually harmless): 'YAML' not installed, will not store > persistent state > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00-basic.t .... ok > t/01-connect.t .. 1/8 > # Failed test 'Net::SSL->new' > # at t/01-connect.t line 28. > # proxy connect failed: Bad arg length for Socket::pack_sockaddr_in, > length is 9, should be 4 at /System/Library/Perl/5.10.1/darwin- > thread-multi-2level/IO/Socket/INET.pm line 257. > # ; No such file or directory at t/01-connect.t line 11 > # Looks like you failed 1 test of 8. > t/01-connect.t .. Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/8 subtests > (less 7 skipped subtests: 0 okay) > t/02-live.t ..... 1/4 # config on darwin > # ssl OpenSSL 0.9.8 in /usr > # lib -L/usr/lib -lssl -lcrypto -lgcc > # inc -I/usr/include/openssl > # cc cc > t/02-live.t ..... ok > > Test Summary Report > ------------------- > t/01-connect.t (Wstat: 256 Tests: 8 Failed: 1) > Failed test: 1 > Non-zero exit status: 1 > Files=3, Tests=24, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.44 cusr > 0.05 csys = 0.56 CPU) > Result: FAIL > Failed 1/3 test programs. 1/24 subtests failed. > make: *** [test_dynamic] Error 255 > DLAND/Crypt-SSLeay-0.57_01.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, > try: > reports DLAND/Crypt-SSLeay-0.57_01.tar.gz > Warning (usually harmless): 'YAML' not installed, will not store > persistent state > Failed during this command: > DLAND/Crypt-SSLeay-0.57_01.tar.gz : make_test NO > > cpan[3]> >
Subject: Re: [rt.cpan.org #60375] Test failures when HTTPS_PROXY is set
Date: Sun, 15 Aug 2010 14:22:41 -0700
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: Father Chrysostomos <sprout [...] cpan.org>
Download (untitled) / with headers
text/plain 5.4k
On Aug 15, 2010, at 2:20 PM, A. Sinan Unur via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=60375 > > > Could you please try > > http://search.cpan.org/~nanis/Crypt-SSLeay-0.57_05/ > > there a few patches related to proxy support. > > Thank you.
Works like a charm! Thank you. Show quoted text
> > -- Sinan > > > On Sun Aug 15 17:01:22 2010, sprout@cpan.org wrote:
>> I’m getting test failures with DLAND/Crypt-SSLeay-0.57_01.tar.gz. I >> have the HTTPS_PROXY environment variable set. If I disable it, the >> failures go away. I also have NO_PROXY set to >> *.local,localhost,10.10.10.0/24 and I also tried it with 127.0.0.1, >> but Crypt::SSLeay seems to be ignoring it. I think it should bypass >> proxies for localhost/127.0.0.1 regardless. (Many other apps do the >> same.) >> >> >> >> cpan[2]> test DLAND/Crypt-SSLeay-0.57_01.tar.gz >> Running make for D/DL/DLAND/Crypt-SSLeay-0.57_01.tar.gz >> Warning (usually harmless): 'YAML' not installed, will not store >> persistent state >> >> CPAN.pm: Going to build D/DL/DLAND/Crypt-SSLeay-0.57_01.tar.gz >> >> ======================================================= >> Only one OpenSSL installation found at /usr >> Consider running 'perl Makefile.PL --default' the next >> time Crypt::SSLeay is upgraded to select this directory >> automatically thereby avoiding the following prompt. >> ======================================================= >> Which SSL install path do you want to use? [/usr] >> >> BUILD INFORMATION >> ================================================ >> ssl library: OpenSSL 0.9.8 in /usr >> ssl header: openssl/ssl.h >> libraries: -L/usr/lib -lssl -lcrypto -lgcc >> include dir: -I/usr/include/openssl >> ================================================ >> Checking if your kit is complete... >> Looks good >> Note (probably harmless): No library found for -lgcc >> Writing Makefile for Crypt::SSLeay >> The test suite can attempt to connect to public servers >> to ensure that the code is working properly. If you are >> behind a strict firewall or have no network connectivity, >> these tests may fail (through no fault of the code). >> Do you want to run the live tests (y/N) ? [N] >> Could not read '/Users/sprout/.cpan/build/Crypt-SSLeay-0.57_01- >> luNBBu/META.yml'. Falling back to other methods to determine >> prerequisites >> cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm >> cp lib/Net/SSL.pm blib/lib/Net/SSL.pm >> cp SSLeay.pm blib/lib/Crypt/SSLeay.pm >> cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm >> cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm >> cp lib/Crypt/SSLeay/MainContext.pm >> blib/lib/Crypt/SSLeay/MainContext.pm >> cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm >> /usr/bin/perl /System/Library/Perl/5.10.1/ExtUtils/xsubpp -typemap >> /System/Library/Perl/5.10.1/ExtUtils/typemap -typemap typemap >> SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c >> cc -c -I/usr/include/openssl -fno-common -DPERL_DARWIN >> -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector >> -I/usr/local/include -O3 -DVERSION=\"0.57_01\" >> -DXS_VERSION=\"0.57_01\" "-I/System/Library/Perl/5.10.1/darwin- >> thread-multi-2level/CORE" SSLeay.c >> Running Mkbootstrap for Crypt::SSLeay () >> chmod 644 SSLeay.bs >> rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.bundle >> LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle >> -undefined dynamic_lookup -L/usr/local/lib -fstack-protector >> SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.bundle \ >> -L/usr/lib -lssl -lcrypto \ >> >> chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.bundle >> cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs >> chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs >> Manifying blib/man3/Net::SSL.3pm >> Manifying blib/man3/Crypt::SSLeay.3pm >> DLAND/Crypt-SSLeay-0.57_01.tar.gz >> /usr/bin/make -- OK >> Warning (usually harmless): 'YAML' not installed, will not store >> persistent state >> Running make test >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> t/00-basic.t .... ok >> t/01-connect.t .. 1/8 >> # Failed test 'Net::SSL->new' >> # at t/01-connect.t line 28. >> # proxy connect failed: Bad arg length for Socket::pack_sockaddr_in, >> length is 9, should be 4 at /System/Library/Perl/5.10.1/darwin- >> thread-multi-2level/IO/Socket/INET.pm line 257. >> # ; No such file or directory at t/01-connect.t line 11 >> # Looks like you failed 1 test of 8. >> t/01-connect.t .. Dubious, test returned 1 (wstat 256, 0x100) >> Failed 1/8 subtests >> (less 7 skipped subtests: 0 okay) >> t/02-live.t ..... 1/4 # config on darwin >> # ssl OpenSSL 0.9.8 in /usr >> # lib -L/usr/lib -lssl -lcrypto -lgcc >> # inc -I/usr/include/openssl >> # cc cc >> t/02-live.t ..... ok >> >> Test Summary Report >> ------------------- >> t/01-connect.t (Wstat: 256 Tests: 8 Failed: 1) >> Failed test: 1 >> Non-zero exit status: 1 >> Files=3, Tests=24, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.44 cusr >> 0.05 csys = 0.56 CPU) >> Result: FAIL >> Failed 1/3 test programs. 1/24 subtests failed. >> make: *** [test_dynamic] Error 255 >> DLAND/Crypt-SSLeay-0.57_01.tar.gz >> /usr/bin/make test -- NOT OK >> //hint// to see the cpan-testers results for installing this module, >> try: >> reports DLAND/Crypt-SSLeay-0.57_01.tar.gz >> Warning (usually harmless): 'YAML' not installed, will not store >> persistent state >> Failed during this command: >> DLAND/Crypt-SSLeay-0.57_01.tar.gz : make_test NO >> >> cpan[3]> >>
> > >
Download (untitled) / with headers
text/plain 376b
On Sun Aug 15 17:23:00 2010, sprout@cpan.org wrote: Show quoted text
> > On Aug 15, 2010, at 2:20 PM, A. Sinan Unur via RT wrote: >
> > Could you please try > > > > http://search.cpan.org/~nanis/Crypt-SSLeay-0.57_05/ > > > > there a few patches related to proxy support.
> > Works like a charm! > > Thank you.
That's good to hear. Thank you for getting back to me so promptly. -- Sinan


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.