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

Submitted by:  Michał Górny <michalgorny>
Submitted on:  Tue 15 Oct 2013 04:39:22 PM UTC  
 
Category: Programmer toolsSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Daiki Ueno <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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 01:52:46 AM UTChaibleCategoryNone=>Programmer tools
      Assigned toNone=>ueno
    Wed 16 Oct 2013 07:39:39 AM UTCuenoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1