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

Bug#972738: marked as done (kparts: FTBFS with DEB_BUILD_OPTIONS=reproducible=+fixfilepath)



Your message dated Fri, 18 Dec 2020 01:55:12 +0000
with message-id <E1kq4zA-0008Uy-Ti@fasolo.debian.org>
and subject line Bug#972738: fixed in kparts 5.77.0-1
has caused the Debian Bug report #972738,
regarding kparts: 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.)


-- 
972738: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972738
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kparts
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),
kparts fails to build from source:

  http://qa-logs.debian.net/2020/09/26.fixfilepath/kparts_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
kparts, but a common triggering issue is test suites
expecting __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 kparts!

live well,
  vagrant
From 7a2d1032356fbeb91e218d2eaebb88a30f7a7b21 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 23 Oct 2020 03:06:44 +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 234929a..ee9237a 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
 
 TESTS_HOME=$(CURDIR)/debian/tests.home
 %:
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: kparts
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
kparts, 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 972738@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 kparts 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:55 +0900
Source: kparts
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: 972738
Changes:
 kparts (5.77.0-1) experimental; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Disable fixfilepath feature, as it triggers build failures when
     enabled (Closes: #972738).
   [ 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.
   * Update list of installed files.
   * Update symbols.
Checksums-Sha1:
 949bd684aa3f9a7fe7c02f6b6349717713539216 2648 kparts_5.77.0-1.dsc
 31a79be0b058f11c02b95fd5c69fd2cc891af267 191436 kparts_5.77.0.orig.tar.xz
 035912251fbc7bb9d0df84dfed614ee25564bbb9 488 kparts_5.77.0.orig.tar.xz.asc
 028f08c7672005e36ffc5c59d25c8fa6788e3d48 15760 kparts_5.77.0-1.debian.tar.xz
 cbbde45e8be92913d9315c83ddafff75de54c9a2 17203 kparts_5.77.0-1_source.buildinfo
Checksums-Sha256:
 8f7a9b163c27b136135e532f0b0e7978505c196714abd569318f6bcad9dffd03 2648 kparts_5.77.0-1.dsc
 3afdf8472d0e1aa991f4395d08bcc6836512c1da0fef9634087bca695df4e77d 191436 kparts_5.77.0.orig.tar.xz
 db7f67a0034bb7b6032ff7cfd4f0eea916d3879373044d8b336e6b2f03ffd6e1 488 kparts_5.77.0.orig.tar.xz.asc
 c4a466db2fb68b95fa7f48bfb28352e556da20387128ee28d8f49fd5e5bc017a 15760 kparts_5.77.0-1.debian.tar.xz
 6f316b3430e907ad3ff2a9ddf7874d6eca818b95a25858e580c32444fec233cd 17203 kparts_5.77.0-1_source.buildinfo
Files:
 3a3cdbf80698444f538ef5c4c8f9a52a 2648 libs optional kparts_5.77.0-1.dsc
 c42cbd1c7b3af1fa33e8cf6e812fcafa 191436 libs optional kparts_5.77.0.orig.tar.xz
 6de7c1ec37cbee296b50b18a006ee831 488 libs optional kparts_5.77.0.orig.tar.xz.asc
 c0c1e42cff981a4328ecad9070baaeb8 15760 libs optional kparts_5.77.0-1.debian.tar.xz
 9a203a86310c5de9971638e3098f5fa0 17203 libs optional kparts_5.77.0-1_source.buildinfo

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

iQEzBAEBCgAdFiEE68ws0vrA2voQX53I2A4JsIcUAGYFAl/cA6kACgkQ2A4JsIcU
AGblawf9E0kHteg5/uZbdkBNC5ysgo8q0MWWn5dYUhLb0pVMmC/z/tBYWr1mWiWs
pgrgvYjk3o5mh77AeTZ5aQ27rQGZrnqb2tn0gv7gZ7+7fP4I/ekdnxCNw+J/URQb
aA+We2zrlKRBXH0AiAL0hjGOIwxzZfuJZiVvWXr5DtqOSjQHvWZWAuNiHolDsdJM
ZZKpJ5C5qia9YDwDRjtHpzEYNGH0rp0SGD7P9LbG9eMLiAj2Vr1yTA5Cv5LegP/Z
kqagG+AE+LIU7lEUHCtihHBuVSh5IxPMQ3EfR29S37oJx1A8LVAvH2ehZJG5Q3BP
wZAs9HmZbkL7dMEs9f1riGH19S3GKw==
=Euhi
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: