GNU bug report logs - #70978
test suite failures on NetBSD

Previous Next

Package: libtool;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Thu, 16 May 2024 13:09:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70978 in the body.
You can then email your comments to 70978 AT debbugs.gnu.org in the normal way.

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#70978; Package libtool. (Thu, 16 May 2024 13:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Thu, 16 May 2024 13:09:01 GMT) Full text and rfc822 format available.

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

From: Bruno Haible <bruno <at> clisp.org>
To: bug-libtool <at> gnu.org
Subject: test suite failures on NetBSD
Date: Thu, 16 May 2024 15:08:01 +0200
[Message part 1 (text/plain, inline)]
Hi,

An automated test of the current libtool HEAD [1] exhibits
test failures on NetBSD 10.0/x86_64.

testsuite: 61 169 failed

The relevant test, AFAIK, is test 61. Find attached the file
tests/testsuite.dir/061/testsuite.log.

Bruno

[1] https://github.com/gnu-libtool/ci-check/actions
[testsuite.log (text/x-log, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#70978; Package libtool. (Mon, 17 Jun 2024 16:07:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: Bruno Haible <bruno <at> clisp.org>, 70978 <at> debbugs.gnu.org
Subject: Re: bug#70978: test suite failures on NetBSD
Date: Mon, 17 Jun 2024 19:05:08 +0300
[Message part 1 (text/plain, inline)]
Hi Bruno,

On 16/05/2024 16:08, Bruno Haible wrote:
> Hi,
> 
> An automated test of the current libtool HEAD [1] exhibits
> test failures on NetBSD 10.0/x86_64.
> 
> testsuite: 61 169 failed
> 
> The relevant test, AFAIK, is test 61. Find attached the file
> tests/testsuite.dir/061/testsuite.log.

I have not found a good solution for this test failure, so it is
currently being skipped on NetBSD, which fixes libtool's testsuite
errors. However, gnulib's test-option-parser.sh is failing, and I
am not sure where to start with debugging this. When you have time,
could you look at this for me?

> Bruno
> 
> [1] https://github.com/gnu-libtool/ci-check/action

-- 
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#70978; Package libtool. (Mon, 10 Feb 2025 20:25:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 70978 <at> debbugs.gnu.org
Cc: Bruno Haible <bruno <at> clisp.org>
Subject: Re: bug#70978: test suite failures on NetBSD
Date: Mon, 10 Feb 2025 22:24:02 +0200
[Message part 1 (text/plain, inline)]
I have applied a patch to the development branch [1] that resolves test
failure 61, currently 63: passing CXX flags through libtool.

For the test-option-parser.sh failure, I have applied a patch [2] on
github to skip testing the 'ksh' shell on NetBSD. stdout from a child
'ksh' shell is not redirecting properly to the parent shell. I am not
sure if this is a known issue with NetBSD's 'ksh' shell, but I did not
want to debug it further, which is why I chose to skip testing it. Since
'ksh' is the default shell for NetBSD, I have not committed this patch
to libtool, but I may do this later after some more research.

Otherwise, I think this issue can be closed.

[1] 
https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=8d9a120d0aaf7c63be909d33b67039103be5a8ab
[2] 
https://github.com/gnu-libtool/ci-check/blob/master/patches/0001-Skip-test-option-parser.sh-for-ksh-shell-on-NetBSD.patch

-- 
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#70978; Package libtool. (Tue, 11 Feb 2025 08:06:02 GMT) Full text and rfc822 format available.

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

From: Bruno Haible <bruno <at> clisp.org>
To: 70978 <at> debbugs.gnu.org, Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
Subject: Re: bug#70978: test suite failures on NetBSD
Date: Tue, 11 Feb 2025 09:05:33 +0100
Hi Ileana,

Ileana Dumitrescu wrote:
> I have applied a patch to the development branch [1] that resolves test
> failure 61, currently 63: passing CXX flags through libtool.

This patch does not look right: It replaces an option sequence

  --as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc

that has balanced uses of --as-needed/--no-as-needed with an option sequence

  --as-needed -lgcc_s

that leaves --as-needed in effect for the later linker options.

> For the test-option-parser.sh failure, I have applied a patch [2] on
> github to skip testing the 'ksh' shell on NetBSD. stdout from a child
> 'ksh' shell is not redirecting properly to the parent shell.

Oh yeah. This particular bug was unknown to me. But 'ksh' has a long-
standing reputation of being buggy. (Maybe because it was long used
by proprietary systems, which did not have bug trackers like modern
distros have?)

Bruno







Information forwarded to bug-libtool <at> gnu.org:
bug#70978; Package libtool. (Tue, 11 Feb 2025 16:01:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 70978 <at> debbugs.gnu.org
Cc: Bruno Haible <bruno <at> clisp.org>
Subject: Re: bug#70978: test suite failures on NetBSD
Date: Tue, 11 Feb 2025 18:00:28 +0200
[Message part 1 (text/plain, inline)]
Hi Bruno,

On 11/02/2025 10:05, Bruno Haible wrote:
> Hi Ileana,
> 
> Ileana Dumitrescu wrote:
>> I have applied a patch to the development branch [1] that resolves test
>> failure 61, currently 63: passing CXX flags through libtool.
> 
> This patch does not look right: It replaces an option sequence
> 
>    --as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc
> 
> that has balanced uses of --as-needed/--no-as-needed with an option sequence
> 
>    --as-needed -lgcc_s
> 
> that leaves --as-needed in effect for the later linker options.

Thank you for the review. I should have replaced with an empty string
instead, which would mirror the previous replacement. I will update
this now.

Also, this patch should have version checking to decide whether to
use the patch version of the replacement or the previous one, but I
am not sure when these options changed.

-- 
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:46:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Thu, 13 Feb 2025 15:46:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 70978-done <at> debbugs.gnu.org
Cc: Bruno Haible <bruno <at> clisp.org>
Subject: Re: bug#70978: test suite failures on NetBSD
Date: Thu, 13 Feb 2025 17:45:33 +0200
[Message part 1 (text/plain, inline)]
The testsuite in NetBSD should be fixed on master [1] now with the
latest commit transition from development, so closing.

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

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

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 14 Mar 2025 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 180 days ago.

Previous Next


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