<?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>185828</bug_id>
          
          <creation_ts>2007-07-19 02:22 0000</creation_ts>
          <short_desc>sci-visualization/opendx-4.3.2-r1 doesn&apos;t compile w/ linux-headers-2.6.21</short_desc>
          <delta_ts>2007-07-19 08:04:31 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>159304</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>f.r.bissey@massey.ac.nz</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>f.r.bissey@massey.ac.nz</who>
            <bug_when>2007-07-19 02:22:26 0000</bug_when>
            <thetext>I recently upgraded to the latest linux-headers (2.6.21) and tried to re-emerge
opendx. The compilation failed with the following message:
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -Dlinux -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -fno-strict-aliasing -Wall -W -pthread -O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -fno-strict-aliasing -fno-strength-reduce -D_GNU_SOURCE -c memory.c -o memory.o
memory.c:69:23: error: linux/sys.h: No such file or directory
make[4]: *** [memory.lo] Error 1
make[4]: Leaving directory `/scratch/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src/exec/libdx&apos;
make[3]: *** [all] Error 2
make[3]: Leaving directory `/scratch/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src/exec/libdx&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scratch/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src/exec&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/portage/sci-visualization/opendx-4.3.2-r1/work/dx-4.3.2/src&apos;
make: *** [all-recursive] Error 1

!!! ERROR: sci-visualization/opendx-4.3.2-r1 failed.

---------------------
On closer inspection the header linux/sys.h that was present in earlier version
of the kernel is not included in 2.6.21
The problem also occurs with the latest upstream version (opendx-4.4.4).
I guess the header in question may be gone for good in which case it is 
really an upstream problem. 

Reproducible: Always

Steps to Reproduce:
1. emerge linux-headers-2.6.21
2. emerge opendx
3.

Actual Results:  
Compilation failure as previously reported.

Expected Results:  
I expected it to compile.

emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r7 i686)
=================================================================
System uname: 2.6.20-gentoo-r7 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 18 Jul 2007 07:20:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -fno-strict-aliasing&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -fno-strict-aliasing&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.citylink.co.nz/gentoo http://mirrors.tds.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.eliteitminds.com&quot;
LDFLAGS=&quot;-Wl,--as-needed&quot;
LINGUAS=&quot;en_GB fr&quot;
MAKEOPTS=&quot;-j2&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;/scratch&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/local/portage&quot;
SYNC=&quot;rsync://rsync.au.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext X a52 aac aalib acl alsa amr asf audiofile berkdb bidi bitmap-fonts bootsplash bzip2 cairo cdf cdparanoia cli cracklib crypt cups curl dbus dga dmi dri dts dv dvd dvdr dvdread encode exif expat fb fbcon ffmpeg fftw flac foomaticdb fortran fpx gdbm gif gimpprint glut gmp gpm graphviz gs gstreamer gtk gtk2 hal iconv idn imagemagick imlib imlib2 ipv6 isdnlog jack java jbig joystick jpeg jpeg2k kde kdehiddenvisibility kdexdeltas lame lcms libg++ lzo mad matroska midi mikmod mime mmx mmx2 mmxext mng motif mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses netcdf network nls nptl nptlonly ogg openal openexr opengl openmp pcre pdf perl png portaudio posix ppds pppd python qt3 qt4 quicktime readline real reflection sdl session sndfile spell spl sse ssl svg svga szip tcl tcltk tcpd tetex tga theora tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vidix vorbis wavpack wmf x264 x86 xanim xcb xine xml xorg xpm xsl xv xvid xvmc zeroconf zlib&quot; ALSA_CARDS=&quot;cmipci via82xx&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;evdev keyboard mouse joystick&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;en_GB fr&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;radeon&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>f.r.bissey@massey.ac.nz</who>
            <bug_when>2007-07-19 02:33:45 0000</bug_when>
            <thetext>There is a report upstream with a suggested resolution:
http://www.opendx.org/bugs/view.php?id=231</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>je_fro@gentoo.org</who>
            <bug_when>2007-07-19 08:04:31 0000</bug_when>
            <thetext>I found this, which was helpful...
http://www.redhat.com/archives/fedora-extras-commits/2006-September/msg03773.html</thetext>
          </long_desc>
      
    </bug>

</bugzilla>