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

Bug#972731: marked as done (kcodecs: FTBFS with DEB_BUILD_OPTIONS=reproducible=+fixfilepath)



Your message dated Fri, 18 Dec 2020 01:34:59 +0000
with message-id <E1kq4fb-0005Yn-7o@fasolo.debian.org>
and subject line Bug#972731: fixed in kcodecs 5.77.0-1
has caused the Debian Bug report #972731,
regarding kcodecs: FTBFS with DEB_BUILD_OPTIONS=reproducible=+fixfilepath
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.)


-- 
972731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972731
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kcodecs
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: fixfilepath ftbfs
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

When the reproducible=+fixfilepath feature is enabled (either through
DEB_BUILD_OPTIONS, or using a dpkg that enables this by default),
kcodecs fails to build from source:

  http://qa-logs.debian.net/2020/09/26.fixfilepath/kcodecs_5.70.0-1_unstable_fixfilepath.log

While the "fixfilepath" feature is not currently enabled by
dpkg-buildflags by default, it may become the default at some point in
the future, and can by triggered manually by setting
DEB_BUILD_OPTIONS=reproducible=+fixfilepath in the build environment.

More information about this issue is available at:

  https://tests.reproducible-builds.org/debian/issues/unstable/ftbfs_due_to_f-file-prefix-map_issue.html

I have not identified the exact cause of this issue for
kcodecs, but a common triggering issue is test suites
expectinfg __FILE__ to resolve to an absolute path.

The attached patch works around this issue by disabling the fixfilepath
feature in debian/rules using DEB_BUILD_MAINT_OPTIONS=-fixfilepath.

Thanks for maintaining kcodecs!

live well,
  vagrant
From 8b3809f1211df8a81864cfe3071416b1667ecbb1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 23 Oct 2020 02:34:39 +0000
Subject: [PATCH] debian/rules: Disable fixfilepath feature, as it triggers
 build failures when enabled.

https://tests.reproducible-builds.org/debian/issues/unstable/ftbfs_due_to_f-file-prefix-map_issue.html
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 49fbb22..4a32e70 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+# Disable fixfilepath feature, as it triggers build failures when
+# enabled.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=-fixfilepath
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: kcodecs
Source-Version: 5.77.0-1
Done: Norbert Preining <norbert@preining.info>

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

Debian distribution maintenance software
pp.
Norbert Preining <norbert@preining.info> (supplier of updated kcodecs 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: Fri, 18 Dec 2020 10:03:52 +0900
Source: kcodecs
Architecture: source
Version: 5.77.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Norbert Preining <norbert@preining.info>
Closes: 972731
Changes:
 kcodecs (5.77.0-1) experimental; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Disable fixfilepath feature, as it triggers build failures when
     enabled (Closes: #972731).
   [ Norbert Preining ]
   * Bump Standards-Version to 4.5.1 (No changes needed).
 .
   * New upstream release (5.77.0).
   * Update build-deps and deps with the info from cmake.
   * Add myself to Uploaders.
   * Update maintainer to Debian Qt/KDE Maintainers.
Checksums-Sha1:
 458543bc7712e025aec731e3d6669606d88a6323 2355 kcodecs_5.77.0-1.dsc
 ab652ef270112d24b0a6a0507b1872898354b7ea 228200 kcodecs_5.77.0.orig.tar.xz
 a99e4b4dd2f2b28bf7aad4eae56f730dab2a9b27 488 kcodecs_5.77.0.orig.tar.xz.asc
 aeffe66d123259e2a3870eedf899021402d6c0ce 13400 kcodecs_5.77.0-1.debian.tar.xz
 04986576a97e3bf073c20dd890f1fba288fb342c 12928 kcodecs_5.77.0-1_source.buildinfo
Checksums-Sha256:
 6f8cd381c063f5a9ea277bbe7ceb8c4e75285ff6150a04b0ecffb33c590cae64 2355 kcodecs_5.77.0-1.dsc
 c1b34aac21f6ab21e91e0e11f620949574678146f4407c853516c0f456e81fc4 228200 kcodecs_5.77.0.orig.tar.xz
 19c8c140ed2be75c8d8aa3ad78f6dc62062b07cde13719000535da8aad768d76 488 kcodecs_5.77.0.orig.tar.xz.asc
 82958a7cff169602c1bf38dab7e0ec5dd093113f6ad64f42f3f1ace5df3b9ea7 13400 kcodecs_5.77.0-1.debian.tar.xz
 6865833d6d6cf874ee62f6c408884614df6caabdc515a87c62d64cc70fa7e132 12928 kcodecs_5.77.0-1_source.buildinfo
Files:
 aae10e9ef0e1f163cb7dcfc695f5fbc9 2355 kde optional kcodecs_5.77.0-1.dsc
 59aa68a9aa63bb5184ff55bbfe964bea 228200 kde optional kcodecs_5.77.0.orig.tar.xz
 08ed94405a8a7b253f7fb9dc994177e0 488 kde optional kcodecs_5.77.0.orig.tar.xz.asc
 989177b6f818267ca2b93907c7fcb4b5 13400 kde optional kcodecs_5.77.0-1.debian.tar.xz
 c16da2edfa9bf81fa1bbe987d645050e 12928 kde optional kcodecs_5.77.0-1_source.buildinfo

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

iQEzBAEBCgAdFiEE68ws0vrA2voQX53I2A4JsIcUAGYFAl/cA4EACgkQ2A4JsIcU
AGagqwf/ZNxYdbOzaEE1BdcF7X1e9+evSzAvmKiO7l18KYoqTeLSy1adxqIDaSCN
ofyAcMb2UlyP8iK+LNKqv18eg3fZjOU6f2Q0omyvxVPIyn0DHoS3lYx7ehrYrPLI
DNGP3i95DFSRFcAn1uuSkIG5Mvm5UhMZ5QyYsR+4aS6J2IZOx23wCMmBVNM1syCq
JBjEqmZ085UtryRZhAwYsf7eTWcv+agO6PnnngX1lHgzc3DbZHOGS++xG44W9Qjh
gDs1QBogfPihjFFc/Z0BCe6X7++CX4Qm2R72tP/hWVthnHCrAEQesDGMcJ7zcI5D
hWwwrMxsfqdyhmTY+HQ4iG7PqVyQrQ==
=OImG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: