Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 164041

Summary: xorg-server 1.2.0 ebuild ignores make.conf values
Product: Gentoo Linux Reporter: Marcin Gil <marcin.gil>
Component: New packagesAssignee: Portage team <dev-portage>
Status: VERIFIED NEEDINFO    
Severity: normal CC: x11
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-534643-highlight-xorgserver+pcidata.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Debug logs from emerging xorg-server 1.2.0

Description Marcin Gil 2007-01-27 12:36:32 UTC
When upgrading xorg-server from 1.1.1-r4 to 1.2.0 I've used normal sequence, ie: emerge -vuDa xorg-server. After that /usr/lib/xorg/modules was empty!

Specyfing the same parameters (USE flags, INPUT_DEVICES, VIDEO_CARDS) from commandlines made it compile properly.

For more information please look onto the forums:
http://forums.gentoo.org/viewtopic-t-534643-highlight-xorgserver+pcidata.html

Reproducible: Always

Steps to Reproduce:
1. set up USE flags, VIDEO_CARDS, INPUT_DEVICES in make conf
2. upgrade/emerge xorg-server 1.2.0
3. /usr/lib/xorg/modules is empty (ie. no libpcidata.so
4. specify the same settings as in step 1 on command line, ie USE="xxx" emerge xx
5. emerge xorg-server 1.2.0
6. /usr/lib/xorg/modules contains all needed libraries.
Actual Results:  
/usr/lib/xorg/modules is empty

Expected Results:  
/usr/lib/xorg/modules/ contains all needed modules (ie. pcidata)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-27 12:39:13 UTC
Reopen with emerge --info output and make.conf attached.
Comment 2 Marcin Gil 2007-01-28 10:23:37 UTC
-- make.conf

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="x86 ~x86"

USE="3dnow 3dnowext 7zip X acl acpi alsa amarok arts audiofile bash-completion
     bzip2 cairo calendar cdda cddb cdparanoia cdr cdrom curl dbus dmi dvd
     dvdr exif fam ffmpeg firefox flac gif gimp gnutls hal id3 ieee1394 imlib2
     ithreads jpeg jpeg2k kdeenablefinal kdehiddenvisibility kdexdeltas lcms
     mime mmap mmx mmxext mng mp3 ntfs ogg openal opengl openssh openssl png
     quicktime reiserfs samba sasl spell sql sqlite sqlite3 sse sse-filters
     sse2 startup-notification subversion svg svgz threads tiff truetype utf8
     v4l vfat vorbis win32codecs xfs xml xslt -fortran -ppds -type1-fonts"

#VIDEO_CARDS="fglrx radeon"
VIDEO_CARDS="nvidia nv"
DRM_MODULES="nvidia"
INPUT_DEVICES="keyboard mouse evdev"

FEATURES="confcache ccache parallel-fetch"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="1G"

LINGUAS="en pl"

ALSA_CARDS="emu10k1"

CCACHE_SIZE="2"
PORTDIR="/usr/portage"
GENTOO_MIRRORS="http://src.gentoo.pl ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.zie.pg.gda.pl"

PORTDIR_OVERLAY="/usr/portage/local"

source /usr/portage/local/layman/make.conf


-- emerge --info

Portage 2.1.2-r4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.9
Timestamp of tree: Sat, 27 Jan 2007 12:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://src.gentoo.pl ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.zie.pg.gda.pl"
LC_ALL="pl_PL"
LINGUAS="en pl"
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/portage/local/layman/gentopia /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X acl acpi alsa amarok arts audiofile bash-completion berkdb bitmap-fonts bzip2 cairo calendar cdda cddb cdparanoia cdr cdrom cli cracklib crypt cups curl dbus dlloader dmi dri dvd dvdr exif fam ffmpeg firefox flac gdbm gif gimp gnutls gpm hal iconv id3 ieee1394 imlib2 ipv6 isdnlog ithreads jpeg jpeg2k kdeenablefinal kdehiddenvisibility kdexdeltas lcms libg++ mime mmap mmx mmxext mng mp3 ncurses nls nptl nptlonly ntfs ogg openal opengl openssh openssl pam pcre perl png pppd python quicktime readline reflection reiserfs samba sasl session spell spl sql sqlite sqlite3 sse sse-filters sse2 ssl startup-notification subversion svg svgz tcpd threads tiff truetype truetype-fonts udev unicode utf8 v4l vfat vorbis win32codecs x86 xfs xml xorg xslt zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-28 21:06:57 UTC
Differences in environment vs make.conf is definitely not a bug in the ebuild.
Comment 4 Marcin Gil 2007-01-29 07:55:12 UTC
I can't see any problematic differences..
Comment 5 Zac Medico gentoo-dev 2007-01-29 08:04:57 UTC
Nothing I'm aware of would cause portage itself to do this.  Maybe there will be a clue if you can reproduce the problem with --debug enabled.
Comment 6 Marcin Gil 2007-01-29 20:25:08 UTC
Created attachment 108520 [details]
Debug logs from emerging xorg-server 1.2.0

Here are all the logs. However today's update of portage fixed the thing. I've emerged xorg-server with both data from make.conf and command-line and it worked ok.
Comment 7 Zac Medico gentoo-dev 2007-01-29 21:43:13 UTC
Nothing related to that would have changed during the portage update.  I think we can assume that you had some type of environment pollution that was overriding make.conf.
Comment 8 Marcin Gil 2007-01-29 22:04:13 UTC
The problem is that I wasn't the only one with this problem. Other user on the forums reported the same problem. But two of us doesn't make a crowd ;)

Thank you all for your hard work and sorry for taking your valuable time.