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

Bug 531078

Summary: x11-base/xorg-server-1.16.2 - In file included from .../work/xorg-server-1.16.2/hw/xfree86/common/xf86DGA.c:50:0: /usr/include/X11/extensions/xf86dgaproto.h:12:41: fatal error: X11/extensions/xf86dgaconst.h: No such file or directory
Product: Gentoo Linux Reporter: Nathan Caldwell <saintdev>
Component: [OLD] ServerAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: x11-base:xorg-server-1.16.2:20141129-031739.log.bz2

Description Nathan Caldwell 2014-11-29 04:48:46 UTC
When compiling xorg-server 1.16.2 I get the following error:

> In file included from /var/tmp/portage/x11-base/xorg-server-1.16.2/work/xorg-server-1.16.2/hw/xfree86/common/xf86DGA.c:50:0:
> /usr/include/X11/extensions/xf86dgaproto.h:12:41: fatal error: X11/extensions/xf86dgaconst.h: No such file or directory
 #include <X11/extensions/xf86dgaconst.h>

$ emerge -pv xorg-server
These are the packages that would be merged, in order:

Calculating dependencies  ..... .... done!
[ebuild  r  U  ] x11-base/xorg-server-1.16.2:0/1.16.1 [1.15.1:0/1.15.1] USE="ipv6 nptl suid udev xorg -dmx -doc -glamor% -kdrive -minimal (-selinux) -static-libs -systemd% -tslib -unwind -wayland% -xnest -xvfb" 0 KiB
[ebuild  rR    ] x11-libs/glamor-0.6.0-r1  USE="-gles -static-libs -xv" 0 KiB
[ebuild  rR    ] x11-drivers/xf86-input-evdev-2.9.1  0 KiB
[ebuild  rR    ] x11-drivers/xf86-input-mouse-1.9.1  0 KiB
[ebuild  rR    ] x11-drivers/xf86-input-keyboard-1.8.0  0 KiB
[ebuild  rR    ] x11-drivers/xf86-video-fbdev-0.4.4  0 KiB
[ebuild  rR    ] x11-drivers/xf86-video-vesa-2.3.3  0 KiB
[ebuild  r  U  ] x11-drivers/xf86-video-nouveau-1.0.11 [1.0.10-r1] USE="-glamor% (-udev%*)" 0 KiB
[ebuild  rR    ] x11-drivers/xf86-video-ati-7.5.0  USE="glamor udev" 0 KiB

Reproducible: Always

Steps to Reproduce:
1. emerge xorg-server

Actual Results:  
Build fails to complete.

Expected Results:  
Compiling xorg-server succeeds.

Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.14.4-ck.0 x86_64)
=================================================================
System uname: Linux-3.14.4-ck.0-x86_64-AMD_Athlon-tm-_II_X2_255_Processor-with-gentoo-2.2
KiB Mem:     4049216 total,    181996 free
KiB Swap:    4194296 total,   3526188 free
Timestamp of tree: Fri, 28 Nov 2014 16:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2 [disabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1
dev-util/ccache:          3.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo x-portage kernels forked-daapd Folding-Home partclone x-hdhomerun x-nginx
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 FAH-EULA-2009"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/lib64/python2.7/site-packages/buildbot/status/web /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-pipe -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/kernels /usr/local/overlays/forked-daapd /usr/local/overlays/fah /usr/local/overlays/partclone /usr/local/overlays/hdhomerun /usr/local/overlays/nginx"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa amd64 avahi avi berkdb bzip2 caps cdda cddb cdr cli consolekit cracklib crypt curl cxx dbus device-mapper dri dts dv dvb dvd dvdr dvdread encode exif expat fam fame fbcondecor ffmpeg fftw flac fortran gd gdbm gdu gif gnutls gstreamer gtk gtk2 hal iconv ieee1394 imagemagick ipv6 java jpeg lame lcms lm_sensors logrotate lzma mad mdadm mmap mmx mmxext mng modules mp3 mpeg mpeg4 multilib mysql mythtv ncurses nls nptl nptlonly ogg openmp opus pam pcre php pic png policykit qt qt3support qt4 quicktime readline redland samba sasl semantic-desktop server session spell sql sqlite sse sse2 sse3 ssl subtitles svg tcpd threads tidy transcode truetype udev udisks unicode v4l v4l2 vorbis webkit x264 xine xml xml2 xulrunner xvid zeroconf zlib" ABI_X86="64" 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" 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 imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="cpu cpufreq df disk hddtemp interface load mbmon memory netlink network ntpd rrdcached rrdtool sensors swap thermal tail" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau radeon fbdev vesa vga" 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, USE_PYTHON
Comment 1 Nathan Caldwell 2014-11-29 04:55:45 UTC
Created attachment 390528 [details]
x11-base:xorg-server-1.16.2:20141129-031739.log.bz2
Comment 2 Nathan Caldwell 2014-11-29 04:56:47 UTC
Build log was 1.9MB, I had to bzip it to be able to attach it to the bug.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2014-11-29 15:25:59 UTC
Could you install app-portage/gentoolkit and run :

    equery belongs /usr/include/X11/extensions/xf86dga*

Thanks
Comment 4 Nathan Caldwell 2014-11-29 19:29:10 UTC
(In reply to Rémi Cardona from comment #3)
> Could you install app-portage/gentoolkit and run :
> 
>     equery belongs /usr/include/X11/extensions/xf86dga*
> 
> Thanks

$ equery belongs /usr/include/X11/extensions/xf86dga*
 * Searching for /usr/include/X11/extensions/xf86dga.h,/usr/include/X11/extensions/xf86dga1.h,/usr/include/X11/extensions/xf86dga1const.h,/usr/include/X11/extensions/xf86dga1proto.h,/usr/include/X11/extensions/xf86dga1str.h,/usr/include/X11/extensions/xf86dgaproto.h,/usr/include/X11/extensions/xf86dgastr.h ... 
x11-libs/libXxf86dga-1.1.4 (/usr/include/X11/extensions/xf86dga1.h)
x11-proto/xf86dgaproto-2.1-r2 (/usr/include/X11/extensions/xf86dga1proto.h)
x11-proto/xf86dgaproto-2.1-r2 (/usr/include/X11/extensions/xf86dgastr.h)
x11-proto/xf86dgaproto-2.1-r2 (/usr/include/X11/extensions/xf86dgaproto.h)
x11-proto/xf86dgaproto-2.1-r2 (/usr/include/X11/extensions/xf86dga.h)
x11-proto/xf86dgaproto-2.1-r2 (/usr/include/X11/extensions/xf86dga1const.h)
x11-proto/xf86dgaproto-2.1-r2 (/usr/include/X11/extensions/xf86dga1str.h)
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2014-11-30 00:19:15 UTC
You're effectively missing xf86dgaconst.h, which is weird.

Try reemerging x11-proto/xf86dgaproto and see if the missing file shows up.
Comment 6 Nathan Caldwell 2014-11-30 02:18:16 UTC
(In reply to Rémi Cardona from comment #5)
> You're effectively missing xf86dgaconst.h, which is weird.
> 
> Try reemerging x11-proto/xf86dgaproto and see if the missing file shows up.

Ok, it showed back up after reemerging xf86dgaproto. And reemerging xorg-server works. Not sure what happened there.