This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Weird behavior in glibc Makefiles, or: another example why you should never build software as root user (was: r5848 - in glibc-package/branches/eglibc-2.18/debian: . rules.d)


Hi!

Just seen this in the Debian glibc development repository:

On Sun,  1 Dec 2013 21:20:24 +0000, Aurelien Jarno <aurel32@moszumanska.debian.org> wrote:
> Author: aurel32
> Date: 2013-12-01 21:20:24 +0000 (Sun, 01 Dec 2013)
> New Revision: 5848

> --- glibc-package/branches/eglibc-2.18/debian/rules.d/build.mk	2013-12-01 21:03:01 UTC (rev 5847)
> +++ glibc-package/branches/eglibc-2.18/debian/rules.d/build.mk	2013-12-01 21:20:24 UTC (rev 5848)
> @@ -57,6 +57,11 @@
>  	echo "slibdir = $(call xx,slibdir)"       >> $(DEB_BUILDDIR)/configparms
>  	echo "rtlddir = $(call xx,rtlddir)"       >> $(DEB_BUILDDIR)/configparms
>  
> +	# Define the installation directory for all calls to make. This avoid
> +	# broken glibc makefiles to spuriously trigger install rules trying to
> +	# overwrite system headers.
> +	echo "install_root = $(CURDIR)/debian/tmp-$(curpass)" >> $(DEB_BUILDDIR)/configparms

Just for reference, this very much looks like the issue (as well as the
"solution") that I've described in
<http://news.gmane.org/find-root.php?message_id=%3C871uv99c59.fsf%40kepler.schwinge.homeip.net%3E>.
Someone ;-) should be doing something about this eventually.


GrÃÃe,
 Thomas

Attachment: pgpy5LoB1Qkd4.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]