Your message dated Thu, 24 Dec 2020 00:19:37 -0800 with message-id <87sg7vobty.fsf@yucca> and subject line Re: simde: FTBFS when dpkg-buildflags passes -ffile-prefix-map has caused the Debian Bug report #971408, regarding simde: FTBFS when dpkg-buildflags passes -ffile-prefix-map 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 ow...@bugs.debian.org immediately.) -- 971408: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971408 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: simde Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: fixfilepath ftbfs X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org When run with DEB_BUILD_OPTIONS=reproducible=+fixfilepath, simde FTBFS: clang: error: unknown argument: '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' This is because clang 10 is the first version to support -ffile-prefix-map, and simde is building with the default clang version 9. The attached patch updates to clang-10 to fix this issue. Alternately, you could stick with the default gcc, setting in debian/rules: # Remove when switching to clang 10 or newer. export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath+fixdebugpath The "fixfilepath" feature is not yet enabled by default in dpkg-buildflags, but it is used in the tests.reproducible-builds.org infrastructure for unstable and experimental, and might be enabled by default for dpkg-buildflags in the future. Thanks for maintaining simde! live well, vagrantFrom ee5ce7156a2918a44cd37268ccc149873b481a49 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 30 Sep 2020 00:55:25 +0000 Subject: [PATCH] Update to clang-10 to add support for -ffile-prefix-map. Setting the DEB_BUILD_OPTIONS=reproducible=+fixfilepath adds -ffile-prefix-map from dpkg-buildflags to default compiler arguments. This feature is not currently enabled by default in dpkg-buildflags, but is enabled for parts of the tests.reproducible-builds.org infrastructure to solve some reproducibility issues. --- debian/control | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 2588a77..312644a 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian. Uploaders: Michael R. Crusoe <cru...@debian.org> Build-Depends: debhelper-compat (= 13), cmake, - clang [!alpha !hppa !ia64 !m68k !sh4 !x32] <!nocheck> + clang-10 [!alpha !hppa !ia64 !m68k !sh4 !x32] <!nocheck> Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/med-team/simde Vcs-Git: https://salsa.debian.org/med-team/simde.git diff --git a/debian/rules b/debian/rules index abd2908..9b525bc 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,7 @@ endif override_dh_auto_configure: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter $(DEB_HOST_ARCH),$(CLANG_SKIP))) - CC=clang CXX=clang++ dh_auto_configure --builddirectory=clang_test --sourcedirectory=test + CC=clang-10 CXX=clang++-10 dh_auto_configure --builddirectory=clang_test --sourcedirectory=test endif # According to https://wiki.debian.org/ArchitectureSpecificsMemo#Architecture_baselines # It is odd that gcc doesn't include this automatically, but clang does -- 2.28.0signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---On 2020-11-21, Michael R. Crusoe wrote: > On Sat, 03 Oct 2020 09:38:03 -0700 Vagrant Cascadian > <vagr...@reproducible-builds.org> wrote: >> On 2020-09-29, Vagrant Cascadian wrote: >> > When run with DEB_BUILD_OPTIONS=reproducible=+fixfilepath, simde FTBFS: >> > >> > clang: error: unknown argument: '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' >> > >> > This is because clang 10 is the first version to support >> > -ffile-prefix-map, and simde is building with the default clang version >> > 9. >> > >> > The attached patch updates to clang-10 to fix this issue. >> >> Though clang 11 might become the default for bullseye, in which case >> this would be a needless change; I haven't tested if simde builds fine >> with clang 11. > > Thank you Vagrant for reporting this issue and your patch. > > SIMDe is a header-only library, the compilation is just to test the > library against the default GCC & clang versions in Debian. I would > prefer to keep testing the default versions, to get ahead of any bugs > that might appear. With the update of llvm-defaults to use clang version 11, simde appears to build fine on the reproducible builds infrastructure, even when setting "DEB_BUILD_OPTIONS=reproducible=+fixfilepath" so I do not expect any changes are needed for simde directly. Marking as done! live well, vagrantsignature.asc
Description: PGP signature
--- End Message ---