GNU bug report logs -
#74456
unactionable -no-install warnings on macos during 'make check'
Previous Next
Reported by: Simon Josefsson <simon <at> josefsson.org>
Date: Thu, 21 Nov 2024 08:19:01 UTC
Severity: normal
Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 74456 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 21/11/2024 10:18, Simon Josefsson via bug-libtool via Bug reports for
the GNU libtool shared library maintenance tool wrote:
> Hi
>
> Gordon noticed that 'make check' in libidn prints warnings on macOS,
> which are coming from libtool:
>
> libtool: warning: '-no-install' is ignored for aarch64-apple-darwin23.6.0
> libtool: warning: assuming '-no-fast-install' instead
>
> https://lists.gnu.org/archive/html/help-libidn/2024-11/msg00006.html
> https://gitlab.com/libidn/libidn/-/jobs/8321237800
>
> I haven't analyzed the code in libtool behind the warning, but looking
> at this from the outside, if some feature is known to not be supported
> on some platform, it doesn't make a lot of sense to warn about that fact
> on every compilation.
The warning messages for darwin have been present since this commit [1],
and for windows, it has been over two decades. I could remove the
warning message entirely. I think existing users should already be aware
of the warning, but I would like to avoid confusion with new users.
> So two ideas:
>
> 1) Could we silence the warning generally?
>
> or
>
> 2) Could we silence the warning on some set of architectures which is
> known to not support this? And document that property.
>
> or
>
> 3) Have a mechanism for maintainers to disable this warning?
Users can disable all libtool warnings with '--warnings=none' or
'--no-warnings', which I just realised the second is not documented in
the manual. libtool does not have warning categories (except 'all' and
'none'), so silencing the warning for some architectures by default
would mean just removing the existing warning messages for them.
I can update the documentation to reflect what the comments state and
remove the warning messages, but anything else would likely involve a
large rework to how libtool warnings operate.
[1]
https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=51f91963e600423f22d8c4ee01f2bf3a9e7a63bb
--
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 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.