Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 207361

Summary: dev-java/antlr doesn't compile with gcc-4.3.0
Product: Gentoo Linux Reporter: milan hodoscek <milan>
Component: [OLD] GCC PortingAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: rhill, StormByte
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: gcc 4.3.0 includes patch
the patched -r1 ebuild

Description milan hodoscek 2008-01-25 09:26:03 UTC
dev-java/antlr doesn't compile with gcc-4.3.0

add

#include <cstring>

in lib/cpp/antlr/CharScanner.hpp at line 21
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-01-26 01:53:30 UTC
For gcc-porting we generally like to keep the bug assigned to the package maintainer and keep tabs on them through the relevant gcc tracker bug.  For 4.3 that is bug #198121 (or just put "gcc-4.3" the blocker field).  It's not uncommon for us to have 50-100 bugs on a tracker and if we're assigned or cc'd on all of them we get absolutely buried in mail.

I know selecting the gcc-porting component automatically fills in us as the assignee right now.  We should probably get that changed.

milan, thanks for the report.  If you could also include the error message in the future it would be appreciated.  I know for simple little stuff like this it seems obvious but it really helps when searching bugzilla for a specific error.  

We also like to check if upstream is aware of the error and get in touch with them if they aren't.
Comment 2 impulze 2008-03-19 19:13:22 UTC
Created attachment 146597 [details, diff]
gcc 4.3.0 includes patch
Comment 3 impulze 2008-03-19 19:13:50 UTC
Created attachment 146601 [details, diff]
the patched -r1 ebuild
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2008-04-04 12:53:08 UTC
*** Bug 215974 has been marked as a duplicate of this bug. ***
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2008-04-04 12:56:02 UTC
(In reply to comment #2)
> Created an attachment (id=146597) [edit]
> gcc 4.3.0 includes patch
> 

Patch added.
Comment 6 Neil Cathey 2008-04-05 04:32:47 UTC
This is still failing for me.  2.7.7-gcc-4.3.patch is there, and I have the latest revision of antlr-2.7.7.ebuild (which is 1.11 according to sources.gentoo.org), but the patch is not being applied.
Comment 7 Neil Cathey 2008-04-05 04:51:51 UTC
OK, I could be wrong, but I think it's running src_unpack from distutils.eclass and not from base.eclass.  If I edit antlr-2.7.7.ebuild and move base to the end of the inherit line, it applies the patch and works (for me).
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2008-04-05 09:58:51 UTC
(In reply to comment #6)
> This is still failing for me.  2.7.7-gcc-4.3.patch is there, and I have the
> latest revision of antlr-2.7.7.ebuild (which is 1.11 according to
> sources.gentoo.org), but the patch is not being applied.
> 

should be now