devel/m4 broken?

R.Mahmatkhanov cvs-src at yandex.ru
Thu Jul 30 17:42:30 UTC 2009


Anonymous пишет:
>> configure:6078: result: no
> 
> Looks like you have no posix_spawn in your libc. I wonder where did you
> get /usr/include/spawn.h that gcc complained about.

You are right. I had downgraded from HEAD to STABLE a couple of months
ago, so for me now pretty obvious that spawn.h is a HEAD remnant.
I removed this file and rebuilt m4 w/o problem.
Thank you once again for resolving my issue.

> 
>> ./spawn.h:113: error: conflicting types for 'posix_spawnattr_t'
>> /usr/include/spawn.h:53: error: previous declaration of 'posix_spawnattr_t' was here
> 
> It doesn't look like spawn.h in RELENG_7 branch yet. But it *is* in HEAD.
> 
> $ svn log svn://svn.freebsd.org/base/stable/7/include/spawn.h
> svn: File not found: revision 195974, path '/stable/7/include/spawn.h'
> 
>>> And try to add ac_cv_func_posix_spawn=yes to CONFIGURE_ENV in the port
>>> Makefile to force using posix_spawn from /usr/include/spawn.h
>>>
>> It fixed this. Thank you much!
> 
> I think the correct fix would to delete /usr/include/spawn.h so it
> doesn't confuse configure script.
> 



More information about the freebsd-ports mailing list