[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010948: marked as done (xine-lib-1.2: reproducible-builds: embedded build path in libxine.pc)



Your message dated Wed, 18 May 2022 23:52:43 +0000
with message-id <E1nrTT9-0005a7-OM@fasolo.debian.org>
and subject line Bug#1010948: fixed in xine-lib-1.2 1.2.12-2
has caused the Debian Bug report #1010948,
regarding xine-lib-1.2: reproducible-builds: embedded build path in libxine.pc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1010948: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010948
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: xine-lib-1.2
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The build path is embedded in
/usr/lib/x86_64-linux-gnu/pkgconfig/libxine.pc:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/xine-lib-1.2.html

  objcflags=... -ffile-prefix-map=/build/1st/xine-lib-1.2-1.2.12=.·-fstack-protector-strong ...
vs.
  objcflags=... -ffile-prefix-map=/build/2/xine-lib-1.2-1.2.12/2nd=.·-fstack-protector-strong ...
  
The attached patch fixes this by replacing the build path with the
placeholder string "BUILDPATH" in the libxine.pc file in a debian/rules
dh_install override.


With this patch applied, xine-lib-1.2 should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
From b6e42a46178877dbb613c47d79faf47fd223b990 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 13 May 2022 20:03:04 +0000
Subject: [PATCH] debian/rules: Remove the build path from libxine.pc in
 dh_install override.

https://reproducible-builds.org/docs/build-path/
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 4a0ec9e..f6ba553 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,3 +51,7 @@ override_dh_installdocs:
 		--link-doc=libxine2-bin
 	dh_installdocs -plibxine2-doc --doc-main-package libxine2-doc
 	dh_installdocs --remaining-packages
+
+override_dh_install:
+	dh_install
+	sed -i -e "s,$(CURDIR),BUILDPATH,g" debian/libxine2-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/libxine.pc
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: xine-lib-1.2
Source-Version: 1.2.12-2
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
xine-lib-1.2, 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 1010948@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated xine-lib-1.2 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 18 May 2022 16:18:54 -0700
Source: xine-lib-1.2
Architecture: source
Version: 1.2.12-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 1008607 1010948
Changes:
 xine-lib-1.2 (1.2.12-2) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster:
     + Build-Depends: Drop versioned constraint on libavcodec-dev,
       libavformat-dev, libcdio-dev, libdirectfb-dev, libjack-dev and
       libpostproc-dev.
 .
   [ Vagrant Cascadian ]
   * debian/rules: Remove the build path from libxine.pc in dh_install
     override. (Closes: #1010948)
   * debian/patches: Fix building with dav1d. (Closes: #1008607) Thanks to
     Dylan Aïssi and Petri Hintukainen.
   * debian/control: Update Standards-Version to 4.6.1.
Checksums-Sha1:
 958853b678b0d604bf66bfd7fe36df7d331f4a91 2735 xine-lib-1.2_1.2.12-2.dsc
 587b219735457329d73a7be77a05173b822ec88d 37060 xine-lib-1.2_1.2.12-2.debian.tar.xz
 05b82dced825600dac2cfe6e9a348ffa881464f2 22430 xine-lib-1.2_1.2.12-2_arm64.buildinfo
Checksums-Sha256:
 0430d849034094ea88fd2897305f8452b249e3911068f13b71fc7984ade7139e 2735 xine-lib-1.2_1.2.12-2.dsc
 bd466ba2901de2971bda03e13d51a2074bd8cb78934dd9fa4a2d98484482da91 37060 xine-lib-1.2_1.2.12-2.debian.tar.xz
 b169757802ca27b8935c1153243e23cac8b9ba4c8f246f5d4b43bef0c25d3cf1 22430 xine-lib-1.2_1.2.12-2_arm64.buildinfo
Files:
 907ac39fabb304077d35379682edadc3 2735 libs optional xine-lib-1.2_1.2.12-2.dsc
 458733f1415c31412ca4d0f982216be5 37060 libs optional xine-lib-1.2_1.2.12-2.debian.tar.xz
 7eabbe2487299f04d954952a4bc05bb9 22430 libs optional xine-lib-1.2_1.2.12-2_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYoWErhMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaq3rAA/iiLifWm+GCmAtis+aqH0ncpGzCzq1r/
RVUIUNJqJNcmAQCS5HRp1Smr9mpWdkxMsxEVZtdgNfiNpK4WxC0PHdcUAw==
=0rhH
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: