Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242408 - x11-base/xorg-server-1.4.2 nptl trouble
Summary: x11-base/xorg-server-1.4.2 nptl trouble
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 20:50 UTC by inode77
Modified: 2009-05-06 09:36 UTC (History)
2 users (show)

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 inode77 2008-10-16 20:50:33 UTC
The ntpl USE flag is set in the /etc/make.conf but is not used in xorg-server-1.4.2
Due to lack of compatible fglrx driver to xorg-server 1.5.x I'm forced to install the 1.4.2 version but would like to use it in the best possible way.
"media-libs/mesa" needs to be installed with the same "ntpl" USE setting as xorg-server and thus emerging xorg-server leads to an error.

Reproducible: Always

Actual Results:  
[ebuild   R   ] x11-base/xorg-server-1.4.2  USE="dri hal ipv6 sdl xorg xprint -3dfx -debug -dmx -kdrive -minimal (-nptl)" 
[ebuild   R   ]  media-libs/mesa-7.2  USE="nptl* -debug -doc -motif -pic -xcb" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB

Merge error because mesa does not match the xorg-server "ntpl" setting.

Expected Results:  
xorg-server-1.4.2 is comiles with the nptl flag set.

Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r2 i686)
=================================================================
System uname: 2.6.26-gentoo-r2 i686 Genuine Intel(R) CPU T2600 @ 2.16GHz
Timestamp of tree: Thu, 16 Oct 2008 18:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="USB X aac acl acpi aio alsa apache2 bash-completion berkdb bluetooth branding bzip2 cairo ccache cdr cjk cli cracklib crypt cscope cups curl dbus dri dvd dvdr dvdread encode evo exif expat fam ffmpeg gdbm gif gnutls gpm gstreamer gtk hal iconv idn ipv6 java java5 java6 jpeg kerberos lcms ldap libnotify logrotate mad midi mikmod mmap mmx mmxext mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png ppds python qt3support qt4 quicktime readline reflection samba sdl session snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb userlocales vim-syntax vorbis win32codecs wmf wxwindows x264 x86 xattr xml xorg xosd xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="snd-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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-17 16:22:44 UTC
${PORTDIR}/base/package.use.mask:

# Donnie Berkholz <dberkholz@gentoo.org> (12 Nov 2007)
# freedesktop.org bug #7459 committed fix breaks 3D apps
# but "fix" is only relevant on USE=nptl
=media-libs/mesa-7.0* nptl
=x11-base/xorg-server-1.4* nptl
Comment 2 Peter Gantner (a.k.a. nephros) 2009-04-09 14:09:28 UTC
I have just hit this bug.

At the time of this writing, mesa-7.3-r1 is the current version for mesa, for which nptl is NOT use-masked in the profile.

Therefore the use check in xorg-server-1.4.2 bails out if mesa is compiled with nptl.

What is the correct way to resolve this? Is the nptl issue fixed in mesa-7.3?
Comment 3 Peter Fox 2009-04-25 11:50:58 UTC
I find kaffeine crashes X on my Acer Aspire 1 with xorg-server-1.5.3-r5 so attempted to revert to 1.4.2 and had the same problem. This uses xf86-video-intel.

I had to add the following lines to /etc/portage/package.mask to get xorg-server-1.4.2 to build again:

>=x11-base/xorg-server-1.5.0
>=x11-drivers/xf86-video-intel-2.6.3
>=x11-drivers/xf86-input-evdev-2.1.0
>=media-libs/mesa-7.1
>=x11-libs/libdrm-2.4.0
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-05-06 09:36:14 UTC
1) xorg-server 1.5 and mesa 7.3 no longer have NPTL issues, just build both with the same USE flags.

2) xorg-server 1.4.2 is no longer supported since 1.5.3 is now the latest stable.

Closing