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

Bug#915423: xfce4-session: reproducible build (usrmerge): embeds path of rm found via PATH



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, 2018-12-03 at 20:02 +0100, Ansgar Burchardt wrote:
> Source: xfce4-session
> Version: 4.12.1-6
> Severity: normal
> Tags: patch
> User: md@linux.it
> Usertags: usrmerge
> Control: user reproducible-builds@lists.alioth.debian.org
> Control: usertag -1 + environment
> 
> Dear Maintainer,
> 
> According to reproducible build tests xfce4-session gets built
> differently on a merged-usr system vs a non-merged system.
> 
> The package embeds the full path of rm. Since PATH defaults to
> /usr/bin before /bin, the first will be used on a usrmerged system
> where they're both essentially the same thing, but /usr/bin/rm does
> not exist on non-merged systems.
> 
> The attached patch passes `RM=/bin/rm` to explicitly set the path.

Hi,

I didn't follow recent discussions on usrmerge, but are we sure explicitly
adding snippets like this to every relevant package is the right way to fix
that? It looks a bit hacky to me (also couldn't that be done in debhelper or
something?).

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlwNIswACgkQ3rYcyPpX
RFsi2AgA35yWi7pUVlmyDz18S+2bvZkVd5yojUko+U2UKrODkThR67iC3bAQJPUf
hXgvMPtSyoHrFPuaQYexWuhU5Hobn3D7P6mrAxwYVLjfsdTbbyYdvtEtfI2RIj6Q
DvXvRtFOjm1QRB3nKugDj8FQRZt54Uu+K6ovreiUs86ZZ0TH3vSUh516dlUZns59
cr/FC9pTJDQxUqZ7VhbUWkUoN/bxLYqIPAhgLwpkCBLcBKnzmiCNxgHLceU56odF
3gAVM9xqNVJ2/Vo5gbbjlTaQBF+Eg8tozEIjxSxCgvJWWYq5t8ralfYSKKG2Bwx0
geTiA1Rj9n5tuaYIQwbjms8J2xoyJA==
=GRJS
-----END PGP SIGNATURE-----


Reply to: