Source: libsoup3.0
Version: 3.6.5-7
Severity: important
Tags: forky sid
X-Debbugs-CC: [email protected]

libsoup-3.0-tests is not reproducible according to
reproduce.debian.net. The Debian Release Team have said that failures
there will block migration to Testing, likely later this year.

This failure can be seen with Salsa CI as the default pipeline now has
a debrebuild task.
https://salsa.debian.org/gnome-team/libsoup3/-/merge_requests/5

>From looking at the diffoscope output and at meson.build, it looked
like the have_apache checks were failing so the build doesn't run some
tests or install those test files in the -tests binary package.

I was also able to reproduce it locally, which is good since the logs
at Salsa CI and at reproduce.debian.net were not verbose enough.

Approximate steps to reproduce:
1. sudo apt install equivs devscripts sbuild
2. Download the libsoup3 source. I like using pull-debian-source from
ubuntu-dev-tools (which can be installed with
--no-install-recommends).
3. Download the corresponding buildinfo file from
https://buildinfos.debian.net/buildinfo-pool/libs/libsoup3/
4. cd libsoup3-3.6.5/
5. debrebuild --builder=sbuild+unshare ../libsoup3_3.6.5-7_amd64.buildinfo

debrebuild output excerpt
===================
Program apachectl found: YES (/usr/sbin/apachectl)
Program apache2 found: YES (/usr/sbin/apache2)
Message: Failed to locate necessary Apache modules for full test coverage
Message: stdout:
Message: stderr: [core:warn] [pid 260:tid 260] AH00111: Config
variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf:
DefaultRuntimeDir must be a valid directory, absolute or relative to
ServerRoot
Something went wrong when calling /usr/sbin/apache2!

…

    Tests requiring Apache: false

comparable output from buildd.debian.org or from running sbuild+unshare locally
=========================
Program apachectl found: YES (/usr/sbin/apachectl)
Program apache2 found: YES (/usr/sbin/apache2)
Message: Apache modules directory: /usr/lib/apache2/modules
Message: Apache SSL module directory: /usr/lib/apache2/modules
Message: Apache mod_unixd module directory: (none)
Message: Apache HTTP/2 module directory: /usr/lib/apache2/modules

…

    Tests requiring Apache: true


At this point, I don't know why the debrebuild environment is
different than the regular sbuild+unshare environment.

Thank you,
Jeremy Bícha

Reply via email to