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

Bug 202403

Summary: x11-base/xorg-server-1.3.0.0-r2 can not build: impossible condition to meet with mesa and ntpl flag
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED WORKSFORME    
Severity: normal CC: lee.chen, mmokrejs, pc-gentoo-bugs08a, ralph-bugzillagentoo
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /tmp/emerge--info
/var/log/portage/x11-base:xorg-server-1.3.0.0-r2:20071215-172627.log
/var/tmp/portage/x11-base/xorg-server-1.3.0.0-r2/temp/die.env

Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-15 17:30:08 UTC
root@moon_gen_2:~# emerge -va1 mesa x11-base/xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/mesa-7.0.2  USE="doc motif -debug (-nptl) -pic -xcb" VIDEO_CARDS="mga s3virge sis tdfx trident via -i810 -mach64 -none -r128 -radeon -savage (-sunffb)" 0 kB
[ebuild     UD] x11-base/xorg-server-1.3.0.0-r2 [1.4.0.90] USE="3dfx dmx dri ipv6 nptl* sdl xorg -debug -kdrive -minimal -xprint (-hal%*)" INPUT_DEVICES="evdev keyboard mouse mutouch synaptics wacom -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void" VIDEO_CARDS="fbdev mga nv s3 s3virge sis tdfx tga trident v4l vesa vga via -apm -ark -chips -cirrus -cyrix -dummy -epson -fglrx -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -neomagic (-newport) -nsc -nvidia -r128 -radeon -rendition -savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tseng -vmware -voodoo (-amd%) (-vermilion%) (-xgi%)" 0 kB
[ebuild     UD] x11-drivers/xf86-input-keyboard-1.1.1-r1 [1.2.2] USE="-debug" 0 kB

[...]

>>> Emerging (2 of 3) x11-base/xorg-server-1.3.0.0-r2 to /
 * MesaLib-6.5.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                              [ ok ]
 * xorg-server-1.3.0.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                [ ok ]
 * checking xorg-server-1.3.0.0.tar.bz2 ;-) ...                                                                       [ ok ]
 * checking MesaLib-6.5.2.tar.bz2 ;-) ...                                                                             [ ok ]
 *
 * ERROR: x11-base/xorg-server-1.3.0.0-r2 failed.
 * Call stack:
 *                       ebuild.sh, line   46:  Called pkg_setup
 *   xorg-server-1.3.0.0-r2.ebuild, line  327:  Called die
 * The specific snippet of code:
 *              use nptl && die "${diemsg}"
 *  The die message:
 *   You must build xorg-server and mesa with the same nptl USE setting.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/x11-base:xorg-server-1.3.0.0-r2:20071215-172627.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.3.0.0-r2/temp/die.env'.
 *
 * GNU info directory index is up-to-date.

It's not my fault if mesa is not sensible to nptl anymore ...
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-15 17:30:22 UTC
Created attachment 138554 [details]
/tmp/emerge--info
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-15 17:30:40 UTC
Created attachment 138556 [details]
/var/log/portage/x11-base:xorg-server-1.3.0.0-r2:20071215-172627.log
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-15 17:31:01 UTC
Created attachment 138557 [details]
/var/tmp/portage/x11-base/xorg-server-1.3.0.0-r2/temp/die.env
Comment 4 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-15 17:33:18 UTC
and, I double checked /etc/portage:

root@moon_gen_2:~# grep -nri nptl /etc/portage/
root@moon_gen_2:~# grep -nri nptl /etc/portage/*
root@moon_gen_2:~#

so, there is no hidden trick in here.

And if you wonder why I am still using X-1.3 with unstable, please visit bug #194515
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-15 17:39:36 UTC
Yeah, so recompile xorg-server without USE=ntpl or use mesa-6.5.2-r1
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-01-03 19:16:54 UTC
*** Bug 204188 has been marked as a duplicate of this bug. ***
Comment 7 Preston Crow 2008-01-19 19:07:14 UTC
Would a better solution be to change the xorg-server ebuild to not check mesa's use flags if you're running mesa-7 or later?  Or is this a true incompatibility?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-01-20 22:17:05 UTC
*** Bug 206814 has been marked as a duplicate of this bug. ***
Comment 9 ralph-bugzillagentoo 2008-01-20 22:35:15 UTC
Why is this bug then marked "resolved"? Because obviously it's not. It should be left open.

I suggest

