Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835329

Summary: dev-ruby/pg-1.2.3 fails tests on MUSL
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-03-15 09:16:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/pg-1.2.3 fails tests on MUSL.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-15 09:16:32 UTC
Created attachment 767096 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-15 09:16:33 UTC
Error(s) that match a know pattern:


      Failure/Error: expect( t ).to be_alive()
      Failure/Error: serv = TCPServer.new( '127.0.0.1', 54320 )
     Failure/Error: c = PG::Connection.connect_start( '127.0.0.1', 54320, "", "", "me", "xxxx", "somedb" )
     Failure/Error: conn = described_class.connect_start( '127.0.0.1', 54320, "", "", "me", "xxxx", "somedb" )
     Failure/Error: expect( t ).to be_alive()
     Failure/Error: expect( trace_data ).to eq( expected_trace_output )
     Failure/Error: serv = TCPServer.new( '127.0.0.1', 54320 )
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-15 14:31:22 UTC
/var/tmp/portage/dev-ruby/pg-1.2.3/work/ruby26/pg-1.2.3/spec/pg/connection_spec.rb:1659:in `initialize': Address in use - bind(2) for "127.0.0.1" port 54320 (Errno::EADDRINUSE)

But also this is a pretty old version and they've fixed a lot of test issues since.