Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423965 - media-gfx/nvidia-texture-tools-2.0.8-r1: fails to build with undefined identifiers
Summary: media-gfx/nvidia-texture-tools-2.0.8-r1: fails to build with undefined identi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 11:47 UTC by Michał Górny
Modified: 2012-06-29 08:27 UTC (History)
1 user (show)

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


Attachments
The build log (build.log,28.53 KB, text/plain)
2012-06-28 11:47 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-06-28 11:47:59 UTC
Created attachment 316533 [details]
The build log

[ebuild  N     ] media-gfx/nvidia-texture-tools-2.0.8-r1  USE="-cg -cuda -glew -glut -openexr"

--
Portage 2.2.0_alpha112_p8 (default/linux/amd64/10.0/desktop, gcc-4.7.1, glibc-2.15-r2, 3.3.0-mgorny-amd64 x86_64)
=================================================================
System uname: Linux-3.3.0-mgorny-amd64-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.1
Timestamp of tree: Thu, 28 Jun 2012 06:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p29
dev-lang/python:          2.7.3-r2
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo kvm mgorny scarabeus vdr-devel vdr-testing x11 sunrise gamerlay-stable alexxy
Installed sets: @mg_depends, @mg_vdr, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/srv/nfs/common/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distcc distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS=""
MAKEOPTS="-j6"
PKGDIR="/srv/nfs/common/packages/athlon64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local --exclude=CVS"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kvm /var/lib/layman/mgorny /var/lib/layman/scarabeus /var/lib/layman/vdr-devel /var/lib/layman/vdr-testing /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/gamerlay /var/lib/layman/alexxy"
SYNC="ssh://pomiocik//usr/portage"
USE="3dnow 3dnowext X a52 aac aio alsa amd64 bash-completion bluetooth branding bzip2 cairo caps cdda cdr cli crypt cxx dbus dri dts dvb dvd dvdr emboss exif firefox flac fontconfig fortran gd gif gmp iconv idn imagemagick ipv6 jpeg jpeg2k lcms libnotify lzo mad mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg openal opengl openmp pam pango pch pcre pdf png ppds pppd qt3support readline sdl session slang smp speex sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l2 vim-syntax vorbis wavpack wxwidgets x264 xattr xcb xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel emu10k1 virmidi mpu401 pcsp" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="serial" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 ppc ppc64 sparc sparc64 arm" QEMU_USER_TARGETS="ppc ppc64 sparc sparc64 arm" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="nouveau vesa radeon r600 s3" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-06-28 11:48:32 UTC
Looks like missing include to me, btw.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-06-28 14:02:06 UTC
And adding <unistd.h> to NV_OS_LINUX fixes this.
Comment 3 Julian Ospald 2012-06-29 08:27:05 UTC
+  29 Jun 2012; Julian Ospald <hasufell@gentoo.org>
+  nvidia-texture-tools-2.0.8-r1.ebuild,
+  +files/nvidia-texture-tools-2.0.8-gcc-4.7.patch:
+  fix compilation on gcc-4.7 wrt bug #423965