x11-base/xorg-server-1.11.0 build fails with the following output: make[2]: Entering directory `/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0_build/test' make[2]: *** No rule to make target `../hw/xfree86/sdksyms.c', needed by `sdksyms.lo'. Stop. make[2]: *** Waiting for unfinished jobs.... CC xkb.o i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/test -I../include -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/hw/xfree86/parser -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/miext/cw -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/hw/xfree86/ddc -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/hw/xfree86/i2c -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/hw/xfree86/modes -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/hw/xfree86/ramdac -I/var/tmp/portage/x11-base/xorg-server-1.11.0/temp/mesa-symlinks -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/include -I../include -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/Xext -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/composite -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/damageext -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/xfixes -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/Xi -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/mi -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/miext/sync -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/miext/shadow -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/miext/damage -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/render -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/randr -I/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/fb -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -c /var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0/test/xkb.c make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0_build/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.0/work/xorg-server-1.11.0_build/test' make: *** [all-recursive] Error 1 * ERROR: x11-base/xorg-server-1.11.0 failed (compile phase): * emake failed revdep-rebuild has had no effect. Reproducible: Always Flags for emerge: [ebuild U ] x11-base/xorg-server-1.11.0 [1.10.4] USE="minimal nptl udev -dmx -doc -ipv6 -kdrive -static-libs -tslib -xnest -xorg -xvfb" 0 kB Note: reason for USE="-xorg" is that this is on a headless server and only installed to provide a few files needed to run xdm and fluxbox with tigervnc. emerge --info: Portage 2.1.10.11 (default/linux/x86/10.0/server, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo i686) ================================================================= System uname: Linux-3.0.4-gentoo-i686-Pentium_III_-Coppermine-with-gentoo-2.0.3 Timestamp of tree: Sat, 03 Sep 2011 19:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.7-r2, 2.7.2-r2, 3.1.4-r2, 3.2-r2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1-r1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo belak standard-overlay ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/make.conf /usr/lib/X11/xdm/Xsetup_0 /usr/share/gnupg/qualified.txt" 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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse" DISTDIR="/var/cache/http-replicator" EMERGE_DEFAULT_OPTS="--nospinner" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="-j8 -l5.2" 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/local/portage/layman/belak /usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="X509 a52 aac accessibility acl acpi apache2 bash-completion berkdb bzip2 clamav cli consolekit cracklib crypt cups curl curlwrappers cxx dbm dbus dbx dri dv enca encode exif fastcgi ffmpeg foomaticdb fortran ftp gd gd-external gdbm gnutls gpm hardened iconv imagemagick imap innodb java javascript jpeg lcms ldap libwww mad matroska minimal mmx mmxext modules mp3 mudflap mysql ncurses nls nptl nptlonly offensive ogg openmp optimized-qmake pam pcre php png policykit posix pppd qt4 raw readline rtmp samba scanner session sharedmem snmp soap sse ssl sysfs tcpd theora threads tidy tiff tokenizer tordns truetype udev unicode usb vhosts win32codecs x264 x86 xinetd xml xmlrpc xorg xsl xvid zip zlib" 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" CALLIGRA_FEATURES="kexi words flow plan 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="ati fbdev vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please also report this bug upstream at https://bugs.freedesktop.org/ For the upstream report, give the exact configure options that are mentioned at the beginning of build.log
It it because of this commit 5 years ago: http://webcvs.freedesktop.org/xorg/xserver/xorg/include/Makefile.am?revision=1.5&view=markup Does it imply xvfb cannot be built without xorg?
Reported to upstream at https://bugs.freedesktop.org/show_bug.cgi?id=43320
got an upstream patch from Alan Coopersmith[1], which needs to be applied to the xorg git master branch. Tested to work on my setup. A xorg-server-9999 ebuild testing the patch is submitted for review. BTW, xorg git source needs >=inputproto-2.0.99, I also made one just by renaming, thanks to the coolest xorg-2.eclass. 1. http://patchwork.freedesktop.org/patch/8013/
Created attachment 294131 [details] xorg-server-9999 for testing the patch with current git tree
(In reply to comment #5) > Created attachment 294131 [details] > xorg-server-9999 for testing the patch with current git tree Failed Patch: xorg-server-disable-acpi.patch ! Am I doing it wrong?
xorg-server-disable-acpi.patch is obsolete and no longer applies.
Got it eventually (the nouveau patch should also be taken out). It builds successfully on my system.
I don't know where you got that ebuild from, but it is not what is currently in the x11 overlay.
(In reply to comment #9) > I don't know where you got that ebuild from, but it is not what is currently in > the x11 overlay. It's the one attached above in comment #5. Though it's not from the overlay, it does demonstrate that the patch works, no?
Building with the ebuild attached already requires even newer inputproto. Since I've got it on a production server, I have no will to live on the bleeding edge. So I've managed to compile it by creating a portage overlay from the stock xorg-server-1.11.2-r2.ebuild and adding "--disable-unit-tests" to XORG_CONFIGURE_OPTIONS. Might work as a temporary fix.
the patch is merged into xorg git and gentoo version xorg-server-1.11.99.2 verified on amd64 to work. Please test and we can close this bug soon.
Marking as fixed per comment 12.
this is broken in stable :(. any chance of getting that fixed ?
(In reply to comment #14) > this is broken in stable :(. any chance of getting that fixed ? Pass --disable-unit-tests via XORG_CONFIGURE_OPTIONS as per comment 11 or just wait ;)
Created attachment 297589 [details, diff] xorg-server-1.11-disable-tests-without-ddx.patch The upstream patch does not apply cleanly against xorg-server-1.11. See if the attached patch helps (needs eautoreconf). It causes the following warning though, which I don't know how to fix: * Running elibtoolize in: xorg-server-1.11.3/ * We've already been run in this tree; you should * avoid this if possible (perhaps by filing a bug)
(In reply to comment #16) yes, this patch fixes my stable build. that elibtoolize warning is due to failings in the autotools-utils eclass.
Patch applied to xorg-server-1.11.2-r2 and 1.11.3 too.
Just had a build of xorg-server-1.12.0-r1 fail on another box (~amd64, same USE flags) with this message: *** No rule to make target `ddxstubs.c', needed by `ddxstubs.lo'. Stop. Is this related by any chance? Wanted to check before starting a separate bug.
(In reply to comment #19) That is https://bugs.freedesktop.org/show_bug.cgi?id=47975 , a totally different issue.
I remember I have also tested xorg-server-9999, ddxstubs failed in another way at linking stage. Just wondering how about just disabling test without xorg, econf .... $(use_enable xorg unit-tests) .... Upstream seems do not test before release if their code could compile with xorg disabled, this kind of bug would happen yet again.
(In reply to comment #20) > (In reply to comment #19) > That is https://bugs.freedesktop.org/show_bug.cgi?id=47975 , a totally > different issue. Thanks for that. Should I file it here too, or just wait til upstream fix it?