- either to change the xorg-server-1.3.0.0-r4 ebuild to allow mesa 7 with nptl and not stop the compile process (Preston's solution)

- or, if that does not work, change the die message in the xorg-server ebuild - tell people that this combination of mesa, xorg-server and USE=nptl will not work.

But please do not leave it as resolved and worksforme.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-01-20 22:40:01 UTC
(In reply to comment #9)
> Why is this bug then marked "resolved"? Because obviously it's not. It should
> be left open.

Because there's nothing to resolve ATM. Either downgrade mesa or fix your use flags, the check is there for a reason.
Comment 11 ralph-bugzillagentoo 2008-01-20 23:14:54 UTC
> Because there's nothing to resolve ATM. Either downgrade mesa or fix your use
> flags, the check is there for a reason.

I take it from your words that there is a real incompatibility between xorg-server-1.3.0.0-r4 and mesa 7 if USE=nptl.

In that case, I suggest someone add the following sentence to the xorg-server ebuild: "Also, this version of xorg-server requires USE=-nptl for use with mesa 7."

Comment 12 DEMAINE Benoît-Pierre, aka DoubleHP 2008-01-21 01:32:38 UTC
(In reply to comment #9)
> Why is this bug then marked "resolved"? Because obviously it's not. It should
> be left open.

X does what you say for other flags; especially, I remeber I could not activate some video cards together; many other ebuilds do the same; but, I am too tired to fight against maintainors even when I deeply think they are wrong. So, now, I just accept my destiny. I report bugs, and, do not track their evolution; I am not in position to negociate anything, so, after creation, I only give feedback when asked, but, always accept resolutions.

There are hundreds of other bugs that could also have a trivial fix. I am not in mood to fight for this one, or any one else any more. Having more and more resolutions of this kind will soon make me stop reporting.
Comment 13 Martin Mokrejš 2008-01-21 20:06:04 UTC
Please fix the ebuild to die when +nptl. As I have pointed out in bug #204188 mesa and mesa-progs ignore the +nptl USE value. If they are supposed to coexist with xorg-xserver then it has to behave in the same way.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2008-01-21 20:20:42 UTC
(In reply to comment #13)
> Please fix the ebuild to die when +nptl. As I have pointed out in bug #204188
> mesa and mesa-progs ignore the +nptl USE value. If they are supposed to coexist
> with xorg-xserver then it has to behave in the same way.

Yeah as I have pointed out multiple times, you are mixing instable mesa with stable xorg-server, so either disable USE=nptl for both or downgrade mesa, there not anything else we could do here.
Comment 15 Lee Chen 2008-11-24 22:31:18 UTC
> Yeah as I have pointed out multiple times, you are mixing instable mesa with
> stable xorg-server, so either disable USE=nptl for both or downgrade mesa,
> there not anything else we could do here.

I have masked every xorg-server above 1.4.2 and every Mesa above 6.5.2-r1 and tried building/installing Mesa both with nptl on and off.

Every time I get the same error trying to install xorg-server-1.4.2:

"You must build xorg-server and mesa with the same nptl USE setting."

There has got to be some way to get a working xorg-server installed again on my system, no?
Comment 16 Lee Chen 2008-11-25 00:12:31 UTC
> Yeah as I have pointed out multiple times, you are mixing instable mesa with
> stable xorg-server, so either disable USE=nptl for both or downgrade mesa,
> there not anything else we could do here.

I have masked every xorg-server above 1.4.2 and every Mesa above 6.5.2-r1 and
tried building/installing Mesa both with nptl on and off.

Every time I get the same error trying to install xorg-server-1.4.2:

"You must build xorg-server and mesa with the same nptl USE setting."

There has got to be some way to get a working xorg-server installed again on my
system, no?
Comment 17 Martin Mokrejš 2008-11-25 00:57:05 UTC
Lee, this is what I ended up on my ~x86 laptop (P4M-based), hyperthreading disabled:

$ emerge -pv mesa xorg-server
WARNING: repository at /usr/local/portage is missing a repo_name entry

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/mesa-7.2  USE="motif -debug -doc -nptl -pic -xcb" VIDEO_CARDS="radeon -intel -mach64 -mga -none -r128 -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB
[ebuild   R   ] x11-base/xorg-server-1.5.2  USE="dri hal xorg -3dfx -debug -dmx -ipv6 -kdrive -minimal -nptl -sdl -tslib" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -tslib -ur98 -vmmouse -void -wacom" VIDEO_CARDS="radeon -apm -ark -ast -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vesa -vga -via -vmware -voodoo -xgi" 0 kB