Bug#837390: libp4est-dev: arch-dependent files in "Multi-Arch: same" package

Mattia Rizzolo mattia at debian.org
Sun Sep 11 09:53:08 UTC 2016


On Sun, Sep 11, 2016 at 11:34:00AM +0200, Jakub Wilk wrote:
> libp4est-dev is marked as "Multi-Arch: same", but the following files are
> architecture-dependent:
> 
> /usr/include/p4est_config.h
> /usr/include/sc_config.h
> 
> An example diff between armhf and s390x is attached.
> 
> diff -ur libp4est-dev_1.1-3_armhf/usr/include/p4est_config.h libp4est-dev_1.1-3_s390x/usr/include/p4est_config.h
> --- libp4est-dev_1.1-3_armhf/usr/include/p4est_config.h	2016-09-09 13:06:31.000000000 +0000
> +++ libp4est-dev_1.1-3_s390x/usr/include/p4est_config.h	2016-09-09 13:06:31.000000000 +0000
> @@ -25,7 +25,7 @@
>  
>  /* C compiler flags */
>  #ifndef P4EST_CFLAGS
> -#define P4EST_CFLAGS "-g -O2 -fdebug-prefix-map=/build/p4est-IGjJEu/p4est-1.1=. -fstack-protector-strong -Wformat -Werror=format-security"
> +#define P4EST_CFLAGS "-g -O2 -fdebug-prefix-map=/build/p4est-M7EZ0w/p4est-1.1=. -fstack-protector-strong -Wformat -Werror=format-security"
>  #endif

let me also add that this is not just a matter of stripping out
-fdebug-prefix-map (though it would work for this limited diff), as
there is no assurance that binaries are built at the same ~time, or with
the same version of dpkg-dev, or with the same set build flags.

-- 
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: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160911/f3ddb43a/attachment.sig>


More information about the debian-science-maintainers mailing list