On Sun, Apr 18, 2021 at 10:26:44AM +0200, Helmut Grohne wrote:
> Not yet seen by reproducible, but I've rescheduled a build there. Likely
> a matter of waiting.

It also fails there now:
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/sysvinit_2.96-6.rbuild.log.gz

One aspect to this certainly is that the .pc files are now located in
/lib, which is wrong as pkg-config does not search that directory. I've
attempted fixing this aspect and am attaching a patch for that.
Unfortunately, this does not fix sysvinit. There must be something else
to this.

Helmut
diff --minimal -Nru libxcrypt-4.4.18/debian/changelog 
libxcrypt-4.4.18/debian/changelog
--- libxcrypt-4.4.18/debian/changelog   2021-04-17 04:04:04.000000000 +0200
+++ libxcrypt-4.4.18/debian/changelog   2021-04-18 10:37:07.000000000 +0200
@@ -1,3 +1,10 @@
+libxcrypt (1:4.4.18-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix location of .pc files.
+
+ -- Helmut Grohne <[email protected]>  Sun, 18 Apr 2021 10:37:07 +0200
+
 libxcrypt (1:4.4.18-3) unstable; urgency=high
 
   [ Ivo De Decker ]
diff --minimal -Nru libxcrypt-4.4.18/debian/rules libxcrypt-4.4.18/debian/rules
--- libxcrypt-4.4.18/debian/rules       2021-04-17 03:43:28.000000000 +0200
+++ libxcrypt-4.4.18/debian/rules       2021-04-18 10:37:06.000000000 +0200
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 DOPACKAGES := $(shell dh_listpackages)
 BUILD_TARGETS :=
 
@@ -98,6 +100,8 @@
 
 ifeq ($(BUILD_DEV_VER), 1)
        dh_movefiles -plibcrypt-dev --sourcedir=debian/libcrypt1/
+       mkdir -p debian/libcrypt-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+       mv debian/libcrypt-dev/lib/$(DEB_HOST_MULTIARCH)/pkgconfig 
debian/libcrypt-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
 else
        cd $D && echo $(shell sed -re 's#^/##' 
$(CURDIR)/debian/libcrypt-dev.files) | xargs echo rm -rf
 endif
@@ -112,6 +116,8 @@
 
 ifeq ($(BUILD_DEV_VER), 2)
        dh_movefiles -plibcrypt-dev --sourcedir=debian/libcrypt2/
+       mkdir -p debian/libcrypt-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+       mv debian/libcrypt-dev/lib/$(DEB_HOST_MULTIARCH)/pkgconfig 
debian/libcrypt-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
 else
        cd $(D2) && echo $(shell sed -re 's#^/##' 
$(CURDIR)/debian/libcrypt-dev.files) | xargs echo rm -rf
 endif

Reply via email to