[Debian-med-packaging] Bug#832013: [Reproducible-builds] Bug#832013: clustalx: FTBFS with -fdebug-prefix-map

Andreas Tille andreas at an3as.eu
Thu Jul 21 15:24:20 UTC 2016


Hi Daniel,

I'm afraid I uploaded before I received this patch but using ':' rather
than '#'. :-)

Thanks for the patch anyway

       Andreas.

On Thu, Jul 21, 2016 at 03:34:58PM +0200, Daniel Kahn Gillmor wrote:
> Control: tags 832013 + patch
> 
> In https://bugs.debian.org/832013, Mattia Rizzolo wrote:
> > A quick workaround would be to disable the reproducible/fixdebugpath
> > buildflags with
> >     export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixdebugpath
> >
> > A possibly more proper fix would be to use a different separator than /,
> > like : or #.
> 
> here's a simple patch for the latter fix.
> 
>        --dkg
> 

> diff --git a/debian/rules b/debian/rules
> index c6e859b..8ac2f49 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -5,9 +5,9 @@
>  override_dh_auto_configure:
>  	qmake-qt4
>  	# did not found a better way to push hardening flags into Makefile
> -	sed -i -e "s/CFLAGS *= .*/& $(CFLAGS)/" \
> -	       -e "s/CXXFLAGS *= .*/& $(CXXFLAGS)/" \
> -	       -e "s/LFLAGS *= .*/& $(LDFLAGS)/" Makefile
> +	sed -i -e "s#CFLAGS *= .*#& $(CFLAGS)#" \
> +	       -e "s#CXXFLAGS *= .*#& $(CXXFLAGS)#" \
> +	       -e "s#LFLAGS *= .*#& $(LDFLAGS)#" Makefile
>  
>  override_dh_clean:
>  	$(RM) moc_*

> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list