[Debian-zh-dev] Bug#724040: chmsee: FTBFS with Iceweasel 24

Ansgar Burchardt ansgar at debian.org
Sun Sep 22 13:58:00 UTC 2013


Source: chmsee
Version: 2.0.1-1
Severity: serious

chmsee fails to build with iceweasel 24:

----
cc -pthread -Wall -Wpointer-arith -Wcast-align -Wno-variadic-macros -g -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -fshort-wchar -pipe -fvisibility=hidden -I/usr/include -I. -I/usr/lib/xulrunner-devel-24.0/include -I/usr/include/nspr -I/usr/include -c csChmfile.c
g++ csChm.o csChmModule.o csChmfile.o -o ../components/libxpcomchm.so -Wl,-soname,../components/libxpcomchm.so -L/usr/lib/xulrunner-devel-24.0/bin -lpthread -pthread -Wall -Wpointer-arith -Wcast-align -Wno-variadic-macros -g -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -fshort-wchar -pipe -I/usr/include -I. -I/usr/lib/xulrunner-devel-24.0/include -I/usr/include/nspr -I/usr/include -DNDEBUG -DTRIMMED /usr/lib/xulrunner-devel-24.0/lib/libxpcomglue_s.a -shared -lxpcom -lmozalloc -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lchm
/usr/bin/ld: cannot find -lxpcom
collect2: error: ld returned 1 exit status
----

The full build log is attached.

Ansgar
-------------- next part --------------
sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on daikoku.43-1.org

????????????????????????????????????????????????????????????????????????????????
? chmsee 2.0.1-1 (amd64)                                     22 Sep 2013 15:46 ?
????????????????????????????????????????????????????????????????????????????????

Package: chmsee
Version: 2.0.1-1
Source Version: 2.0.1-1
Distribution: unstable
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64

I: NOTICE: Log filtering will replace 'build/chmsee-MB212I/chmsee-2.0.1' with '?PKGBUILDDIR?'
I: NOTICE: Log filtering will replace 'build/chmsee-MB212I' with '?BUILDDIR?'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-d8092ac4-09e0-4eb1-87d2-064b985e885a' with '?CHROOT?'

[...]

????????????????????????????????????????????????????????????????????????????????
? Build environment                                                            ?
????????????????????????????????????????????????????????????????????????????????

