Package: src:libreoffice Version: 4:7.5.0~rc3-1 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Building libreoffice with DEB_BUILD_PROFILES=nodoc fails, attempting to symlink documentation files that do not exist when... building without the documentation. I noticed this trying to build libreoffice from experimental, but it may also affect older versions. The attached patch fixed building with "nodoc" for me, though I have not tested extensively. Being able to build without documentation will help sort out other reproducible builds issues in libreoffice. live well, vagrant
From 5b7f2fbfed32799343c1f69df30da77c212549dc Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 1 Feb 2023 20:12:52 +0000 Subject: [PATCH] debian/rules: Do not add documentation symlinks when not building documentation. This fixes building with the "nodoc" build profile. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index f9e2ace888..932b242e46 100755 --- a/debian/rules +++ b/debian/rules @@ -3428,7 +3428,7 @@ ifeq "$(DEB_VENDOR)" "Debian" install -m644 debian/templates/*.otp $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt/ endif -ifeq "$(PACKAGE_SDK)" "y" +ifeq "$(PACKAGE_SDK_DOCS)" "y" # add symlinks for docs and examples cd $(PKGDIR)-dev-doc/$(OOSDKDIR) && \ rm -rf docs && \ -- 2.30.2
signature.asc
Description: PGP signature