maintainer-feedback requested: [Bug 238548] devel/dbus: non-default TMPDIR pollutes build products

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 13 19:36:18 UTC 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-gnome mailing list
<gnome at FreeBSD.org> for maintainer-feedback:
Bug 238548: devel/dbus: non-default TMPDIR pollutes build products
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238548



--- Description ---
If you have a TMPDIR in your environment that points to an existing directory
other than /tmp (e.g., TMPDIR=/bigfilesystem/tmp), when you build devel/dbus, a
couple files get built with that value.

The affected files are share/dbus-1/session.conf and bin/dbus-cleanup-sockets.

When the package is installed on a target system that may not have the
non-default TMPDIR used at build time, then you will get run-time errors.  Such
as:

% dbus-launch sh
Failed to start message bus: Failed to bind socket
"/bigfilesystem/tmp/dbus-1nT4MYueXb": No such file or directory
EOF in dbus-launch reading address from bus daemon

Attached is a patch to insulate the build from non-default TMPDIR in the build
environment.

This should not change the package at all if the build host did not have a
non-default TMPDIR, so there's no great need to bump PORTREVISION, but you
could.


More information about the freebsd-gnome mailing list