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)
Thomas Schwinge
thomas@codesourcery.com
Wed Dec 4 15:09:00 GMT 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20131204/e2f430e6/attachment.sig>
More information about the Libc-alpha
mailing list