First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 42307
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Zumo Zumoton <zumoton@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
svgalib-1.9.17-linux2.6-fix2.4issues.patch Patch patch Tim Yamin (RETIRED) 2004-02-23 14:22 0000 1.01 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42307 depends on: Show dependency tree
Bug 42307 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-20 14:43 0000
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 > .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 "vsync_interrupt"
main.c: In function `svgalib_helper_ioctl':
main.c:317: warning: passing arg 2 of `request_irq_R0c60f2e0' from incompatible
pointer type
main.c:321: warning: passing arg 2 of `request_irq_R0c60f2e0' 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'

!!! ERROR: media-libs/svgalib-1.9.17-r3 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! Failed to build kernel module!

------- Comment #1 From Tim Yamin (RETIRED) 2004-02-20 15:13:00 0000 -------
Can you please run and paste in the output of:

1) grep -m4 ".*" /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.

------- Comment #2 From mbditt@plauditdesign.com 2004-02-21 08:12:29 0000 -------
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 ".*" /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.

------- Comment #3 From Tim Yamin (RETIRED) 2004-02-23 08:33:24 0000 -------
Hmm, you don't seem to have any headers. Try merging linux-headers and see if
that helps...

------- Comment #4 From Josh Sled 2004-02-23 08:48:41 0000 -------
I'm having the same problem [same versions, errors, &c].

merging linux-headers[-2.4.21] doesn't help me. :(

------- Comment #5 From Tim Yamin (RETIRED) 2004-02-23 14:22:12 0000 -------
Created an attachment (id=26199) [details]
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.

------- Comment #6 From Josh Sled 2004-02-23 14:37:43 0000 -------
The patch worksforme; thanks.

------- Comment #7 From Tim Yamin (RETIRED) 2004-02-23 14:50:33 0000 -------
Fixed in CVS, should hit Portage in an hour. Thanks.

First Last Prev Next    No search results available      Search page      Enter new bug