Bug 2141801 - liblognorm: Glitch in configure.ac/configure
Summary: liblognorm: Glitch in configure.ac/configure
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: liblognorm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Attila Lakatos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2022-11-10 18:56 UTC by Florian Weimer
Modified: 2022-11-17 08:45 UTC (History)
5 users (show)

Fixed In Version: liblognorm-2.0.6-6.fc38
Clone Of:
Environment:
Last Closed: 2022-11-17 08:45:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2022-11-10 18:56:08 UTC
liblognorm contains a garbled line in configure.ac that went undetected so far because over-linking with -lrt is harmless:

AC_SEARCH_LIBS(clock_getm4_defn([AC_AUTOCONF_VERSION]), [2.68]time, rt)

It should read:

AC_SEARCH_LIBS(clock_gettime, rt)

This came up in the Fedora C99 porting effort (https://fedoraproject.org/wiki/Toolchain/PortingToModernC https://fedoraproject.org/wiki/Changes/PortingToModernC) because it happens to introduce an implicit function declaration into the generated conftest.c file. This means it raises a red flag in the tester we use for porting, so it would be good to fix configure.ac and regenerate configure.

I reported this through Adiscon using the liblognorm contact link. Adiscon assigned internal ticket number 6711. There does not seem to be a public version control repository or bug tracker, so I'm filing it here for a public reference.


Note You need to log in before you can comment on or make changes to this bug.