all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* perl-io-socket-ssl build failures on 'security-updates' branch
@ 2016-01-29  7:26 Mark H Weaver
  2016-01-29  7:59 ` Efraim Flashner
  2016-01-31 17:55 ` Mark H Weaver
  0 siblings, 2 replies; 7+ messages in thread
From: Mark H Weaver @ 2016-01-29  7:26 UTC (permalink / raw)
  To: guix-devel

On the 'security-updates' branch, perl-io-socket-ssl gets stuck during
its test suite, apparently caused by the openssl-1.0.2f update.  It gets
stuck at the same place on x86_64, i686, and armhf:

  http://hydra.gnu.org/build/978260
  http://hydra.gnu.org/build/977242
  http://hydra.gnu.org/build/974468

Is anyone willing to look into this?

      Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: perl-io-socket-ssl build failures on 'security-updates' branch
  2016-01-29  7:26 perl-io-socket-ssl build failures on 'security-updates' branch Mark H Weaver
@ 2016-01-29  7:59 ` Efraim Flashner
  2016-01-29  9:40   ` Efraim Flashner
  2016-01-31 17:55 ` Mark H Weaver
  1 sibling, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2016-01-29  7:59 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

On Fri, 29 Jan 2016 02:26:29 -0500
Mark H Weaver <mhw@netris.org> wrote:

> On the 'security-updates' branch, perl-io-socket-ssl gets stuck during
> its test suite, apparently caused by the openssl-1.0.2f update.  It gets
> stuck at the same place on x86_64, i686, and armhf:
> 
>   http://hydra.gnu.org/build/978260
>   http://hydra.gnu.org/build/977242
>   http://hydra.gnu.org/build/974468
> 
> Is anyone willing to look into this?
> 
>       Mark
> 

there's a new upstream version 2.022, I'll see if that builds locally

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: perl-io-socket-ssl build failures on 'security-updates' branch
  2016-01-29  7:59 ` Efraim Flashner
@ 2016-01-29  9:40   ` Efraim Flashner
  2016-01-30  1:41     ` Leo Famulari
  0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2016-01-29  9:40 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3014 bytes --]

On Fri, 29 Jan 2016 09:59:14 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:

> On Fri, 29 Jan 2016 02:26:29 -0500
> Mark H Weaver <mhw@netris.org> wrote:
> 
>  [...]  
> 
> there's a new upstream version 2.022, I'll see if that builds locally
> 

Version 2.022 timed out for me also, but I realized about halfway through
that my netbook is on par with the arm build machines, so success wasn't
likely unless something significant changed in the intervening versions.

Perhaps someone else can take a look at it? Fridays aren't great for me.


phase `patch-source-shebangs' succeeded after 0.1 seconds
starting phase `configure'
running `perl' with arguments ("Makefile.PL" "PREFIX=/gnu/store/cmpn8p4is0qann01rxpd0sqmkyq4hngl-perl-io-socket-ssl-2.022" "INSTALLDIRS=site")

WARNING
No library for handling international domain names found.
It will work but croak if you try to verify an international name against
a certificate.
It's recommended to install either Net::IDN::Encode, Net::LibIDN or URI version>=1.50

Checking if your kit is complete...
Looks good
Warning: prerequisite Mozilla::CA 0 not found.
Generating a Unix-style Makefile
Writing Makefile for IO::Socket::SSL
Writing MYMETA.yml and MYMETA.json
phase `configure' succeeded after 1.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.1 seconds
starting phase `build'
cp lib/IO/Socket/SSL.pod blib/lib/IO/Socket/SSL.pod
cp lib/IO/Socket/SSL/Intercept.pm blib/lib/IO/Socket/SSL/Intercept.pm
cp lib/IO/Socket/SSL/Utils.pm blib/lib/IO/Socket/SSL/Utils.pm
cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm
cp lib/IO/Socket/SSL/PublicSuffix.pm blib/lib/IO/Socket/SSL/PublicSuffix.pm
Manifying 4 pod documents
phase `build' succeeded after 3.1 seconds
starting phase `check'
PERL_DL_NONLAZY=1 "/gnu/store/s925gy17ql3rlaix6z1225cjwf22wsjw-perl-5.22.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t
# openssl version=0x1000206f
# Net::SSLeay version=1.68
# parent IO::Socket::IP version=0.37
t/01loadmodule.t .................. ok
t/acceptSSL-timeout.t .............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 11/15 subtests
building of `/gnu/store/aj7h19fav21kj66v1k0snaz8rzvjjnhp-perl-io-socket-ssl-2.022.drv' timed out after 3600 seconds of silence
@ build-failed /gnu/store/aj7h19fav21kj66v1k0snaz8rzvjjnhp-perl-io-socket-ssl-2.022.drv - timeout
note: keeping build directory `/tmp/guix-build-perl-io-socket-ssl-2.022.drv-0'
guix build: error: build failed: build of `/gnu/store/aj7h19fav21kj66v1k0snaz8rzvjjnhp-perl-io-socket-ssl-2.022.drv' failed

