Bug#906505: qlandkartegt: FTBFS in buster/sid (unable to find string literal operator)
Santiago Vila
sanvila at debian.org
Fri Aug 17 20:22:33 BST 2018
Package: src:qlandkartegt
Version: 1.8.1+ds-8
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-arch
dh build-arch --parallel
dh_update_autotools_config -a -O--parallel
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds'
cp -r debian/hicolor/ src/icons/
dh_auto_configure -- -DGPX_EXTENSIONS:BOOL=TRUE \
-DQK_QT5_PORT=1 \
-DCMAKE_VERBOSE_MAKEFILE=1
cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DGPX_EXTENSIONS:BOOL=TRUE -DQK_QT5_PORT=1 -DCMAKE_VERBOSE_MAKEFILE=1 ..
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
[... snipped ...]
[ 2%] Linking CXX static library ../../lib/libgetopt.a
cd /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu/3rdparty/getopt && /usr/bin/cmake -P CMakeFiles/getopt.dir/cmake_clean_target.cmake
cd /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu/3rdparty/getopt && /usr/bin/cmake -E cmake_link_script CMakeFiles/getopt.dir/link.txt --verbose=1
/usr/bin/ar qc ../../lib/libgetopt.a CMakeFiles/getopt.dir/CGetOpt.cpp.o CMakeFiles/getopt.dir/moc_CGetOpt.cpp.o
/usr/bin/ranlib ../../lib/libgetopt.a
make[4]: Leaving directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu'
[ 2%] Built target getopt
make -f 3rdparty/map2gcm/CMakeFiles/map2gcm.dir/build.make 3rdparty/map2gcm/CMakeFiles/map2gcm.dir/depend
make[4]: Entering directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu'
cd /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<BUILDDIR>>/qlandkartegt-1.8.1+ds /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu/3rdparty/map2gcm /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu/3rdparty/map2gcm/CMakeFiles/map2gcm.dir/DependInfo.cmake --color=
Scanning dependencies of target map2gcm
make[4]: Leaving directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu'
make -f 3rdparty/map2gcm/CMakeFiles/map2gcm.dir/build.make 3rdparty/map2gcm/CMakeFiles/map2gcm.dir/build
make[4]: Entering directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu'
[ 2%] Building CXX object 3rdparty/map2gcm/CMakeFiles/map2gcm.dir/main.cpp.o
cd /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu/3rdparty/map2gcm && /usr/bin/c++ -DQK_QT5_PORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DVER_MAJOR=1 -DVER_MINOR=8 -DVER_STEP=1 -I/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu/3rdparty/map2gcm -I/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm -I/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu -I/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/QZip -I/usr/include/gdal -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/qlandkartegt-1.8.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -fPIC -fPIC -std=gnu++11 -o CMakeFiles/map2gcm.dir/main.cpp.o -c /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm/main.cpp
/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm/main.cpp: In function 'int main(int, char**)':
/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm/main.cpp:43:46: error: unable to find string literal operator 'operator""_MKSTR' with 'const char [20]', 'long unsigned int' arguments
#define VER_STR _MKSTR(VER_MAJOR)"."_MKSTR(VER_MINOR)"."_MKSTR(VER_STEP)
^~~~~~~~~
/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm/main.cpp:44:49: note: in expansion of macro 'VER_STR'
#define WHAT_STR "map2gcm, Version " VER_STR
^~~~~~~
/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm/main.cpp:396:36: note: in expansion of macro 'WHAT_STR'
printf("\n****** %s ******\n", WHAT_STR);
^~~~~~~~
/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm/main.cpp:493:32: warning: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated [-Wdeprecated-declarations]
oSRS.importFromWkt(&ptr);
^
In file included from /usr/include/gdal/ogr_geometry.h:38,
from /usr/include/gdal/ogr_feature.h:36,
from /usr/include/gdal/gdal_priv.h:77,
from /<<BUILDDIR>>/qlandkartegt-1.8.1+ds/3rdparty/map2gcm/main.cpp:27:
/usr/include/gdal/ogr_spatialref.h:207:17: note: declared here
OGRErr importFromWkt( char ** )
^~~~~~~~~~~~~
make[4]: *** [3rdparty/map2gcm/CMakeFiles/map2gcm.dir/build.make:66: 3rdparty/map2gcm/CMakeFiles/map2gcm.dir/main.cpp.o] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:286: 3rdparty/map2gcm/CMakeFiles/map2gcm.dir/all] Error 2
make[3]: Leaving directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:155: all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/qlandkartegt-1.8.1+ds'
make: *** [debian/rules:14: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/qlandkartegt.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Pkg-grass-devel
mailing list