[Bug 2002251] [NEW] libtool 2.4.7 needs to be backported to Jammy

Kamila Szewczyk 2002251 at bugs.launchpad.net
Sun Jan 8 18:21:48 UTC 2023


Public bug reported:

Hello.

I am a maintainer of the bzip3 statistical data compression program.

My software is currently being packaged for Homebrew, however, the
reviewers found an issue caused by an outdated version of libtool in the
Ubuntu Jammy which is fixed in new libtool versions (e.g. 2.4.7-5 on
Debian Sid which I am using). The following patch to the `configure'
file as generated using `libtool.m4' needs to be applied, since the
logic in `libtool.m4' in this particular version is invalid:

--- a/configure.orig	2021-09-26 09:39:54.000000000 -0700
+++ b/configure		2021-09-26 09:40:56.000000000 -0700
@@ -8427,16 +8427,11 @@
       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     darwin1.*)
       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-    darwin*) # darwin 5.x on
-      # if running on 10.5 or later, the deployment target defaults
-      # to the OS version, if on x86, and 10.4, the deployment
-      # target defaults to 10.4. Don't you love it?
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
-	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-	10.[012]*)
+    darwin*)
+      case ${MACOSX_DEPLOYMENT_TARGET},$host in
+	10.[012],*|,*powerpc*)
 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-	10.*)
+	*)
 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
       esac
     ;;

Furthermore, we are compelled to use Ubuntu Jammy (I would have upgraded
otherwise), but Github Actions hosted runners do not support it, so us
and other maintainers who don't keep generated `configure' files in the
source code trunk would be very thankful for this backport.

Yours, Kamila Szewczyk

** Affects: libtool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libtool in Ubuntu.
https://bugs.launchpad.net/bugs/2002251

Title:
  libtool 2.4.7 needs to be backported to Jammy

Status in libtool package in Ubuntu:
  New

Bug description:
  Hello.

  I am a maintainer of the bzip3 statistical data compression program.

  My software is currently being packaged for Homebrew, however, the
  reviewers found an issue caused by an outdated version of libtool in
  the Ubuntu Jammy which is fixed in new libtool versions (e.g. 2.4.7-5
  on Debian Sid which I am using). The following patch to the
  `configure' file as generated using `libtool.m4' needs to be applied,
  since the logic in `libtool.m4' in this particular version is invalid:

  --- a/configure.orig	2021-09-26 09:39:54.000000000 -0700
  +++ b/configure		2021-09-26 09:40:56.000000000 -0700
  @@ -8427,16 +8427,11 @@
         _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
       darwin1.*)
         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  -    darwin*) # darwin 5.x on
  -      # if running on 10.5 or later, the deployment target defaults
  -      # to the OS version, if on x86, and 10.4, the deployment
  -      # target defaults to 10.4. Don't you love it?
  -      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  -	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  -	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  -	10.[012]*)
  +    darwin*)
  +      case ${MACOSX_DEPLOYMENT_TARGET},$host in
  +	10.[012],*|,*powerpc*)
   	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  -	10.*)
  +	*)
   	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
         esac
       ;;

  Furthermore, we are compelled to use Ubuntu Jammy (I would have
  upgraded otherwise), but Github Actions hosted runners do not support
  it, so us and other maintainers who don't keep generated `configure'
  files in the source code trunk would be very thankful for this
  backport.

  Yours, Kamila Szewczyk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/2002251/+subscriptions




More information about the foundations-bugs mailing list