Kernel: Linux 3.2.0-4-amd64 amd64 (x86_64)
Toolchain package versions: binutils_2.23.52.20130828-1 dpkg-dev_1.17.1 g++-4.8_4.8.1-10 gcc-4.8_4.8.1-10 libc6-dev_2.17-92+b1 libstdc++-4.8-dev_4.8.1-10 libstdc++6_4.8.1-10 linux-libc-dev_3.10.11-1
Package versions: apt_0.9.11.4 autoconf_2.69-1.1 automake_1:1.14-1 autotools-dev_20130810.1 base-files_7.2 base-passwd_3.5.28 bash_4.2+dfsg-1 binutils_2.23.52.20130828-1 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 bzip2_1.0.6-5 ca-certificates_20130906 chrpath_0.14-2 coreutils_8.21-1 cpp_4:4.8.1-3 cpp-4.8_4.8.1-10 dash_0.5.7-3 debconf_1.5.51 debconf-i18n_1.5.51 debfoster_2.7-1.2 debhelper_9.20130921 debian-archive-keyring_2012.4 debianutils_4.4 diffutils_1:3.3-1 dpkg_1.17.1 dpkg-dev_1.17.1 e2fslibs_1.42.8-1 e2fsprogs_1.42.8-1 fakeroot_1.20-1 file_1:5.14-2 findutils_4.4.2-6 fontconfig_2.10.2-2 fontconfig-config_2.10.2-2 fonts-dejavu-core_2.33+svn2514-3 g++_4:4.8.1-3 g++-4.8_4.8.1-10 gcc_4:4.8.1-3 gcc-4.7-base_4.7.3-7 gcc-4.8_4.8.1-10 gcc-4.8-base_4.8.1-10 gettext_0.18.3.1-1 gettext-base_0.18.3.1-1 gnupg_1.4.14-1 gpgv_1.4.14-1 grep_2.14-3 groff-base_1.22.2-3 gzip_1.6-2 hostname_3.14 initscripts_2.88dsf-43 insserv_1.14.0-5 intltool_0.50.2-2 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.11.4 libasan0_4.8.1-10 libasound2_1.0.27.2-1 libasound2-data_1.0.27.2-1 libasprintf0c2_0.18.3.1-1 libatk1.0-0_2.8.0-2 libatk1.0-data_2.8.0-2 libatomic1_4.8.1-10 libattr1_1:2.4.47-1 libavahi-client3_0.6.31-2 libavahi-common-data_0.6.31-2 libavahi-common3_0.6.31-2 libblkid1_2.20.1-5.5 libbz2-1.0_1.0.6-5 libc-bin_2.17-92+b1 libc-dev-bin_2.17-92+b1 libc6_2.17-92+b1 libc6-dev_2.17-92+b1 libcairo2_1.12.16-2 libcap2_1:2.22-1.2 libchm-dev_2:0.40a-2 libchm1_2:0.40a-2 libcloog-isl4_0.18.0-2 libcomerr2_1.42.8-1 libcroco3_0.6.8-2 libcups2_1.6.3-1 libdatrie1_0.2.6-2 libdb5.1_5.1.29-7 libdbus-1-3_1.6.14-1 libdbus-glib-1-2_0.100.2-1 libdpkg-perl_1.17.1 libdrm2_2.4.46-3 libegl1-mesa_9.1.6-2+b1 libencode-locale-perl_1.03-1 libevent-2.0-5_2.0.21-stable-1 libexpat1_2.1.0-4 libffi6_3.0.13-4 libfile-listing-perl_6.04-1 libfontconfig1_2.10.2-2 libfreetype6_2.4.9-1.1 libgbm1_9.1.6-2+b1 libgc1c2_1:7.2d-5 libgcc-4.8-dev_4.8.1-10 libgcc1_1:4.8.1-10 libgcrypt11_1.5.3-2 libgdbm3_1.8.3-12 libgdk-pixbuf2.0-0_2.28.2-1 libgdk-pixbuf2.0-common_2.28.2-1 libgl1-mesa-glx_9.1.6-2+b1 libglapi-mesa_9.1.6-2+b1 libglib2.0-0_2.36.4-1 libgmp10_2:5.1.2+dfsg-3 libgnutls26_2.12.23-5 libgomp1_4.8.1-10 libgpg-error0_1.12-0.2 libgraphite2-3_1.2.3-1 libgssapi-krb5-2_1.11.3+dfsg-3 libgtk2.0-0_2.24.21-1 libgtk2.0-common_2.24.21-1 libharfbuzz0a_0.9.19-1 libhtml-parser-perl_3.71-1+b1 libhtml-tagset-perl_3.20-2 libhtml-tree-perl_5.02-1 libhttp-cookies-perl_6.00-2 libhttp-date-perl_6.02-1 libhttp-message-perl_6.06-1 libhttp-negotiate-perl_6.00-2 libhunspell-1.3-0_1.3.2-4 libice6_2:1.0.8-2 libio-html-perl_1.00-1 libio-socket-ssl-perl_1.954-1 libisl10_0.11.2-1 libitm1_4.8.1-10 libjasper1_1.900.1-14 libjbig0_2.0-2 libjpeg8_8d-1 libk5crypto3_1.11.3+dfsg-3 libkeyutils1_1.5.6-1 libkrb5-3_1.11.3+dfsg-3 libkrb5support0_1.11.3+dfsg-3 libllvm3.2_1:3.2repack-11 liblocale-gettext-perl_1.05-7+b2 liblwp-mediatypes-perl_6.02-1 liblwp-protocol-https-perl_6.04-1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-2 libmount1_2.20.1-5.5 libmozjs-dev_24.0-2 libmozjs24d_24.0-2 libmpc3_1.0.1-1 libmpfr4_3.1.1-2 libncurses5_5.9+20130608-1 libncursesw5_5.9+20130608-1 libnet-http-perl_6.06-1 libnet-ssleay-perl_1.55-1+b2 libnspr4_2:4.10-1 libnspr4-dev_2:4.10-1 libnss3_2:3.15.1-1 libnss3-dev_2:3.15.1-1 libp11-kit0_0.18.5-3 libpam-modules_1.1.3-9 libpam-modules-bin_1.1.3-9 libpam-runtime_1.1.3-9 libpam0g_1.1.3-9 libpango-1.0-0_1.32.5-5+b1 libpangocairo-1.0-0_1.32.5-5+b1 libpangoft2-1.0-0_1.32.5-5+b1 libpcre3_1:8.31-2 libpipeline1_1.2.4-1 libpixman-1-0_0.30.2-1 libpng12-0_1.2.49-4 libpopt0_1.16-7 libpython-stdlib_2.7.5-5 libpython2.7-minimal_2.7.5-8 libpython2.7-stdlib_2.7.5-8 libquadmath0_4.8.1-10 libreadline6_6.2+dfsg-0.1 libselinux1_2.1.13-2 libsemanage-common_2.1.10-2 libsemanage1_2.1.10-2 libsepol1_2.1.9-2 libsigsegv2_2.10-2 libslang2_2.2.4-15 libsm6_2:1.2.1-2 libsqlite3-0_3.8.0.2-1 libss2_1.42.8-1 libssl1.0.0_1.0.1e-3 libstartup-notification0_0.12-3 libstdc++-4.8-dev_4.8.1-10 libstdc++6_4.8.1-10 libtasn1-3_2.14-3 libtext-charwidth-perl_0.04-7+b2 libtext-iconv-perl_1.7-5+b1 libtext-wrapi18n-perl_0.06-7 libthai-data_0.1.19-2 libthai0_0.1.19-2 libtiff4_3.9.7-2 libtimedate-perl_1.2000-1 libtinfo5_5.9+20130608-1 libtsan0_4.8.1-10 libudev1_204-4 libunistring0_0.9.3-5 liburi-perl_1.60-1 libusb-0.1-4_2:0.1.12-23.2 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libvpx1_1.2.0-2 libwayland-client0_1.2.1-1 libwayland-server0_1.2.1-1 libwww-perl_6.05-1 libwww-robotrules-perl_6.01-1 libx11-6_2:1.6.1-1 libx11-data_2:1.6.1-1 libx11-xcb1_2:1.6.1-1 libxau6_1:1.0.8-1 libxcb-dri2-0_1.9.1-3 libxcb-glx0_1.9.1-3 libxcb-render0_1.9.1-3 libxcb-shape0_1.9.1-3 libxcb-shm0_1.9.1-3 libxcb-util0_0.3.8-2 libxcb-xfixes0_1.9.1-3 libxcb1_1.9.1-3 libxcomposite1_1:0.4.4-1 libxcursor1_1:1.1.14-1 libxdamage1_1:1.1.4-1 libxdmcp6_1:1.1.1-1 libxext6_2:1.3.2-1 libxfixes3_1:5.0.1-1 libxi6_2:1.7.2-1 libxinerama1_2:1.1.3-1 libxml-parser-perl_2.41-1+b2 libxml2_2.9.1+dfsg1-3 libxrandr2_2:1.4.1-1 libxrender1_1:0.9.8-1 libxt6_1:1.1.4-1 libxxf86vm1_1:1.1.3-1 linux-libc-dev_3.10.11-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 m4_1.4.16-5 make_3.81-8.2 man-db_2.6.5-2 mawk_1.3.3-17 mime-support_3.54 mount_2.20.1-5.5 multiarch-support_2.17-92+b1 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 netbase_5.1 openssl_1.0.1e-3 passwd_1:4.1.5.1-1 patch_2.7.1-3 perl_5.18.1-4 perl-base_5.18.1-4 perl-modules_5.18.1-4 pkg-config_0.26-1 po-debconf_1.0.16+nmu2 python_2.7.5-5 python-minimal_2.7.5-5 python-ply_3.4-3 python2.7_2.7.5-8 python2.7-minimal_2.7.5-8 readline-common_6.2+dfsg-0.1 sbuild-build-depends-chmsee-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.2.2-2 sensible-utils_0.0.9 shared-mime-info_1.0-1+b1 sysv-rc_2.88dsf-43 sysvinit_2.88dsf-43 sysvinit-utils_2.88dsf-43 tar_1.26+dfsg-8 ttf-dejavu-core_2.33+svn2514-3 tzdata_2013d-1 ucf_3.0027+nmu1 util-linux_2.20.1-5.5 x11-common_1:7.7+3 xulrunner-24.0_24.0-2 xulrunner-dev_24.0-2 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1

