Bug#1114127: glyr: FTBFS: /usr/include/x86_64-linux-gnu/curl/multi.h:423:23: error: expected identifier or '(' before '__extension__'
Package: src:glyr
Version: 1.0.10-2.1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:glyr, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DINSTALL_LIB_DIR=lib/x86_64-linux-gnu
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DINSTALL_LIB_DIR=lib/x86_64-linux-gnu ..
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Install library to: "lib/x86_64-linux-gnu"
CMake Warning (dev) at CMakeLists.txt:45 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Building Target: release
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.16.0-rc2")
-- Checking for modules 'glib-2.0>=2.10;gthread-2.0'
-- Found glib-2.0, version 2.84.4
-- Found gthread-2.0, version 2.84.4
-- Checking for module 'sqlite3'
-- Found sqlite3, version 3.46.1
-- Configuring done (0.3s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
cd obj-x86_64-linux-gnu && make -j2 VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f lib/CMakeFiles/glyr.dir/build.make lib/CMakeFiles/glyr.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/lib /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/CMakeFiles/glyr.dir/DependInfo.cmake "--color="
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f lib/CMakeFiles/glyr.dir/build.make lib/CMakeFiles/glyr.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Building C object lib/CMakeFiles/glyr.dir/core.c.o
[ 2%] Building C object lib/CMakeFiles/glyr.dir/glyr.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/cc [too-long-redacted] -c /<<PKGBUILDDIR>>/lib/glyr.c
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/cc [too-long-redacted] -c /<<PKGBUILDDIR>>/lib/core.c
In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3333,
from /usr/include/x86_64-linux-gnu/curl/multi.h:51,
from /<<PKGBUILDDIR>>/lib/core.c:22:
/usr/include/x86_64-linux-gnu/curl/multi.h:423:23: error: expected identifier or â??(â?? before â??__extension__â??
423 | CURL_EXTERN CURLMcode curl_multi_setopt(CURLM *multi_handle,
| ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/multi.h:423:23: error: expected identifier or â??(â?? before â??)â?? token
423 | CURL_EXTERN CURLMcode curl_multi_setopt(CURLM *multi_handle,
| ^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/glyr.c: In function â??glyr_versionâ??:
/<<PKGBUILDDIR>>/lib/glyr.c:256:111: warning: macro â??__DATE__â?? might prevent reproducible builds [-Wdate-time]
256 | return "Version "GLYR_VERSION_MAJOR"."GLYR_VERSION_MINOR"."GLYR_VERSION_MICRO" ("GLYR_VERSION_NAME") of ["BUILD_DATE"] compiled at ["BUILD_TIME"]";
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/lib/glyr.c:256:138: warning: macro â??__TIME__â?? might prevent reproducible builds [-Wdate-time]
256 | return "Version "GLYR_VERSION_MAJOR"."GLYR_VERSION_MINOR"."GLYR_VERSION_MICRO" ("GLYR_VERSION_NAME") of ["BUILD_DATE"] compiled at ["BUILD_TIME"]";
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/lib/core.c: In function â??async_downloadâ??:
/<<PKGBUILDDIR>>/lib/core.c:775:9: error: implicit declaration of function â??curl_multi_setoptâ??; did you mean â??curl_multi_get_offtâ??? [-Wimplicit-function-declaration]
775 | curl_multi_setopt (cmHandle, CURLMOPT_MAXCONNECTS,abs_parallel);
| ^~~~~~~~~~~~~~~~~
make[4]: *** [lib/CMakeFiles/glyr.dir/build.make:96: lib/CMakeFiles/glyr.dir/core.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:234: lib/CMakeFiles/glyr.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: