bugGNU gettext - Bugs: bug #26149, msgmerge fails on macos with...

 
 

bug #26149: msgmerge fails on macos with "No such file or directory"

Submitted by:  None
Submitted on:  Sat Apr 11 17:07:56 2009  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun Apr 19 18:43:36 2009, comment #2:

> /usr/local/bin/msgmerge: `x.po': No such file or directory


Thanks for reporting this. This is a bug in gnulib's copy_file
function, that is used for making a backup of x.po.

The bug was reported in
http://lists.gnu.org/archive/html/bug-gnulib/2008-05/msg00149.html
and subsequently fixed in gnulib. The fix will be contained
in gettext 0.18.

The simplest workaround for you is to pass the option
--backup=none to msgmerge.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Sat Apr 11 17:18:30 2009, comment #1:

Ups, the order of params was incorrect but even if I correct that there is still problem:

mac:~ br$ /usr/local/bin/msgmerge -vU x.po x.pot
.
Read 1 old + 1 reference, merged 0, fuzzied 0, missing 1, obsolete 0.
/usr/local/bin/msgmerge: `x.po': No such file or directory

In case of any questions please contact me: -unavailable-

Anonymous
Sat Apr 11 17:07:56 2009, original submission:

Hi, I'm trying to use msgmerge on macos (leopard).
I use the following command:

mac:~ br$ /usr/local/bin/msgmerge -Uv x.pot x.po -U
.
Read 1 old + 1 reference, merged 0, fuzzied 0, missing 1, obsolete 1.
/usr/local/bin/msgmerge: `x.pot': No such file or directory

I've tried using gettext version from macports.org or building my own from sources.

Both files exist 'msgmerge x.pot x.po' (without update option) works fine. The only problem is with -U or (--update) option.

I have no idea why...

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 (Posted a comment)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Apr 19 18:43:36 2009haibleStatusNone=>Fixed
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup