bugGNU GRUB - Bugs: bug #28356, Build failure with external...


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

bug #28356: Build failure with external gettext (patch provided)

Submitter:  GrĂ©goire Sutre <gsutre>
Submitted:  Sun 20 Dec 2009 10:31:21 PM UTC
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  blusseau Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Bazaar - trunk Reproducibility:  Every Time
Planned Release:  None

Sun 20 Dec 2009 10:31:21 PM UTC, original submission:  

With an external installation of GNU gettext, linking of grub utilities fails on my system (NetBSD 5.0), even though configure detects properly the external gettext.

The full log of (./autogen.sh && ./configure CC=/usr/pkg/gcc44/bin/gcc CPPFLAGS=-I/tmp/local/include LDFLAGS=-L/tmp/local/lib && gmake) is attached (gettext was installed in /tmp/local).

According to GNU gettext's manual, the macro AM_GNU_GETTEXT sets the variables LIBINTL and LTLIBINTL to the linker options for use in a Makefile (LIBINTL for use without libtool, LTLIBINTL for use with libtool).

However, LIBINTL is not used in GRUB's makefiles.  I attach a patch that uses LIBINTL, and that solves the problem on my system.

Grégoire Sutre <gsutre>
Project Member


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

Attached Files
file #19322:  patch-gettext added by gsutre (1000B - application/octet-stream)
file #19321:  gettext-error.log added by gsutre (14KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by blusseau (Updated the item)
  • -email is unavailable- added by gsutre (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
    2010-01-02 blusseau Open/ClosedOpen Closed
        Release Bazaar - trunk
    2009-12-30 blusseau Assigned toNone blusseau
    2009-12-20 gsutre Attached File- Added gettext-error.log, #19321
        Attached File- Added patch-gettext, #19322

    Back to the top

    Powered by Savane 3.9