real	61m42.757s
user	0m17.912s
sys	0m0.724s

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: perl-io-socket-ssl build failures on 'security-updates' branch
  2016-01-29  9:40   ` Efraim Flashner
@ 2016-01-30  1:41     ` Leo Famulari
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2016-01-30  1:41 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

On Fri, Jan 29, 2016 at 11:40:29AM +0200, Efraim Flashner wrote:
> On Fri, 29 Jan 2016 09:59:14 +0200
> Efraim Flashner <efraim@flashner.co.il> wrote:
> 
> > On Fri, 29 Jan 2016 02:26:29 -0500
> > Mark H Weaver <mhw@netris.org> wrote:
> > 
> >  [...]  
> > 
> > there's a new upstream version 2.022, I'll see if that builds locally
> > 
> 
> Version 2.022 timed out for me also, but I realized about halfway through
> that my netbook is on par with the arm build machines, so success wasn't
> likely unless something significant changed in the intervening versions.

Same failure on a more powerful x86_64 machine.

> 
> Perhaps someone else can take a look at it? Fridays aren't great for me.
> 
> 
> phase `patch-source-shebangs' succeeded after 0.1 seconds
> starting phase `configure'
> running `perl' with arguments ("Makefile.PL" "PREFIX=/gnu/store/cmpn8p4is0qann01rxpd0sqmkyq4hngl-perl-io-socket-ssl-2.022" "INSTALLDIRS=site")
> 
> WARNING
> No library for handling international domain names found.
> It will work but croak if you try to verify an international name against
> a certificate.
> It's recommended to install either Net::IDN::Encode, Net::LibIDN or URI version>=1.50
> 
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite Mozilla::CA 0 not found.
> Generating a Unix-style Makefile
> Writing Makefile for IO::Socket::SSL
> Writing MYMETA.yml and MYMETA.json
> phase `configure' succeeded after 1.0 seconds
> starting phase `patch-generated-file-shebangs'
> phase `patch-generated-file-shebangs' succeeded after 0.1 seconds
> starting phase `build'
> cp lib/IO/Socket/SSL.pod blib/lib/IO/Socket/SSL.pod
> cp lib/IO/Socket/SSL/Intercept.pm blib/lib/IO/Socket/SSL/Intercept.pm
> cp lib/IO/Socket/SSL/Utils.pm blib/lib/IO/Socket/SSL/Utils.pm
> cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm
> cp lib/IO/Socket/SSL/PublicSuffix.pm blib/lib/IO/Socket/SSL/PublicSuffix.pm
> Manifying 4 pod documents
> phase `build' succeeded after 3.1 seconds
> starting phase `check'
> PERL_DL_NONLAZY=1 "/gnu/store/s925gy17ql3rlaix6z1225cjwf22wsjw-perl-5.22.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t
> # openssl version=0x1000206f
> # Net::SSLeay version=1.68
> # parent IO::Socket::IP version=0.37
> t/01loadmodule.t .................. ok
> t/acceptSSL-timeout.t .............
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 11/15 subtests
> building of `/gnu/store/aj7h19fav21kj66v1k0snaz8rzvjjnhp-perl-io-socket-ssl-2.022.drv' timed out after 3600 seconds of silence
> @ build-failed /gnu/store/aj7h19fav21kj66v1k0snaz8rzvjjnhp-perl-io-socket-ssl-2.022.drv - timeout
> note: keeping build directory `/tmp/guix-build-perl-io-socket-ssl-2.022.drv-0'
> guix build: error: build failed: build of `/gnu/store/aj7h19fav21kj66v1k0snaz8rzvjjnhp-perl-io-socket-ssl-2.022.drv' failed
> 
> real	61m42.757s
> user	0m17.912s
> sys	0m0.724s
> 
> -- 
> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: perl-io-socket-ssl build failures on 'security-updates' branch
  2016-01-29  7:26 perl-io-socket-ssl build failures on 'security-updates' branch Mark H Weaver
  2016-01-29  7:59 ` Efraim Flashner
@ 2016-01-31 17:55 ` Mark H Weaver
  2016-01-31 19:51   ` Mark H Weaver
  1 sibling, 1 reply; 7+ messages in thread
From: Mark H Weaver @ 2016-01-31 17:55 UTC (permalink / raw)
  To: guix-devel

Mark H Weaver <mhw@netris.org> writes:

> On the 'security-updates' branch, perl-io-socket-ssl gets stuck during
> its test suite, apparently caused by the openssl-1.0.2f update.  It gets
> stuck at the same place on x86_64, i686, and armhf:
>
>   http://hydra.gnu.org/build/978260
>   http://hydra.gnu.org/build/977242
>   http://hydra.gnu.org/build/974468
>
> Is anyone willing to look into this?
>
>       Mark

I found this:

    https://bugs.debian.org/813189

Apparently the upstream 2.023 works around this issue for now.  However,
now I'm hitting a different problem with 2.023 on my i686 system:

--8<---------------cut here---------------start------------->8---
starting phase `check'
PERL_DL_NONLAZY=1 "/gnu/store/0ggl6h4nd0d0av4nn0yd6s7ynz6id8y1-perl-5.22.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t
# openssl version=0x1000206f
# Net::SSLeay version=1.68
# parent IO::Socket::IP version=0.37
t/01loadmodule.t .................. ok
t/acceptSSL-timeout.t ............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 11/15 subtests 
--8<---------------cut here---------------end--------------->8---

