[Dnsmasq-discuss] Fun with glibc headers

Jima jima at beer.tclug.org
Wed Feb 13 16:10:45 GMT 2008


Hi folks,

  Our friend Matt Domsch's periodic rebuilds of Fedora packages caught what 
was originally identified as a GCC 4.3 build failure.  Alas, I'd already 
had a successful build of 2.41rc1 under GCC 4.3, so it was apparently a 
false positive.  However, it appears that an odd little change in 
glibc-headers may have broken things.
  As of glibc-headers-2.7.90-6 (in Fedora-land), the "struct in6_pktinfo" 
definition seems to be hidden inside "#ifdef __USE_GNU".  So my question 
for Simon is: where would be the ideal place to #define that?

  Here are links to the information I'm basing that conclusion on.
  My successful build of 2.41rc1, about two weeks ago:
http://koji.fedoraproject.org/packages/dnsmasq/2.41/0.6.rc1.fc9/data/logs/i386/build.log
  Matt's original build failure:
http://linux.dell.com/files/fedora/FixBuildRequires/mock-results-core/x86_64/dnsmasq-2.41-0.6.rc1.fc9.src.rpm/result/build.log
  My build failure when I (successfully) tried to reproduce it on Fedora 
infrastructure:
http://koji.fedoraproject.org/koji/getfile?taskID=423530&name=build.log
  A diff between the working and non-working glibc-headers packages:
http://beer.tclug.org/jima/text/glibc-headers-2.7.90-4_2.7.90-6.patch

  I'm not a programmer (just a sysadmin/package monkey), so I welcome 
anyone to look at the data and chime in with their 
quite-possibly-more-informed thoughts. :-)
  Thanks!

      Jima



More information about the Dnsmasq-discuss mailing list