<?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>42307</bug_id>
          
          <creation_ts>2004-02-20 14:43 0000</creation_ts>
          <short_desc>failed ebuild for svgalib</short_desc>
          <delta_ts>2004-02-23 14:50:33 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>unspecified</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>zumoton@yahoo.com</reporter>
          <assigned_to>plasmaroo@gentoo.org</assigned_to>
          <cc>jsled-gentoo@asynchronous.org</cc>
    
    <cc>plasmaroo@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>zumoton@yahoo.com</who>
            <bug_when>2004-02-20 14:43:02 0000</bug_when>
            <thetext>emerge dies when the compiler returns an error

Reproducible: Always
Steps to Reproduce:
1.emerge svgalib
2.
3.

Actual Results:  
gcc -O2 -DLINUX -Dlinux -D__KERNEL__ -DMODULE  -nostdinc -iwithprefix include
-I/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper/include
-I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-DSVGALIB_HELPER_MAJOR=209 -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -M *.c &gt; .depend
gcc -O2 -DLINUX -Dlinux -D__KERNEL__ -DMODULE  -nostdinc -iwithprefix include
-I/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper/include
-I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-DSVGALIB_HELPER_MAJOR=209 -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o main.o main.c
main.c:90: parse error before &quot;vsync_interrupt&quot;
main.c: In function `svgalib_helper_ioctl&apos;:
main.c:317: warning: passing arg 2 of `request_irq_R0c60f2e0&apos; from incompatible
pointer type
main.c:321: warning: passing arg 2 of `request_irq_R0c60f2e0&apos; from incompatible
pointer type
make: *** [main.o] Error 1
make: Leaving directory
`/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper&apos;

!!! ERROR: media-libs/svgalib-1.9.17-r3 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! Failed to build kernel module!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-02-20 15:13:00 0000</bug_when>
            <thetext>Can you please run and paste in the output of:

1) grep -m4 &quot;.*&quot; /usr/src/linux/Makefile
2) emerge -p linux-headers
3) md5sum /usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch

Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mbditt@plauditdesign.com</who>
            <bug_when>2004-02-21 08:12:29 0000</bug_when>
            <thetext>I am having the same problem. I just installed Gentoo for the first time about 5 days ago, and ran into this issue while trying to install KDE. I have Kernel 2.4.24 from Vanilla source. Here is the output that you requested.

1.) grep -m4 &quot;.*&quot; /usr/src/linux/Makefile
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 24
EXTRAVERSION = 

2.) emerge -p linux-headers

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/linux-headers-2.4.21

3.) md5sum /usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch

0ded96494b4c3f4f744474ff89033c18 /usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch

I hope this helps. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-02-23 08:33:24 0000</bug_when>
            <thetext>Hmm, you don&apos;t seem to have any headers. Try merging linux-headers and see if that helps...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jsled-gentoo@asynchronous.org</who>
            <bug_when>2004-02-23 08:48:41 0000</bug_when>
            <thetext>I&apos;m having the same problem [same versions, errors, &amp;c].

merging linux-headers[-2.4.21] doesn&apos;t help me. :(</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-02-23 14:22:12 0000</bug_when>
            <thetext>Created an attachment (id=26199)
Patch

OK, can you please try applying this patch on
/usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch and tell us
whether it works or fails?

Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jsled-gentoo@asynchronous.org</who>
            <bug_when>2004-02-23 14:37:43 0000</bug_when>
            <thetext>The patch worksforme; thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-02-23 14:50:33 0000</bug_when>
            <thetext>Fixed in CVS, should hit Portage in an hour. Thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>26199</attachid>
            <date>2004-02-23 14:22 0000</date>
            <desc>Patch</desc>
            <filename>svgalib-1.9.17-linux2.6-fix2.4issues.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHN2Z2FsaWItMS45LjE3LWxpbnV4Mi42LnBhdGNofgkyMDA0LTAyLTE4IDAzOjMzOjU3LjAw
MDAwMDAwMCArMDAwMAorKysgc3ZnYWxpYi0xLjkuMTctbGludXgyLjYucGF0Y2gJMjAwNC0wMi0y
MyAyMjoyMDo0NC4wMDAwMDAwMDAgKzAwMDAKQEAgLTEyMSwxOCArMTIxLDExIEBAC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