Package: src:createrepo-c
Version: 1.2.0-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

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 cannot 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:createrepo-c, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh "clean" --buildsystem cmake
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf src/createrepo_c.egg-info
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=cmake
   dh_clean -O--buildsystem=cmake
 debian/rules binary
dh "binary" --buildsystem cmake
   dh_update_autotools_config -O--buildsystem=cmake
   dh_autoreconf -O--buildsystem=cmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DENABLE_DRPM=ON -DENABLE_PYTHON=ON -DSKBUILD=ON
        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 -DCMAKE_INSTALL_RUNSTATEDIR=/run 
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON 
"-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON 
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DENABLE_DRPM=ON -DENABLE_PYTHON=ON 
-DSKBUILD=ON ..
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")
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.17.0")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.15.1")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.5.4")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3.1")
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.86.3
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.86.3
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.86.3
-- Checking for module 'liblzma'
--   Found liblzma, version 5.8.1
-- Checking for module 'sqlite3>=3.6.18'
--   Found sqlite3, version 3.46.1
-- Checking for module 'rpm'
--   Found rpm, version 6.0.0
-- Checking for module 'libzstd'
--   Found libzstd, version 1.5.7
-- Checking for module 'drpm>=0.4.0'
--   Found drpm, version 0.5.2
-- Checking for module 'zck'
--   Found zck, version 1.5.2
-- Checking for module 'modulemd-2.0'
--   Found modulemd-2.0, version 2.15.0
Package version: 1.2.0
-- Checking for module 'bash-completion'
--   Found bash-completion, version 2.16.0
Bash completion directory: /usr/share/bash-completion/completions
-- Looking for nftw
-- Looking for nftw - not found
-- Looking for nftw
-- Looking for nftw - found
CMake Warning (dev) at src/python/CMakeLists.txt:15 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.13.11", 
minimum required is "3")
CMake Warning (dev) at src/python/CMakeLists.txt:16 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.13.so (found suitable 
version "3.13.11", minimum required is "3")
-- Python install dir is /usr/lib/python3/dist-packages
-- Python skbuild CMake dir is 
/usr/lib/python3/dist-packages/skbuild/resources/cmake
CMake Warning (dev) at 
/usr/lib/python3/dist-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:245
 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  src/python/CMakeLists.txt:65 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python3 (found version "3.13.11")
CMake Warning (dev) at 
/usr/lib/python3/dist-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:252
 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  src/python/CMakeLists.txt:65 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.13.so (found version 
"3.13.11")
-- Performing Test Weak Link SHARED -> SHARED (gnu_ld_ignore) - Failed
-- Performing Test Weak Link SHARED -> SHARED (osx_dynamic_lookup) - Failed
-- Performing Test Weak Link SHARED -> SHARED (no_flag) - Failed
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done (2.0s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=cmake
        cd obj-x86_64-linux-gnu && make -j2 INSTALL="install 
--strip-program=true" VERBOSE=1
make[1]: 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[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f src/CMakeFiles/libcreaterepo_c.dir/build.make 
src/CMakeFiles/libcreaterepo_c.dir/depend
make[3]: 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>>/src 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/libcreaterepo_c.dir/DependInfo.cmake
 "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f src/CMakeFiles/libcreaterepo_c.dir/build.make 
src/CMakeFiles/libcreaterepo_c.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  2%] Building C object 
src/CMakeFiles/libcreaterepo_c.dir/compression_wrapper.c.o
[  2%] Building C object src/CMakeFiles/libcreaterepo_c.dir/checksum.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] /<<PKGBUILDDIR>>/src/checksum.c
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] DIR>>/src/compression_wrapper.c
[  4%] Building C object 
src/CMakeFiles/libcreaterepo_c.dir/createrepo_shared.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] LDDIR>>/src/createrepo_shared.c
[  5%] Building C object src/CMakeFiles/libcreaterepo_c.dir/deltarpms.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] <<PKGBUILDDIR>>/src/deltarpms.c
[  7%] Building C object src/CMakeFiles/libcreaterepo_c.dir/dumper_thread.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] GBUILDDIR>>/src/dumper_thread.c
/<<PKGBUILDDIR>>/src/dumper_thread.c: In function ‘get_checksum’:
/<<PKGBUILDDIR>>/src/dumper_thread.c:409:9: warning: ignoring return value of 
‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  409 |         write(fd, checksum, strlen(checksum));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  8%] Building C object src/CMakeFiles/libcreaterepo_c.dir/error.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] -c /<<PKGBUILDDIR>>/src/error.c
[ 10%] Building C object src/CMakeFiles/libcreaterepo_c.dir/helpers.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted]  /<<PKGBUILDDIR>>/src/helpers.c
[ 11%] Building C object src/CMakeFiles/libcreaterepo_c.dir/load_metadata.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] GBUILDDIR>>/src/load_metadata.c
[ 13%] Building C object src/CMakeFiles/libcreaterepo_c.dir/locate_metadata.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] UILDDIR>>/src/locate_metadata.c
[ 14%] Building C object src/CMakeFiles/libcreaterepo_c.dir/misc.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted]  -c /<<PKGBUILDDIR>>/src/misc.c
In file included from /<<PKGBUILDDIR>>/src/locate_metadata.c:24:
In function ‘cr_get_remote_metadata’,
    inlined from ‘cr_locate_metadata’ at 
