Re: compiling m4 on RHEL6 beta

Eric Blake <[email protected]> Thu, 27 May 2010 16:11:48 -0600
Newsgroups gmane.comp.gnu.m4.patches,gmane.comp.gnu.m4.bugs
Organization Red Hat
Message-ID <[email protected]>
On 05/27/2010 04:08 PM, Todd Rinaldo wrote:
> 
> On May 27, 2010, at 4:43 PM, Eric Blake wrote:
> 
>> On 05/27/2010 01:23 PM, Todd Rinaldo wrote:
>>> Today, I ran into an issue compiling m4 on RHEL6 beta. I had to apply this patch to make it work or I got errors about S_ISDIR not being defined during linking. Any ideas why this was an issue?
>>
>> Thanks for the report.  Most likely, this is an actual bug in m4 relying
>> on the laziness of older systems that implicitly included <sys/stat.h>
>> inside other headers; contrasted with recent glibc which has
>> intentionally been tightening down system headers to avoid such
>> namespace pollution.  POSIX states that <fcntl.h> may, but not must,
>> include <sys/stat.h>; and it looks like m4.h had another include path
>> that included <fcntl.h> but not explicitly <sys/stat.h>.
> 
> Eric, I'm dying to know... How the heck did RHEL 6 m4 get built against RHEL 6 libc when there's no patch in the spec file?

I'm not in charge of the RHEL m4 build, but my guess is that m4 was
built prior to the glibc update that changed the header that would have
broken m4's rebuild.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches
signature.asc (application/pgp-signature, 619 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJL/u4kAAoJEKeha0olJ0Nq4LsIAJiNrpIXJNgsQwmtgX8b8ti3
jvVThJjdSTbYtUze45+q8u26rlGtjlQsWrWVt3IkSMJt41Q9RJXJ2iYEKj6mjCQG
ZgyR8RI7iWw5asTiSuLHInj0E3qE+g9PWYDn4FT3zCjPEBdUTcFo/cUWrPB1v1tN
fAk+e0TJUlkhJeAr+HRukvsNdyOdeboPPCGPQU+/1Cnr/9ebyBV5KI1Asso10vYt
IwlfYhMztydNw9XGZUl60nbGnHlpAK93CdXbP3cLIvZKKDwm8Zd+N7oiUWLEaRFi
DPe5LB0r/bYC7L3ODkUJRUedjNYEuI6IL/O0u4AEwDMVDQ8goMGerR23yfpCATk=
=uDAb
-----END PGP SIGNATURE-----