Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157256 - sys-apps/hwinfo-13.0 failed to compile
Summary: sys-apps/hwinfo-13.0 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 12:36 UTC by Radko Lazarov
Modified: 2007-05-18 14:39 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hwinfo-13.0.ebuild (hwinfo-13.0.ebuild,1.67 KB, text/plain)
2006-12-14 12:49 UTC, Ali Polatel (RETIRED)
Details
hwinfo-13.11.ebuild (hwinfo-13.11.ebuild,1.53 KB, text/plain)
2007-01-22 18:53 UTC, Marcus Furlong
Details
files/hwinfo-13.11-makefile-fixes.patch (hwinfo-13.11-makefile-fixes.patch,496 bytes, patch)
2007-01-22 18:54 UTC, Marcus Furlong
Details | Diff
hwinfo-13.28.ebuild (hwinfo-13.28.ebuild,1.54 KB, text/plain)
2007-05-08 06:22 UTC, Marian Kyral
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radko Lazarov 2006-12-05 12:36:08 UTC
elf:~# equery list dbus
[ Searching for package 'dbus' in all categories among: ]
 * installed packages
[I--] [ ~] dev-libs/dbus-glib-0.72 (0)
[I--] [ ~] dev-libs/dbus-qt3-old-0.70 (0)
[I--] [ ~] sys-apps/dbus-1.0.1-r2 (0)

elf:~# emerge -pv hwinfo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/hwinfo-13.0  0 kB

emerge hwinfo
....

make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/x86emu'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd emu_vm86.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_int.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_io.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_pci.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd -fno-strict-aliasing i10_v86.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_vbios.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd int10.c
int10.c: In function 'get_vbe_info':
int10.c:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
int10.c: In function 'read_vbe_info':
int10.c:157: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:161: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:165: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:169: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:267: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
ar r ../../src/libhd.a emu_vm86.o i10_int.o i10_io.o i10_pci.o i10_v86.o i10_vbios.o int10.o
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
gcc -shared -lsysfs -ldbus-1 -lhal -Wl,--whole-archive ../src/libhd.a -Wl,--no-whole-archive \
                -Wl,-soname=libhd.so.13 \
                -o ../src/libhd.so.13.0
