[Reproducible-builds] Bug#832015: libblocksruntime: FTBFS with -fdebug-prefix-map

Mattia Rizzolo mattia at debian.org
Thu Jul 21 10:59:00 UTC 2016


Source: libblocksruntime
Version: 0.4.1-1
Version: 1.302-1
Severity: important
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Control: block -1 by 819185

Dear maintainer, your package FTBFS when dpkg enables the build flag
-fdebug-prefix-map from the reproducible/fixdebugpath feature area:

debian/rules build
dh build
   dh_testdir
   dh_update_autotools_config
   dh_auto_configure
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for clang... clang
checking whether the C compiler works... no
configure: error: in `/build/libblocksruntime-0.4.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
	"tail -v -n +0 config.log"
[...]
configure:2264: checking whether the C compiler works
configure:2286: clang -g -O2 -fdebug-prefix-map=/build/libblocksruntime-0.4.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c  >&5
clang: error: unknown argument: '-fdebug-prefix-map=/build/libblocksruntime-0.4.1=.'
configure:2290: $? = 1
configure:2328: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libBlocksRuntime"
| #define PACKAGE_TARNAME "libblocksruntime"
| #define PACKAGE_VERSION "0.4.1"
| #define PACKAGE_STRING "libBlocksRuntime 0.4.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2333: error: in `/build/libblocksruntime-0.4.1':
configure:2335: error: C compiler cannot create executables



Please note that the intention is to enable this build flag RSN
https://lists.debian.org/msgid-search/20160718085659.GI7462@chase.mapreri.org


A quick workaround would be to disable the reproducible/fixdebugpath
buildflags with
    export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixdebugpath

The real problem here is that clang 3.7 doesn't support
-fdebug-prefix-map, whilst 3.8 does.  See the blocking bug for more
information.  You might either want to wait for clang to either switch
to 3.8 or backport the patch, or to workaround it by disabling the
buildflag.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160721/6e6024ff/attachment.sig>


More information about the Reproducible-builds mailing list