bugGNU gettext - Bugs: bug #40278, 'autopoint' installs macros to /...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #40278: 'autopoint' installs macros to / when it can't find m4dir

Submitter:  Michał Górny <michalgorny>
Submitted:  Tue 15 Oct 2013 04:39:22 PM UTC
   
 
Category:  Programmer tools Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  ueno
Open/Closed:  Closed

Wed 16 Oct 2013 07:39:39 AM UTC, comment #1: 

Thanks for the report.  This was my mistake when refactoring the tracing code.  Pushed a fix:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?h=maint&id=38aa888cc88bb27930818ec8dc55033a072cbfd5

Daiki Ueno <ueno>
Group administrator
Tue 15 Oct 2013 04:39:22 PM UTC, original submission:  

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 /.

We've hit this in Gentoo with current xkeyboard-config sources.

Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=487794
xkeyboard-config bug: https://bugs.freedesktop.org/show_bug.cgi?id=70404

Our script/sandbox output:

  • 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

(...)

Michał Górny <michalgorny>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  • -email is unavailable- added by michalgorny (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-27 haible CategoryNone Programmer tools
        Assigned toNone ueno
    2013-10-16 ueno StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code