Bug#613388: libproc-processtable-perl: FTBFS on kFreeBSD

Gonéri Le Bouder goneri at rulezlan.org
Mon Feb 14 13:56:10 UTC 2011


Package: libproc-processtable-perl
Version: 0.45-1
Severity: important

Hi,

libproc-processtable-perl fails to build on kFreeBSD.
The build system uses ExtUtils::MakeMaker hint files. The hints/$OSNAME script is
supposed to be called before the build:
http://search.cpan.org/~mschwern/ExtUtils-MakeMaker-6.56/lib/ExtUtils/MakeMaker.pm#Hintsfile_support

perl -e 'print $^O."\n"'
gnukfreebsd

There is no hints/gnukfreebsd.pl script. On the other hand the linux.pl is actually
used to identify the glibc. If I call the hints/linux.pl script myself the build and
the test-suite run fine.

the following patch fix the issue.
--- libproc-processtable-perl-0.45/debian/rules
+++ libproc-processtable-perl-0.45/debian/rules
@@ -2,6 +2,7 @@

 build: build-stamp
 build-stamp:
+       [ "kfreebsd" = "`dpkg-architecture -qDEB_HOST_ARCH_OS`" ] && perl hints/linux.pl
        dh build
        touch $@

This issue is a blocker for #613290

Best regards,

     Gonéri
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libproc-processtable-perl depends on:
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.10.0]    5.10.1-17  minimal Perl system

libproc-processtable-perl recommends no packages.

libproc-processtable-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list