Bug 2141801

Summary: liblognorm: Glitch in configure.ac/configure
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: liblognormAssignee: Attila Lakatos <alakatos>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: alakatos, mah.darade, rsroka, sam, zfridric
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: liblognorm-2.0.6-6.fc38 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-17 08:45:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2141798    

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.