does not compile using Ubuntu 12.04

Bug #990933 reported by Jesper Zedlitz
4
Affects Status Importance Assigned to Milestone
djview4 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Description: Ubuntu 12.04 LTS
Release: 12.04

djview4_4.7-1.dsc

I tried to compile the package using pbuilder. The compilation fails with this error message:

In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
                 from /usr/include/qt4/QtCore/qobjectdefs.h:45,
                 from /usr/include/qt4/QtCore/qobject.h:47,
                 from /usr/include/qt4/QtCore/QObject:1,
                 from qdjvu.h:42,
                 from qdjvuwidget.cpp:29:
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QByteArray::Data*]':
/usr/include/qt4/QtCore/qbytearray.h:164:59: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QByteArray::Data*&, QByteArray::Data*&)' is ambiguous

/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QByteArray::Data*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QByteArray::Data*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QString::Data*]':
/usr/include/qt4/QtCore/qstring.h:101:56: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QString::Data*&, QString::Data*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QString::Data*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QString::Data*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QUrlPrivate*]':
/usr/include/qt4/QtCore/qurl.h:103:53: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QUrlPrivate*&, QUrlPrivate*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QUrlPrivate*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QUrlPrivate*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QRegExpPrivate*]':
/usr/include/qt4/QtCore/qregexp.h:83:62: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QRegExpPrivate*&, QRegExpPrivate*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QRegExpPrivate*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QRegExpPrivate*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QRegion::QRegionData*]':
/usr/include/qt4/QtGui/qregion.h:88:56: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QRegion::QRegionData*&, QRegion::QRegionData*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QRegion::QRegionData*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QRegion::QRegionData*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QImageData*]':
/usr/include/qt4/QtGui/qimage.h:147:55: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QImageData*&, QImageData*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QImageData*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QImageData*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QKeySequencePrivate*]':
/usr/include/qt4/QtGui/qkeysequence.h:186:61: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QKeySequencePrivate*&, QKeySequencePrivate*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QKeySequencePrivate*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QKeySequencePrivate*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QIconPrivate*]':
/usr/include/qt4/QtGui/qicon.h:78:54: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QIconPrivate*&, QIconPrivate*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QIconPrivate*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QIconPrivate*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QVariant::Private]':
/usr/include/qt4/QtCore/qvariant.h:227:57: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QVariant::Private&, QVariant::Private&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QVariant::Private]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QVariant::Private]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QDebug::Stream*]':
/usr/include/qt4/QtCore/qdebug.h:150:34: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QDebug::Stream*&, QDebug::Stream*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QDebug::Stream*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QDebug::Stream*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QPenPrivate*]':
/usr/include/qt4/QtGui/qpen.h:81:53: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QPenPrivate*&, QPenPrivate*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QPenPrivate*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QPenPrivate*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QVectorData*]':
/usr/include/qt4/QtCore/qvector.h:130:43: instantiated from 'void QVector<T>::swap(QVector<T>&) [with T = QPoint]'
/usr/include/qt4/QtGui/qpolygon.h:70:58: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QVectorData*&, QVectorData*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QVectorData*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QVectorData*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QPainterPathPrivate*]':
/usr/include/qt4/QtCore/qscopedpointer.h:161:9: instantiated from 'void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T = QPainterPathPrivate, Cleanup = QPainterPathPrivateDeleter]'
/usr/include/qt4/QtGui/qpainterpath.h:103:67: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QPainterPathPrivate*&, QPainterPathPrivate*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QPainterPathPrivate*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QPainterPathPrivate*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QPixmapData*]':
/usr/include/qt4/QtCore/qshareddata.h:209:7: instantiated from 'void QExplicitlySharedDataPointer<T>::swap(QExplicitlySharedDataPointer<T>&) [with T = QPixmapData, QExplicitlySharedDataPointer<T> = QExplicitlySharedDataPointer<QPixmapData>]'
/usr/include/qt4/QtCore/qshareddata.h:266:3: instantiated from 'void qSwap(QExplicitlySharedDataPointer<T>&, QExplicitlySharedDataPointer<T>&) [with T = QPixmapData]'
/usr/include/qt4/QtGui/qpixmap.h:90:62: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QPixmapData*&, QPixmapData*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QPixmapData*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QPixmapData*]
/usr/include/qt4/QtCore/qglobal.h: In function 'void qSwap(T&, T&) [with T = QBrushData*]':
/usr/include/qt4/QtCore/qscopedpointer.h:161:9: instantiated from 'void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T = QBrushData, Cleanup = QBrushDataPointerDeleter]'
/usr/include/qt4/QtCore/qscopedpointer.h:187:3: instantiated from 'void qSwap(QScopedPointer<T, Cleanup>&, QScopedPointer<T, Cleanup>&) [with T = QBrushData, Cleanup = QBrushDataPointerDeleter]'
/usr/include/qt4/QtGui/qbrush.h:99:55: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:2154:5: error: call of overloaded 'swap(QBrushData*&, QBrushData*&)' is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2154:5: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QBrushData*]
qdjvuwidget.cpp:155:1: note: void swap(T&, T&) [with T = QBrushData*]
make[2]: *** [qdjvuwidget.o] Error 1
make[2]: Leaving directory `/tmp/buildd/djview4-4.7/src'
make[1]: *** [all-djview] Error 2
make[1]: Leaving directory `/tmp/buildd/djview4-4.7'
dh_auto_build: make -j1 returned exit code 2

Revision history for this message
Micah Gersten (micahg) wrote :

Precise has 4.9-1 which builds fine, please use that version if you want to compile from source.

Changed in djview4 (Ubuntu):
status: New → Invalid
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.