appstream-glib icon indicating copy to clipboard operation
appstream-glib copied to clipboard

meson build test phase writes and leaves files in /tmp

Open pacho2 opened this issue 1 year ago • 1 comments

As reported downstream at: https://bugs.gentoo.org/659446

Running of the tests leaves some directories and files in /tmp /tmp/32x32/ /tmp/destdir/ /tmp/origin/ /tmp/foo.png

Debian looks to try to avoid that issue setting XDG_RUNTIME_DIR to a different value: https://salsa.debian.org/pkgutopia-team/appstream-glib/-/blob/master/debian/rules?ref_type=heads#L40

But, at least on my Gentoo system, it seems that it is not honored and continues to write on /tmp

Thanks

pacho2 avatar Nov 17 '24 12:11 pacho2

A merge request would be very welcome.

hughsie avatar Nov 17 '24 15:11 hughsie