[Pkg-tcltk-devel] Bug#645273: FTBFS: probably tinfo split fallout

Thorsten Glaser tg at mirbsd.de
Thu Oct 13 22:36:09 UTC 2011


Source: tclreadline
Version: 2.1.0-10
Severity: serious
Justification: fails to build from source (but built successfully in the past)

checking for tputs in -lncurses... no
checking for tputs in -ltermlib... no
checking for tputs in -ltermcap... no
checking for tputs in -lcurses... no
configure: error:
            no terminal library found. Please retry with the --with-tlib argument.

See full build log attached.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: m68k

Kernel: Linux 3.0.0-1-atari
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
I: Using pkgname logfile
I: Current time: Thu Oct 13 22:22:41 UTC 2011
I: pbuilder-time-stamp: 1318544561
I: Obtaining the cached apt archive contents
I: Installing the build-deps
W: no hooks of type D found -- ignoring
 -> Attempting to parse the build-deps 
 -> Considering build-dep debhelper (>= 5.0.0)
   -> Trying debhelper
 -> Considering build-dep tcl-dev
   -> Trying tcl-dev
 -> Considering build-dep libreadline-dev
   -> Trying libreadline-dev
 -> Considering build-dep autotools-dev
   -> Trying autotools-dev
 -> Considering build-dep quilt
   -> Trying quilt
 -> Installing  debhelper tcl-dev libreadline-dev autotools-dev quilt
Reading package lists...
Building dependency tree...
Reading state information...
Starting
Starting 2
Done
debhelper is already the newest version.
The following extra packages will be installed:
  diffstat libreadline6-dev libtinfo-dev tcl tcl8.5 tcl8.5-dev
Suggested packages:
  procmail graphviz tcl-doc tclreadline tcl8.5-doc
