Bug#179214: tetex-bin: it should build-depend on g++
Package: tetex-bin
Version: 1.0.7+20021025-8
Severity: normal
I think it should build-depend on g++ or c++ compiler or something to make
sure the xpdf part builds and that the configure script hould fail when it
can not compile c++.
-- System Information
Debian Release: testing/unstable
Kernel Version: GNU hurd 0.3 GNUmach-1.2/Hurd-0.3 i386-AT386 unknown unknown GNU
Versions of the packages tetex-bin depends on:
ii debconf 1.2.21 Debian configuration management system
ii debianutils 1.16.6 Miscellaneous utilities specific to Debian
ii dpkg 1.10.9 Package maintenance system for Debian
ii ed 0.2-19 The classic unix line editor
ii libc0.3 2.3.1-5 GNU C Library: Shared libraries and Timezone
ii libgcc1 3.2.2-0pre3 GCC support library
ii libkpathsea3 1.0.7+20021025 shared libkpathsea for teTeX
ii libpng3 1.2.1-4 PNG library - runtime
ii libstdc++5 3.2.2-0pre3 The GNU stdc++ library version 3
ii libwww0 5.4.0-5 The W3C WWW library
ii libxaw7 4.1.0-14 X Athena widget set library
ii perl-tk 800.024-1.1 Perl module providing the Tk graphics librar
ii t1lib1 1.3.1-1 Type 1 font rasterizer library - runtime
ii tetex-base 1.0.2+20021025 basic teTeX library files
ii xlibs 4.1.0-14 X Window System client libraries
ii zlib1g 1.1.4-4 compression library - runtime
libwww-ssl0 Not installed or no info
dpkg-buildpackage: source package is tetex-bin
dpkg-buildpackage: source version is 1.0.7+20021025-8
dpkg-buildpackage: source maintainer is Atsuhito KOHDA <kohda@debian.org>
dpkg-buildpackage: host architecture is hurd-i386
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
# Make sure all of our expected symlinks are in place
sh debian/restore-symlinks
patch -p1 -NRi debian/patches/patch-deb || true
patching file Makefile.in
Unreversed patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Makefile.in.rej
...
./configure --prefix=/usr --enable-ipc --without-dialog
--without-texinfo --with-system-ncurses --with-x --with-system-zlib --with-system-pnglib --with-system-tifflib --with-system-wwwlib --with-system-t1lib --disable-multiplatform --enable-shared --mandir='${prefix}/share/man' --infodir='${datadir}/info'
creating cache ./config.cache
...
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
configure: warning: No C++ compiler: xpdf can not be compiled.
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for popen... yes
checking for mkstemp... yes
...
checking host system type... i386-unknown-gnu0.3
checking where the main texmf tree is located... /usr/share/texmf
updating cache ../.././config.cache
creating ./config.status
creating xpdf/Makefile
creating goo/Makefile
creating Makefile
...
creating Makefile
creating c-auto.h
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
make
make[1]: Entering directory `/src/tetex-bin-1.0.7+20021025'
cd libs/xpdf/xpdf; make libxpdf.a
make[2]: Entering directory `/src/tetex-bin-1.0.7+20021025/libs/xpdf/xpdf'
DHAVE_CONFIG_H -I.. -I./../goo -I. -I. -DPDF_PARSER_ONLY -c Array.cc
make[2]: DHAVE_CONFIG_H: Command not found
make[2]: [Array.o] Error 127 (ignored)
...
ar: Array.o: No such file or directory
make[2]: *** [libxpdf.a] Error 1
make[2]: Leaving directory `/src/tetex-bin-1.0.7+20021025/libs/xpdf/xpdf'
make[1]: *** [libs/xpdf/xpdf/libxpdf.a] Error 2
make[1]: Leaving directory `/src/tetex-bin-1.0.7+20021025'
make: *** [build-stamp] Error 2
Build command 'cd tetex-bin-1.0.7+20021025 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
Fetched 3B in 7s (0B/s)
Reply to: