Summary: | emerge vdk failing after gcc 4.1.1 upgrade | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gianluca Parmiggiani <parmigio> |
Component: | [OLD] GCC Porting | Assignee: | Gustavo Zacarias (RETIRED) <gustavoz> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | peper |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: |
should fix compile on gcc 4.1.1
gcc3.4 patch failing to apply |
Description
Gianluca Parmiggiani
2006-05-29 03:12:24 UTC
Revbumped, give dev-libs/vdk-2.4.1 a whirl, it SHOULD fix it but since i don't have a gcc4 box i can't tell. Created attachment 87854 [details, diff]
should fix compile on gcc 4.1.1
Not tested yet but with a "make".
Comment on attachment 87854 [details, diff] should fix compile on gcc 4.1.1 (In reply to comment #1) > Revbumped, give dev-libs/vdk-2.4.1 a whirl, it SHOULD fix it but since i don't > have a gcc4 box i can't tell. > I have exactly the same error even with ver 2.4.1 of vdk. I tried to investigate on the error messages it seems (but i'm not a c++ expert) that the "static CLASS::method" doesn't makes gcc happy. Please see the attached patch. Patch works for me. (In reply to comment #3) > I tried to investigate on the error messages it seems (but i'm not a c++ > expert) that the "static CLASS::method" doesn't makes gcc happy. > Please see the attached patch. Have a look if you are interested: http://www.fourmilab.ch/fourmilog/archives/2006-05/000699.html In portage, thanks for the patch Gianluca! Ehmm and close the bug :) sorry i'm new to the bug system, shouldn't a 2.4.1-r1 appear on portage? No, since it's just a compile fix. If the ebuild changed settings, behaviour or something that would affect having emerged the "old" version compared to a "new" one then yes, but that's not the case here. Those who were affected by this bug wouldn't have been able to emerge it, and now they should be. the patch doesn't get applied, lines 25 and 26 of vdk-2.4.1.ebuild should be joined togheter.
Again.. vdk-2.4-gcc3.4.patch seems can't be applied to vdk-2.4.1 (i commented it out for testing since i assume it was never applied due to the first error in ebuild).
>>> Unpacking vdk-2.4.1.tar.gz to /var/tmp/portage/vdk-2.4.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/vdk-2.4.1/work/vdk-2.4.1 ...
/usr/portage/dev-libs/vdk/vdk-2.4.1.ebuild: line 26: 1: command not found
* econf: updating vdk-2.4.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating vdk-2.4.1/config.sub with /usr/share/gnuconfig/config.sub
Created attachment 88752 [details]
gcc3.4 patch failing to apply
There was an error in the ebuild since (at least in ~x86 latest portage) it wasn't applied. Fixing that error stops the ebuild since that patch can't be applied anymore.
My bad, should be fixed now. Close the bug if it is so. Now it works, tnx ;) |