Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/9999: 00_all_0001-disable-ldconfig-during-install.patch README.history
Date: Tue, 08 Aug 2017 11:06:14
Message-Id: 20170808110610.02A0C75FB@oystercatcher.gentoo.org
1 slyfox 17/08/08 11:06:10
2
3 Modified: README.history
4 Added: 00_all_0001-disable-ldconfig-during-install.patch
5 Log:
6 disable ldconfig run in 9999 patchset
7
8 Revision Changes Path
9 1.2 src/patchsets/glibc/9999/README.history
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/9999/README.history?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/9999/README.history?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/9999/README.history?r1=1.1&r2=1.2
14
15 Index: README.history
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/9999/README.history,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- README.history 7 Aug 2017 08:32:12 -0000 1.1
22 +++ README.history 8 Aug 2017 11:06:09 -0000 1.2
23 @@ -1,2 +1,4 @@
24 +2 08 Aug 2017
25 + + 00_all_0001-disable-ldconfig-during-install.patch
26 1 07 Aug 2017
27 + README.history: intentionally empty
28
29
30
31 1.1 src/patchsets/glibc/9999/00_all_0001-disable-ldconfig-during-install.patch
32
33 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/9999/00_all_0001-disable-ldconfig-during-install.patch?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/9999/00_all_0001-disable-ldconfig-during-install.patch?rev=1.1&content-type=text/plain
35
36 Index: 00_all_0001-disable-ldconfig-during-install.patch
37 ===================================================================
38 From 1eff1226630034286c3ae5fa1376eb76211690df Mon Sep 17 00:00:00 2001
39 From: Mike Frysinger <vapier@g.o>
40 Date: Wed, 1 Apr 2009 02:15:48 -0400
41 Subject: [PATCH] disable ldconfig during install
42
43 Do not bother running ldconfig on DESTDIR. It's a waste of time as we
44 won't use the result (portage will rebuild the cache after install).
45 Also, the Gentoo sandbox does not currently catch chroot() behavior so
46 we end up (incorrectly) flagging it as a violation as a write to /etc.
47
48 http://sourceware.org/ml/libc-alpha/2012-08/msg00118.html
49 https://bugs.gentoo.org/431038
50 ---
51 Makefile | 1 +
52 1 file changed, 1 insertion(+)
53
54 diff --git a/Makefile b/Makefile
55 index 425cb796dba6..bf44b0467282 100644
56 --- a/Makefile
57 +++ b/Makefile
58 @@ -107,6 +107,7 @@ install-symbolic-link: subdir_install
59 rm -f $(symbolic-link-list)
60
61 install:
62 +dont-bother-with-destdir:
63 -test ! -x $(elf-objpfx)ldconfig || LC_ALL=C \
64 $(elf-objpfx)ldconfig $(addprefix -r ,$(install_root)) \
65 $(slibdir) $(libdir)
66 --
67 2.11.0