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

Bug 225401

Summary: [gcc-4.3] sci-libs/libghemical-2.10 fails to compile with gcc-4.3
Product: Gentoo Linux Reporter: Marek Miller <mlm>
Component: New packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Severity: normal CC: jeremy.william.murphy
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: libghemical-2.10_gcc43.patch

Description Marek Miller 2008-06-08 17:28:37 UTC
Again missing headers.

Steps to reproduce:
1. echo '=sci-libs/libghemical-2.10' >> /etc/portage/package.keywords
2. emerge -v1 =sci-libs/libghemical-2.10

The error messages:
> atom.cpp:374: error: 'EXIT_FAILURE' was not declared in this scope
> atom.cpp:374: error: 'exit' was not declared in this scope

> notice.cpp: In function 'const char* get_lib_intro_notice_line(int)':
> notice.cpp:31: error: 'strcpy' was not declared in this scope

My emerge --info: as in bug 225387.
I include the patch.
Comment 1 Marek Miller 2008-06-08 17:29:10 UTC
Created attachment 155979 [details, diff]
Comment 2 Marek Miller 2008-06-08 17:32:17 UTC
The <cstring> in atom.h (see the patch above) is because of
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2008-06-09 04:46:03 UTC
I think there's a newer version available, it might already work in that.
Comment 4 Jeffrey Gardner (RETIRED) gentoo-dev 2008-06-09 09:17:06 UTC
Fixed in cvs, thanks!
Comment 5 Jeremy Murphy 2009-12-18 06:04:37 UTC
Are the maintainers aware that libghemical-2.00, the current stable version, also suffers from this bug?