<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>193978</bug_id>
          
          <creation_ts>2007-09-27 11:06 0000</creation_ts>
          <short_desc>x11-base/xorg-server-1.4-r1 fails to emerge due to missing headerfile ia64Pci.h.</short_desc>
          <delta_ts>2007-10-02 09:29:13 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.0</version>
          <rep_platform>IA64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>grubba@grubba.org</reporter>
          <assigned_to>x11@gentoo.org</assigned_to>
          <cc>ia64@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>grubba@grubba.org</who>
            <bug_when>2007-09-27 11:06:44 0000</bug_when>
            <thetext>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 &apos;./lnx_ia64.c&apos; || echo &apos;./&apos;`./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 &apos;=&apos;, &apos;,&apos;, &apos;;&apos;, &apos;asm&apos; or &apos;__attribute__&apos; before &apos;lnxProbePciChipset&apos;
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=&quot;ia64&quot;
CBUILD=&quot;ia64-unknown-linux-gnu&quot;
CFLAGS=&quot;-O2 -pipe&quot;
CHOST=&quot;ia64-unknown-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.sunet.se/pub/unix/Linux/distributions/gentoo/ http://mirror.gentoo.no/&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--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-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;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&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;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&quot;
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-09-27 13:36:09 0000</bug_when>
            <thetext>Created an attachment (id=132024)
ia64.patch

With this patch from Debian it compiles for me.

X11: thoughts?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-09-27 20:51:36 0000</bug_when>
            <thetext>We&apos;ll take this, now that there&apos;s a patch to check out.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-10-01 10:32:57 0000</bug_when>
            <thetext>Should be fixed in xorg-server-1.4-r2.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grubba@grubba.org</who>
            <bug_when>2007-10-02 09:29:13 0000</bug_when>
            <thetext>xorg-server-1.4-r2 is indeed ok.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>132024</attachid>
            <date>2007-09-27 13:36 0000</date>
            <desc>ia64.patch</desc>
            <filename>ia64.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGh3L3hmcmVlODYvb3Mtc3VwcG9ydC9zaGFyZWQvaWE2NFBjaS5oCisrKyBody94ZnJlZTg2
L29zLXN1cHBvcnQvc2hhcmVkL2lhNjRQY2kuaApAQCAtMCwwICsxLDQ2IEBACisvKgorICogQ29w
eXJpZ2h0IDIwMDQsIEVnYmVydCBFaWNoCisgKgorICogUGVybWlzc2lvbiBpcyBoZXJlYnkgZ3Jh
bnRlZCwgZnJlZSBvZiBjaGFyZ2UsIHRvIGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weQorICog
b2YgdGhpcyBzb2Z0d2FyZSBhbmQgYXNzb2NpYXRlZCBkb2N1bWVudGF0aW9uIGZpbGVzICh0aGUg
IlNvZnR3YXJlIiksIHRvCisgKiBkZWFsIGluIHRoZSBTb2Z0d2FyZSB3aXRob3V0IHJlc3RyaWN0
aW9uLCBpbmNsdWRpbmcgd2l0aG91dCBsaW1pdGF0aW9uIHRoZQorICogcmlnaHRzIHRvIHVzZSwg
Y29weSwgb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