ln -snf libhd.so.13.0 libhd.so.13
ln -snf libhd.so.13 libhd.so
make[1]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src'
gcc -c -Wall -pipe -g  -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/hd hwinfo.c
gcc hwinfo.o -Lsrc -lhd -o hwinfo
src/libhd.so: undefined reference to `dbus_connection_disconnect'
collect2: ld returned 1 exit status
make: *** [hwinfo] Error 1

!!! ERROR: sys-apps/hwinfo-13.0 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  hwinfo-13.0.ebuild, line 40:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Radko Lazarov 2006-12-05 12:37:04 UTC
lf:~# emerge --info
Portage 2.1.2_rc2-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1-r2 i686)
=================================================================
System uname: 2.6.18-ck1-r2 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 05 Dec 2006 17:20:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors.ludost.net/gentoo/ http://mirrors.ludost.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirrors.ludost.net/gentoo-portage"
USE="x86 X acl acpi aiglx alsa apache2 apm berkdb bitmap-fonts bzip2 cli cracklib crypt cups dga dlloader dri dvd elibc_glibc emboss encode foomaticdb gdbm gif glibc-omitfp gnutls gpm gtk gtk2 iconv imlib input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog ithreads jpeg kde kernel_linux ldap libg++ libwww mad mikmod mmx motif mp3 mpeg mppc mppe mysql ncurses nls nptl nptlonly ogg opengl pam pcre perl png postgres pppd python qt qt3 qt4 quicktime readline reflection rtc sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales video_cards_apm video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis xinetd xml xorg xv zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-05 12:39:16 UTC
Did you really run revdep-rebuild after upgrading dbus?
Comment 3 Dawid Węgliński (RETIRED) gentoo-dev 2006-12-05 15:04:51 UTC
Same problem as here. Works ok after revdep-rebuild
Comment 4 Radko Lazarov 2006-12-05 18:32:59 UTC
Hi , could you give me the output from equery list dbus?

elf:~# revdep-rebuild -pv
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/libhd.so.13.0 (requires  libdbus-1.so.2)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot -pv =sys-apps/hwinfo-13.0
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/hwinfo-13.0  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Build finished correctly. Removing temporary files...
You can re-run revdep-rebuild to verify that all libraries and binaries
are fixed. If some inconsistency remains, it can be orphaned file, deep
dependency, binary package or specially evaluated library.

elf:~# emerge --oneshot -pv =sys-apps/hwinfo-13.0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/hwinfo-13.0  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
elf:~# emerge --oneshot =sys-apps/hwinfo-13.0
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-apps/hwinfo-13.0 to /
 * hwinfo_13.0.orig.tar.gz MD5 ;-) ...                                                                                                                               [ ok ]
 * hwinfo_13.0.orig.tar.gz RMD160 ;-) ...                                                                                                                            [ ok ]
 * hwinfo_13.0.orig.tar.gz SHA1 ;-) ...                                                                                                                              [ ok ]
 * hwinfo_13.0.orig.tar.gz SHA256 ;-) ...                                                                                                                            [ ok ]
 * hwinfo_13.0.orig.tar.gz size ;-) ...                                                                                                                              [ ok ]
 * hwinfo_13.0-4.diff.gz MD5 ;-) ...                                                                                                                                 [ ok ]
 * hwinfo_13.0-4.diff.gz RMD160 ;-) ...                                                                                                                              [ ok ]
 * hwinfo_13.0-4.diff.gz SHA1 ;-) ...                                                                                                                                [ ok ]
 * hwinfo_13.0-4.diff.gz SHA256 ;-) ...                                                                                                                              [ ok ]
 * hwinfo_13.0-4.diff.gz size ;-) ...                                                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                               [ ok ]
 * checking hwinfo_13.0.orig.tar.gz ;-) ...                                                                                                                          [ ok ]
 * checking hwinfo_13.0-4.diff.gz ;-) ...                                                                                                                            [ ok ]
>>> Unpacking source...
>>> Unpacking hwinfo_13.0.orig.tar.gz to /var/tmp/portage/sys-apps/hwinfo-13.0/work
>>> Unpacking ./hwinfo-13.0.tar.gz to /var/tmp/portage/sys-apps/hwinfo-13.0/work
 * Applying hwinfo_13.0-4.diff.gz ...                                                                                                                                [ ok ]
 * Applying 01_sysfsutils2 ...                                                                                                                                       [ ok ]
 * Applying 02_sysfsutils2_s390 ...                                                                                                                                  [ ok ]
 * Applying 90_new_archs ...                                                                                                                                         [ ok ]
 * Applying 91_serial_struct_sparc ...                                                                                                                               [ ok ]
 * Applying 92_sparc_kioc ...                                                                                                                                        [ ok ]
 * Applying hwinfo-13.0-makefile-fixes.patch ...                                                                                                                     [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0 ...
make[1]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/hd'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/hd'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/hd'
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include adb.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include bios.c
bios.c: In function 'smbios_get_info':
bios.c:696: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
bios.c:696: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
bios.c: In function 'parse_mpconfig':
bios.c:985: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
bios.c:988: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include block.c
block.c: In function 'add_scsi_sysfs_info':
block.c:880: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c: In function 'hd_read_cdrom_info':
block.c:1078: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c:1127: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
.....................
..................
......................
Comment 5 Radko Lazarov 2006-12-05 18:33:11 UTC
./check_hd --check --sort --cfile hd_ids.h src/bus src/class src/extra src/special src/scanner src/network src/usb src/usb2 src/isapnp src/monitor src/camera src/tv src/dvb src/chipcard src/modem src/pcmcia src/s390 src/x11.i386 src/modem.i386 src/pci src/storage src/sound src/mouse src/braille
data written to "hd.ids"
log written to "hd.log"
statistics:
  791 inconsistencies fixed
  16 errors, 16 resolved
  17058 items in
  13064 items out
./check_hd --mini --cfile hd_ids_tiny.h --log=hd_tiny.log --out=hd_tiny.ids hd.ids
data written to "hd_tiny.ids"
log written to "hd_tiny.log"
statistics:
  0 inconsistencies
  0 errors
  13064 items in
  376 items out
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/ids'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/ids'
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd hd_ids.c
ar r ../../src/libhd.a hd_ids.o
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/ids'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/x86emu'
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../src/hd -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude debug.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../src/hd -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude decode.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../src/hd -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude fpu.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../src/hd -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude ops.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../src/hd -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude ops2.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../src/hd -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude prim_ops.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../src/hd -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude sys.c
a - x86emu_debug.o
a - x86emu_decode.o
a - x86emu_fpu.o
a - x86emu_ops.o
a - x86emu_ops2.o
a - x86emu_prim_ops.o
a - x86emu_sys.o
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/x86emu'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd emu_vm86.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_int.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_io.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_pci.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd -fno-strict-aliasing i10_v86.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd i10_vbios.c
gcc -c -Wall -pipe -g -fPIC -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I../../src/hd int10.c
int10.c: In function 'get_vbe_info':
int10.c:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
int10.c: In function 'read_vbe_info':
int10.c:157: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:161: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:165: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:169: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
int10.c:267: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
ar r ../../src/libhd.a emu_vm86.o i10_int.o i10_io.o i10_pci.o i10_v86.o i10_vbios.o int10.o
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/int10'
gcc -shared -lsysfs -ldbus-1 -lhal -Wl,--whole-archive ../src/libhd.a -Wl,--no-whole-archive \
                -Wl,-soname=libhd.so.13 \
                -o ../src/libhd.so.13.0
ln -snf libhd.so.13.0 libhd.so.13
ln -snf libhd.so.13 libhd.so
make[1]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src'
gcc -c -Wall -pipe -g  -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -I/var/tmp/portage/sys-apps/hwinfo-13.0/work/hwinfo-13.0/src/hd hwinfo.c
gcc hwinfo.o -Lsrc -lhd -o hwinfo
src/libhd.so: undefined reference to `dbus_connection_disconnect'
collect2: ld returned 1 exit status
make: *** [hwinfo] Error 1

