Gentoo Archives: gentoo-amd64

From: "Bráulio Oliveira" <brauliobo@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] pmount with dbus-1.0.1 build error
Date: Wed, 22 Nov 2006 18:54:49
Message-Id: 1df1788c0611221052i33e76f37q633d1414dd3b7e91@mail.gmail.com
1 hello all,
2
3 I can't build pmount after the upgrade of dbus-0.61 to dbus-1.0.1. The
4 error comes when linking pmount-hal:
5
6 x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -pipe -mtune=athlon64
7 -march=athlon64 -msse2 -Wl,-z -Wl,now -o pmount-hal pmount-hal.o
8 libpmount-util.a /usr/lib64/libhal-storage.so /usr/lib64/libhal.so
9 /usr/lib64/libdbus-1.so /usr/lib64/libsysfs.so
10 pmount-hal.o: In function `main':
11 pmount-hal.c:(.text+0x97f): undefined reference to `dbus_connection_disconnect'
12
13 The full emerge output follows bellow:
14 braulio braulio # emerge pmount
15 Calculating dependencies... done!
16
17 >>> Emerging (1 of 1) sys-apps/pmount-0.9.9 to /
18 * pmount-0.9.9.tar.gz MD5 ;-) ...
19
20 [ ok ]
21 * pmount-0.9.9.tar.gz RMD160 ;-) ...
22
23 [ ok ]
24 * pmount-0.9.9.tar.gz SHA1 ;-) ...
25
26 [ ok ]
27 * pmount-0.9.9.tar.gz SHA256 ;-) ...
28
29 [ ok ]
30 * pmount-0.9.9.tar.gz size ;-) ...
31
32 [ ok ]
33 * checking ebuild checksums ;-) ...
34
35 [ ok ]
36 * checking auxfile checksums ;-) ...
37
38 [ ok ]
39 * checking miscfile checksums ;-) ...
40
41 [ ok ]
42 * checking pmount-0.9.9.tar.gz ;-) ...
43
44 [ ok ]
45 >>> Unpacking source...
46 >>> Unpacking pmount-0.9.9.tar.gz to /var/tmp/portage/pmount-0.9.9/work
47 >>> Source unpacked.
48 >>> Compiling source in /var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9 ...
49 * econf: updating pmount-0.9.9/config.guess with
50 /usr/share/gnuconfig/config.guess
51 * econf: updating pmount-0.9.9/config.sub with /usr/share/gnuconfig/config.sub
52 ./configure --prefix=/usr --host=x86_64-pc-linux-gnu
53 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
54 --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
55 --build=x86_64-pc-linux-gnu
56 checking for a BSD-compatible install... /bin/install -c
57 checking whether build environment is sane... yes
58 checking for gawk... gawk
59 checking whether make sets $(MAKE)... yes
60 checking for intltool >= 0.21... 0.34.2 found
61 checking for perl... /usr/bin/perl
62 checking for XML::Parser... ok
63 checking for iconv... /usr/bin/iconv
64 checking for msgfmt... /usr/bin/msgfmt
65 checking for msgmerge... /usr/bin/msgmerge
66 checking for xgettext... /usr/bin/xgettext
67 checking whether to enable maintainer-specific portions of Makefiles... no
68 checking for style of include used by make... GNU
69 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
70 checking for C compiler default output file name... a.out
71 checking whether the C compiler works... yes
72 checking whether we are cross compiling... no
73 checking for suffix of executables...
74 checking for suffix of object files... o
75 checking whether we are using the GNU C compiler... yes
76 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
77 checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
78 checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
79 checking for library containing strerror... none required
80 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
81 checking for egrep... grep -E
82 checking for ANSI C header files... yes
83 checking build system type... x86_64-pc-linux-gnu
84 checking host system type... x86_64-pc-linux-gnu
85 checking for a sed that does not truncate output... /bin/sed
86 checking for ld used by x86_64-pc-linux-gnu-gcc...
87 /usr/x86_64-pc-linux-gnu/bin/ld
88 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
89 checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
90 checking for BSD-compatible nm... /usr/bin/nm -B
91 checking whether ln -s works... yes
92 checking how to recognise dependent libraries... pass_all
93 checking for sys/types.h... yes
94 checking for sys/stat.h... yes
95 checking for stdlib.h... yes
96 checking for string.h... yes
97 checking for memory.h... yes
98 checking for strings.h... yes
99 checking for inttypes.h... yes
100 checking for stdint.h... yes
101 checking for unistd.h... yes
102 checking dlfcn.h usability... yes
103 checking dlfcn.h presence... yes
104 checking for dlfcn.h... yes
105 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
106 checking whether we are using the GNU C++ compiler... yes
107 checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
108 checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
109 checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
110 checking for x86_64-pc-linux-gnu-g77... no
111 checking for x86_64-pc-linux-gnu-f77... no
112 checking for x86_64-pc-linux-gnu-xlf... no
113 checking for x86_64-pc-linux-gnu-frt... no
114 checking for x86_64-pc-linux-gnu-pgf77... no
115 checking for x86_64-pc-linux-gnu-fort77... no
116 checking for x86_64-pc-linux-gnu-fl32... no
117 checking for x86_64-pc-linux-gnu-af77... no
118 checking for x86_64-pc-linux-gnu-f90... no
119 checking for x86_64-pc-linux-gnu-xlf90... no
120 checking for x86_64-pc-linux-gnu-pgf90... no
121 checking for x86_64-pc-linux-gnu-epcf90... no
122 checking for x86_64-pc-linux-gnu-f95... no
123 checking for x86_64-pc-linux-gnu-fort... no
124 checking for x86_64-pc-linux-gnu-xlf95... no
125 checking for x86_64-pc-linux-gnu-ifc... no
126 checking for x86_64-pc-linux-gnu-efc... no
127 checking for x86_64-pc-linux-gnu-pgf95... no
128 checking for x86_64-pc-linux-gnu-lf95... no
129 checking for x86_64-pc-linux-gnu-gfortran... no
130 checking for g77... no
131 checking for f77... no
132 checking for xlf... no
133 checking for frt... no
134 checking for pgf77... no
135 checking for fort77... no
136 checking for fl32... no
137 checking for af77... no
138 checking for f90... no
139 checking for xlf90... no
140 checking for pgf90... no
141 checking for epcf90... no
142 checking for f95... no
143 checking for fort... no
144 checking for xlf95... no
145 checking for ifc... no
146 checking for efc... no
147 checking for pgf95... no
148 checking for lf95... no
149 checking for gfortran... no
150 checking whether we are using the GNU Fortran 77 compiler... no
151 checking whether accepts -g... no
152 checking the maximum length of command line arguments... 32768
153 checking command to parse /usr/bin/nm -B output from
154 x86_64-pc-linux-gnu-gcc object... ok
155 checking for objdir... .libs
156 checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
157 checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
158 checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
159 checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
160 checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
161 checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
162 checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
163 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
164 checking whether the x86_64-pc-linux-gnu-gcc linker
165 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
166 libraries... yes
167 checking whether -lc should be explicitly linked in... no
168 checking dynamic linker characteristics... GNU/Linux ld.so
169 checking how to hardcode library paths into programs... immediate
170 checking whether stripping libraries is possible... yes
171 checking if libtool supports shared libraries... yes
172 checking whether to build shared libraries... yes
173 checking whether to build static libraries... yes
174 configure: creating libtool
175 appending configuration tag "CXX" to libtool
176 checking for ld used by x86_64-pc-linux-gnu-g++...
177 /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
178 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64)
179 is GNU ld... yes
180 checking whether the x86_64-pc-linux-gnu-g++ linker
181 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
182 libraries... yes
183 checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
184 checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
185 checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
186 checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
187 checking whether the x86_64-pc-linux-gnu-g++ linker
188 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
189 libraries... yes
190 checking dynamic linker characteristics... GNU/Linux ld.so
191 checking how to hardcode library paths into programs... immediate
192 appending configuration tag "F77" to libtool
193 checking for a BSD-compatible install... /bin/install -c
194 checking sysfs/libsysfs.h usability... yes
195 checking sysfs/libsysfs.h presence... yes
196 checking for sysfs/libsysfs.h... yes
197 checking for sysfs_open_attribute in -lsysfs... yes
198 checking for x86_64-pc-linux-gnu-pkg-config... no
199 checking for pkg-config... /usr/bin/pkg-config
200 checking pkg-config is at least version 0.9.0... yes
201 checking for HAL... yes
202 checking locale.h usability... yes
203 checking locale.h presence... yes
204 checking for locale.h... yes
205 checking for LC_MESSAGES... yes
206 checking libintl.h usability... yes
207 checking libintl.h presence... yes
208 checking for libintl.h... yes
209 checking for ngettext in libc... yes
210 checking for dgettext in libc... yes
211 checking for bind_textdomain_codeset... yes
212 checking for msgfmt... /usr/bin/msgfmt
213 checking for dcgettext... yes
214 checking for gmsgfmt... /usr/bin/gmsgfmt
215 checking for xgettext... /usr/bin/xgettext
216 checking for catalogs to be installed... en pt_BR
217 configure: creating ./config.status
218 config.status: creating Makefile
219 config.status: creating po/Makefile.in
220 config.status: creating man/Makefile
221 config.status: creating etc/Makefile
222 config.status: creating src/Makefile
223 config.status: creating config.h
224 config.status: executing intltool commands
225 config.status: executing depfiles commands
226 config.status: executing default-1 commands
227 config.status: executing po/stamp-it commands
228 make all-recursive
229 make[1]: Entering directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9'
230 Making all in etc
231 make[2]: Entering directory
232 `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/etc'
233 make[2]: Nothing to be done for `all'.
234 make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/etc'
235 Making all in man
236 make[2]: Entering directory
237 `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/man'
238 make[2]: Nothing to be done for `all'.
239 make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/man'
240 Making all in po
241 make[2]: Entering directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/po'
242 make[2]: Nothing to be done for `all'.
243 make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/po'
244 Making all in src
245 make[2]: Entering directory
246 `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/src'
247 if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
248 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
249 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2
250 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT
251 fs.o -MD -MP -MF ".deps/fs.Tpo" -c -o fs.o fs.c; \
252 then mv -f ".deps/fs.Tpo" ".deps/fs.Po"; else rm -f
253 ".deps/fs.Tpo"; exit 1; fi
254 if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
255 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
256 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2
257 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT
258 luks.o -MD -MP -MF ".deps/luks.Tpo" -c -o luks.o luks.c; \
259 then mv -f ".deps/luks.Tpo" ".deps/luks.Po"; else rm -f
260 ".deps/luks.Tpo"; exit 1; fi
261 if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
262 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
263 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2
264 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT
265 policy.o -MD -MP -MF ".deps/policy.Tpo" -c -o policy.o policy.c; \
266 then mv -f ".deps/policy.Tpo" ".deps/policy.Po"; else rm -f
267 ".deps/policy.Tpo"; exit 1; fi
268 if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
269 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
270 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2
271 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT
272 utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \
273 then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f
274 ".deps/utils.Tpo"; exit 1; fi
275 rm -f libpmount-util.a
276 x86_64-pc-linux-gnu-ar cru libpmount-util.a fs.o luks.o policy.o utils.o
277 x86_64-pc-linux-gnu-ranlib libpmount-util.a
278 if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
279 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
280 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2
281 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2 -MT
282 pmount-hal.o -MD -MP -MF ".deps/pmount-hal.Tpo" -c -o pmount-hal.o
283 pmount-hal.c; \
284 then mv -f ".deps/pmount-hal.Tpo" ".deps/pmount-hal.Po"; else
285 rm -f ".deps/pmount-hal.Tpo"; exit 1; fi
286 /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2
287 -fomit-frame-pointer -pipe -mtune=athlon64 -march=athlon64 -msse2
288 -Wl,-z,now -o pmount-hal pmount-hal.o libpmount-util.a -lhal-storage
289 -lhal -ldbus-1 -lsysfs
290 mkdir .libs
291 x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -pipe -mtune=athlon64
292 -march=athlon64 -msse2 -Wl,-z -Wl,now -o pmount-hal pmount-hal.o
293 libpmount-util.a /usr/lib64/libhal-storage.so /usr/lib64/libhal.so
294 /usr/lib64/libdbus-1.so /usr/lib64/libsysfs.so
295 pmount-hal.o: In function `main':
296 pmount-hal.c:(.text+0x97f): undefined reference to `dbus_connection_disconnect'
297 collect2: ld returned 1 exit status
298 make[2]: *** [pmount-hal] Error 1
299 make[2]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9/src'
300 make[1]: *** [all-recursive] Error 1
301 make[1]: Leaving directory `/var/tmp/portage/pmount-0.9.9/work/pmount-0.9.9'
302 make: *** [all] Error 2
303
304 !!! ERROR: sys-apps/pmount-0.9.9 failed.
305 Call stack:
306 ebuild.sh, line 1546: Called dyn_compile
307 ebuild.sh, line 937: Called src_compile
308 ebuild.sh, line 608: Called die
309
310 !!! emake failed
311 !!! If you need support, post the topmost build error, and the call
312 stack if relevant.
313
314 Thankx
315 --
316 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] pmount with dbus-1.0.1 build error Mike Doty <kingtaco@g.o>