#1088953 open-build-service: FTBFS with make 4.4.1

#1088953#5
Date:
2024-12-03 12:37:20 UTC
From:
To:
Dear maintainer:

This package fails to build with make 4.4.1.

Trivial patch attached (may be quilt-imported after the last one)

(Note: This is using make 4.4.1 alone, without any --shuffle option).

Make 4.4.1 is currently available in experimental and will hopefully
soon be uploaded to unstable, at which time this bug will become
release critical.
--------------------------------------------------------------------------------
[...]
  debian/rules build
debian/rules:54: warning: overriding recipe for target 'override_dh_installsystemd'
debian/rules:39: warning: ignoring old recipe for target 'override_dh_installsystemd'
dh build
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
    dh_auto_build
	make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
debian/rules:54: warning: overriding recipe for target 'override_dh_installsystemd'
debian/rules:39: warning: ignoring old recipe for target 'override_dh_installsystemd'
dh_auto_test || true # temporary ignore
	make -j2 test
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make -C dist test
make[3]: Entering directory '/<<PKGBUILDDIR>>/dist'
prove -v t/*.t
t/../setup-appliance.sh: line 61: openssl: command not found
t/0010-obs-bootstrap-api.t: line 120: openssl: command not found
t/0010-obs-bootstrap-api.t ..
1..12
ok 1 - Checking FQHOSTNAME without domain
ok 2 - Checking with empty DOMAINNAME
ok 3 - Checking SHORTHOSTNAME localhost
ok 4 - Checking proposed dns names without domain
ok 5 - Checking FQHOSTNAME
ok 6 - Checking SHORTHOSTNAME foobar
ok 7 - Checking proposed dns names
ok 8 - unnamed test
not ok 9 - Checking if key file (t/tmp/certs/server.key) exists
#          got: '0'
#     expected: '1'
not ok 10 - Checking file server.foobar.suse.de.crt
#          got: '1'
#     expected: '0'
not ok 11 - Checking file server.foobar.suse.de.created
#          got: '1'
#     expected: '0'
not ok 12 - Checking openssl certificate subject
#          got: ''
#     expected: '                DNS:foobar, DNS:foobar.suse.de, DNS:localhost'
Failed 4/12 subtests
t/0030-installed-files.t ....
1..7
not ok 1 - Checking /etc/logrotate.d/obs-server
#          got: '1'
#     expected: '0'
not ok 2 - Checking /etc/init.d/obssrcserver
#          got: '1'
#     expected: '0'
not ok 3 - Checking /etc/init.d/obsdodup
#          got: '1'
#     expected: '0'
not ok 4 - Checking /usr/sbin/obs_admin
#          got: '1'
#     expected: '0'
not ok 5 - Checking /usr/sbin/obs_serverstatus
#          got: '1'
#     expected: '0'
not ok 6 - Checking /usr/sbin/rcobssrcserver
#          got: '1'
#     expected: '0'
not ok 7 - Checking /usr/sbin/rcobsdodup
#          got: '1'
#     expected: '0'
Failed 7/7 subtests

Test Summary Report
-------------------
t/0010-obs-bootstrap-api.t (Wstat: 0 Tests: 12 Failed: 4)
   Failed tests:  9-12
t/0030-installed-files.t  (Wstat: 0 Tests: 7 Failed: 7)
   Failed tests:  1-7
Files=2, Tests=19,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.01 cusr  0.01 csys =  0.03 CPU)
Result: FAIL
make[3]: *** [Makefile:81: test_unit] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/dist'
make[2]: *** [Makefile:8: test] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test returned exit code 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    create-stamp debian/debhelper-build-stamp
  fakeroot debian/rules binary
debian/rules:54: warning: overriding recipe for target 'override_dh_installsystemd'
debian/rules:39: warning: ignoring old recipe for target 'override_dh_installsystemd'
dh binary
    dh_testroot
    dh_prep
    dh_installdirs
    dh_auto_install
	make -j2 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C dist install
make[2]: Entering directory '/<<PKGBUILDDIR>>/dist'
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/obs/server
install --strip-program=true -d -m 755  /<<PKGBUILDDIR>>/debian/tmp/etc/apache2/vhosts.d
install: WARNING: ignoring --strip-program option as -s option was not specified
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -m 644 obs-apache24.conf /<<PKGBUILDDIR>>/debian/tmp/etc/apache2/vhosts.d/obs.conf
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/etc/init.d/
install: WARNING: ignoring --strip-program option as -s option was not specified
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/etc/logrotate.d/
install --strip-program=true -m 644 obs-container-registry.conf /<<PKGBUILDDIR>>/debian/tmp/etc/apache2/vhosts.d/obs-container-registry.conf
install: WARNING: ignoring --strip-program option as -s option was not specified
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/etc/slp.reg.d/
install --strip-program=true -m 644 README.devel /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/packages/obs-devel/README.devel
install: WARNING: ignoring --strip-program option as -s option was not specified
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/etc/cron.d/
install: cannot create regular file '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/packages/obs-devel/README.devel': No such file or directory
make[2]: *** [Makefile:68: install_devel_docs] Error 1
make[2]: *** Waiting for unfinished jobs....
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/sbin/
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/var/adm/fillup-templates
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/packages/obs-devel
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/obs/tests/appliance
install: WARNING: ignoring --strip-program option as -s option was not specified
install --strip-program=true -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/systemd/system/
install: WARNING: ignoring --strip-program option as -s option was not specified
make[2]: Leaving directory '/<<PKGBUILDDIR>>/dist'
make[1]: *** [Makefile:4: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j2 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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

Thanks.

#1088953#12
Date:
2025-03-28 09:58:26 UTC
From:
To:
Hello,

Bug #1088953 in open-build-service reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/open-build-service/-/commit/b50278ede9f5ac86f5d430a914648f6749ed4440

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1088953

#1088953#21
Date:
2025-11-09 11:23:25 UTC
From:
To:
Hello Andrej.

A fix for this bug has been committed to salsa some time ago, along
with several other fixes. Would be possible to make a release?

Fixing #1110231 (open-build-service: wrong VCS fields) would be nice
as well. It looks like the intent is to move the package to the debian
namespace, but a confirmation of that would be welcome.

In fact, if somebody from the ruby team can confirm that this should
now be handled in the debian namespace, I would be willing to do
a "team upload for the debian team" and fix the VCS fields at the same
time, but I definitely don't want to step on anyone's toes.

Thanks.

#1088953#26
Date:
2025-11-09 16:30:34 UTC
From:
To:
Hello Santiago,


El dom, 9 nov 2025, 19:25, Santiago Vila <sanvila@debian.org> escribió:

I wouldn't upload it to Debian, at this point maybe it is better to remove
it from Debian (wait for Andrej's input for that). The package is very old
and not in the best shape.

Thanks for your willingness to help with it.

Regards

#1088953#31
Date:
2026-09-29 09:51:52 UTC
From:
To:
Hi.

I've just requested membership in the ruby team to do misc QA work.

I'd like to make a team upload for this package because it's the only
one in the entire archive which builds ok on machines with 1 CPU but
fails to build on machines with 2 CPUs, and this anomaly is annoying
me in my building setup.

If you believe this package should be removed, please file a bug
against ftp.debian.org. Having a package unbuildable in unstable for a
long time, when the fix is already committed in salsa, does not make
much sense in my opinion.

Adding Dylan to CC since he did the latest changes in salsa.

Thanks.

#1088953#36
Date:
2026-09-29 09:56:26 UTC
From:
To:
Hello Santiago,

Sorry this is taking so long. I'll have a look shortly today.

#1088953#41
Date:
2026-09-29 11:14:34 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
open-build-service, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1088953@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <andrewsh@debian.org> (supplier of updated open-build-service package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 29 Sep 2026 12:45:24 +0200
Source: open-build-service
Architecture: source
Version: 2.9.4-11
Distribution: unstable
Urgency: medium
Maintainer: Collabora Team <team+collabora@tracker.debian.org>
Changed-By: Andrej Shadura <andrewsh@debian.org>
Closes: 1040570 1055404 1088953 1116150
Changes:
 open-build-service (2.9.4-11) unstable; urgency=medium
 .
   [ Santiago Vila ]
   * Add patch fixing FTBFS with make 4.4.1 (Closes: #1088953)
 .
   [ Dylan Aïssi ]
   * obs-server: Depends on gnupg instead of gnupg2 (Closes: #1055404)
   * obs-server: Install README.md instead of a broken symlink (Closes: #1040570)
 .
   [ Andrej Shadura ]
   * Bump debhelper from old 12 to 13.
   * Remove redundant Priority: optional from source stanza.
   * Replace FSF postal address with a reference to https://www.gnu.org/licenses/.
   * Use secure URI in Homepage field.
   * Sort debian/**/control.
   * Re-own into the Collabora team.
   * Bump Standards-Version to 4.7.4.
   * Drop non-existing packages from Recommends (Closes: #1116150).
   * Mark obs-server as deprecated.
   * Add Description to the source package.
Checksums-Sha1:
 7d70ed7d659b8cce5e213151bf13d0049b7f8489 2880 open-build-service_2.9.4-11.dsc
 f42f5ae6e14c06496563b228fd4227025f07caf7 23068 open-build-service_2.9.4-11.debian.tar.xz
 809aac2fd343601cfb3524ec295374ee48441e57 10128292 open-build-service_2.9.4-11.git.tar.xz
 422c8b489847eea3cc11e41534ae67a81113c15b 17772 open-build-service_2.9.4-11_source.buildinfo
Checksums-Sha256:
 c0135130e8bcd145ae8627801e902e5b73f075efc38bcbb3ed14e0612291e31e 2880 open-build-service_2.9.4-11.dsc
 a25287679f08547602c1e79728850e721fe4afd878a7602b4f032e7d45d88a47 23068 open-build-service_2.9.4-11.debian.tar.xz
 2cf587ccdb81768fff19157d537378915fdc5c49ba71bb68263786651cfe15dd 10128292 open-build-service_2.9.4-11.git.tar.xz
 7394ffa0a861a08b408d8c096c7a68497daabed00830a242b5d7d7093d26f49f 17772 open-build-service_2.9.4-11_source.buildinfo
Files:
 71e03e8a7e71530896bd1176a78b3084 2880 devel optional open-build-service_2.9.4-11.dsc
 a99e5b834d63f58bf75bcbdeb0fb015f 23068 devel optional open-build-service_2.9.4-11.debian.tar.xz
 be5fbdc2ff6fc6f0e36e30894db17f30 10128292 devel None open-build-service_2.9.4-11.git.tar.xz
 00c02e88e0e51a1e93be739c8fdaf2a6 17772 devel optional open-build-service_2.9.4-11_source.buildinfo
Git-Tag-Info: tag=bf41f939f2e7f09608fcca3c548be533e02cd703 fp=83dcd17f44b22cc83656eda1e8446b4ac8c77261
Git-Tag-Tagger: Andrej Shadura <andrew.shadura@collabora.co.uk>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq7l2kACgkQYG0ITkaD
wHnp1A//ULmF3NsbHtBrjni/Z5VVilnLZi3YTgCDYXz4t8dPZFYGfEtMTMdio0Kj
gWZwYqAg0daoaUUdTXXLsg+bRl6y9m007jGL/m14kanakUkV3OgktJBoj2rWTRAx
lf3m2uKFyHjigrznVvB3WreJYX9+VaqHLl9+0CFBBXvv7GwPqsY2R/49nfzccwqB
KWyz5OKMHopjac+2rpkbCzRXyACBImzV+dhb8WrMn4ABvPJ6jGP7HPYCMox3lujj
reGGLrwjRdgvxOKxCpl/cgqZXBFE6ElNaTV5G4l3Zx8R/8QPJYdZt9HJXBBz1EhH
YtHJm2K8m6ks8va+LvP3Gsjinu2Mk2Z3ILA2duYK+0x3SSrDFX6278dZAFYDMphR
C/mcED3X9wfgFmn6tOW17IrVamWvDf3g0VCStcK939hTwImlg0tSoR4dIpEgQa+v
GyQRk7BfGFrldSoYIK/rsGFZXnreXjFw00ep44j+iztQVko3/P3T15Rp+RPd9cVr
rwoqiUa4q+eTMIw+4MNaMFTdGl1EgHFjkkO/yY7UUMWsKgva1Fy+KAV9wjy8na7/
qe0PJyKrYs+oQgmmAj+OaK5Gikk7jjZmFOK8brfln+wbTpH079t2mc0sCdTvmUXD
fJcxo5qV9sq2x5rqlOzRk6c6TnueiX4Ml+FYFrZ69aOcTDIrhBk=
=6fiG
-----END PGP SIGNATURE-----

#1088953#46
Date:
2026-09-29 11:14:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
open-build-service, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1088953@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <andrewsh@debian.org> (supplier of updated open-build-service package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 29 Sep 2026 12:52:00 +0200
Source: open-build-service
Architecture: source
Version: 2.9.4-12
Distribution: unstable
Urgency: medium
Maintainer: Collabora Team <team+collabora@tracker.debian.org>
Changed-By: Andrej Shadura <andrewsh@debian.org>
Closes: 1040570 1055404 1088953 1110231 1116150
Changes:
 open-build-service (2.9.4-12) unstable; urgency=medium
 .
   * Fix Vcs-* URLs (Closes: #1110231).
 .
 open-build-service (2.9.4-11) unstable; urgency=medium
 .
   [ Santiago Vila ]
   * Add patch fixing FTBFS with make 4.4.1 (Closes: #1088953)
 .
   [ Dylan Aïssi ]
   * obs-server: Depends on gnupg instead of gnupg2 (Closes: #1055404)
   * obs-server: Install README.md instead of a broken symlink (Closes: #1040570)
 .
   [ Andrej Shadura ]
   * Bump debhelper from old 12 to 13.
   * Remove redundant Priority: optional from source stanza.
   * Replace FSF postal address with a reference to https://www.gnu.org/licenses/.
   * Use secure URI in Homepage field.
   * Sort debian/**/control.
   * Re-own into the Collabora team.
   * Bump Standards-Version to 4.7.4.
   * Drop non-existing packages from Recommends (Closes: #1116150).
   * Mark obs-server as deprecated.
   * Add Description to the source package.
Checksums-Sha1:
 a8772847a7237415caede60df884f3c2b9daaecd 2874 open-build-service_2.9.4-12.dsc
 755b3d4067d044fc29b7739fd9b8dd8030fcef52 23076 open-build-service_2.9.4-12.debian.tar.xz
 9a18a8f37c95a380ad3e63967ab6e06e852dfa11 10130812 open-build-service_2.9.4-12.git.tar.xz
 10841e2746d42d3038f09678fbd4bf724aae42b3 17772 open-build-service_2.9.4-12_source.buildinfo
Checksums-Sha256:
 92f8401676ff8963cd28e9ab9363f4492d9adfbe4d34891f2128d3daa0b1f5a6 2874 open-build-service_2.9.4-12.dsc
 51bcfb14c253ed333449365d8a4092e66786c8aade973221dc164cdf0f1afdf5 23076 open-build-service_2.9.4-12.debian.tar.xz
 f2055903756f305ea0353bc2d7e06a3769519f426dad6afbabcd97faf238aba8 10130812 open-build-service_2.9.4-12.git.tar.xz
 ed5efc600ea63ab08624a687985a544d404c2a3536abba03466651a0cd7b9886 17772 open-build-service_2.9.4-12_source.buildinfo
Files:
 966dadd9039869b7c2ecd3e933d46557 2874 devel optional open-build-service_2.9.4-12.dsc
 b93b49f260f4783e49b903f376eae4cc 23076 devel optional open-build-service_2.9.4-12.debian.tar.xz
 2e812a263ad6cc9a3bdb42f3b5dc322c 10130812 devel None open-build-service_2.9.4-12.git.tar.xz
 af5fa9643123eee1b2bd7efcad6f1ffc 17772 devel optional open-build-service_2.9.4-12_source.buildinfo
Git-Tag-Info: tag=8c0ce2d7c665ba82853e73613cbb9ba15abdfc9f fp=83dcd17f44b22cc83656eda1e8446b4ac8c77261
Git-Tag-Tagger: Andrej Shadura <andrew.shadura@collabora.co.uk>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq7mMQACgkQYG0ITkaD
wHnyFxAAjNJBw5ZDeh/rYbokynxXLufaRinzsBApeD+Xp/W+WxyUL5FfDtMqfSxV
69uPxXhguJh99l2D9MR0924br7p39vJ4dKZ7KyxPJDPGmJIl474ZCEpbbtZovTg+
7DbJalX/ckuNjQOPM8L6PLIPLkg/1/F81Kg7oGTfI2Xj0fpqxZepcXEX4lQlGcFz
LUQnHwUSiMZTEIao53Yv0WtsxVgXzeArEIZK2z0YP+cX7hkfxCeDOYxOkuv9S/9Y
plbB7cZdJ5saSRWWjnJGHQBy354hjj0lsiN1aHdU3NtWulNPRPxsav9PbFdcId0b
EbXoOD+UyeLYLs8chu3jB6n8XZQOjiRhIveoQPhgchjWP21d0DvFnA9aFgM3cH5Z
GVR9HbBuIF/9am1CLCCt01Xn5V30K7IR3TFz6Qv7xuSZqEwqp7KTkbH4aUUgtYPy
lZkKEQZ8Tbpubnl+K/dM1TYslkWsMfokTfdJBiI0iQthxqmwzseFtN4RF8Gm6F1A
d312rqy7X0LIPlPS6bKGDJ4jlWdk/74ch4MHr0b+LbkAWWroCJNNuQoylKxSAChX
kGIZilR72MBFlaN0bt0rvaS9pZ8VyszWE42AT5+e2aO0p9aHMNW4CnYPOAHOB7vs
eV5ExbqlSKtZnnOzV6kTKiq7kURALzK7fGgTWFgRAWI2kgt+9gM=
=+zOn
-----END PGP SIGNATURE-----

#1088953#51
Date:
2026-09-29 13:42:12 UTC
From:
To:
Thanks a lot.

Since you switched to a higher debhelper compat level, you will need
two more fixes which I'm attaching here (see buildd.debian.org).

They are meant to be applied with "git am".

Thanks.

#1088953#56
Date:
2026-09-29 13:43:56 UTC
From:
To:
Hello,

Thanks for the patches!