Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47966 - [antlr2] needs rebuild for c++ ABI change

Attached to Project: Arch Linux
Opened by Graziano Giuliani (Graziano) - Sunday, 31 January 2016, 16:09 GMT
Last edited by Guillaume ALAUX (galaux) - Monday, 01 February 2016, 16:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
antlr2 packages may be affected in the C++ library by some ABI change from the gcc. I was trying to compile the nco package from the AUR which depends on it, and got an error from the linker in linking to the libantlr.
I have got the PKGBUILD from the git, recompiled antlr2 on my box, and the linking error disappears.
A rebuild of the package may be needed to use the libantlr in dependent packages.

Additional info:
* 2.7.7-6
* ncoTree.o: In function `ncoTree::statements(antlr::ASTRefCount<antlr::AST>)':
XXX/nco-4.5.3/src/nco++/ncoGrammer.g:1118: undefined reference to `antlr::ASTFactory::create(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:493: recipe for target 'ncap2' failed

Steps to reproduce:
Try to build the nco package from AUR with the antlr2 from the package repository fails. Recompile the antlr2 from source and then build nco is success.
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Monday, 01 February 2016, 16:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  Package rebuilt
Comment by Guillaume ALAUX (galaux) - Monday, 01 February 2016, 16:15 GMT
I can reproduce everything you describe.
Brand new package just pushed to [extra] (may take time to propagate).
Thanks for reporting this – and providing the solution all together :).

Loading...