First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 242342
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markos Chandras <hwoarang@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info emerge --info text/plain Markos Chandras 2008-10-16 14:08 0000 3.94 KB Details
kernel-2.6.27.patch kernel-2.6.27.patch patch Ed Catmur 2008-10-17 00:01 0000 1.70 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 242342 depends on: Show dependency tree
Bug 242342 blocks: 242708
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: 2008-10-16 14:07 0000
media-libs/svgalib-1.9.25 failes to compile 

Reproducible: Always

Steps to Reproduce:
1.emerge media-libs/svgalib-1.9.25


Actual Results:  
  CC [M] 
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/displaystart.o
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:
In function ‘init_module’:
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:660:
error: too few arguments to function ‘device_create’
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:708:
error: too few arguments to function ‘device_create’
make[2]: ***
[/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.o]
Error 1
make[1]: ***
[_module_/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo'
make: *** [default] Error 2
 *
 * ERROR: media-libs/svgalib-1.9.25 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3464:  Called linux-mod_src_compile
 *             environment, line 2638:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                      
                   CC=\"$(get-KERNEL_CC)\"                                     
    LDFLAGS=\"$(get_abi_LDFLAGS)\"     ${BUILD_FIXES}                          
                ${BUILD_PARAMS}                            ${BUILD_TARGETS} "
|| die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)"
LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc
LDFLAGS=  KDIR=/usr/src/linux default
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/media-libs/svgalib-1.9.25/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-libs/svgalib-1.9.25/temp/environment'.
 *


Expected Results:  
media-libs/svgalib-1.9.25 should compile find

------- Comment #1 From Markos Chandras 2008-10-16 14:08:50 0000 -------
Created an attachment (id=168668) [edit]
emerge --info

------- Comment #2 From Ed Catmur 2008-10-17 00:01:55 0000 -------
Created an attachment (id=168754) [edit]
kernel-2.6.27.patch

Possible patch.

------- Comment #3 From Francisco José Cañizares Santofimia 2008-10-19 15:50:52 0000 -------
(In reply to comment #2)
> Created an attachment (id=168754) [edit]
> kernel-2.6.27.patch
> 
> Possible patch.
> 

It compiles. Haven't tried to execute svgalib, though.

However, it's very important that this patch should be applied the last (this
is, after the other patches in the ebuild), like this:

        epatch "${FILESDIR}"/${PN}-1.9.25-linux2.6.patch
        epatch "${FILESDIR}"/${PN}-1.9.19-pic.patch #51698
        epatch "${FILESDIR}"/${PN}-1.9.25-build.patch
        epatch "${FILESDIR}"/${P}-linux-2.6.27.patch

As you can see, the patch posted here is the last (I changed the name for easy
to identify to me).

------- Comment #4 From Len Meakin 2008-10-20 15:32:25 0000 -------
The svgalib package compiles successfully with the patch applied. I can also
confirm expected functionality of the svgalib_helper module.

------- Comment #5 From Jonas M. Gastal 2008-10-28 02:39:55 0000 -------
I can't seem to compile svgalib even with the attached patch, my problem is
that portage complains $EPATCH_SOURCE is not defined, I'm not a newbie in
linux, but I just recently started using gentoo and can't seem to find any info
about this.

(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=168754) [edit]
> > kernel-2.6.27.patch
> > 
> > Possible patch.
> > 
> 
> It compiles. Haven't tried to execute svgalib, though.
> 
> However, it's very important that this patch should be applied the last (this
> is, after the other patches in the ebuild), like this:
> 
>         epatch "${FILESDIR}"/${PN}-1.9.25-linux2.6.patch
>         epatch "${FILESDIR}"/${PN}-1.9.19-pic.patch #51698
>         epatch "${FILESDIR}"/${PN}-1.9.25-build.patch
>         epatch "${FILESDIR}"/${P}-linux-2.6.27.patch
> 
> As you can see, the patch posted here is the last (I changed the name for easy
> to identify to me).
> 

------- Comment #6 From Jonas M. Gastal 2008-10-28 02:53:26 0000 -------
Nevermind that, I figured it out, I had improperly named the patch...
Sorry for the stupid mistake, you should ignore my previous comment.

Patch works for me.

(In reply to comment #5)
> I can't seem to compile svgalib even with the attached patch, my problem is
> that portage complains $EPATCH_SOURCE is not defined, I'm not a newbie in
> linux, but I just recently started using gentoo and can't seem to find any info
> about this.
> 
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Created an attachment (id=168754) [edit]
> > > kernel-2.6.27.patch
> > > 
> > > Possible patch.
> > > 
> > 
> > It compiles. Haven't tried to execute svgalib, though.
> > 
> > However, it's very important that this patch should be applied the last (this
> > is, after the other patches in the ebuild), like this:
> > 
> >         epatch "${FILESDIR}"/${PN}-1.9.25-linux2.6.patch
> >         epatch "${FILESDIR}"/${PN}-1.9.19-pic.patch #51698
> >         epatch "${FILESDIR}"/${PN}-1.9.25-build.patch
> >         epatch "${FILESDIR}"/${P}-linux-2.6.27.patch
> > 
> > As you can see, the patch posted here is the last (I changed the name for easy
> > to identify to me).
> > 
> 

------- Comment #7 From Paul de Vrieze 2008-10-28 20:09:29 0000 -------
Thanks for the patch. I've added it to the ebuild, and things should work now
until the next time the kernel changes something.

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