[Bug 726405] Re: package kbarcode_2.0.7-3 failed to build from source

Tarun K. Mall 726405 at bugs.launchpad.net
Tue Mar 1 12:13:24 UTC 2011


** Attachment removed: "kbarcode.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/kbarcode/+bug/726405/+attachment/1876825/+files/kbarcode.debdiff

** Patch added: "kbarcode.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/kbarcode/+bug/726405/+attachment/1878549/+files/kbarcode.debdiff

** Changed in: kbarcode (Ubuntu)
     Assignee: Tarun K. Mall (c2tarun) => (unassigned)

** Changed in: kbarcode (Ubuntu)
       Status: In Progress => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/726405

Title:
  package kbarcode_2.0.7-3 failed to build from source

Status in “kbarcode” package in Ubuntu:
  Confirmed

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



More information about the Ubuntu-sponsors mailing list