!!! ERROR: sys-apps/hwinfo-13.0 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  hwinfo-13.0.ebuild, line 40:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Comment 6 Radko Lazarov 2006-12-05 21:59:18 UTC
seems revdep-rebuild doesn't help
Comment 7 Radko Lazarov 2006-12-13 11:14:13 UTC
Hello , do you need more information,
I have the ssam problem with dbus-1.0.2
Comment 8 Ali Polatel (RETIRED) gentoo-dev 2006-12-14 12:47:25 UTC
  Hi everyone,
  dbus_connection_disconnect() has been renamed to dbus_connection_close().
  Quoting from dbus Changelog :
"2005-06-02  John (J5) Palmieri <johnp@redhat.com>

     *  dbus/dbus-connection.c, dbus/dbus-connection.h
     (dbus_connection_disconnect): renamed to dbus_connection_close"
  So adding this line :
sed -i \
     -e "s/dbus_connection_disconnect/dbus_connection_close/g" \
     "${S}/src/hd/hal.c" || die "sed failed"
  at the end of src_unpack() solved the problem for me.
  I'll attach my version of the ebuild for clarity.

   Ali


Comment 9 Ali Polatel (RETIRED) gentoo-dev 2006-12-14 12:49:09 UTC
Created attachment 104059 [details]
hwinfo-13.0.ebuild
Comment 10 Account removed 2006-12-15 01:41:04 UTC
The attached ebuild fixes the problem on my pegasos2 ppc machine.
Thanks a lot!
Comment 11 Ali Polatel (RETIRED) gentoo-dev 2006-12-15 08:16:31 UTC
  No problems :) I assume writing a little patch for this is more appropriate than using this ebuild. I'll attach it as soon as I get home if noone does it before me.

   Ali
Comment 12 DrChandra the Gentoo Person 2007-01-20 17:22:25 UTC
(In reply to comment #11)
>   No problems :) I assume writing a little patch for this is more appropriate
> than using this ebuild. I'll attach it as soon as I get home if noone does it
> before me.
> 
>    Ali
> 

Perhaps the real fix is to find the newer version of hwinfo that SuSE must be using with libdbus-1.so.3. There may be other updates that are needed to link with the newer library.

I ran into this because revdep-rebuild tried to rebuild hwinfo when it saw that the old library "libdbus-1.so.2" was missing.

Comment 13 Marcus Furlong 2007-01-22 18:53:52 UTC
Created attachment 107815 [details]
hwinfo-13.11.ebuild

updated ebuild for hwinfo, sync-ed with latest debian version
Comment 14 Marcus Furlong 2007-01-22 18:54:42 UTC
Created attachment 107816 [details, diff]
files/hwinfo-13.11-makefile-fixes.patch

updated makefile patch for new ebuild
Comment 15 Jonas Jonsson 2007-01-29 17:51:02 UTC
Tested your ebuild, but it fails on amd64 because of multilib-strict.


strip: x86_64-pc-linux-gnu-strip --strip-unneeded
   usr/lib/libhd.so.13.11
   usr/sbin/check_hd
   usr/sbin/hwinfo
   usr/sbin/mk_isdnhwdb
Files matching a file type that is not allowed:
   usr/lib/libhd.so.13.11

!!! ERROR: sys-apps/hwinfo-13.11 failed.
Comment 16 Jonas Jonsson 2007-01-29 17:57:24 UTC
(In reply to comment #15)
> Tested your ebuild, but it fails on amd64 because of multilib-strict.
> 
> 
> strip: x86_64-pc-linux-gnu-strip --strip-unneeded
>    usr/lib/libhd.so.13.11
>    usr/sbin/check_hd
>    usr/sbin/hwinfo
>    usr/sbin/mk_isdnhwdb
> Files matching a file type that is not allowed:
>    usr/lib/libhd.so.13.11
> 
> !!! ERROR: sys-apps/hwinfo-13.11 failed.
> 

If I uncomment the two sed lines in the ebuild, it works. 
Comment 17 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-04 12:13:51 UTC
(In reply to comment #15)
> Tested your ebuild, but it fails on amd64 because of multilib-strict.

 It needs to inherit multilib.eclass
Comment 18 Marian Kyral 2007-05-08 06:22:02 UTC
Created attachment 118518 [details]
hwinfo-13.28.ebuild

I've looked for some utility to list available vesa modes on x86_64. Attached version correct compiles and works on amd64 architecture.
Comment 19 Boris Faure 2007-05-09 20:18:29 UTC
(In reply to comment #18)
> Created an attachment (id=118518) [edit]
> New version available
> 
> I've looked for some utility to list available vesa modes on x86_64. Attached
> version correct compiles and works on amd64 architecture. 
> 

I had the same issue as Radko Lazarov, and that ebuild fix it. (i'm on x86_64, 2007.0 profile)
Comment 20 Timothy Redaelli (RETIRED) gentoo-dev 2007-05-18 14:39:56 UTC
Ebuild updated in cvs, thanks to all