Bug#559195: Cannot build the source package in clean chroot, unable to pdebbuild the package.

Artur R. Czechowski arturcz at hell.pl
Wed Dec 2 17:07:33 UTC 2009


Package: aptitude
Version: 0.6.1.3-3
Severity: normal

Hello,
clean target of debian/rules runs ./configure script, which fails if there
are no development libraries installed. That means it is unable to build
source package, which result with failing the pdebuild command.

Please see below output of pdebuild command run in directory freshly created
by apt-get source aptitude.

In case it is important: I use current unstable pbuilder package which
is now 0.193. Maintainers of pbuilder package has been Cced.

dpkg-checkbuilddeps: Unmet build dependencies: libapt-pkg-dev (>= 0.7.0) libsigc++-2.0-dev libcppunit-dev libcwidget-dev (>= 0.5.6.1-2) libncursesw5-dev docbook-xsl docbook-xml po4a libept-dev (>= 0.5) libgtkmm-2.4-dev libvte-dev libglademm-2.4-dev liblog4cxx10-dev librsvg2-bin libboost-dev libboost-serialization-dev libboost-python-dev libboost-iostreams-dev libboost-test-dev
W: Unmet build-dependency in source
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 aptitude
dpkg-buildpackage: source version 0.6.1.3-3.1~
dpkg-buildpackage: source changed by Artur R. Czechowski <arturcz at hell.pl>
dpkg-checkbuilddeps: Unmet build dependencies: libapt-pkg-dev (>= 0.7.0) libsigc++-2.0-dev libcppunit-dev libcwidget-dev (>= 0.5.6.1-2) libncursesw5-dev docbook-xsl docbook-xml po4a libept-dev (>= 0.5) libgtkmm-2.4-dev libvte-dev libglademm-2.4-dev liblog4cxx10-dev librsvg2-bin libboost-dev libboost-serialization-dev libboost-python-dev libboost-iostreams-dev libboost-test-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
dpkg-buildpackage: warning: This is currently a non-fatal warning with -S, but
dpkg-buildpackage: warning: will probably become fatal in the future.
 fakeroot debian/rules clean
dh_testdir
dh_testroot
# Reconfigure to ensure that docs are enabled, so "make clean"
# descends into ./doc.
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for po4a... no
checking for initscr in -lncursesw... no
configure: error: Can't find libncursesw -- please install libncursesw5-dev
make: *** [clean] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

-- Package-specific info:
aptitude 0.6.1.3 compiled at Nov 20 2009 19:56:21
Compiler: g++ 4.3.4
Compiled against:
  apt version 4.8.1
  NCurses version 5.7
  libsigc++ version: 2.0.18
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20090803
  cwidget version: 0.5.16
  Apt version: 4.8.1
	linux-vdso.so.1 =>  (0x00007ffffd6b5000)
	libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 (0x00007f9c4f526000)
	libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f9c4f2d5000)
	liblog4cxx.so.10 => /usr/lib/liblog4cxx.so.10 (0x00007f9c4eee1000)
	libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f9c4ecdc000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f9c4ea0b000)
	libept.so.0 => /usr/lib/libept.so.0 (0x00007f9c4e791000)
	libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f9c4e43b000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f9c4e224000)
	libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f9c4df96000)
	libboost_iostreams.so.1.40.0 => /usr/lib/libboost_iostreams.so.1.40.0 (0x00007f9c4dd8b000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f9c4db6f000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f9c4d85e000)
	libm.so.6 => /lib/libm.so.6 (0x00007f9c4d5dc000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f9c4d3c6000)
	libc.so.6 => /lib/libc.so.6 (0x00007f9c4d071000)
	libutil.so.1 => /lib/libutil.so.1 (0x00007f9c4ce6e000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f9c4cc6a000)
	libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0x00007f9c4ca46000)
	libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x00007f9c4c811000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x00007f9c4c60d000)
	librt.so.1 => /lib/librt.so.1 (0x00007f9c4c404000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f9c4c1cd000)
	libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f9c4bfbc000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9c4f80b000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f9c4bd94000)
Terminal: xterm
$DISPLAY not set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.24            Advanced front-end for dpkg
ii  libboost-iostreams1.40 1.40.0-4          Boost.Iostreams Library
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcwidget3            0.5.16-2          high-level terminal interface libr
ii  libept0                0.5.29            High-level library for managing De
ii  libgcc1                1:4.4.2-3         GCC support library
ii  liblog4cxx10           0.10.0-1          A logging library for C++
ii  libncursesw5           5.7+20090803-2    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libsqlite3-0           3.6.20-1          SQLite 3 shared library
ii  libstdc++6             4.4.2-3           The GNU Standard C++ Library v3
ii  libxapian15            1.0.17-1          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages aptitude recommends:
ii  apt-xapian-index              0.22       maintenance tools for a Xapian ind
ii  aptitude-doc-en [aptitude-doc 0.6.1.3-3  English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output
ii  sensible-utils                0.0.2      Utilities for sensible alternative

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
pn  tasksel                       <none>     (no description available)

-- no debconf information

-- 
Documentation is like sex: When it is good, it is very, very, good.
And when it is bad, it is better than nothing.
                                                  /Dick Brandon/





More information about the Pbuilder-maint mailing list