Summary: | net-voip/ekiga-3.2.4 build fails with gcc 4.4.0: exception handling disabled, use -fexceptions to enable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jose daLuz <jdaluz> |
Component: | New packages | Assignee: | Mounir Lamouri (volkmar) (RETIRED) <volkmar> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, ikelos, mgorny |
Priority: | Normal | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: |
Output of paludis --info ekiga
Build log for ekiga 3.2.4 Output of paludis --info ekiga for 3.2.4 Patch to fix the compilation Diff to ebuild Modified GIT patch |
Description
Jose daLuz
2009-05-10 21:50:03 UTC
Created attachment 190879 [details]
Output of paludis --info ekiga
I've now removed ekiga from my overlay, as it's in the main tree. Is this still happening with ekiga-3.2.4 from the main tree? I dropped back to ekiga 2.0.12 after these build problems. I still can't build opal 3.6.2 from the tree so I can't get past the dependency on that opal version to attempt to build ekiga 3.2.4. Ok, thanks for getting back to me. I'm going to mark this as TEST-REQUEST until we can find out whether the problem still happens or not. Feel free to reopen this bug if you manage to test it and still have the problem... 5:) I was able to build opal with the patch from bug 269328. The build of ekiga 3.2.4 from Portage fails with the same error. I am attaching the build log. Created attachment 197125 [details]
Build log for ekiga 3.2.4
Created attachment 197126 [details]
Output of paludis --info ekiga for 3.2.4
I'm not exactly sure whether this is gcc4.4-related bug. Both OPAL and ptlib provides -fno-exceptions within *_CFLAGS and that's why this fails to build. I've created a dirty fix, adding -fexceptions to the end of AM_CXXFLAGS. I'll post it in next 30 mins after I'll finishing building Ekiga and see if it really works. Created attachment 197133 [details, diff]
Patch to fix the compilation
Created attachment 197135 [details, diff]
Diff to ebuild
First, I'm aware that this is probably not the best way of fixing this. I'm also aware that I should have modified the .am file instead but autoreconf requires GNOME junk and I didn't want to add unnecessary dependencies. After applying the patch, Ekiga builds fine but doesn't work properly. Few seconds after launching it just hangs - but I'm not sure whether this is patch-related issue (I use -gnome). Could you check if it works for you? (In reply to comment #11) > After applying the patch, Ekiga builds fine but doesn't work properly. Few > seconds after launching it just hangs - but I'm not sure whether this is > patch-related issue (I use -gnome). Could you check if it works for you? > It builds with the patch. I was able to make a couple of calls with no issues, no hangs here. Michal and Jose, can you try with this patch and only this patch: http://git.gnome.org/cgit/ekiga/patch/?id=c518562795472f9d7ca2a1bf0eebee5c7a8a9b7e Created attachment 197291 [details, diff]
Modified GIT patch
(In reply to comment #13) > Michal and Jose, can you try with this patch and only this patch: > http://git.gnome.org/cgit/ekiga/patch/?id=c518562795472f9d7ca2a1bf0eebee5c7a8a9b7e I had to strip one of 'sections' (or how do you call it?) to let it apply but it was only some kind of retab (yes, I love when someone merges important changes and retab in same commit). Then, it applies and solves the issue. Ekiga even seems to work longer before hanging (;. Fixed in CVS. Thanks for your help, Michal. |