Re: rhel8 test failure confirmation?

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <ZWvddrm3dtD8jwp0@vapier>
On 02 Dec 2023 18:33, Jacob Bachmeyer wrote:
> Zack Weinberg wrote:
> > On Sat, Dec 2, 2023, at 6:37 PM, Karl Berry wrote:
> >> The best way to check if high-resolution 
> >>     timestamps are available to autom4te is to have perl load 
> >>     Autom4te::FileUtils and check if that also loaded Time::HiRes.
> >>
> >> The problem with that turned out to be that Time::HiRes got loaded from
> >> other system modules, resulting in the test thinking that autom4te used
> >> it when that wasn't actually the case. That's what happened in practice
> >> with your patch.
> >
> > Would it help if we added a command line option to autom4te that made it report whether it thought it could use high resolution timestamps? Versions of autom4te that didn't recognize this option should be conservatively assumed not to support them.
> 
> Why not just add that information to the --version message?  Add a 
> "(HiRes)" tag somewhere if Time::HiRes is available?  All versions that 
> know to check if Time::HiRes is loaded will also know how to use it, 
> unlike the earlier test.

parsing out the exact version from --version is already a pita.  trying it
freeform text that we also want tools to do substring searching on sounds
extremely fragile and the opposite of future-proof.

libtool at least has a --config option that dumps shell-link syntax.
-mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmVr3XYACgkQQWM7n+g3
9YFghA/+MRDCQSvcMssrNv11A1/Xdtau+D9O1m0pQQ8+8rH06y9jUpogbRe1bdft
h2MykDMJQ4BUmEa/7KlVMcEQv0gjVPvq4ETQ9TcvDbnO2saC6ZXdtvnqiLoZGiqQ
Zk7Dz+A6sQBSuYoSyxscFrPG/32FXc/h/GzeH/gNTXSeTqMqHBLy0oPfdrZta+J2
kPiX9pdStDGPw8xgFWjZ8r5qmSSNdWLcEAU110X5WKCFwwOeGFQWkUJj9Jzqzs40
T4/VXotXqHZ2PwY7HmJ7AI+zoJAXHpHwy70rJRBdnU1Kpg8C/2vg0Z09jl0J8ZDJ
qxLPT3CXNk10NpcikyY6KJOYSHKmMzGrnOMpbYa2XAwrysWG7awgsRo5bnAL7rqL
uw651GjzuwsslfM9eEBVjvNqRZcJ6pDo1xZlaibpcBVVdLmkVvdfppqr688RrYV6
TDSvHnmjPcOBOvgI+X697zRuBjoF+RyQYkJ/2dfgoFX1yTQ2cF5Q/npBzDytXVaC
CsQ2cxDysQIbSCuOpraQgMqA/Wfp2RS6SXck8RZ4XqgNXDBon2UuR51ie+LHSCAb
Yoe7+eaO/n3rPITcMMoA89286hCytdxu06rglhXRzRVJ9k6iEM21Hl0DgtqzD+GL
DG9X+4Jmrbs+CtEHbpl3QMqJnbzXhlPlr1e20cNRc0561Eg2LR8=
=HUon
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.