bugGNU gettext - Bugs: bug #64536, Gettext-0.22: lib/libintl.la not...

 
 

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

bug #64536: Gettext-0.22: lib/libintl.la not being installed

Submitter:  David Bohman <debohman>
Submitted:  Wed 09 Aug 2023 09:21:37 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Jump to the original submission

Sun 17 Dec 2023 01:16:56 AM UTC, comment #8: 

Just a reminder, this fix is not in gettext-0.22.4.

David Bohman <debohman>
Sun 24 Sep 2023 11:43:54 PM UTC, comment #7: 

Okay, thank you.

David Bohman <debohman>
Sat 23 Sep 2023 06:28:18 AM UTC, comment #6: 


> This is not fixed in gettext-0.22.2.


Correct. It will be fixed in a future release.

Bruno Haible <haible>
Group administrator
Sat 23 Sep 2023 01:28:16 AM UTC, comment #5: 

This is not fixed in gettext-0.22.2.

David Bohman <debohman>
Wed 13 Sep 2023 10:29:16 PM UTC, comment #4: 

I understand, but some projects do depend on it, libxslt comes to mind. The configure script gave a fatal error after I had installed gettext-0.22, since libintl.la was no longer present.

Thank you for the resolution.

David Bohman <debohman>
Wed 13 Sep 2023 09:19:14 PM UTC, comment #3: 

The loss of libintl.la is not important:
The main purpose of .la files is for linking with libraries that are part of the same package (in the build tree). While linking with shared libraries is possible through .la files, see https://www.gnu.org/software/libtool/manual/html_node/Linking-executables.html#Linking-executables , people usually don't do it this way. For example, in my Debian-based installation, there are 557 files named /usr/lib/*.so or /usr/lib/*/*.so, but only 7 files named /usr/lib/*.la or /usr/lib/*/*.la; that's roughly 1%.

However, the use of the 'relocatable' facility is not needed any more, after GNU libiconv no longer installs a config.charset file and GNU libintl no longer comes with its own locale.alias file. So, I removed this code, and as a consequence, libintl.la gets installed again. Done through
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=e0caff2252091ebff1608d2a6f0780b08282dfce
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=b182c17096847cb581c3e2c3f42c145c47c7c7a6

Bruno Haible <haible>
Group administrator
Thu 17 Aug 2023 10:39:05 PM UTC, comment #2: 

Note that specifying --enable-relocatable=no does not work in gettext-0.22. It results in lib/libintl.la not being installed.

David Bohman <debohman>
Thu 17 Aug 2023 08:27:39 PM UTC, comment #1: 

Could we do the following to resolve this problem:

--- a/gettext-runtime/intl/configure.ac
+++ b/gettext-runtime/intl/configure.ac
@@ -43,8 +43,6 @@ dnl Set preferences for the gnulib module 'threadlib'.
 gl_AVOID_WINPTHREAD

 dnl Set preferences for the gnulib module 'relocatable-lib-lgpl':
-dnl Enable relocatability unconditionally.
-enable_relocatable=yes

 dnl Early checks, assembled by gnulib.
 gl_EARLY


David Bohman <debohman>
Wed 09 Aug 2023 09:21:37 PM UTC, original submission:  

In contrast to gettext-0.21.1, libintl.la is not being installed. I
traced it down to the following change in
gettext-runtime/intl/configure.ac:

+dnl Set preferences for the gnulib module 'relocatable-lib-lgpl':
+dnl Enable relocatability unconditionally.
+enable_relocatable=yes

It seems that there is no way to disable-relocatable for libintl any longer. I am wondering about the reason for this change. The other gettext libraries do install .la files when you do not
enable-relocatable.

David Bohman <debohman>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by debohman (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-13 haible CategoryOther Build
        StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code