1 |
commit: d647a08e7b0369c4479d9a8ada3c55ea047f165b |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 29 20:30:51 2012 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 29 20:30:51 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=d647a08e |
7 |
|
8 |
Do not break autopoint by cleaning out /usr/share/gettext in stage1 |
9 |
|
10 |
The problem comes in stage3 when you have packages that inherit autotools.eclass. |
11 |
The eclass may make use of gettext and run autopoint which will fail if it doesn't |
12 |
find /usr/share/gettext/archive.dir.tar.gz. |
13 |
|
14 |
X-Gentoo-Bug: 439636 |
15 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439636 |
16 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
17 |
|
18 |
The fix is to remove /usr/share/gettext from the list of stage1 cleanables. |
19 |
|
20 |
--- |
21 |
modules/stage1_target.py | 2 +- |
22 |
1 files changed, 1 insertions(+), 1 deletions(-) |
23 |
|
24 |
diff --git a/modules/stage1_target.py b/modules/stage1_target.py |
25 |
index b97bd89..0a93c88 100644 |
26 |
--- a/modules/stage1_target.py |
27 |
+++ b/modules/stage1_target.py |
28 |
@@ -28,7 +28,7 @@ class stage1_target(generic_stage_target): |
29 |
|
30 |
def set_cleanables(self): |
31 |
generic_stage_target.set_cleanables(self) |
32 |
- self.settings["cleanables"].extend(["/usr/share/gettext",\ |
33 |
+ self.settings["cleanables"].extend([\ |
34 |
"/usr/lib/python2.2/test", "/usr/lib/python2.2/email",\ |
35 |
"/usr/lib/python2.2/lib-tk", "/usr/lib/python2.3/test",\ |
36 |
"/usr/lib/python2.3/email", "/usr/lib/python2.3/lib-tk",\ |