Summary: | media-gfx/hugin-2011.0.0 : ebuild need a debug USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | LE GARREC Vincent <gentoo.bugzilla> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlec, kripton |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge-info |
I can confirm this: Hugin and wxGTK need to have the same debug settings. I was experiencing the same problem, and adding a "debug" USE-flag to the Hugin ebuild fixed it. +*hugin-9999 (24 Nov 2013) +*hugin-2012.0.0-r1 (24 Nov 2013) + + 24 Nov 2013; Justin Lecher <jlec@gentoo.org> +hugin-2012.0.0-r1.ebuild, + hugin-2013.0.0.ebuild, +hugin-9999.ebuild, +files/hugin-2012.0.0-boost.patch, + +files/hugin-2012.0.0-perl.patch, +files/hugin-2013.0.0-boost.patch, + metadata.xml: + Backport fix for building with newer boost; Use system cmake modules to + detect lapack; backport patch to use perl 5.16; fixes bugs + #296510,300127,373387,374337,388149,404227,484238 + |
Created attachment 279319 [details] emerge-info I have debug in my USE flag. When I try to launch hugin I have : Fatal Error: Mismatch between the program and library build versions detected. The library used 2.8 (debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6), and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6). Abandon I *think* it's because the wxGTK package is compiled with the debug USE flag and hugin not. The fact is the file /var/tmp/portage/media-gfx/hugin-2011.0.0/temp/gentoo_rules.cmake have a "-DNDEBUG" on the "CMAKE_C_COMPILE_OBJECT" ligne and on the "CMAKE_CXX_COMPILE_OBJECT" ligne. By adding debug USE flag on the ebuild (IUSE="lapack sift debug $(echo ${LANGS//\ /\ linguas_})") and recompiling it, the "-DNDEBUG" disappear and hugin does not have problem any more. Reproducible: Always Steps to Reproduce: 1. Enable debug USE flag and recompile world (I *think* that just recompile wxGTK is enough) 2. Compile hugin and have the "Fatal Error" 3. Had a debug flag into the hugin's ebuild 4. Recompile hugin with debug enable and the "Fatal Error" disappears Regards,