Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339971 - app-admin/conky-1.8.1 compilation fails with nvidia USE flag being enabled
Summary: app-admin/conky-1.8.1 compilation fails with nvidia USE flag being enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 18:41 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2010-10-06 19:24 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,18.44 KB, text/plain)
2010-10-06 18:42 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-06 18:41:57 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib64/conky\"   -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Wall -W -march=barcelona -mtune=barcelona -O2 -pipe -MT conky-nvidia.o -MD -MP -MF .deps/conky-nvidia.Tpo -c -o conky-nvidia.o `test -f 'nvidia.c' || echo './'`nvidia.c
nvidia.c: In function ‘get_nvidia_value’:
nvidia.c:63: error: ‘display’ undeclared (first use in this function)
nvidia.c:63: error: (Each undeclared identifier is reported only once
nvidia.c:63: error: for each function it appears in.)
make[2]: *** [conky-nvidia.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-admin/conky-1.8.1/work/conky-1.8.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-admin/conky-1.8.1/work/conky-1.8.1/src'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: app-admin/conky-1.8.1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 257:  Called _eapi2_src_compile
 *     ebuild.sh, line 660:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =app-admin/conky-1.8.1',
 * the complete build log and the output of 'emerge -pqv =app-admin/conky-1.8.1'.
 * The complete build log is located at '/var/tmp/portage/app-admin/conky-1.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/conky-1.8.1/temp/environment'.
 * S: '/var/tmp/portage/app-admin/conky-1.8.1/work/conky-1.8.1'

>>> Failed to emerge app-admin/conky-1.8.1, Log file:

>>>  '/var/tmp/portage/app-admin/conky-1.8.1/temp/build.log'

 * Messages for package app-admin/conky-1.8.1:

 * ERROR: app-admin/conky-1.8.1 failed:
 *   emake failed


Switching to no forced --as-needed gcc profile and removing --as-needed from LDFLAGS doesn't make any difference...


# emerge --info conky
Portage 2.2_rc89 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5-asneeded, glibc-2.11.2-r0, 2.6.35.6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35.6-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2389-with-gentoo-2.0.1
Timestamp of tree: Wed, 06 Oct 2010 18:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.7, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5_pre::poly-c
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j8"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo caps cdda cdr cli cracklib crypt css cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gif gmp gnutls gtk iconv idn jpeg jpeg2k kde lame lcms libnotify lzma mad midi mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png ppds pppd qt3support qt4 quicktime readline reflection schroedinger sdl session slang spell sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype twolame udev unicode usb vaapi vcd vdpau vorbis vpx x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="de en" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-admin/conky-1.8.1 was built with the following:
USE="X -apcupsd -audacious -curl -debug -eve hddtemp -imlib iostats -lua -lua-cairo -lua-imlib -math -moc -mpd (multilib) -nano-syntax ncurses -nvidia portmon -rss -thinkpad truetype -vim-syntax -weather-metar -weather-xoap -wifi -xmms2"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-06 18:42:19 UTC
Created attachment 249777 [details]
build.log
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-06 19:16:56 UTC
Wow, that was extremely quick Brenden :)

Patch works, thank you.
Comment 4 Daniel Pielmeier gentoo-dev 2010-10-06 19:24:56 UTC
+  06 Oct 2010; Daniel Pielmeier <billie@gentoo.org> conky-1.8.1.ebuild,
+  +files/conky-1.8.1-nvidia-x.patch:
+  Fix bug #339971. Thanks to Lars Wendler for the report and Brenden
+  Matthews for the fix.

Fixed in CVS.