[Pkg-kde-extras] Bug#615967: kbarcode: Package failed to build from source.
Tarun Kumar Mall
c2tarun at gmail.com
Tue Mar 1 11:52:22 UTC 2011
Package: kbarcode
Version: 2.0.7-3
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
Package failed to build from source.
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
*** /tmp/tmpIgUnE8
In Ubuntu, we've applied the attached patch to achieve the following:
## Patch links required libraries in order to fix the ftbfs error.
* debian/patches/10_fix_ftbfs_binutils-gold:diff
- Fix FTBFS with binutils-gold. (LP: #726405)
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers maverick-updates
APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-backports'), (500, 'maverick')
Architecture: i386 (i686)
Kernel: Linux 2.6.35-25-generic (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpx3sTr4
Type: text/x-diff
Size: 2374 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20110301/bd143b1a/attachment.diff>
More information about the pkg-kde-extras
mailing list