[pkg-boost-devel] Bug#672397: merkaartor FTBFS due to a g++-4.7 issue in boost headers

Bernd Zeimetz bzed at debian.org
Thu May 10 19:02:05 UTC 2012


Package: libboost1.49-dev
Version: 1.49.0-3
Severity: serious
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

Hi,

after applying http://goo.gl/89Kk8 merkaartor ftbfs with g++-4.7 due to
a bug in the boost headers:


g++ -c -m64 -pipe -I/usr/include/gdal -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DRELEASE -DVERSION=0.17 -DREVISION= -DNDEBUG -DUSE_LIBPROXY -DUSE_WEBKIT -D_TTY_POSIX_ -DUSE_GPS -DUSE_GPSD_LIB -DPLUGINS_DIR=/usr/lib/merkaartor/plugins -DSHARE_DIR=/usr/share/merkaartor -DTRANSDIR_MERKAARTOR=/usr/share/merkaartor/translations -DTRANSDIR_SYSTEM=/usr/share/qt4/translations/ -DGEOIMAGE -DUSE_ZBAR -DUSE_GDAL -DUSE_PROJ -DWORLD_SHP=/usr/share/merkaartor/world_background.osb -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../3rdparty/qtsingleapplication-2.6_1-opensource/src -I../3rdparty/qttoolbardialog-2.2_1-opensource/src -I../include -I../interfaces -I../include/builtin-ggl -I. -IRender -Iqextserialport -
 IGPS -INameFinder -IPaintStyle -IPaintStyle -IFeatures -ILayers -IPreferences -ISync -ICommands -IInteractions -IDocks -IImportExport -ITools -ITagTemplate -I. -I. -o ImportExportOsmBin.o ImportExport/ImportExportOsmBin.cpp
In file included from /usr/include/boost/intrusive_ptr.hpp:16:0,
                 from Features/Feature.h:12,
                 from ImportExport/../ImportExport/ImportExportOsmBin.h:15,
                 from ImportExport/ImportExportOsmBin.cpp:17:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of 'boost::intrusive_ptr<T>::intrusive_ptr(T*, bool) [with T = Feature]':
ImportExport/ImportExportOsmBin.cpp:130:60:   required from here
/usr/include/boost/smart_ptr/intrusive_ptr.hpp:67:34: error: 'intrusive_ptr_add_ref' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ImportExport/../ImportExport/ImportExportOsmBin.h:15:0,
                 from ImportExport/ImportExportOsmBin.cpp:17:
Features/Feature.h:348:21: note: 'void boost::intrusive_ptr_add_ref(Feature*)' declared here, later in the translation unit
In file included from /usr/include/boost/intrusive_ptr.hpp:16:0,
                 from Features/Feature.h:12,
                 from ImportExport/../ImportExport/ImportExportOsmBin.h:15,
                 from ImportExport/ImportExportOsmBin.cpp:17:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of 'boost::intrusive_ptr<T>::~intrusive_ptr() [with T = Feature]':
ImportExport/ImportExportOsmBin.cpp:130:60:   required from here
/usr/include/boost/smart_ptr/intrusive_ptr.hpp:96:23: error: 'intrusive_ptr_release' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ImportExport/../ImportExport/ImportExportOsmBin.h:15:0,
                 from ImportExport/ImportExportOsmBin.cpp:17:
Features/Feature.h:349:21: note: 'void boost::intrusive_ptr_release(Feature*)' declared here, later in the translation unit
In file included from /usr/include/boost/intrusive_ptr.hpp:16:0,
                 from Features/Feature.h:12,
                 from ImportExport/../ImportExport/ImportExportOsmBin.h:15,
                 from ImportExport/ImportExportOsmBin.cpp:17:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of 'boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&) [with T = Feature; boost::intrusive_ptr<T> = boost::intrusive_ptr<Feature>]':
/usr/include/qt4/QtCore/qlist.h:372:58:   required from 'void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = boost::intrusive_ptr<Feature>]'
/usr/include/qt4/QtCore/qlist.h:512:13:   required from 'void QList<T>::append(const T&) [with T = boost::intrusive_ptr<Feature>]'
ImportExport/ImportExportOsmBin.cpp:131:35:   required from here
/usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:23: error: 'intrusive_ptr_add_ref' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ImportExport/../ImportExport/ImportExportOsmBin.h:15:0,
                 from ImportExport/ImportExportOsmBin.cpp:17:
Features/Feature.h:348:21: note: 'void boost::intrusive_ptr_add_ref(Feature*)' declared here, later in the translation unit
make[2]: *** [ImportExportOsmBin.o] Error 1


Building with g+=-4.6 works well....

Thanks for fixing :)

Cheers,

Bernd


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libboost1.49-dev depends on:
ii  libc6                               2.13-32
ii  libgcc1                             1:4.7.0-7
ii  libicu48                            4.8.1.1-6
ii  libstdc++6                          4.7.0-7
ii  libstdc++6-4.4-dev [libstdc++-dev]  4.4.7-1
ii  libstdc++6-4.5-dev [libstdc++-dev]  4.5.3-12
ii  libstdc++6-4.6-dev [libstdc++-dev]  4.6.3-5

libboost1.49-dev recommends no packages.

Versions of packages libboost1.49-dev suggests:
ii  default-jdk                       <none>
ii  docbook-xml                       4.5-7
ii  docbook-xsl                       1.76.1+dfsg-1
ii  doxygen                           <none>
ii  fop                               1:1.0.dfsg2-6
ii  libboost-chrono1.49-dev           <none>
ii  libboost-date-time1.49-dev        <none>
ii  libboost-filesystem1.49-dev       <none>
ii  libboost-graph-parallel1.49-dev   <none>
ii  libboost-graph1.49-dev            <none>
ii  libboost-iostreams1.49-dev        <none>
ii  libboost-locale1.49-dev           <none>
ii  libboost-math1.49-dev             1.49.0-3
ii  libboost-mpi1.49-dev              <none>
ii  libboost-program-options1.49-dev  <none>
ii  libboost-python1.49-dev           1.49.0-3
ii  libboost-random1.49-dev           <none>
ii  libboost-regex1.49-dev            <none>
ii  libboost-serialization1.49-dev    1.49.0-3
ii  libboost-signals1.49-dev          <none>
ii  libboost-system1.49-dev           <none>
ii  libboost-test1.49-dev             <none>
ii  libboost-thread1.49-dev           <none>
ii  libboost-timer1.49-dev            <none>
ii  libboost-wave1.49-dev             <none>
ii  libboost1.49-doc                  <none>
ii  xsltproc                          1.1.26-8

-- no debconf information





More information about the pkg-boost-devel mailing list