FTBFS: ktoon 0.8-1: undefined reference to `DDebug::DDebug(DebugType)'

Bug #180470 reported by Daniel Hahler
4
Affects Status Importance Assigned to Milestone
ktoon (Debian)
Fix Released
Unknown
ktoon (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: ktoon

ktoon fails to build from source in Ubuntu and Debian currently.

From the build.log:
[...]
g++ -Wl,--no-undefined -shared -Wl,-soname,libdgui.so.1 -o libdgui.so.1.0.0 .obj/ccbar.o .obj/ccbutton.o .obj/collapsiblewidget.o .obj/danimwidget.o .obj/dapplication.o .obj/dcellview.o .obj/dcolorbutton.o .obj/dconfigurationdialog.o .obj/ddisplaypath.o .obj/deditspinbox.o .obj/delabel.o .obj/dflatbutton.o .obj/dfontchooser.o .obj/dformfactory.o .obj/dimagebutton.o .obj/doptionaldialog.o .obj/dradiobuttongroup.o .obj/drulerbase.o .obj/dsqueezelabel.o .obj/dtabdialog.o .obj/dtabwidget.o .obj/dtip.o .obj/dtoolbox.o .obj/dtreelistwidget.o .obj/dvhbox.o .obj/dwidgetlistview.o .obj/dwizard.o .obj/dxyspinbox.o .obj/kseparator.o .obj/daction.o .obj/dactionmanager.o .obj/dmdiwindow.o .obj/ddatepicker.o .obj/ddatetable.o .obj/dcommand.o .obj/dthemedocument.o .obj/dthememanager.o .obj/dclicklineedit.o .obj/dtreewidgetsearchline.o .obj/dbuttonbar.o .obj/dstackedmainwindow.o .obj/dtabbedmainwindow.o .obj/dtoolview.o .obj/dviewbutton.o .obj/dworkspacemainwindow.o .obj/dmainwindow.o .obj/moc_ccbutton.o .obj/moc_collapsiblewidget.o .obj/moc_dapplication.o .obj/moc_dcellview.o .obj/moc_dcolorbutton.o .obj/moc_dconfigurationdialog.o .obj/moc_ddisplaypath.o .obj/moc_deditspinbox.o .obj/moc_delabel.o .obj/moc_dflatbutton.o .obj/moc_dfontchooser.o .obj/moc_dimagebutton.o .obj/moc_doptionaldialog.o .obj/moc_dradiobuttongroup.o .obj/moc_drulerbase.o .obj/moc_dtabdialog.o .obj/moc_dtabwidget.o .obj/moc_dtip.o .obj/moc_dtoolbox.o .obj/moc_dtreelistwidget.o .obj/moc_dvhbox.o .obj/moc_dwidgetlistview.o .obj/moc_dwizard.o .obj/moc_dxyspinbox.o .obj/moc_kseparator.o .obj/moc_daction.o .obj/moc_dactionmanager.o .obj/moc_dmainwindow.o .obj/moc_dmdiwindow.o .obj/moc_ddatepicker.o .obj/moc_ddatetable.o .obj/moc_dcommand.o .obj/moc_dtreewidgetsearchline.o .obj/moc_dbuttonbar.o .obj/moc_dstackedmainwindow.o .obj/moc_dtabbedmainwindow.o .obj/moc_dtoolview.o .obj/moc_dviewbutton.o .obj/moc_dworkspacemainwindow.o .obj/qrc_images.o -L/usr/lib -laspell -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lQtXml -lQtGui -lQtCore -lpthread
.obj/dapplication.o: In function `DApplication::DApplication(int&, char**)':
dapplication.cpp:(.text+0x15d6): undefined reference to `DDebug::DDebug(DebugType)'
dapplication.cpp:(.text+0x16bf): undefined reference to `DDebug::~DDebug()'
dapplication.cpp:(.text+0x17dc): undefined reference to `DDebug::~DDebug()'
.obj/dapplication.o: In function `DApplication::~DApplication()':
dapplication.cpp:(.text+0x1864): undefined reference to `DDebug::DDebug(DebugType)'
dapplication.cpp:(.text+0x194d): undefined reference to `DDebug::~DDebug()'
dapplication.cpp:(.text+0x1952): undefined reference to `DConfig::instance()'
dapplication.cpp:(.text+0x195a): undefined reference to `DConfig::sync()'
dapplication.cpp:(.text+0x1a0f): undefined reference to `DDebug::~DDebug()'
.obj/dapplication.o: In function `DApplication::~DApplication()':
dapplication.cpp:(.text+0x1aa4): undefined reference to `DDebug::DDebug(DebugType)'
dapplication.cpp:(.text+0x1b8d): undefined reference to `DDebug::~DDebug()'
dapplication.cpp:(.text+0x1b92): undefined reference to `DConfig::instance()'
dapplication.cpp:(.text+0x1b9a): undefined reference to `DConfig::sync()'
dapplication.cpp:(.text+0x1c5b): undefined reference to `DDebug::~DDebug()'

Related branches

Changed in ktoon:
status: Unknown → New
Revision history for this message
Daniel Hahler (blueyed) wrote :

Matvey, this is not the same bug, so I'm un-duping it.
Also, please set the status to Invalid and assign the bug to yourself, if you mark bugs as duplicate. Thanks.

Changed in ktoon:
assignee: nobody → blueyed
status: New → In Progress
Daniel Hahler (blueyed)
Changed in ktoon:
assignee: blueyed → nobody
importance: Undecided → High
status: In Progress → Triaged
Revision history for this message
Daniel Hahler (blueyed) wrote :

The fix is attached to bug 174252.

David Cuadrado said to the patch:
yes, that works because windows and macosx (and gcc >= 4.2) force to
link all libraries used by the target library

Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ktoon - 0.8.1-3ubuntu1

---------------
ktoon (0.8.1-3ubuntu1) hardy; urgency=low

  * Fix build on unix (LP: #180470)
    - added debian/patches/80_fix_build_on_unix.dpatch
  * transition from libungif to giflib (LP: #174252)
    - debian/control: s/libungif4-dev/libgif-dev/
  * debian/control: Standards-Version 3.7.3
  * Drop debian/patches/20_libminghack:
    ming-config has moved to /usr/bin/ming-config
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- dAniel hAhler <email address hidden> Sat, 05 Jan 2008 16:18:37 +0100

Changed in ktoon:
status: Triaged → Fix Released
Changed in ktoon:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.