Bug#545073: libjson-xs-perl: doesn't cleanly build on lenny
gregor herrmann
gregoa at debian.org
Fri Sep 4 19:40:59 UTC 2009
tag 545073 + unreproducible
thanks
On Fri, 04 Sep 2009 20:49:24 +0200, Marc Haber wrote:
> as a dependency-dependency of twirssi.pl, I am trying to backport
> libjson-xs-perl to lenny. I had to remove the version from the
> debhelper dependency (debhelper in lenny is 7.0.15), but all other
> build dependencies were fully satisfied. Build fails, since it cannot
> find sys/types.h (sic!):
I just built libjson-xs-perl 2.240-1 in an up2date lenny cowbuilder
chroot on i386, and it builds fine. Log attached.
> I am either doing something very wrong, or there is something hosed in
> your package, or there is some version missing in libjson-xs-perl's
> build dependencies. I would really love to be able to build
> libjson-xs-perl on lenny.
Unfortunately I have no idea what might be different between my
chroot and your build environment. Since the only build-dep besides
debhelper is perl I'd start to look there probably.
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
`- NP: Nirvana: School
-------------- next part --------------
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package libjson-xs-perl
dpkg-buildpackage: source version 2.240-1
dpkg-buildpackage: source changed by Ryan Niebur <ryanryan52 at gmail.com>
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
dh_clean
dpkg-source -b libjson-xs-perl-2.240
dpkg-source: info: using source format `1.0'
dpkg-source: info: building libjson-xs-perl using existing libjson-xs-perl_2.240.orig.tar.gz
dpkg-source: info: building libjson-xs-perl in libjson-xs-perl_2.240-1.diff.gz
dpkg-source: info: building libjson-xs-perl in libjson-xs-perl_2.240-1.dsc
dpkg-genchanges -S >../libjson-xs-perl_2.240-1_source.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: source only upload (original source is included)
-> Copying COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.14514
forking: cp -al /var/cache/pbuilder/lenny-base.cow /var/cache/pbuilder/build//cow.14514
I: removed stale ilistfile /var/cache/pbuilder/build//cow.14514/.ilist
forking: chroot /var/cache/pbuilder/build//cow.14514 cowdancer-ilistcreate /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i '
-> Invoking pbuilder
forking: pbuilder build --debbuildopts -j4 --buildplace /var/cache/pbuilder/build//cow.14514 --buildresult /tmp/perl/libjson-xs-perl --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.14514 cow-shell /tmp/perl/libjson-xs-perl/libjson-xs-perl_2.240-1.dsc
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Fri Sep 4 21:32:21 CEST 2009
I: pbuilder-time-stamp: 1252092741
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: i386
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
This package was created automatically by pbuilder and should
Depends: debhelper (>= 7), perl (>= 5.8.8)
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 11836 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy:
pbuilder-satisfydepends-dummy depends on debhelper (>= 7); however:
Package debhelper is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pbuilder-satisfydepends-dummy
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following NEW packages will be installed:
debhelper{a} file{a} gettext{a} gettext-base{a} html2text{a}
intltool-debian{a} libmagic1{a} po-debconf{a}
The following partially installed packages will be configured:
pbuilder-satisfydepends-dummy
0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 4086kB/4117kB of archives. After unpacking 12.7MB will be used.
Writing extended state information...
Get:1 http://ftp.de.debian.org lenny/main libmagic1 4.26-1 [369kB]
Get:2 http://ftp.de.debian.org lenny/main file 4.26-1 [44.1kB]
Get:3 http://ftp.de.debian.org lenny/main html2text 1.3.2a-5 [91.5kB]
Get:4 http://ftp.de.debian.org lenny/main gettext-base 0.17-4 [118kB]
Get:5 http://ftp.de.debian.org lenny/main gettext 0.17-4 [2672kB]
Get:6 http://ftp.de.debian.org lenny/main po-debconf 1.0.15 [237kB]
Get:7 http://ftp.de.debian.org lenny/main debhelper 7.0.15 [554kB]
Fetched 4086kB in 1s (2918kB/s)
Selecting previously deselected package libmagic1.
(Reading database ... 11836 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.26-1_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.26-1_i386.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-5_i386.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.17-4_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.17-4_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.15_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_7.0.15_all.deb) ...
Processing triggers for man-db ...
Setting up libmagic1 (4.26-1) ...
Setting up file (4.26-1) ...
Setting up html2text (1.3.2a-5) ...
Setting up gettext-base (0.17-4) ...
Setting up gettext (0.17-4) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.15) ...
Setting up debhelper (7.0.15) ...
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...
-> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 114kB of archives.
After this operation, 451kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org lenny/main fakeroot 1.11 [114kB]
Fetched 114kB in 0s (626kB/s)
Selecting previously deselected package fakeroot.
(Reading database ... 12542 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.11_i386.deb) ...
Processing triggers for man-db ...
Setting up fakeroot (1.11) ...
I: Copying back the cached apt archive contents
I: new cache content fakeroot_1.11_i386.deb added
I: new cache content libmagic1_4.26-1_i386.deb added
I: new cache content gettext-base_0.17-4_i386.deb added
I: new cache content file_4.26-1_i386.deb added
I: new cache content debhelper_7.0.15_all.deb added
I: new cache content html2text_1.3.2a-5_i386.deb added
I: new cache content po-debconf_1.0.15_all.deb added
I: new cache content gettext_0.17-4_i386.deb added
I: Copying source file
I: copying [/tmp/perl/libjson-xs-perl/libjson-xs-perl_2.240-1.dsc]
I: copying [/tmp/perl/libjson-xs-perl/libjson-xs-perl_2.240.orig.tar.gz]
I: copying [/tmp/perl/libjson-xs-perl/libjson-xs-perl_2.240-1.diff.gz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (libjson-xs-perl_2.240-1.dsc)
dpkg-source: extracting libjson-xs-perl in libjson-xs-perl-2.240
dpkg-source: info: unpacking libjson-xs-perl_2.240.orig.tar.gz
dpkg-source: info: applying libjson-xs-perl_2.240-1.diff.gz
I: Building the package
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package libjson-xs-perl
dpkg-buildpackage: source version 2.240-1
dpkg-buildpackage: source changed by Ryan Niebur <ryanryan52 at gmail.com>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
dh_clean
dpkg-source -b libjson-xs-perl-2.240
dpkg-source: info: using source format `1.0'
dpkg-source: info: building libjson-xs-perl using existing libjson-xs-perl_2.240.orig.tar.gz
dpkg-source: info: building libjson-xs-perl in libjson-xs-perl_2.240-1.diff.gz
dpkg-source: info: building libjson-xs-perl in libjson-xs-perl_2.240-1.dsc
debian/rules build
dh build
dh_testdir
dh_auto_configure
Checking if your kit is complete...
Looks good
Writing Makefile for JSON::XS
dh_auto_build
make[1]: Entering directory `/tmp/buildd/libjson-xs-perl-2.240'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.pm
cp XS.pm blib/lib/JSON/XS.pm
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap XS.xs > XS.xsc && mv XS.xsc XS.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"2.24\" -DXS_VERSION=\"2.24\" -fPIC "-I/usr/lib/perl/5.10/CORE" XS.c
Running Mkbootstrap for JSON::XS ()
chmod 644 XS.bs
rm -f blib/arch/auto/JSON/XS/XS.so
cc -shared -O2 -g -L/usr/local/lib XS.o -o blib/arch/auto/JSON/XS/XS.so \
\
chmod 755 blib/arch/auto/JSON/XS/XS.so
cp XS.bs blib/arch/auto/JSON/XS/XS.bs
chmod 644 blib/arch/auto/JSON/XS/XS.bs
cp bin/json_xs blib/script/json_xs
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/json_xs
Manifying blib/man1/json_xs.1p
Manifying blib/man3/JSON::XS::Boolean.3pm
Manifying blib/man3/JSON::XS.3pm
make[1]: Leaving directory `/tmp/buildd/libjson-xs-perl-2.240'
dh_auto_test
make[1]: Entering directory `/tmp/buildd/libjson-xs-perl-2.240'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load...............ok
t/01_utf8...............ok
t/02_error..............ok
t/03_types..............ok
t/04_dwiw_encode........ok
t/05_dwiw_decode........ok
t/06_pc_pretty..........ok
t/07_pc_esc.............ok
t/08_pc_base............ok
t/09_pc_extra_number....ok
t/10_pc_keysort.........ok
t/11_pc_expo............ok
t/12_blessed............ok
t/13_limit..............ok
t/14_latin1.............ok
t/15_prefix.............ok
t/16_tied...............ok
t/17_relaxed............ok
t/18_json_checker.......ok
t/19_incr...............ok
t/20_faihu..............ok
t/21_evans..............ok
t/99_binary.............ok
All tests successful.
Files=23, Tests=25551, 18 wallclock secs ( 6.12 cusr + 0.30 csys = 6.42 CPU)
make[1]: Leaving directory `/tmp/buildd/libjson-xs-perl-2.240'
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
dh_installdirs
dh_auto_install
make[1]: Entering directory `/tmp/buildd/libjson-xs-perl-2.240'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/lib/perl5/auto/JSON/XS/XS.so
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/lib/perl5/auto/JSON/XS/XS.bs
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/lib/perl5/JSON/XS.pm
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/lib/perl5/JSON/XS/Boolean.pm
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/share/man/man1/json_xs.1p
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/share/man/man3/JSON::XS::Boolean.3pm
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/share/man/man3/JSON::XS.3pm
Installing /tmp/buildd/libjson-xs-perl-2.240/debian/libjson-xs-perl/usr/bin/json_xs
make[1]: Leaving directory `/tmp/buildd/libjson-xs-perl-2.240'
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_installcatalogs
dh_installcron
dh_installdebconf
dh_installcatalogs
dh_installemacsen
dh_installifupdown
dh_installinfo
dh_installinit
dh_installmenu
dh_installmime
dh_installmodules
dh_installlogcheck
dh_installlogrotate
dh_installpam
dh_installppp
dh_installudev
dh_installwm
dh_installxfonts
dh_lintian
dh_desktop
dh_gconf
dh_icons
dh_perl
dh_scrollkeeper
dh_usrlocal
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `libjson-xs-perl' in `../libjson-xs-perl_2.240-1_i386.deb'.
dpkg-genchanges >../libjson-xs-perl_2.240-1_i386.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
I: Copying back the cached apt archive contents
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: Current time: Fri Sep 4 21:33:22 CEST 2009
I: pbuilder-time-stamp: 1252092802
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.14514
signfile /tmp/perl/libjson-xs-perl/libjson-xs-perl_2.240-1.dsc 00F3CFE4
signfile /tmp/perl/libjson-xs-perl/libjson-xs-perl_2.240-1_i386.changes 00F3CFE4
Successfully signed dsc and changes files
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090904/db993a0e/attachment-0001.pgp>
More information about the pkg-perl-maintainers
mailing list