bugGNU gettext - Bugs: bug #44925, configure.ac errors in...

 
 

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

bug #44925: configure.ac errors in gettext-runtime under mingw32

Submitted by:  None
Submitted on:  Sat 25 Apr 2015 06:23:26 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Duplicate
Privacy: PublicAssigned to: Daiki Ueno <ueno>
Open/Closed: Closed

Sat 25 Apr 2015 11:38:11 PM UTC, comment #2:

The problem is that build-aux/git-version-gen was mistakenly not included in that version. That should be fixed in the 0.19.4 release after this commit:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=474582b5

Daiki Ueno <ueno>
Project AdministratorIn charge of this item.
Sat 25 Apr 2015 06:24:27 PM UTC, comment #1:

Apologies, this also happens in gettext-tools, as seen by the attached patch, which I did not mention.

Anonymous
Sat 25 Apr 2015 06:23:26 PM UTC, original submission:

Dear GNU gettext devs,

I have found that when attempting to cross-compile for mingw32 under debian x86_64, I get the following errors when building getext-0.19.3, as unpacked with dpkg-source -x on gettext_0.189.3-2

I get:
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/pcuser/mingw32/deps/gettext-0.19.3/build-aux/missing aclocal-1.14 -I m4 -I ../m4 -I gnulib-m4
sh: 1: ../build-aux/git-version-gen: not found
configure.ac:25: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.14/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:25: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.14: error: echo failed with exit status: 1
Makefile:1275: recipe for target 'aclocal.m4' failed
make[2]: *** [aclocal.m4] Error 1
make[2]: Leaving directory '/home/pcuser/mingw32/deps/gettext-0.19.3/gettext-runtime'

This seems to stem from the use of AC_INIT in the gettext-runtime subfolder, where no version number is supplied. The attached patch seems to "fix" the problem (and is likely not doing it correctly). I am uncertain if this is the root cause, as I am hardcoding the version number which seems not quite right.

Also, I note that the primary gettext configure.ac does not supply a version number either - I don't understand why this is needed in one and not the other. I assume this is because aclocal is not running on the base configure?

Thanks!

Anonymous

 

Attached Files
file #33786:  gettext-fix-configure-versions added by None (1KiB - application/octet-stream)

 

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)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:02:02 PM UTChaibleCategoryNone=>Build
      Assigned toNone=>ueno
    Sat 25 Apr 2015 11:38:11 PM UTCuenoStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Sat 25 Apr 2015 06:23:26 PM UTCNoneAttached File-=>Added gettext-fix-configure-versions, #33786

    Back to the top


    Powered by Savane 3.1-cleanup1