package kbarcode_2.0.7-3 failed to build from source

Bug #726405 reported by Tarun K. Mall
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kbarcode (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kbarcode

here is the error log:

26:
/usr/share/qt3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/usr/share/qt3/include/qevent.h:432:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/share/qt3/include/qevent.h:523:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/tbarcode2.cpp: In member function 'virtual bool TBarcode2::createPostscript(char**, long int*)':
/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/tbarcode2.cpp:125:28: warning: format not a string literal and no format arguments
/usr/bin/dcopidl /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/editoriface.h > editoriface.kidl || ( rm -f editoriface.kidl ; false )
/usr/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub editoriface.kidl
g++ -DHAVE_CONFIG_H -I. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode -I.. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./src -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o editoriface_skel.o editoriface_skel.cpp
In file included from /usr/share/qt3/include/qwindowdefs.h:47:0,
                 from /usr/share/qt3/include/qobject.h:46,
                 from /usr/include/kde/dcopobject.h:26,
                 from /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/editoriface.h:21,
                 from editoriface_skel.cpp:9:
/usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() const':
/usr/share/qt3/include/qstring.h:197:58: warning: conversion to 'char' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/share/qt3/include/qstring.h:222:57: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/share/qt3/include/qstring.h:223:69: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/share/qt3/include/qstring.h:267:61: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qobject.h:48:0,
                 from /usr/include/kde/dcopobject.h:26,
                 from /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/editoriface.h:21,
                 from editoriface_skel.cpp:9:
/usr/share/qt3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/usr/share/qt3/include/qevent.h:432:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/share/qt3/include/qevent.h:523:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/bin/dcopidl /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/kbarcodeiface.h > kbarcodeiface.kidl || ( rm -f kbarcodeiface.kidl ; false )
/usr/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kbarcodeiface.kidl
g++ -DHAVE_CONFIG_H -I. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode -I.. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./src -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o kbarcodeiface_skel.o kbarcodeiface_skel.cpp
In file included from /usr/share/qt3/include/qwindowdefs.h:47:0,
                 from /usr/share/qt3/include/qobject.h:46,
                 from /usr/include/kde/dcopobject.h:26,
                 from /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/kbarcodeiface.h:21,
                 from kbarcodeiface_skel.cpp:9:
/usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() const':
/usr/share/qt3/include/qstring.h:197:58: warning: conversion to 'char' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/share/qt3/include/qstring.h:222:57: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/share/qt3/include/qstring.h:223:69: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/share/qt3/include/qstring.h:267:61: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qobject.h:48:0,
                 from /usr/include/kde/dcopobject.h:26,
                 from /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/kbarcodeiface.h:21,
                 from kbarcodeiface_skel.cpp:9:
/usr/share/qt3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/usr/share/qt3/include/qevent.h:432:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/share/qt3/include/qevent.h:523:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/bin/dcopidl /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/batchiface.h > batchiface.kidl || ( rm -f batchiface.kidl ; false )
/usr/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub batchiface.kidl
g++ -DHAVE_CONFIG_H -I. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode -I.. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./src -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o batchiface_skel.o batchiface_skel.cpp
In file included from /usr/share/qt3/include/qwindowdefs.h:47:0,
                 from /usr/share/qt3/include/qobject.h:46,
                 from /usr/include/kde/dcopobject.h:26,
                 from /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/batchiface.h:21,
                 from batchiface_skel.cpp:9:
/usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() const':
/usr/share/qt3/include/qstring.h:197:58: warning: conversion to 'char' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/share/qt3/include/qstring.h:222:57: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/share/qt3/include/qstring.h:223:69: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/share/qt3/include/qstring.h:267:61: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qobject.h:48:0,
                 from /usr/include/kde/dcopobject.h:26,
                 from /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/batchiface.h:21,
                 from batchiface_skel.cpp:9:
/usr/share/qt3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/usr/share/qt3/include/qevent.h:432:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/share/qt3/include/qevent.h:523:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
In file included from /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/batchiface.h:23:0,
                 from batchiface_skel.cpp:9:
/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/batchprinter.h: At global scope:
/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/batchprinter.h:49:65: warning: 'typedef' was ignored in this declaration
/usr/share/qt3/bin/moc /home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode/encodingcombo.h -o encodingcombo.moc.cpp
g++ -DHAVE_CONFIG_H -I. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./kbarcode -I.. -I/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/./src -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o encodingcombo.moc.o encodingcombo.moc.cpp
In file included from /usr/share/qt3/include/qwindowdefs.h:47:0,
                 from /usr/share/qt3/include/qwidget.h:45,
                 from /usr/share/qt3/include/qframe.h:45,
                 from /usr/share/qt3/include/qlineedit.h:50,
                 from /usr/include/kde/kcombobox.h:25,
                 from ../../kbarcode/encodingcombo.h:21,
                 from encodingcombo.moc.cpp:11:
/usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() const':
/usr/share/qt3/include/qstring.h:197:58: warning: conversion to 'char' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/share/qt3/include/qstring.h:222:57: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/share/qt3/include/qstring.h:223:69: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/share/qt3/include/qstring.h:267:61: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/share/qt3/include/qstring.h:365:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qobject.h:48:0,
                 from /usr/share/qt3/include/qwidget.h:46,
                 from /usr/share/qt3/include/qframe.h:45,
                 from /usr/share/qt3/include/qlineedit.h:50,
                 from /usr/include/kde/kcombobox.h:25,
                 from ../../kbarcode/encodingcombo.h:21,
                 from encodingcombo.moc.cpp:11:
/usr/share/qt3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/usr/share/qt3/include/qevent.h:432:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/share/qt3/include/qevent.h:523:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
/bin/bash ../libtool --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -L/usr/share/qt3/lib -L/usr/lib -Wl,-Bsymbolic-functions -o kbarcode barcodecombo.o barcodedialog.o barcodedialogs.o commands.o configdialog.o confwizard.o csvimportdlg.o databasebrowser.o definition.o definitiondialog.o dsmainwindow.o kbarcode.o label.o labeleditor.o labelutils.o main.o mimesources.o multilineeditdlg.o mycanvasitem.o mycanvasview.o mydatatable.o newlabel.o previewdialog.o printersettings.o printlabeldlg.o rectsettingsdlg.o smalldialogs.o sqltables.o tokenprovider.o xmlutils.o zplutils.o measurements.o kbarcodesettings.o batchprinter.o barcodeitem.o documentitem.o lineitem.o rectitem.o tcanvasitem.o textitem.o imageitem.o documentitemdlg.o propertywidget.o tec.o barcodeprinterdlg.o textlineitem.o textlineedit.o tokendialog.o barkode.o gnubarcode.o barkodeengine.o pixmapbarcode.o batchwizard.o csvfile.o dstextedit.o encodingcombo.o purepostscript.o tbarcode2.o editoriface_skel.o kbarcodeiface_skel.o batchiface_skel.o encodingcombo.moc.o -lkabc -lkspell -lkdeprint -lkdeui -lkjs -lpcre
mkdir .libs
g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -Wl,-Bsymbolic-functions -o kbarcode barcodecombo.o barcodedialog.o barcodedialogs.o commands.o configdialog.o confwizard.o csvimportdlg.o databasebrowser.o definition.o definitiondialog.o dsmainwindow.o kbarcode.o label.o labeleditor.o labelutils.o main.o mimesources.o multilineeditdlg.o mycanvasitem.o mycanvasview.o mydatatable.o newlabel.o previewdialog.o printersettings.o printlabeldlg.o rectsettingsdlg.o smalldialogs.o sqltables.o tokenprovider.o xmlutils.o zplutils.o measurements.o kbarcodesettings.o batchprinter.o barcodeitem.o documentitem.o lineitem.o rectitem.o tcanvasitem.o textitem.o imageitem.o documentitemdlg.o propertywidget.o tec.o barcodeprinterdlg.o textlineitem.o textlineedit.o tokendialog.o barkode.o gnubarcode.o barkodeengine.o pixmapbarcode.o batchwizard.o csvfile.o dstextedit.o encodingcombo.o purepostscript.o tbarcode2.o editoriface_skel.o kbarcodeiface_skel.o batchiface_skel.o encodingcombo.moc.o -L/usr/share/qt3/lib -L/usr/lib /usr/lib/libkabc.so /usr/lib/libkspell.so /usr/lib/libkdeprint.so /usr/lib/libkdeui.so /usr/lib/libkjs.so -lpcre
/usr/bin/ld: labeleditor.o: undefined reference to symbol 'KFileDialog::getSaveFileName(QString const&, QString const&, QWidget*, QString const&)'
/usr/bin/ld: note: 'KFileDialog::getSaveFileName(QString const&, QString const&, QWidget*, QString const&)' is defined in DSO /usr/lib/libkio.so.4 so try adding it to the linker command line
/usr/lib/libkio.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [kbarcode] Error 1
make[3]: Leaving directory `/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/obj-i686-linux-gnu/kbarcode'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/obj-i686-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tarun/source/kbarcode/tmp/kbarcode-2.0.7/obj-i686-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Related branches

Tarun K. Mall (c2tarun)
Changed in kbarcode (Ubuntu):
status: New → In Progress
assignee: nobody → Tarun K. Mall (c2tarun)
Tarun K. Mall (c2tarun)
Changed in kbarcode (Ubuntu):
assignee: Tarun K. Mall (c2tarun) → nobody
status: In Progress → Confirmed
Tarun K. Mall (c2tarun)
Changed in kbarcode (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Tarun K. Mall (c2tarun)
Revision history for this message
Artur Rona (ari-tczew) wrote :

The right fix for this FTBFS is:
- $(LIB_KDEUI) -lkjs -lpcre
+ $(LIB_KDEUI) -lkjs -lpcre -lkio -lqt-mt -lDCOP -lkdecore

Please forward change which I suggested to Debian, then add tag Bug-Debian into patch and add (Closes: #XXXXXX) into d/changelog.

Please also rename patch to 10_fix_ftbfs_binutils-gold.diff

Revision history for this message
Tarun K. Mall (c2tarun) wrote :
Changed in kbarcode (Ubuntu):
assignee: Tarun K. Mall (c2tarun) → nobody
status: In Progress → Confirmed
Revision history for this message
Dave Walker (davewalker) wrote :

Hi Tarun,

Good catch. The debdiff looks good and it builds fine, but i made a couple of changes.

First hunk, adding the LP bug. Second hunk adjusting the spacing for the following line of Description as described in DEP3.

=== modified file 'debian/changelog'
--- debian/changelog 2011-03-01 17:59:04 +0000
+++ debian/changelog 2011-03-01 17:55:42 +0000
@@ -1,7 +1,7 @@
 kbarcode (2.0.7-3ubuntu1) natty; urgency=low

   * debian/patches/10_fix_ftbfs_binutils-gold:diff
- - Fix FTBFS with binutils-gold. (Closes: #615967)
+ - Fix FTBFS with binutils-gold. (LP: #726405, Closes: #615967)

  -- Tarun Kumar Mall <email address hidden> Tue, 01 Mar 2011 12:07:58 +0000

=== modified file 'debian/patches/10_fix_ftbfs_binutils-gold.diff'
--- debian/patches/10_fix_ftbfs_binutils-gold.diff 2011-03-01 17:59:04 +0000
+++ debian/patches/10_fix_ftbfs_binutils-gold.diff 2011-03-01 17:54:49 +0000
@@ -1,6 +1,6 @@
 From: Tarun Kumar Mall <email address hidden>
 Description: This patch fixex FTBFS problem by adding certain libraries to
- file kbarcode-2.0.7.orig/kbarcode/Makefile.am
+ file kbarcode-2.0.7.orig/kbarcode/Makefile.am
 Bug-Ubuntu: https://launchpad.net/bugs/726405
 Bug-Debian: http://bugs.debian.org/615967

This has now been uploaded, but please can you add a comment to this bug that you have seen this changes. Thanks.

Revision history for this message
Dave Walker (davewalker) wrote :

Seems in the scrub to sponsor I was beaten:

kbarcode (2.0.7-3ubuntu1) natty; urgency=low

  * debian/patches/10_fix_ftbfs_binutils-gold:diff
    - Fix FTBFS with binutils-gold. (Closes: #615967)
 -- Tarun Kumar Mall <email address hidden> Tue, 01 Mar 2011 12:07:58 +0000

Changed in kbarcode (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Tarun K. Mall (c2tarun) wrote :

@Dave

Thanks for looking into it, I saw these changes.

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.