Package: src:open-build-service
Version: 2.9.4-10
Severity: important
Tags: ftbfs patch

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.
--- a/dist/Makefile
+++ b/dist/Makefile
@@ -64,7 +64,7 @@
 	$(INSTALL) -d -m 755 $(DESTDIR)/usr/lib/obs/tests/appliance
 	$(INSTALL) -d -m 755 $(DESTDIR)$(UNITDIR)
 
-install_devel_docs:
+install_devel_docs: system_dirs
 	$(INSTALL) -m 644 README.devel $(DESTDIR)/usr/share/doc/packages/obs-devel/README.devel
 
 install_overview:
@@ -74,7 +74,7 @@
 install_registry_dirs:
 	mkdir -p $(DESTDIR)/srv/www/obs/container-registry{,/log,/htdocs}
 
-install_tests_appliance:
+install_tests_appliance: system_dirs
 	cp -r ./t/*	$(DESTDIR)/usr/lib/obs/tests/appliance/
 
 test_unit:

Reply via email to