The following NEW packages will be installed:
  autotools-dev diffstat libreadline-dev libreadline6-dev libtinfo-dev quilt
  tcl tcl-dev tcl8.5 tcl8.5-dev
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 248 kB/3308 kB of archives.
After this operation, 8704 kB of additional disk space will be used.
Get:1 http://ftp.debian-ports.org/debian/ unstable/main libreadline6-dev m68k 6.2-7 [236 kB]
Get:2 http://ftp.debian-ports.org/debian/ unstable/main libreadline-dev m68k 6.2-7 [892 B]
Get:3 http://ftp.debian-ports.org/debian/ unstable/main tcl all 8.5.0-2 [4636 B]
Get:4 http://ftp.debian-ports.org/debian/ unstable/main tcl-dev all 8.5.0-2 [6968 B]
Fetched 248 kB in 5s (44.1 kB/s)
Selecting previously unselected package autotools-dev.
(Reading database ... 11947 files and directories currently installed.)
Unpacking autotools-dev (from .../autotools-dev_20110511.1_all.deb) ...
Selecting previously unselected package diffstat.
Unpacking diffstat (from .../diffstat_1.54-1_m68k.deb) ...
Selecting previously unselected package libtinfo-dev.
Unpacking libtinfo-dev (from .../libtinfo-dev_5.9-2_m68k.deb) ...
Selecting previously unselected package libreadline6-dev.
Unpacking libreadline6-dev (from .../libreadline6-dev_6.2-7_m68k.deb) ...
Selecting previously unselected package libreadline-dev.
Unpacking libreadline-dev (from .../libreadline-dev_6.2-7_m68k.deb) ...
Selecting previously unselected package quilt.
Unpacking quilt (from .../archives/quilt_0.48-8_all.deb) ...
Selecting previously unselected package tcl8.5.
Unpacking tcl8.5 (from .../tcl8.5_8.5.10-1_m68k.deb) ...
Selecting previously unselected package tcl.
Unpacking tcl (from .../archives/tcl_8.5.0-2_all.deb) ...
Selecting previously unselected package tcl8.5-dev.
Unpacking tcl8.5-dev (from .../tcl8.5-dev_8.5.10-1_m68k.deb) ...
Selecting previously unselected package tcl-dev.
Unpacking tcl-dev (from .../tcl-dev_8.5.0-2_all.deb) ...
Processing triggers for man-db ...
Setting up autotools-dev (20110511.1) ...
Setting up diffstat (1.54-1) ...
Setting up libtinfo-dev (5.9-2) ...
Setting up libreadline6-dev (6.2-7) ...
Setting up libreadline-dev (6.2-7) ...
Setting up quilt (0.48-8) ...
Setting up tcl8.5 (8.5.10-1) ...
update-alternatives: using /usr/bin/tclsh8.5 to provide /usr/bin/tclsh (tclsh) in auto mode.
Setting up tcl (8.5.0-2) ...
update-alternatives: using /usr/bin/tclsh-default to provide /usr/bin/tclsh (tclsh) in auto mode.
Setting up tcl8.5-dev (8.5.10-1) ...
Setting up tcl-dev (8.5.0-2) ...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
Starting
Starting 2
Done
fakeroot is already the newest version.
debhelper is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying back the cached apt archive contents
I: new cache content libreadline-dev_6.2-7_m68k.deb added
I: new cache content tcl-dev_8.5.0-2_all.deb added
I: new cache content libreadline6-dev_6.2-7_m68k.deb added
I: new cache content tcl_8.5.0-2_all.deb added
I: Copying source file
I: copying [/root/tclreadline_2.1.0-10.dsc]
I: copying [/root/tclreadline_2.1.0.orig.tar.gz]
I: copying [/root/tclreadline_2.1.0-10.diff.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue Nov  3 09:27:38 2009 UTC using DSA key ID 6A461052
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./tclreadline_2.1.0-10.dsc
dpkg-source: info: extracting tclreadline in tclreadline-2.1.0
dpkg-source: info: unpacking tclreadline_2.1.0.orig.tar.gz
dpkg-source: info: applying tclreadline_2.1.0-10.diff.gz
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && dpkg-buildpackage -us -uc  -B -m'Thorsten Glaser <tg at mirbsd.de>' -B -m'Thorsten Glaser <tg at mirbsd.de>' -B -rfakeroot
dpkg-buildpackage: dpkg-buildflags (origin: vendor): CFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
dpkg-buildpackage: dpkg-buildflags (origin: vendor): CPPFLAGS = 
dpkg-buildpackage: dpkg-buildflags (origin: vendor): CXXFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
dpkg-buildpackage: dpkg-buildflags (origin: vendor): FFLAGS = -g -O2
dpkg-buildpackage: dpkg-buildflags (origin: vendor): LDFLAGS = -Wl,-z,relro
dpkg-buildpackage: source package tclreadline
dpkg-buildpackage: source version 2.1.0-10
 dpkg-source --before-build tclreadline-2.1.0
dpkg-buildpackage: host architecture m68k
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
#
[ ! -f Makefile ] || /usr/bin/make distclean
#
rm -f tclreadline.h tclreadline.n
dh_testdir
mv -f aux/config.guess.backup aux/config.guess
mv: cannot stat `aux/config.guess.backup': No such file or directory
make: [unpatch] Error 1 (ignored)
mv -f aux/config.sub.backup aux/config.sub
mv: cannot stat `aux/config.sub.backup': No such file or directory
make: [unpatch] Error 1 (ignored)
quilt pop -a || test $? = 2
No patch removed
rm -rf patch-stamp .pc
dh_testdir
dh_testroot
dh_clean
 debian/rules build
dh_testdir
quilt push -a || test $? = 2
Applying patch manpage.diff
patching file tclreadline.n.in

Applying patch tclshpath.diff
patching file pkgIndex.tcl.in
patching file tclreadlineInit.tcl.in
patching file tclreadlineSetup.tcl.in

Applying patch completion_pbug.diff
patching file tclreadlineCompleter.tcl

Applying patch completion_matches.diff
patching file tclreadline.c

Applying patch memuse.diff
patching file tclreadline.c

Applying patch complete_nontcl.diff
patching file tclreadlineCompleter.tcl

Applying patch varnames.diff
patching file tclreadline.n.in
patching file tclreadlineSetup.tcl.in

Applying patch tclrldir.diff
patching file configure
patching file configure.in

Applying patch kfreebsd.diff
patching file aux/ltconfig

Now at patch kfreebsd.diff
mv aux/config.guess aux/config.guess.backup
mv aux/config.sub aux/config.sub.backup
cp /usr/share/misc/config.guess aux/
cp /usr/share/misc/config.sub aux/
touch patch-stamp
dh_testdir
#
# A bit ugly way to prevent autoconfing after ./configure
touch aclocal.m4 && \
	touch stamp-h.in && \
	touch config.h.in && \
	touch Makefile.in && \
	touch configure && \
	./configure --host=m68k-linux-gnu \
		    --build=m68k-linux-gnu \
		    --prefix=/usr \
		    --mandir=/usr/share/man \
		    --with-tcl=/usr/lib \
		    --with-tcl-includes=/usr/include/tcl && \
	/usr/bin/make CFLAGS="-g -O2 -Wall"
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether make sets ${MAKE}... (cached) yes
checking host system type... m68k-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking build system type... m68k-unknown-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... GNU ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for working const... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking which tclConfig.sh to use... /usr/lib/tclConfig.sh
checking for your tcl version... 8.5, patchlevel .10
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking where to look for tcl.h... /usr/include/tcl/tcl.h
checking for tputs in -lncurses... no
checking for tputs in -ltermlib... no
checking for tputs in -ltermcap... no
checking for tputs in -lcurses... no
configure: error: 
	    no terminal library found. Please retry with the --with-tlib argument.
	
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.19342/tmp/hooks/C99fu starting

Build failed. Trying to invoke a shell.

Reading package lists...
Building dependency tree...
Reading state information...
Starting
Starting 2
Done
Suggested packages:
  ed
The following NEW packages will be installed:
  less mksh
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 703 kB of archives.
After this operation, 1442 kB of additional disk space will be used.
Get:1 http://ftp.debian-ports.org/debian/ unstable/main less m68k 444-1 [119 kB]
Get:2 http://ftp.debian-ports.org/debian/ unstable/main mksh m68k 40.2-2 [584 kB]
Fetched 703 kB in 7s (94.8 kB/s)
Selecting previously unselected package less.
(Reading database ... 12414 files and directories currently installed.)
Unpacking less (from .../archives/less_444-1_m68k.deb) ...
Selecting previously unselected package mksh.
Unpacking mksh (from .../archives/mksh_40.2-2_m68k.deb) ...
Processing triggers for man-db ...
Setting up less (444-1) ...
Setting up mksh (40.2-2) ...
update-alternatives: using /bin/mksh to provide /bin/ksh (ksh) in auto mode.
I: user script /var/cache/pbuilder/build/cow.19342/tmp/hooks/C99fu finished
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem


More information about the Pkg-tcltk-devel mailing list