Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149905 - pbbuttonsd-0.7.9: compilation failure in driver_backlight_pmu.c
Summary: pbbuttonsd-0.7.9: compilation failure in driver_backlight_pmu.c
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 16:54 UTC by Ulrich Müller
Modified: 2006-12-16 18:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2006-10-02 16:54:41 UTC
emerge of pbbuttonsd-0.7.9 fails with the following error message:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../libpbbipc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include        -march=pentium-m -O1 -pipe -fomit-frame-pointer -c driver_backlight_pmu.c
i686-pc-linux-gnu-gcc   -march=pentium-m -O1 -pipe -fomit-frame-pointer  -o pbbuttonsd -L../libpbbipc pbbuttonsd.o init.o input_manager.o support.o config_manager.o module_pmac.o module_system.o module_powersave.o module_display.o module_cdrom.o module_mixer.o module_ossmixer.o module_alsamixer.o class_backlight.o driver_backlight_sysfs.o driver_backlight_pmu.o -lpbb  -lasound -lm -ldl -lpthread   -lglib-2.0   -ldl 
driver_backlight_pmu.o: In function `driver_backlight_pmu_init':
driver_backlight_pmu.c:(.text+0x141): undefined reference to `get_pmu_version'
collect2: ld returned 1 exit status
make[2]: *** [pbbuttonsd] Error 1
make[2]: Leaving directory `/var/tmp/portage/pbbuttonsd-0.7.9/work/pbbuttonsd-0.7.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pbbuttonsd-0.7.9/work/pbbuttonsd-0.7.9'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-laptop/pbbuttonsd-0.7.9 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  pbbuttonsd-0.7.9.ebuild, line 48:   Called die

!!! Sorry, failed to compile pbbuttonsd
!!! If you need support, post the topmost build error, and the call stack if relevant.


# emerge --info
Portage 2.1.2_pre2-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 02 Oct 2006 15:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.osuosl.org http://gentoo.inode.at"
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/overlays/a1 /usr/local/overlays/ulm"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib acpi alsa amr apache2 asf berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli clisp crypt directfb dlloader dri dvd eds elibc_glibc emacs emacs-w3 emboss encode exif expat fam fbcon ffmpeg firefox foomaticdb fortran gcj gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile idea ieee1394 imap imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 irda isdnlog java jpeg kernel_linux libcaca libg++ libwww logrotate mad mikmod mmx mng motif mp3 mpeg ncurses nls nocd nptl nptlonly nsplugin offensive ogg opengl oss pcmcia pcre perl png postgres pppd python qt3 qt4 quicktime readline recode reflection sdl seamonkey session skey sox spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev userland_GNU userlocales video_cards_i810 video_cards_vga vorbis wifi win32codecs wxwindows xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2006-10-02 17:45:03 UTC
Looks like some ppc stuff isn't disabled for x86, I'll look into it.
Comment 2 Ulrich Müller gentoo-dev 2006-10-03 09:42:16 UTC
(In reply to comment #1)
> Looks like some ppc stuff isn't disabled for x86, I'll look into it.

I've just noticed that you have removed ~x86 from 0.7.9 (temporarily, I hope). Please remove it from gtkpbbuttons-0.6.9, too, since that package has >=pbbuttonsd-0.7.9 as its dependency.
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2006-10-03 12:12:55 UTC
Yes, I've removed it from those as well.  I probably won't re-add to this version, when Mattias releases a new version fixed on x86, I'll re-add the keywords.
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2006-12-16 18:09:08 UTC
Fixed in CVS.