Package: perl
Version: 5.12.3-5
Severity: important
X-Debbugs-Cc: [email protected]

Both 5.12.3-5 and 5.12.3-7 failed to build on fano.debian.org due
to failures in cpan/Sys-Syslog/t/syslog.t. 5.12.3-6 built fine on
fasch.debian.org.

@kfreebsd-amd64 buildd maintainers (X-Debbugs-Cc'd):

- could you please schedule a retry for perl on fasch so that this
  doesn't needlessly block 5.12.3-7 testing migration?
- would it be possible to try and build libsys-syslog-perl_0.29-1 on
  fano to see if the issue is reproducible there as well?
- does the fano syslog-ng have udp reception enabled?

See below.

5.12.3-5:

#   Failed test '[inet] syslog() should return true: '0''
#   at t/syslog.t line 166.
cpan/Sys-Syslog/t/syslog.......................................FAILED at test 
142

5.12.3-7:

#   Failed test '[inet] syslog() called with level 'info' (string)'
#   at t/syslog.t line 165.
#          got: 'no connection to syslog available
#   - getservbyname failed for syslog/tcp and syslogng/tcp
#   - udp connect: nobody listening at t/syslog.t line 164
# '
#     expected: ''
cpan/Sys-Syslog/t/syslog.......................................FAILED at test 
141

Christoph Egger earlier commented on the 5.12.3-5 failure:

> There's a syslog-ng running and producing output since well before the
> build.

Looking at the test code, it's testing different socket types and
skipping the tests if openlog('perl', 'ndelay', 'local0') fails with
'no connection to syslog available'. In the 'inet' case it first tries
tcp and then udp. tcp fails trivially  above because syslog/tcp and
syslogng/tcp aren't in /etc/services.

The 'ndelay' parameter is supposed to open the connection immediately.
Looking at the code and strace output on amd64, in the udp case this
happens by writing an empty string to the UDP socket with syswrite()
and then checking with select(2) if an ICMP port unreachable message
comes back.

Perhaps this works differently on kfreebsd? Some experiments with UDP
sockets on a kfreebsd porter machine are probably in order.  I'll have
to leave them for another night though.

As a data point, I see the separate libsys-syslog-perl package (which
contains a slightly newer version of Sys::Syslog) built fine on fano
against Perl 5.10.  The rebuild against Perl 5.12 was done on fasch,
so that doesn't tell us much.
-- 
Niko Tyni   [email protected]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to