Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229607 - app-editors/gobby fails to build with gcc-4.3
Summary: app-editors/gobby fails to build 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: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-26 14:14 UTC by Mathieu Segaud
Modified: 2008-07-27 13:26 UTC (History)
0 users

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


Attachments
Patch to fix build with gcc 4.3 (gobby-0.4.5-g++-4.3.patch,1.12 KB, patch)
2008-06-28 17:08 UTC, Mathieu Segaud
Details | Diff
Ebuild using the preceding patch (gobby-0.4.5-r1.ebuild,1.43 KB, text/plain)
2008-06-28 17:09 UTC, Mathieu Segaud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Segaud 2008-06-26 14:14:29 UTC
I tried to emerge app-editors/gobby, but it fails to compile when using gcc-4.3.1.
Actually, 4 files fail to build:
src/unix.cpp
src/preferences.cpp
src/preferencesdialog.cpp
src/header.cpp

#include'ing <cstring> solves the issue. It is a libstdc++ headers cleanup issue.

Reproducible: Always

Steps to Reproduce:
1. emerge gobby
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-28 15:12:18 UTC
If sounds like you have patches, please don't hesitate to share.
Comment 2 Mathieu Segaud 2008-06-28 17:07:28 UTC
Well, I didn't have at this time, I used some Ctrl-Z+fg to deal with it the first time :)
I prepared the patch and the new ebuild, however.
Comment 3 Mathieu Segaud 2008-06-28 17:08:54 UTC
Created attachment 158775 [details, diff]
Patch to fix build with gcc 4.3
Comment 4 Mathieu Segaud 2008-06-28 17:09:30 UTC
Created attachment 158779 [details]
Ebuild using the preceding patch
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2008-07-27 13:26:00 UTC
+*gobby-0.4.6 (27 Jul 2008)
+
+  27 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/gobby-0.4.5-gcc43.patch, gobby-0.4.5.ebuild, gobby-0.4.5-r1.ebuild,
+  +gobby-0.4.6.ebuild:
+  Lock 0.4.5 to gtksourceview:1.0, bind bumped 0.4.6 and 0.4.5-r1 to slot
+  2.0, since the newer gtksourceview is an improvement over the old. Bump
+  fixes bug #222845. Also fix gcc-4.3 compat for all versions, bug #229607
+  thanks to Mathieu Segaud <mathieu.segaud@regala.cx>. Fixed pkg-config dep
+  for all versions, bug #205039.
+