<?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>122565</bug_id>
          
          <creation_ts>2006-02-12 08:22 0000</creation_ts>
          <short_desc>svgalib 1.9.24 fails to emerge on 2.4 kernel</short_desc>
          <delta_ts>2006-02-12 14:35:09 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>2005.1</version>
          <rep_platform>x86</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>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>andre@terpstra.nu</reporter>
          <assigned_to>vapier@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>andre@terpstra.nu</who>
            <bug_when>2006-02-12 08:22:35 0000</bug_when>
            <thetext>AthenaGentoo ~ # emerge info
Portage 2.1_pre4-r1 (default-linux/x86/no-nptl/2.4, gcc-3.4.5, glibc-2.3.6-r2, 2.4.32-gentoo-r2 i686)
=================================================================
System uname: 2.4.32-gentoo-r2 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig candy ccache distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://localhost/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://localhost/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowext X alsa apm artworkextra avi berkdb bitmap-fonts browserplugin bzip2 cairo cdr crypt cups curl directfb doc dvd dvdr eds emboss encode esd fbcon font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml howl idn imlib insecure-savers ipv6 java javascript jpeg lcms libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail moznoxft mozsvg mp3 mpeg ncurses nls nntp nsplugin offensive ogg opengl oss pam pdflib perl png python quicktime readline samba sdl slp spell sse ssl svg svga sysfs tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>andre@terpstra.nu</who>
            <bug_when>2006-02-12 08:23:59 0000</bug_when>
            <thetext>Partial output of emerge command:

wrapdemo.c: In function `main&apos;:
wrapdemo.c:629: warning: `return&apos; with no value, in function returning non-void
# chown root wrapdemo
# chmod u+s wrapdemo
make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/threeDKit&apos;
 * Preparing svgalib_helper module
grep: /usr/src/linux/include/linux/device.h: No such file or directory
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper CLASS_CFLAGS= modules
make[1]: Entering directory `/usr/src/linux-2.4.32-gentoo-r2&apos;
make -C  /var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper CFLAGS=&quot;-D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.32-gentoo-r2/include/linux/modversions.h&quot; MAKING_MODULES=1 modules
grep: /usr/src/linux/include/linux/device.h: No such file or directory
make[2]: Entering directory `/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper&apos;
gcc -D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.32-gentoo-r2/include/linux/modversions.h -DSVGALIB_HELPER_MAJOR=209  -nostdinc -iwithprefix include -DKBUILD_BASENAME=main  -c -o main.o main.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.32-gentoo-r2/include/linux/modversions.h -DSVGALIB_HELPER_MAJOR=209  -nostdinc -iwithprefix include -DKBUILD_BASENAME=i810  -c -o i810.o i810.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.32-gentoo-r2/include/linux/modversions.h -DSVGALIB_HELPER_MAJOR=209  -nostdinc -iwithprefix include -DKBUILD_BASENAME=interrupt  -c -o interrupt.o interrupt.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.32-gentoo-r2/include/linux/modversions.h -DSVGALIB_HELPER_MAJOR=209  -nostdinc -iwithprefix include -DKBUILD_BASENAME=virtual  -c -o virtual.o virtual.c
main.c:22:31: linux/thread_info.h: No such file or directory
main.c:28:28: linux/syscalls.h: No such file or directory
main.c: In function `init_module&apos;:
main.c:638: warning: implicit declaration of function `DEVFS_MK_SYMLINK&apos;
gcc -D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.32-gentoo-r2/include/linux/modversions.h -DSVGALIB_HELPER_MAJOR=209  -nostdinc -iwithprefix include -DKBUILD_BASENAME=displaystart  -c -o displaystart.o displaystart.c
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
displaystart.c: In function `set_displaystart&apos;:
displaystart.c:9: warning: unused variable `id&apos;
make[2]: Leaving directory `/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper&apos;
make[1]: *** [_mod_/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.32-gentoo-r2&apos;
make: *** [default] Error 2

!!! ERROR: media-libs/svgalib-1.9.24 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  svgalib-1.9.24.ebuild, line 81:   Called linux-mod_src_compile

!!! Unable to make                                  KDIR=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if relevant.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-02-12 14:35:09 0000</bug_when>
            <thetext>fixed in cvs</thetext>
          </long_desc>
      
    </bug>

</bugzilla>