Ok here is -hopefully- some more info. 1. debian package does not honor DEB_BUILD_OPTIONS=debug 2. The package has shared libs with undefined symbols (not sure if this is correct or not).
Anyway: $ nm -D build/serna/lib/tableplugin/libtableplugin30.so | grep _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE U _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE with $ c++filt _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE Common::PropertyNode::getSafeProperty(Common::String const&) const which can be found in: $ nm build/sfworks/lib/libcommon.a | grep _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE 0000000000000f20 T _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE HTH On Sat, Feb 13, 2010 at 11:16 AM, Mathieu Malaterre <mathieu.malate...@gmail.com> wrote: > I finally managed to get serna compiled on my lenny/laptop. > > it ends with this suspicious things: > > dh_shlibdeps -l/usr/lib/serna/lib > dpkg-shlibdeps: warning: symbol _ZN6Common6StringC1EPKcj used by > debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui10IS_TOGGLEDE used by > debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTV14ActionExecutor used by > debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK3Sui10LiquidItem6widgetEPKNS_4ItemE used by > debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN12StructEditor16executeAndUpdateERKN6Common9RefCntPtrINS0_7CommandEEE > used by debian/serna/usr/lib/serna/plugins/speller/libspeller30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTVN6Common12PropertyNodeE used by > debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZThn104_N3Sui10LiquidItem15propertyChangedEPN6Common12PropertyNodeE > used by debian/serna/usr/lib/serna/plugins/speller/libspeller30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN14DocumentPlugin20buildPluginInterfaceEv used by > debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE used by > debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui4Item13childInsertedEPS0_ used > by debian/serna/usr/lib/serna/plugins/speller/libspeller30.so found in > none of the libraries. > dpkg-shlibdeps: warning: 190 other similar warnings have been skipped > (use -v to see them all). > dpkg-shlibdeps: warning: symbol > _ZN6Common12PropertyNodeC1ERKNS_6StringEi used by > debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of the > libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui4Item13childInsertedEPS0_ used > by debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of the > libraries. > dpkg-shlibdeps: warning: symbol > _ZN11GroveEditor6Editor11replaceTextERKNS_8GrovePosEjRKN6Common6StringE > used by debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of > the libraries. > dpkg-shlibdeps: warning: symbol > _ZN6Common12PropertyNode13removeWatcherEPNS_19PropertyNodeWatcherE > used by debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of > the libraries. > dpkg-shlibdeps: warning: symbol _ZN6Common12PropertyNode5mergeEPKS0_b > used by debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of > the libraries. > dpkg-shlibdeps: warning: symbol _ZNK12StructEditor9stripInfoEv used by > debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of the > libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui4Item12childRemovedEPS0_ used > by debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of the > libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui15TERMINAL_WIDGETE used by > debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of the > libraries. > dpkg-shlibdeps: warning: symbol _ZN6Common19CommandEventContextC2Ev > used by debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of > the libraries. > dpkg-shlibdeps: warning: symbol > _ZN3Sui6Action18notifyChildRemovedEPN6Common5XListIS0_S0_EEPS0_ used > by debian/serna/usr/lib/serna/lib/libsapi21.so.2 found in none of the > libraries. > dpkg-shlibdeps: warning: 378 other similar warnings have been skipped > (use -v to see them all). > dpkg-shlibdeps: warning: symbol _ZTIN3Uri13GroveResourceE used by > debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZNK6Common6String6toUIntEPbi used by > debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN14DocumentPlugin20buildPluginInterfaceEv used by > debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN6Common3UrlD1Ev used by > debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui4Item13childInsertedEPS0_ used > by debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZNK6Common9Exception10whatStringEv > used by debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui4Item12documentItemEv used by > debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK6Common9Exception8set_whatERKNS_6StringE used by > debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK8GroveLib8Document15documentElementEv used by > debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN9Formatter8ChainPosC1EPKNS_5ChainEm > used by debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so > found in none of the libraries. > dpkg-shlibdeps: warning: 224 other similar warnings have been skipped > (use -v to see them all). > dpkg-shlibdeps: warning: symbol > _ZN6Common11makeCommandI13GetXsltParamsEENS_9RefCntPtrINS_16CommandEventBaseEEEPKNS_9EventDataE > used by debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN6Common7compareEPK5QCharjPKc used > by debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTV14ActionExecutor used by > debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTVN6Common12PropertyNodeE used by > debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui11INSCRIPTIONE used by > debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN20PluginUiExecutorBaseD2Ev used by > debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN14DocumentPlugin20buildPluginInterfaceEv used by > debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE used by > debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so found > in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN6Common11makeCommandI13SetXsltParamsEENS_9RefCntPtrINS_16CommandEventBaseEEEPKNS_9EventDataE > used by debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTI20PluginUiExecutorBase used by > debian/serna/usr/lib/serna/plugins/xsltparam/libxsltparam30.so found > in none of the libraries. > dpkg-shlibdeps: warning: 47 other similar warnings have been skipped > (use -v to see them all). > dpkg-shlibdeps: warning: symbol > _ZN6Common12SubAllocatorINS_19ObjectLevelLockableINS_11ThreadMutexEEELm16384ELm256EE10deallocateEPvj > used by debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTV14ActionExecutor used by > debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN12StructEditor16executeAndUpdateERKN6Common9RefCntPtrINS0_7CommandEEE > used by debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTVN6Common12PropertyNodeE used by > debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN14DocumentPlugin20buildPluginInterfaceEv used by > debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN8GroveLib4Text13notifyChangedEv > used by debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE used by > debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN6Common3UrlD1Ev used by > debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK12StructEditor13getCheckedPosERN11GroveEditor8GrovePosEi used by > debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTI20PluginUiExecutorBase used by > debian/serna/usr/lib/serna/plugins/customcontent/libcustomcontent30.so > found in none of the libraries. > dpkg-shlibdeps: warning: 139 other similar warnings have been skipped > (use -v to see them all). > dpkg-shlibdeps: warning: symbol > _ZN6Common12SubAllocatorINS_19ObjectLevelLockableINS_11ThreadMutexEEELm16384ELm256EE10deallocateEPvj > used by debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZThn64_N11GroveEditor17GroveMacroCommand9asCommandEv used by > debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN10QtGridView12setCellWidthEi used > by debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui10IS_TOGGLEDE used by > debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTV14ActionExecutor used by > debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTVN6Common12PropertyNodeE used by > debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN14DocumentPlugin20buildPluginInterfaceEv used by > debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE used by > debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN3Sui4Item8dispatchEPNS_6ActionE > used by debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK12StructEditor13getCheckedPosERN11GroveEditor8GrovePosEi used by > debian/serna/usr/lib/serna/plugins/tableplugin/libtableplugin30.so > found in none of the libraries. > dpkg-shlibdeps: warning: 156 other similar warnings have been skipped > (use -v to see them all). > dpkg-shlibdeps: warning: symbol _ZN10DocSrcInfo17TEMPLATE_CATEGORYE > used by debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZNK14SourceDocument9uriMapperEv used > by debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTV14ActionExecutor used by > debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN10DocSrcInfo19RESOLVED_STYLE_PATHE > used by debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so > found in none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTVN6Common12PropertyNodeE used by > debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN20PluginUiExecutorBaseD2Ev used by > debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZN14DocumentPlugin20buildPluginInterfaceEv used by > debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol > _ZNK6Common12PropertyNode15getSafePropertyERKNS_6StringE used by > debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZN6Common3UrlD1Ev used by > debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: symbol _ZTI20PluginUiExecutorBase used by > debian/serna/usr/lib/serna/plugins/docinfo/libdocinfo30.so found in > none of the libraries. > dpkg-shlibdeps: warning: 61 other similar warnings have been skipped > (use -v to see them all). > dpkg-shlibdeps: warning: dependency on libX11.so.6 could be avoided if > "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libQtSvg.so.4 could be avoided > if "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libXft.so.2 could be avoided if > "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libXmu.so.6 could be avoided if > "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libQtSql.so.4 could be avoided > if "debian/serna/usr/lib/serna/plugins/contentmap/libcontentmap30.so > debian/serna/usr/bin/serna" were not uselessly linked against it (they > use none of its symbols). > dpkg-shlibdeps: warning: dependency on libutil.so.1 could be avoided > if "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libXext.so.6 could be avoided > if "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libXinerama.so.1 could be > avoided if "debian/serna/usr/bin/serna" were not uselessly linked > against it (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libSM.so.6 could be avoided if > "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libfreetype.so.6 could be > avoided if "debian/serna/usr/bin/serna" were not uselessly linked > against it (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libICE.so.6 could be avoided if > "debian/serna/usr/bin/serna" were not uselessly linked against it > (they use none of its symbols). > dpkg-shlibdeps: warning: dependency on libQtAssistantClient.so.4 could > be avoided if "debian/serna/usr/bin/serna" were not uselessly linked > against it (they use none of its symbols). > make[1]: Leaving directory `/tmp/2/serna-free-0.svn270' > dh_installdeb > dh_gencontrol > dh_md5sums > dh_builddeb > dpkg-deb: building package `serna' in `../serna_0.svn270-2_amd64.deb'. > dpkg-genchanges >../serna-free_0.svn270-2_amd64.changes > dpkg-genchanges: not including original source code in upload > dpkg-buildpackage: binary and diff upload (original source NOT included) > > > > On Sat, Feb 13, 2010 at 11:04 AM, Mathieu Malaterre > <mathieu.malate...@gmail.com> wrote: >> Does anyone knows why I see a -DQT3_SUPPORT and at the same time >> -I/usr/include/qt4 ... >> >> ... >> g++ -c -pipe -g -DQT_SHARED -Wall -W -O2 -D_REENTRANT -DNDEBUG >> -DNOCVSID -DOALLOC_TYPE=4 -DMULTI_THREADED -D__STDC_VERSION__=199901L >> -DQT_DLL -DUSE_XPATH3 -DNEW_TEMPLATE_SELECTOR -DQT3_SUPPORT >> -DQT_THREAD_SUPPORT >> -I"/tmp/2/serna-free-0.svn270/sfworks/common/sysdep/i386-linux-g++" >> -I"/tmp/2/serna-free-0.svn270/build/sfworks" >> -I"/tmp/2/serna-free-0.svn270/sfworks/xslt/impl" >> -I"/tmp/2/serna-free-0.svn270/sfworks" -I"/usr/include/qt4" >> -I"/usr/include/qt4/QtCore" -o obj/Number.o >> /tmp/2/serna-free-0.svn270/sfworks/xslt/impl/instructions/Number.cxx >> ... >> >> Thanks >> >> 2010/2/12 Joachim Breitner <nome...@debian.org>: >>> Hi Vincent, >>> >>> Am Donnerstag, den 11.02.2010, 16:11 +0100 schrieb Vincent Hobeïka: >>>> Ok. I have now succeeded in building serna from sources. >>> >>> At least something :-) >>> >>>> Yet it still crashes. >>> >>> :-( >>> >>> I have no idea at this point, so I’m forwarding the issue to the >>> serna-developers mailing list. Maybe somebody there can help you debug >>> this. >>> >>>> I tried another test. I launch serna, then I close the dialog with the >>>> example >>>> list. I click on Document -> New Document -> Default. File Name : >>>> Noname1.xml. >>>> I click the "OK" button. >>>> In the "Enter Root Element" dialog window I write "book" and click the "OK" >>>> button. >>>> Here I can see the Noname1.xml loaded with the first "book" tag and a >>>> dialog >>>> window above asking "Do you want to save the changes to Noname1.xml?". >>>> >>>> — If I answer Yes, a Save Dialog window opens. I select a directory and >>>> click >>>> save => serna crashes. >>>> — If I answer No => serna crashes. >>>> — If I answer Cancel => serna crashes AND I have a Segmentation fault in >>>> the >>>> console output. Here is the associated gdb output : >>>> >>>> ### >>>> Reading symbols from /usr/bin/serna...(no debugging symbols found)...done. >>>> (gdb) r >>>> Starting program: /usr/bin/serna >>>> [Thread debugging using libthread_db enabled] >>>> >>>> Program received signal SIGSEGV, Segmentation fault. >>>> 0x00000000004ad64b in Common::Exception::set_what(Common::flex_string<char, >>>> std::char_traits<char>, std::allocator<char>, Common::RefCntStorage<char, >>>> std::char_traits<char>, std::allocator<char> > > const&) const () >>>> (gdb) n >>>> >>>> Single stepping until exit from function >>>> _ZNK6Common9Exception8set_whatERKNS_11flex_stringIcSt11char_traitsIcESaIcENS_13RefCntStorageIcS3_S4_EEEE, >>>> which has no line number information. >>>> >>>> Program terminated with signal SIGSEGV, Segmentation fault. >>>> The program no longer exists. >>>> ### >>> >>> Gruß, >>> Joachim >>> -- >>> Joachim "nomeata" Breitner >>> Debian Developer >>> nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C >>> JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata >>> >> >> >> >> -- >> Mathieu >> > > > > -- > Mathieu > -- Mathieu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org