Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225401 - [gcc-4.3] sci-libs/libghemical-2.10 fails to compile with gcc-4.3
Summary: [gcc-4.3] sci-libs/libghemical-2.10 fails to compile with gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-08 17:28 UTC by Marek Miller
Modified: 2009-12-18 06:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libghemical-2.10_gcc43.patch (libghemical-2.10_gcc43.patch,520 bytes, patch)
2008-06-08 17:29 UTC, Marek Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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:
1. 
> atom.cpp:374: error: 'EXIT_FAILURE' was not declared in this scope
> atom.cpp:374: error: 'exit' was not declared in this scope

2.
> 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]
libghemical-2.10_gcc43.patch
Comment 2 Marek Miller 2008-06-08 17:32:17 UTC
The <cstring> in atom.h (see the patch above) is because of
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417336
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?