/<<PKGBUILDDIR>>/src/locate_metadata.c:361:15:
/<<PKGBUILDDIR>>/src/locate_metadata.c:268:9: warning: call to 
‘Wcurl_easy_setopt_err_long’ declared with attribute warning: 
curl_easy_setopt expects a long argument [-Wattribute-warning]
  268 |     if (curl_easy_setopt(handle, CURLOPT_FAILONERROR, 1) != CURLE_OK) {
      |         ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/locate_metadata.c:274:9: warning: call to 
‘Wcurl_easy_setopt_err_long’ declared with attribute warning: 
curl_easy_setopt expects a long argument [-Wattribute-warning]
  274 |     if (curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1) != 
CURLE_OK) {
      |         ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/locate_metadata.c:280:9: warning: call to 
‘Wcurl_easy_setopt_err_long’ declared with attribute warning: 
curl_easy_setopt expects a long argument [-Wattribute-warning]
  280 |     if (curl_easy_setopt(handle, CURLOPT_MAXREDIRS, 6) != CURLE_OK) {
      |         ^~~~~~~~~~~~~~~~
[ 16%] Building C object 
src/CMakeFiles/libcreaterepo_c.dir/modifyrepo_shared.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] LDDIR>>/src/modifyrepo_shared.c
[ 17%] Building C object src/CMakeFiles/libcreaterepo_c.dir/package.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted]  /<<PKGBUILDDIR>>/src/package.c
[ 19%] Building C object src/CMakeFiles/libcreaterepo_c.dir/parsehdr.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] /<<PKGBUILDDIR>>/src/parsehdr.c
[ 20%] Building C object src/CMakeFiles/libcreaterepo_c.dir/parsepkg.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc  
[too-long-redacted] /<<PKGBUILDDIR>>/src/parsepkg.c
/<<PKGBUILDDIR>>/src/parsehdr.c: In function ‘cr_package_from_header’:
/<<PKGBUILDDIR>>/src/parsehdr.c:669:71: error: ‘RPMTAG_HDRID’ undeclared 
(first use in this function); did you mean ‘RPMTAG_CVSID’?
  669 |                                                  headerGetString(hdr, 
RPMTAG_HDRID));
      |                                                                       
^~~~~~~~~~~~
      |                                                                       
RPMTAG_CVSID
/<<PKGBUILDDIR>>/src/parsehdr.c:669:71: note: each undeclared identifier is 
reported only once for each function it appears in
make[3]: *** [src/CMakeFiles/libcreaterepo_c.dir/build.make:250: 
src/CMakeFiles/libcreaterepo_c.dir/parsehdr.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:350: src/CMakeFiles/libcreaterepo_c.dir/all] 
Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to