Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 407635

Summary: app-text/djview-4.8 usr/include/qt4/QtCore/qglobal.h:2152:5: error: call of overloaded ‘swap(QByteArray::Data*&, QByteArray::Data*&)’ is ambiguous
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED DUPLICATE    
Severity: normal CC: anton.kochkov, tex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build log

Description Anton Kochkov 2012-03-10 03:59:50 UTC
Created attachment 304797 [details]
full build log

i686-pc-linux-gnu-g++ -c -pipe -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -I.././src -I.. -pthread -O2 -Wall -W -D_REENTRANT -DAUTOCONF -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -I. -I. -o qdjvuwidget.o qdjvuwidget.cpp
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:30:
/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:2152:5: error: call of overloaded ‘swap(QByteArray::Data*&, QByteArray::Data*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QByteArray::Data*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QString::Data*&, QString::Data*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QString::Data*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QUrlPrivate*&, QUrlPrivate*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QUrlPrivate*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QRegExpPrivate*&, QRegExpPrivate*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QRegExpPrivate*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QRegion::QRegionData*&, QRegion::QRegionData*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QRegion::QRegionData*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QImageData*&, QImageData*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QImageData*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QKeySequencePrivate*&, QKeySequencePrivate*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QKeySequencePrivate*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QIconPrivate*&, QIconPrivate*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QIconPrivate*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QVariant::Private&, QVariant::Private&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QVariant::Private]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QDebug::Stream*&, QDebug::Stream*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QDebug::Stream*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QPenPrivate*&, QPenPrivate*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QPenPrivate*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QVectorData*&, QVectorData*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QVectorData*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QPainterPathPrivate*&, QPainterPathPrivate*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QPainterPathPrivate*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QPixmapData*&, QPixmapData*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QPixmapData*]
qdjvuwidget.cpp:156: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:2152:5: error: call of overloaded ‘swap(QBrushData*&, QBrushData*&)’ is ambiguous
/usr/include/qt4/QtCore/qglobal.h:2152:5: note: candidates are:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include/g++-v4/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = QBrushData*]
qdjvuwidget.cpp:156:1: note: void swap(T&, T&) [with T = QBrushData*]
make[1]: *** [qdjvuwidget.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/app-text/djview-4.8/work/djview-4.8/src'
make: *** [all-djview] Error 2
 [31;01m*[0m ERROR: app-text/djview-4.8 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =app-text/djview-4.8',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =app-text/djview-4.8'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-text/djview-4.8/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-text/djview-4.8/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/app-text/djview-4.8/work/djview-4.8'

========================================================================

emerge --info output : https://bugs.gentoo.org/attachment.cgi?id=304777
Comment 1 Robert Cabrera 2012-03-22 21:16:17 UTC
This is a duplicate of bug 401517 

The patch listed there works for me and solves this issue.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-21 09:49:06 UTC

*** This bug has been marked as a duplicate of bug 401517 ***