From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GmxFB-0000ou-3e for garchives@archives.gentoo.org; Wed, 22 Nov 2006 18:54:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAMIq836003661; Wed, 22 Nov 2006 18:52:08 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAMIq6VQ029950 for ; Wed, 22 Nov 2006 18:52:07 GMT Received: by wr-out-0506.google.com with SMTP id i12so80146wra for ; Wed, 22 Nov 2006 10:52:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=O+kzWaKNDoh62hjbIvVKAkDMk8882PSevjbEW9/Uet0KVkrTjzg5hOlKqBKpxWYKsMPt2IRYyzgq3/oaN3lBRWQDjOl/afIHmJCZGmB2tN7A9/GnKMwgC6a5ooOfA2A7lyAzuWxdc45h5PADzzJprfcz3HZyLvE9hOtnxT8eoyY= Received: by 10.90.80.8 with SMTP id d8mr7034695agb.1164221525930; Wed, 22 Nov 2006 10:52:05 -0800 (PST) Received: by 10.90.102.20 with HTTP; Wed, 22 Nov 2006 10:52:04 -0800 (PST) Message-ID: <1df1788c0611221052i33e76f37q633d1414dd3b7e91@mail.gmail.com> Date: Wed, 22 Nov 2006 16:52:04 -0200 From: "=?ISO-8859-1?Q?Br=E1ulio_Oliveira?=" To: gentoo-amd64@lists.gentoo.org Subject: [gentoo-amd64] pmount with dbus-1.0.1 build error Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 47836eb4-ef68-4f98-b15b-9282453b76b6 X-Archives-Hash: 0fe22aedb0f3dca53b11659abb38e26f hello all, I can't build pmount after the upgrade of dbus-0.61 to dbus-1.0.1. The error comes when linking pmount-hal: x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -Wl,-z -Wl,now -o pmount-hal pmount-hal.o libpmount-util.a /usr/lib64/libhal-storage.so /usr/lib64/libhal.so /usr/lib64/libdbus-1.so /usr/lib64/libsysfs.so pmount-hal.o: In function `main': pmount-hal.c:(.text+0x97f): undefined reference to `dbus_connection_disconnect' The full emerge output follows bellow: braulio braulio # emerge pmount Calculating dependencies... done! >>> Emerging (1 of 1) sys-apps/pmount-0.9.9 to / * pmount-0.9.9.tar.gz MD5 ;-) ... [ ok ] * pmount-0.9.9.tar.gz RMD160 ;-) ... [ ok ] * pmount-0.9.9.tar.gz SHA1 ;-) ... [ ok ] * pmount-0.9.9.tar.gz SHA256 ;-) ... [ ok ] * pmount-0.9.9.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking pmount-0.9.9.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pmount-0.9.9.tar.gz to /var/tmp/portage/pmount-0.9.9/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9 ... * econf: updating pmount-0.9.9/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pmount-0.9.9/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for intltool >= 0.21... 0.34.2 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for library containing strerror... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for a BSD-compatible install... /bin/install -c checking sysfs/libsysfs.h usability... yes checking sysfs/libsysfs.h presence... yes checking for sysfs/libsysfs.h... yes checking for sysfs_open_attribute in -lsysfs... yes checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for HAL... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... en pt_BR configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating man/Makefile config.status: creating etc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing intltool commands config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands make all-recursive make[1]: Entering directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9' Making all in etc make[2]: Entering directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/etc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/etc' Making all in man make[2]: Entering directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/man' Making all in po make[2]: Entering directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/po' Making all in src make[2]: Entering directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/src' if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT fs.o -MD -MP -MF ".deps/fs.Tpo" -c -o fs.o fs.c; \ then mv -f ".deps/fs.Tpo" ".deps/fs.Po"; else rm -f ".deps/fs.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT luks.o -MD -MP -MF ".deps/luks.Tpo" -c -o luks.o luks.c; \ then mv -f ".deps/luks.Tpo" ".deps/luks.Po"; else rm -f ".deps/luks.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT policy.o -MD -MP -MF ".deps/policy.Tpo" -c -o policy.o policy.c; \ then mv -f ".deps/policy.Tpo" ".deps/policy.Po"; else rm -f ".deps/policy.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi rm -f libpmount-util.a x86_64-pc-linux-gnu-ar cru libpmount-util.a fs.o luks.o policy.o utils.o x86_64-pc-linux-gnu-ranlib libpmount-util.a if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT pmount-hal.o -MD -MP -MF ".deps/pmount-hal.Tpo" -c -o pmount-hal.o pmount-hal.c; \ then mv -f ".deps/pmount-hal.Tpo" ".deps/pmount-hal.Po"; else rm -f ".deps/pmount-hal.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -Wl,-z,now -o pmount-hal pmount-hal.o libpmount-util.a -lhal-storage -lhal -ldbus-1 -lsysfs mkdir .libs x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -Wl,-z -Wl,now -o pmount-hal pmount-hal.o libpmount-util.a /usr/lib64/libhal-storage.so /usr/lib64/libhal.so /usr/lib64/libdbus-1.so /usr/lib64/libsysfs.so pmount-hal.o: In function `main': pmount-hal.c:(.text+0x97f): undefined reference to `dbus_connection_disconnect' collect2: ld returned 1 exit status make[2]: *** [pmount-hal] Error 1 make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9' make: *** [all] Error 2 !!! ERROR: sys-apps/pmount-0.9.9 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 608: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Thankx -- gentoo-amd64@gentoo.org mailing list