????????????????????????????????????????????????????????????????????????????????
? Build                                                                        ?
????????????????????????????????????????????????????????????????????????????????


Unpack source
?????????????

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue Jun 18 12:30:52 2013 UTC using RSA key ID 242E199E
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./chmsee_2.0.1-1.dsc
dpkg-source: info: extracting chmsee in chmsee-2.0.1
dpkg-source: info: unpacking chmsee_2.0.1.orig.tar.gz
dpkg-source: info: unpacking chmsee_2.0.1-1.debian.tar.gz

Check disc space
????????????????

Sufficient free space for build

User Environment
????????????????

HOME=/sbuild-nonexistent
LOGNAME=ansgar
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable-amd64-sbuild
SCHROOT_CHROOT_NAME=unstable-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=ansgar
SCHROOT_SESSION_ID=unstable-amd64-sbuild-d8092ac4-09e0-4eb1-87d2-064b985e885a
SCHROOT_UID=1000
SCHROOT_USER=ansgar
SHELL=/bin/sh
TERM=xterm
USER=ansgar

dpkg-buildpackage
?????????????????

dpkg-buildpackage: source package chmsee
dpkg-buildpackage: source version 2.0.1-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by YunQiang Su <wzssyqa at gmail.com>
 dpkg-source --before-build chmsee-2.0.1
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/?PKGBUILDDIR?'
cd src; make -f Makefile.debian clean || true
make[2]: Entering directory `/?PKGBUILDDIR?/src'
rm ../components/libxpcomchm.so csChm.o csChmModule.o csChmfile.o ../components/xpcomchm.xpt
rm: cannot remove '../components/libxpcomchm.so': No such file or directory
rm: cannot remove 'csChm.o': No such file or directory
rm: cannot remove 'csChmModule.o': No such file or directory
rm: cannot remove 'csChmfile.o': No such file or directory
rm: cannot remove '../components/xpcomchm.xpt': No such file or directory
make[2]: *** [clean] Error 1
make[2]: Leaving directory `/?PKGBUILDDIR?/src'
make[1]: Leaving directory `/?PKGBUILDDIR?'
   dh_clean
	rm -f debian/chmsee.substvars
	rm -f debian/chmsee.*.debhelper
	rm -rf debian/chmsee/
	rm -f debian/*.debhelper.log
	rm -f -- src/csIChm.xpt src/csIChm.h
	rm -f debian/files
	find .  \( \( -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
	rm -f *-stamp
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   dh_auto_configure -a
   debian/rules override_dh_auto_build
make[1]: Entering directory `/?PKGBUILDDIR?'
cd src; make -f Makefile.debian
make[2]: Entering directory `/?PKGBUILDDIR?/src'
/usr/bin/python /usr/lib/xulrunner-devel-24.0/sdk/bin/header.py -o csIChm.h -I /usr/lib/xulrunner-devel-24.0/idl --cachedir=. csIChm.idl
/usr/bin/python /usr/lib/xulrunner-devel-24.0/sdk/bin/typelib.py -o csIChm.xpt -I /usr/lib/xulrunner-devel-24.0/idl --cachedir=. csIChm.idl
/usr/bin/python /usr/lib/xulrunner-devel-24.0/sdk/bin/xpt.py link ../components/xpcomchm.xpt csIChm.xpt
g++ -fno-rtti -fno-exceptions -std=gnu++0x -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -fvisibility=hidden -pthread -Wall -Wpointer-arith -Wcast-align -Wno-variadic-macros -g -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -fshort-wchar -pipe -I/usr/include -I. -I/usr/lib/xulrunner-devel-24.0/include -I/usr/include/nspr -I/usr/include -DMOZILLA_CLIENT -include mozilla-config.h   -c -o csChm.o csChm.cpp
In file included from /usr/lib/xulrunner-devel-24.0/include/nsXPCOMStrings.h:10:0,
                 from /usr/lib/xulrunner-devel-24.0/include/nsStringAPI.h:20,
                 from csChm.cpp:25:
/usr/lib/xulrunner-devel-24.0/include/nscore.h:352:2: warning: #warning libxul SDK was configured without 2-byte wchar_t, but now building with [-Wcpp]
 #warning libxul SDK was configured without 2-byte wchar_t, but now building with
  ^
In file included from /usr/lib/xulrunner-devel-24.0/include/nsStringAPI.h:21:0,
                 from csChm.cpp:25:
csChm.cpp: In member function 'virtual nsrefcnt csChm::Release()':
/usr/lib/xulrunner-devel-24.0/include/nsISupportsImpl.h:511:52: warning: deleting object of polymorphic class type 'csChm' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
   NS_IMPL_RELEASE_WITH_DESTROY(_class, delete (this))
                                                    ^
/usr/lib/xulrunner-devel-24.0/include/nsISupportsImpl.h:491:5: note: in definition of macro 'NS_IMPL_RELEASE_WITH_DESTROY'
     _destroy;                                                                 \
     ^
/usr/lib/xulrunner-devel-24.0/include/nsIClassInfoImpl.h:163:3: note: in expansion of macro 'NS_IMPL_RELEASE'
   NS_IMPL_RELEASE(_class)                                                     \
   ^
csChm.cpp:89:1: note: in expansion of macro 'NS_IMPL_ISUPPORTS1_CI'
 NS_IMPL_ISUPPORTS1_CI(csChm, csIChm)
 ^
g++ -fno-rtti -fno-exceptions -std=gnu++0x -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -fvisibility=hidden -pthread -Wall -Wpointer-arith -Wcast-align -Wno-variadic-macros -g -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -fshort-wchar -pipe -I/usr/include -I. -I/usr/lib/xulrunner-devel-24.0/include -I/usr/include/nspr -I/usr/include -DMOZILLA_CLIENT -include mozilla-config.h   -c -o csChmModule.o csChmModule.cpp
In file included from /usr/lib/xulrunner-devel-24.0/include/mozilla/Module.h:9:0,
                 from /usr/lib/xulrunner-devel-24.0/include/mozilla/ModuleUtils.h:10,
                 from csChmModule.cpp:20:
/usr/lib/xulrunner-devel-24.0/include/nscore.h:352:2: warning: #warning libxul SDK was configured without 2-byte wchar_t, but now building with [-Wcpp]
 #warning libxul SDK was configured without 2-byte wchar_t, but now building with
  ^
cc -pthread -Wall -Wpointer-arith -Wcast-align -Wno-variadic-macros -g -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -fshort-wchar -pipe -fvisibility=hidden -I/usr/include -I. -I/usr/lib/xulrunner-devel-24.0/include -I/usr/include/nspr -I/usr/include -c csChmfile.c
g++ csChm.o csChmModule.o csChmfile.o -o ../components/libxpcomchm.so -Wl,-soname,../components/libxpcomchm.so -L/usr/lib/xulrunner-devel-24.0/bin -lpthread -pthread -Wall -Wpointer-arith -Wcast-align -Wno-variadic-macros -g -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -fshort-wchar -pipe -I/usr/include -I. -I/usr/lib/xulrunner-devel-24.0/include -I/usr/include/nspr -I/usr/include -DNDEBUG -DTRIMMED /usr/lib/xulrunner-devel-24.0/lib/libxpcomglue_s.a -shared -lxpcom -lmozalloc -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lchm
/usr/bin/ld: cannot find -lxpcom
collect2: error: ld returned 1 exit status
make[2]: *** [../components/libxpcomchm.so] Error 1
make[2]: Leaving directory `/?PKGBUILDDIR?/src'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/?PKGBUILDDIR?'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
????????????????????????????????????????????????????????????????????????????????
Build finished at 20130922-1552

Finished
????????

E: Build failure (dpkg-buildpackage died)


More information about the Chinese-developers mailing list