GNU bug report logs - #67754
tags for objc and objcxx

Previous Next

Package: libtool;

Reported by: Karl Berry <karl <at> freefriends.org>

Date: Sun, 10 Dec 2023 18:07:02 UTC

Severity: normal

To reply to this bug, email your comments to 67754 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#67754; Package libtool. (Sun, 10 Dec 2023 18:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Karl Berry <karl <at> freefriends.org>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Sun, 10 Dec 2023 18:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: bug-libtool <at> gnu.org
Subject: tags for objc and objcxx
Date: Sun, 10 Dec 2023 11:06:03 -0700
Hi (is there anyone maintaining libtool nowadays? Alex, are you there?) -

I just installed the patch below to Automake, passing the OBJC and
OBJCXX tags to libtool for the respective languages. It would be good if
libtool recognized those tags. 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67539

The reason to pass them before being recognized by libtool is to
avoid an immediate fatal error, as explained in that bug.
The libtool manual says (line 2930):
    [...] can't infer
    a tag, then it defaults to the configuration for the @code{C} language.

But clearly this is no longer the case, which seems like a good
thing. Thus I suggest replacing that text with something like:
    [...] can't infer
    a tag, then it exits immediately with a fatal error.

Happy hacking,
Karl

--- a/bin/automake.in
+++ b/bin/automake.in
@@ -739,6 +739,7 @@ register_language ('name' => 'objc',
 		   'compiler' => 'OBJCCOMPILE',
 		   'compile_flag' => '-c',
 		   'output_flag' => '-o',
+		   'libtool_flag' => 'OBJC',
 		   'lder' => 'OBJCLD',
 		   'ld' => '$(OBJC)',
 		   'pure' => 1,
@@ -757,6 +758,7 @@ register_language ('name' => 'objcxx',
 		   'compiler' => 'OBJCXXCOMPILE',
 		   'compile_flag' => '-c',
 		   'output_flag' => '-o',
+		   'libtool_flag' => 'OBJCXX',
 		   'lder' => 'OBJCXXLD',
 		   'ld' => '$(OBJCXX)',
 		   'pure' => 1,




Information forwarded to bug-libtool <at> gnu.org:
bug#67754; Package libtool. (Mon, 11 Dec 2023 01:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 67754 <at> debbugs.gnu.org (full text, mbox):

From: Alex Ameen <alex.ameen.tx <at> gmail.com>
To: Karl Berry <karl <at> freefriends.org>
Cc: 67754 <at> debbugs.gnu.org
Subject: Re: bug#67754: tags for objc and objcxx
Date: Sun, 10 Dec 2023 19:39:41 -0600
[Message part 1 (text/plain, inline)]
Hey yeah I'm here, but honestly I need to step down.

I have a kid on the way in a few weeks and have been really inattentive to
the libtool work.

Apologies for the radio silence.

On Sun, Dec 10, 2023, 12:07 PM Karl Berry <karl <at> freefriends.org> wrote:

> Hi (is there anyone maintaining libtool nowadays? Alex, are you there?) -
>
> I just installed the patch below to Automake, passing the OBJC and
> OBJCXX tags to libtool for the respective languages. It would be good if
> libtool recognized those tags.
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67539
>
> The reason to pass them before being recognized by libtool is to
> avoid an immediate fatal error, as explained in that bug.
> The libtool manual says (line 2930):
>     [...] can't infer
>     a tag, then it defaults to the configuration for the @code{C} language.
>
> But clearly this is no longer the case, which seems like a good
> thing. Thus I suggest replacing that text with something like:
>     [...] can't infer
>     a tag, then it exits immediately with a fatal error.
>
> Happy hacking,
> Karl
>
> --- a/bin/automake.in
> +++ b/bin/automake.in
> @@ -739,6 +739,7 @@ register_language ('name' => 'objc',
>                    'compiler' => 'OBJCCOMPILE',
>                    'compile_flag' => '-c',
>                    'output_flag' => '-o',
> +                  'libtool_flag' => 'OBJC',
>                    'lder' => 'OBJCLD',
>                    'ld' => '$(OBJC)',
>                    'pure' => 1,
> @@ -757,6 +758,7 @@ register_language ('name' => 'objcxx',
>                    'compiler' => 'OBJCXXCOMPILE',
>                    'compile_flag' => '-c',
>                    'output_flag' => '-o',
> +                  'libtool_flag' => 'OBJCXX',
>                    'lder' => 'OBJCXXLD',
>                    'ld' => '$(OBJCXX)',
>                    'pure' => 1,
>
>
>
> _______________________________________________
> Bug-libtool mailing list
> Bug-libtool <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-libtool
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-libtool <at> gnu.org:
bug#67754; Package libtool. (Tue, 12 Dec 2023 20:14:05 GMT) Full text and rfc822 format available.

Message #11 received at 67754 <at> debbugs.gnu.org (full text, mbox):

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: alex.ameen.tx <at> gmail.com
Cc: 67754 <at> debbugs.gnu.org, karl <at> freefriends.org
Subject: bug#67754: tags for objc and objcxx
Date: Tue, 12 Dec 2023 21:35:47 +0200
[Message part 1 (text/plain, inline)]
Hi!

> Hey yeah I'm here, but honestly I need to step down.
> 
> I have a kid on the way in a few weeks and have been really
> inattentive to the libtool work.
> 
> Apologies for the radio silence.

Would it be okay if I helped maintain libtool? I am a Debian Maintainer, 
and I have some experience with autotools. I have started testing this 
patch, and I know there are several other patches to review. I would be 
happy to start testing those as well.

I am reading through the GNU documentation and setting up my accounts. 
Is there anything else I should do to get started? I look forward to 
contributing to free GNU software. :)

Best,

-- 
Ileana Dumitrescu

GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
[OpenPGP_0x6570EA01146F7354.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#67754; Package libtool. (Tue, 12 Dec 2023 21:29:01 GMT) Full text and rfc822 format available.

Message #14 received at 67754 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: ileanadumitrescu95 <at> gmail.com
Cc: alex.ameen.tx <at> gmail.com, 67754 <at> debbugs.gnu.org
Subject: Re: bug#67754: tags for objc and objcxx
Date: Tue, 12 Dec 2023 14:28:30 -0700
Hi Ileana,

    Would it be okay if I helped maintain libtool?

Speaking as a libtool user, I would only be grateful.

    Is there anything else I should do to get started? 

Please email maintainers <at> gnu.org, so they can send you the forms and add
you to the various files.

    I look forward to contributing to free GNU software. :)

Yay! :) --thanks, karl.




This bug report was last modified 1 year and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.