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

Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>

To reply to this bug, email your comments to 67754 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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.




Information forwarded to bug-libtool <at> gnu.org:
bug#67754; Package libtool. (Mon, 13 Jan 2025 16:07:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 67754 <at> debbugs.gnu.org
Cc: Karl Berry <karl <at> freefriends.org>
Subject: Re: bug#67754: tags for objc and objcxx
Date: Mon, 13 Jan 2025 18:05:50 +0200
[Message part 1 (text/plain, inline)]
I have finally implemented tagging support for OBJC and OBJCXX! [1]
(Sorry for the wait...) I have tested minimally on Debian and Ubuntu
GNU/Linux and macOS 13-15 to verify Objective-C and Objective-C++ source
code would compile. If there are any updates needed for the current
implementation, I would be happy to accept suggestions and patches. :)

[1] 
https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=c010d1e93fa6e3580543353e4cdc33a1fcb68781

-- 
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. (Mon, 13 Jan 2025 22:20:01 GMT) Full text and rfc822 format available.

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

From: Karl Berry <karl <at> freefriends.org>
To: ileanadumitrescu95 <at> gmail.com
Cc: 67754 <at> debbugs.gnu.org
Subject: Re: bug#67754: tags for objc and objcxx
Date: Mon, 13 Jan 2025 15:18:41 -0700
Thank you, Ileana. (So glad you've revived libtool.)  I have no good way
to test it before a release, but maybe others on Automake will.

Looking at my original report here, I also suggested a tweak to the doc
which I don't see in your patch? Or maybe I'm missing something.

kb> 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.

Thanks again. -k




Information forwarded to bug-libtool <at> gnu.org:
bug#67754; Package libtool. (Tue, 14 Jan 2025 15:30:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 67754 <at> debbugs.gnu.org
Cc: Karl Berry <karl <at> freefriends.org>
Subject: Re: bug#67754: tags for objc and objcxx
Date: Tue, 14 Jan 2025 17:29:24 +0200
[Message part 1 (text/plain, inline)]
> Looking at my original report here, I also suggested a tweak to the doc
> which I don't see in your patch? Or maybe I'm missing something.

I did forget about that. It looks like this has been incorrect for many
years, but it is fixed now [1]. Thank you!

[1] 
https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=fd591c8a634ea4fba03578a6936e4d0576e58a1c

-- 
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)]

Reply sent to Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>:
You have taken responsibility. (Thu, 13 Feb 2025 15:52:02 GMT) Full text and rfc822 format available.

Notification sent to Karl Berry <karl <at> freefriends.org>:
bug acknowledged by developer. (Thu, 13 Feb 2025 15:52:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 67754-done <at> debbugs.gnu.org
Cc: Karl Berry <karl <at> freefriends.org>
Subject: Re: bug#67754: tags for objc and objcxx
Date: Thu, 13 Feb 2025 17:51:16 +0200
[Message part 1 (text/plain, inline)]
The tagging for objc and objcxx has been moved to master [1], so closing.

[1] 
https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=1d871cc45bf13c643c61d3d368b50d7e3455c0b8

-- 
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)]

This bug report was last modified 3 days ago.

Previous Next


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