*grump*  Maybe we should just disable tests for now :-(

Does anyone else want to pick this up?  I need to do other things for
the next few hours.

       Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: perl-io-socket-ssl build failures on 'security-updates' branch
  2016-01-31 17:55 ` Mark H Weaver
@ 2016-01-31 19:51   ` Mark H Weaver
  2016-01-31 20:28     ` Mark H Weaver
  0 siblings, 1 reply; 7+ messages in thread
From: Mark H Weaver @ 2016-01-31 19:51 UTC (permalink / raw)
  To: guix-devel

Mark H Weaver <mhw@netris.org> writes:

> Mark H Weaver <mhw@netris.org> writes:
>
>> On the 'security-updates' branch, perl-io-socket-ssl gets stuck during
>> its test suite, apparently caused by the openssl-1.0.2f update.  It gets
>> stuck at the same place on x86_64, i686, and armhf:
>>
>>   http://hydra.gnu.org/build/978260
>>   http://hydra.gnu.org/build/977242
>>   http://hydra.gnu.org/build/974468
>>
>> Is anyone willing to look into this?
>>
>>       Mark
>
> I found this:
>
>     https://bugs.debian.org/813189
>
> Apparently the upstream 2.023 works around this issue for now.  However,
> now I'm hitting a different problem with 2.023 on my i686 system:
>
> starting phase `check'
> PERL_DL_NONLAZY=1 "/gnu/store/0ggl6h4nd0d0av4nn0yd6s7ynz6id8y1-perl-5.22.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t
> # openssl version=0x1000206f
> # Net::SSLeay version=1.68
> # parent IO::Socket::IP version=0.37
> t/01loadmodule.t .................. ok
> t/acceptSSL-timeout.t ............. 
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 11/15 subtests 

This test fails only within the build container.  When run outside of
the build container, with environment variables cleaned except for
/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/environment-variables,
the same test succeeds:

--8<---------------cut here---------------start------------->8---
mhw@jojen:~$ cd /tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023/
mhw@jojen:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$ env -i $(which bash)
mhw@jojen:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$ source ../environment-variables 
mhw@jojen:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$ PERL_DL_NONLAZY=1 /gnu/store/0ggl6h4nd0d0av4nn0yd6s7ynz6id8y1-perl-5.22.1/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/acceptSSL-timeout.t 
t/acceptSSL-timeout.t .. ok
All tests successful.
Files=1, Tests=15,  5 wallclock secs ( 0.04 usr  0.00 sys +  0.14 cusr  0.01 csys =  0.19 CPU)
Result: PASS
--8<---------------cut here---------------end--------------->8---

I modified the package description to set TEST_VERBOSE=1 in the
Makefile:

    (arguments
     `(#:phases (modify-phases %standard-phases
                  (add-before 'check 'pre-check
                    (lambda _
                      (substitute* "Makefile"
                        (("^TEST_VERBOSE=0") "TEST_VERBOSE=1")))))))

and here's the verbose output:

--8<---------------cut here---------------start------------->8---
t/acceptSSL-timeout.t ............. 
1..15
ok # listening @127.0.0.1:60842
# server >> OK
<<
ok # [server] OK
# server >> Waiting
<<
ok # [server] Waiting
# client_ssl >> OK
<<
ok # [client_ssl] OK
not ok # [server] Connect from
not ok # fatal error at ./t/testlib.pl line 168.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 11/15 subtests 
--8<---------------cut here---------------end--------------->8---

To be continued...

     Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: perl-io-socket-ssl build failures on 'security-updates' branch
  2016-01-31 19:51   ` Mark H Weaver
@ 2016-01-31 20:28     ` Mark H Weaver
  0 siblings, 0 replies; 7+ messages in thread
From: Mark H Weaver @ 2016-01-31 20:28 UTC (permalink / raw)
  To: guix-devel

Mark H Weaver <mhw@netris.org> writes:

> Mark H Weaver <mhw@netris.org> writes:
>
>> Mark H Weaver <mhw@netris.org> writes:
>>
>>> On the 'security-updates' branch, perl-io-socket-ssl gets stuck during
>>> its test suite, apparently caused by the openssl-1.0.2f update.  It gets
>>> stuck at the same place on x86_64, i686, and armhf:
>>>
>>>   http://hydra.gnu.org/build/978260
>>>   http://hydra.gnu.org/build/977242
>>>   http://hydra.gnu.org/build/974468
>>>
>>> Is anyone willing to look into this?
>>>
>>>       Mark
>>
>> I found this:
>>
>>     https://bugs.debian.org/813189
>>
>> Apparently the upstream 2.023 works around this issue for now.  However,
>> now I'm hitting a different problem with 2.023 on my i686 system:
>>
>> starting phase `check'
>> PERL_DL_NONLAZY=1
>> "/gnu/store/0ggl6h4nd0d0av4nn0yd6s7ynz6id8y1-perl-5.22.1/bin/perl"
>> "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
>> *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
>> t/*.t t/external/*.t
>> # openssl version=0x1000206f
>> # Net::SSLeay version=1.68
>> # parent IO::Socket::IP version=0.37
>> t/01loadmodule.t .................. ok
>> t/acceptSSL-timeout.t ............. 
>> Dubious, test returned 1 (wstat 256, 0x100)
>> Failed 11/15 subtests 

For now, I pushed commit f6d49e2d4dc24660b86a6deb06ecf283534a853e which
leaves perl-io-socket-ssl at version 2.002 but cherry-picks the OpenSSL
1.0.2f workaround from the upstream repository.

      Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-31 20:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29  7:26 perl-io-socket-ssl build failures on 'security-updates' branch Mark H Weaver
2016-01-29  7:59 ` Efraim Flashner
2016-01-29  9:40   ` Efraim Flashner
2016-01-30  1:41     ` Leo Famulari
2016-01-31 17:55 ` Mark H Weaver
2016-01-31 19:51   ` Mark H Weaver
2016-01-31 20:28     ` Mark H Weaver

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.