Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487794 - sys-devel/gettext-0.18.3.1: 'autopoint' installs macros to / when it can't find m4dir
Summary: sys-devel/gettext-0.18.3.1: 'autopoint' installs macros to / when it can't fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
: 484554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-12 16:52 UTC by Michał Górny
Modified: 2013-10-25 12:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-12 16:52:09 UTC
The code in autopoint tries to find m4dir using AC_CONFIG_MACRO_DIR and '-I' ACLOCAL_AMFLAGS in Makefile.am. However, when it fails to find one, instead of bailing out it starts copying macros to /.

This can be seen currently in x11-misc/xkeyboard-config-9999::x11:

 * Running autopoint --force ...
 * ACCESS DENIED:  unlinkat:     /codeset.m4
 * ACCESS DENIED:  open_wr:      /codeset.m4
 * ACCESS DENIED:  unlinkat:     /fcntl-o.m4
 * ACCESS DENIED:  open_wr:      /fcntl-o.m4
 * ACCESS DENIED:  unlinkat:     /gettext.m4
 * ACCESS DENIED:  open_wr:      /gettext.m4
(...)
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-10-25 11:07:36 UTC
*** Bug 484554 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-10-25 12:51:43 UTC
+*gettext-0.18.3.1-r1 (25 Oct 2013)
+
+  25 Oct 2013; Lars Wendler <polynomial-c@gentoo.org>
+  +gettext-0.18.3.1-r1.ebuild,
+  +files/gettext-0.18.3.1-use_m4_fallback_dir.patch:
+  Fixed autopoint installation to / when no m4dir was found (bug #487794).
+  Raised ebuild to EAPI-5. Switched to mono-env eclass.
+