Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 603032

Summary: sys-devel/autoconf - backport fix for AC_HEADER_MAJOR with glibc-2.25
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal CC: toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=575232
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Gilbert gentoo-dev 2016-12-18 21:54:09 UTC
It would probably be wise to backport this.

http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974

Also, I'm not sure how best to deal with existing packages without forcing eautoreconf all over the place.

Maybe it would be best to patch the deprecation warning out of glibc-2.25 and have it fail hard instead. Otherwise, sysmacros.h will be mis-detected by the old AC_HEADER_MAJOR macro.
Comment 1 Mike Gilbert gentoo-dev 2016-12-22 21:43:45 UTC
On second thought, this isn't really necessary at all. Even if AC_HEADER_MAJOR mis-detects this, sys/types.h still includes sysmacros.h; it just emits a deprecation warning as well.
Comment 2 SpanKY gentoo-dev 2016-12-22 22:18:34 UTC
right, i don't think this is needed for ebuilds because we don't do -Werror.  it might make sense to roll this sooner for autoconf for devs in general, and to quiet down ebuilds that happen to already run eautoreconf.

upstream wants to do a 2.70, but i'm not sure about the timeline on that.  i'll keep pushing on them for it.