Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301351 - =x11-base/xorg-server-1.6.5* fails to build - dependency versioning not precicse
Summary: =x11-base/xorg-server-1.6.5* fails to build - dependency versioning not precicse
Status: RESOLVED DUPLICATE of bug 291312
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 10:02 UTC by Zdenek Sojka
Modified: 2010-01-21 20:19 UTC (History)
0 users

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


Attachments
build log (build.log,33.92 KB, text/plain)
2010-01-18 10:03 UTC, Zdenek Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Sojka 2010-01-18 10:02:06 UTC
xorg-server-1.6.5, which is installed already, fails to be reemerged or updated to xorg-server-1.6.5-r1

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =x11-base/xorg-server-1.6.5-r1

Actual Results:  
...
In file included from dixfonts.c:75:
../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No such file or directory
...
 * ERROR: x11-base/xorg-server-1.6.5-r1 failed:
 *   emake failed
...

Expected Results:  
Compiles fine

Portage 2.2_rc61 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r9 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r9-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 18 Jan 2010 08:20:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.51.0.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=barcelona -fomit-frame-pointer -s -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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="-O2 -march=barcelona -fomit-frame-pointer -s -pipe -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en cs"
MAKEOPTS="-j6"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/toolchain /usr/portage/local/legacy /usr/portage/local/layman/kde-sunset"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext 7zip X a52 aac aalib acpi akode alsa amd64 ansi aotuv artswrappersuid asf async audiofile automount bash-completion binary-drivers blas boost branding browserplugin bzip2 cddb cdparanoia cdr chdir crypt css cups custom-cflags custom-cxxflags custom-flags custom-optimization cvs cxx dbus dc1394 debugger divx dlloader dmi double-precision dv dvb dvbplayer dvd dvdnav dvdr dvdread dynamic ecc emerald encode exif fat ffmpeg firefox flac fortran fpx ftp gecko gif ginac git glib glibc-omitfp gmedia gmp gphoto2 gpm graphite graphviz gs gtk hal hddtemp hpn iconv idea ieee1394 imagemagick imlib ipv6 java5 java6 javascript jbig jpeg jpeg2k kde kqemu lame lcms libcaca llvm-gcc lm_sensors logitech-mouse lzma lzo mad matroska midi mikmod mjpeg mmap mmx mmxext mng modplug motif mozbranding mozdevelop mozilla moznopango mp2 mp3 mp4 mpeg mplayer multilib musepack musicbrainz ncurses nls no-old-linux nodrm noflagstrip nopie nossp nptl nptlonly nsplugin ntfs nvidia ogg oldnet openal opencore-amr opengl openmp osdmenu pdf png pnm povray ps qhull qt3support qt4 quicktime rar readline realmedia reiser4 reiserfs rle rtc run-as-root samba scenarios sdl shm slang smbclient smp sndfile speex srt sse sse2 sse3 ssl static-analyzer stream submenu subtitles subversion svg swat sysfs syslog t1lib tetex tga theora threads threadsafe tiff timidity truetype unicode urandom usb v4l v4l2 vcd vlm vorbis wma-fixed wmf wmp x264 xanim xcb xine xml xmms xorg xulrunner xv xvid xvmc yv12 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" 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 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" CAMERAS="spca50x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zdenek Sojka 2010-01-18 10:03:21 UTC
Created attachment 216788 [details]
build log

[ebuild     U ] x11-base/xorg-server-1.6.5-r1 [1.6.5] USE="hal ipv6 nptl sdl xorg -debug -dmx -kdrive -minimal -tslib" 0 kB
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2010-01-18 17:24:42 UTC
Required dependency is x11-proto/xineramaproto, which is listed as dependency of xorg-server. Just wrangled bug 301392 of yours, which seemed as likely not to be valid as this one. Maybe a problem with your local package db, broken file system or something like that?
Comment 3 Zdenek Sojka 2010-01-18 18:25:14 UTC
I have x11-proto/xineramaproto-1.2 installed

# emerge -vp x11-proto/xineramaproto
Calculating dependencies... done!
[ebuild   R   ] x11-proto/xineramaproto-1.2  0 kB

The only *.h file it installs is:
/usr/include/X11/extensions/panoramiXproto.h

Downgrading to x11-proto/xineramaproto-1.1.2 seems to help, xorg-server compilation fails with different problem though:
In file included from main.c:116:
/usr/include/X11/extensions/dpms.h:40: error: expected ‘)’ before ‘*’ token
Comment 4 Zdenek Sojka 2010-01-19 18:13:05 UTC
It compiles fine when I have following in my package.mask:
>=x11-base/xorg-server-1.7
>=x11-base/xorg-drivers-1.7
>=media-libs/mesa-7.6      

>=x11-proto/xineramaproto-1.2
>=x11-libs/libXext-1.1       
>=x11-proto/xextproto-7.1    
>=x11-libs/libXtst-1.1       
>=x11-proto/recordproto-1.14 
>=x11-libs/libXxf86vm-1.1    
>=x11-proto/fixesproto-4.1   
>=x11-libs/libXi-1.3         
>=x11-apps/xinput-1.5        
>=x11-proto/xf86vidmodeproto-2.3
>=x11-proto/inputproto-2        

I don't know how much is building of not-the-most-recent xorg-server officially supported...
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2010-01-20 22:03:08 UTC
https://bugs.gentoo.org/show_bug.cgi?id=291312#c12

Thanks

*** This bug has been marked as a duplicate of bug 291312 ***
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2010-01-21 13:57:54 UTC
Rémi, does the Xorg library ABI change that frequently and unexpectedly, that it is hardly feasible to state (or revise) dependencies properly, e.g. =x11-proto/xineramaproto-1.1* in this case? I feel always sorry, when parts of Gentoo's dependencies are not as reliable as it should be - and asking users to mask packages locally is a needless burden to them.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2010-01-21 20:19:48 UTC
(In reply to comment #6)
> Rémi, does the Xorg library ABI change that frequently and unexpectedly, that
> it is hardly feasible to state (or revise) dependencies properly, e.g.
> =x11-proto/xineramaproto-1.1* in this case?

In this case, the ABI is actually preserved... (yeah, X is awesome) But generally, no, this was the first big headache since the modular Xorg split (which goes back to '03 if I'm not mistaken).

X libs are more or less dead at this point, this "cleanup" was about 20 years overdue. :)

There might be another such clean-up later on, but it should be much easier to deal with and should affect a lot less packages.

> I feel always sorry, when parts of
> Gentoo's dependencies are not as reliable as it should be - and asking users to
> mask packages locally is a needless burden to them.

There are 2 issues here :

1) Some users _want_ to keep 1.6 while we (X11 herd) would like everyone to use 1.7. Since 1.6 is the stable version, we just can't prevent people from doing so.

2) EAPI/PMS doesn't let us have ranged deps, which is a shame, as it would have helped a _lot_ for this particular situation.

We (X11 herd) try our best to make sure users don't need to go with #1, but sometimes we just can't (ati releasing a compatible version of fglrx 3 months after 1.7 is out), and I've tried bringing up option #2 on the dev mailing list and it was flat out rejected.

So hopefully, when 1.7 goes stable and we remove 1.6, all this should be just a memory.

Cheers