Bug 193978 - x11-base/xorg-server-1.4-r1 fails to emerge due to missing headerfile ia64Pci.h.
Bug#: 193978 Product:  Gentoo Linux Version: 2006.0 Platform: IA64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: grubba@grubba.org
Component: Ebuilds
URL: 
Summary: x11-base/xorg-server-1.4-r1 fails to emerge due to missing headerfile ia64Pci.h.
Keywords:  Inclusion
Status Whiteboard: 
Opened: 2007-09-27 11:06 0000
Description:   Opened: 2007-09-27 11:06 0000
An emerge of x11-base/xorg-server-1.4-r1 fails with:

/bin/sh ../../../../libtool --tag=CC   --mode=compile
ia64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../include
-I../../../../hw/xfree86 -I../../../../hw/xfree86/include
-I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support
-I../../../../hw/xfree86/os-support/bus -I../../../../os -I./../shared
-I/usr/include/drm    -DUSESTDRES -DHAVE_SYSV_IPC -DHAVE_DIX_CONFIG_H -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1  
-I../../../../include -I../../../../include -I../../../../Xext
-I../../../../composite -I../../../../damageext -I../../../../xfixes
-I../../../../Xi -I../../../../mi -I../../../../miext/shadow 
-I../../../../miext/damage -I../../../../render -I../../../../randr
-I../../../../fb -DHAVE_XORG_CONFIG_H -DXF86PM   -DHAVE_ACPI -DHAVE_APM
-DOS_PROBE_PCI_CHIPSET=lnxProbePciChipset -O2 -pipe -MT lnx_ia64.lo -MD -MP -MF
.deps/lnx_ia64.Tpo -c -o lnx_ia64.lo `test -f './lnx_ia64.c' || echo
'./'`./lnx_ia64.c
 ia64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../include
-I../../../../hw/xfree86 -I../../../../hw/xfree86/include
-I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support
-I../../../../hw/xfree86/os-support/bus -I../../../../os -I./../shared
-I/usr/include/drm -DUSESTDRES -DHAVE_SYSV_IPC -DHAVE_DIX_CONFIG_H -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1
-I../../../../include -I../../../../include -I../../../../Xext
-I../../../../composite -I../../../../damageext -I../../../../xfixes
-I../../../../Xi -I../../../../mi -I../../../../miext/shadow
-I../../../../miext/damage -I../../../../render -I../../../../randr
-I../../../../fb -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_ACPI -DHAVE_APM
-DOS_PROBE_PCI_CHIPSET=lnxProbePciChipset -O2 -pipe -MT lnx_ia64.lo -MD -MP -MF
.deps/lnx_ia64.Tpo -c ./lnx_ia64.c  -fPIC -DPIC -o .libs/lnx_ia64.o
./lnx_ia64.c:37:21: error: ia64Pci.h: No such file or directory
./lnx_ia64.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'lnxProbePciChipset'
make[5]: *** [lnx_ia64.lo] Error 1


Reproducible: Always

Steps to Reproduce:
1. Attempt to emerge x11-base/xorg-server-1.4-r1 on an IA64-machine
2. Watch it fail as above.



Expected Results:  
A successful emerge.

Portage 2.1.3.9 (default-linux/ia64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.18-gentoo ia64)
=================================================================
System uname: 2.6.18-gentoo ia64 Itanium
Timestamp of tree: Thu, 27 Sep 2007 08:00:07 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="ia64"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/unix/Linux/distributions/gentoo/
http://mirror.gentoo.no/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X berkdb bitmap-fonts cli cracklib crypt cups dri encode fortran gdbm gif
gnome gpm gtk gtk2 ia64 iconv imlib ipv6 isdnlog jpeg kde libg++ libwww midi
mime motif mudflap mysql ncurses nls nptl nptlonly openmp oss pam pcre pdflib
perl png pppd python qt readline reflection sdl session spell spl ssl tcpd
truetype truetype-fonts type1-fonts unicode xml2 xorg zlib zv"
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="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint
i128 i740 i810 imstt mach64 mga neomagic nv r128 radeon rendition s3 s3virge
savage siliconmotion sisusb tdfx tga v4l vesa vga via voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

x11-base/xorg-server-1.3.0.0 installed fine earlier.

------- Comment #1 From Raúl Porcel 2007-09-27 13:36:09 0000 -------
Created an attachment (id=132024) [details]
ia64.patch

With this patch from Debian it compiles for me.

X11: thoughts?

------- Comment #2 From Donnie Berkholz 2007-09-27 20:51:36 0000 -------
We'll take this, now that there's a patch to check out.

------- Comment #3 From Donnie Berkholz 2007-10-01 10:32:57 0000 -------
Should be fixed in xorg-server-1.4-r2.

------- Comment #4 From Henrik Grubbström 2007-10-02 09:29:13 0000 -------
xorg-server-1.4-r2 is indeed ok.