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

Bug 229607

Summary: app-editors/gobby fails to build with gcc-4.3
Product: Gentoo Linux Reporter: Mathieu Segaud <mathieu.segaud>
Component: New packagesAssignee: Gustavo Felisberto (RETIRED) <humpback>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: Patch to fix build with gcc 4.3
Ebuild using the preceding patch

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.
+