Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95785 - app-text/gtranslator-1.1.5 fails to build on GCC4
Summary: app-text/gtranslator-1.1.5 fails to build on GCC4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 08:48 UTC by Tony Vroon (RETIRED)
Modified: 2005-07-02 08:57 UTC (History)
0 users

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


Attachments
gtranslator-1.1.5.ebuild.diff (gtranslator-1.1.5.ebuild.diff,433 bytes, patch)
2005-06-11 08:48 UTC, Tony Vroon (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Vroon (RETIRED) gentoo-dev 2005-06-11 08:48:02 UTC
gtranslator specifies -Werror in a makefile deep down in the source directories, and erroneously ignores passing --enable-compile-warnings=all (instead of --enable-compile-warnings=error). Even --disable-compile-warnings is totally ignored.
Patch attached the removes -Werror from that particular makefile.am and reruns automake, to allow the package to compile under GCC 4. It's not pretty, much warnings about pointer signedness, but the package compiles and appears to work properly.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2005-06-11 08:48:43 UTC
Created attachment 61057 [details, diff]
gtranslator-1.1.5.ebuild.diff

Promised ebuild diff
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2005-06-11 09:05:37 UTC
This has been rectified in gtranslator-1.1.6, so instead of applying the patch
it is also possible to bump the package instead. (Or do both)
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2005-07-02 08:57:19 UTC
Version bumped to 1.1.6 in portage tree; ack'd by AllanonJL on IRC.