On 2026-10-09, Jochen Sprickerhof wrote:
> open-build-service has a missing build dependency on openssl <!nocheck>
> as can be seen in the reproduce.d.n log:
>
> t/../setup-appliance.sh: line 61: openssl: command not found
> t/0010-obs-bootstrap-api.t: line 120: openssl: command not found
>
> https://reproduce.debian.net/excuses.html?source_name=open-build-service
>
> This keeps the package from migrating to testing.

I am not sure just adding the openssl dependency is sufficient, as
sometimes the contents of /usr/lib/obs/tests/appliance/tmp/certs
contains a symlink to a file that may be present (the buildd build
contains several of th server.foobar.suse.de.* files) or may not be
present (my local builds which did have openssl installed).

Presuming these files are only used during the tests, I also propose a
patch which just removes the /usr/lib/obs/tests/appliance/tmp/ directory
entirely from the dh_install override.

To be clear, adding the openssl dependency still seems like a good idea!

live well,
  vagrant
From f70ce239f3b64e4afd281ef7b3bd01306b7cafd7 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Tue, 24 Nov 2026 15:47:39 -0800
Subject: [PATCH] debian/rules: Remove obs/tests/appliance/tmp in dh_install
 override.

This improves reproducible builds regardless of weather the tests were
run or not.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 689cca2..114b4d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@ override_dh_install:
 	rm -f debian/tmp/etc/apache2/vhosts.d/obs.conf
 	rm -f debian/tmp/etc/init.d/obsapisetup
 	rm -f debian/tmp/usr/lib/obs/server/build/build exists
+	rm -rf debian/tmp/usr/lib/obs/tests/appliance/tmp
 	rm -f debian/tmp/usr/share/doc/packages/obs-devel/README.devel
 
 	dh_missing --list-missing
-- 
2.47.3

Attachment: signature.asc
Description: PGP signature

Reply via email to