Do not break autopoint by cleaning out /usr/share/gettext in stage1
authorAnthony G. Basile <blueness@gentoo.org>
Mon, 29 Oct 2012 20:30:51 +0000 (16:30 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Mon, 29 Oct 2012 20:36:32 +0000 (16:36 -0400)
The problem comes in stage3 when you have packages that inherit autotools.eclass.
The eclass may make use of gettext and run autopoint which will fail if it doesn't
find  /usr/share/gettext/archive.dir.tar.gz.

X-Gentoo-Bug: 439636
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439636
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
modules/stage1_target.py

index b97bd891ffdc6a42c465e41811cf92495c710be9..0a93c88b7914beeafcec63d7bcb1bfad32b9cdc2 100644 (file)
@@ -28,7 +28,7 @@ class stage1_target(generic_stage_target):
 
        def set_cleanables(self):
                generic_stage_target.set_cleanables(self)
-               self.settings["cleanables"].extend(["/usr/share/gettext",\
+               self.settings["cleanables"].extend([\
                "/usr/lib/python2.2/test", "/usr/lib/python2.2/email",\
                "/usr/lib/python2.2/lib-tk", "/usr/lib/python2.3/test",\
                "/usr/lib/python2.3/email", "/usr/lib/python2.3/lib-tk",\