bugGNU gettext - Bugs: bug #43037, fix tests/autopoint-3,...

 
 

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

bug #43037: fix tests/autopoint-3, cross-compile libintl

Submitted by:  Benedikt Morbach <bmorbach>
Submitted on:  Wed 20 Aug 2014 11:58:51 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 05 Sep 2014 06:46:22 AM UTC, comment #2:

By the way, if you just want to avoid the test failure, the safest solution would be using libtool. I've tweaked the test to do so:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?h=maint&id=d1e71423b911a70a36dc7b764e46954ba7f4f668

Daiki Ueno <ueno>
Project Administrator
Fri 05 Sep 2014 03:42:05 AM UTC, comment #1:

Thanks, the patch makes sense. I'd like to make a couple of minor modifications:

- Add a guard around AC_CHECK_TOOLS, to make sure if $AR is not defined. It might already set to other command, like "cc -c.a" on Minix:
http://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/gnulib-common.m4#n272

- Supply the default value to AC_CHECK_TOOLS, so @AR@ be always substituted.

Daiki Ueno <ueno>
Project Administrator
Wed 20 Aug 2014 11:58:51 PM UTC, original submission:

currently libintl fails to build in tests/autopoint-3 here, as it uses AR = ar, but our cross-compile toolchain only has host-/target-prefixed tools.

CC, RANLIB, .. use the proper host-prefixed names to allow cross compilation.

The attached patch adds the same behavior for ar.

This will also need to be added to archive.dir.tar, but afaics that is generated on release?

Benedikt Morbach <bmorbach>

 

Attached Files

 

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 bmorbach (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 11:53:49 AM UTChaibleCategoryNone=>Build
    Wed 20 Aug 2014 11:58:51 PM UTCbmorbachAttached File-=>Added gettext-0.19.2-look-for-host-prefixed-ar.patch, #31930

    Back to the top


    Powered by Savane 3.1-cleanup1