Date: Thu, 30 Jul 2009 19:20:39 +0400 From: Anonymous <swell.k@gmail.com> To: "R.Mahmatkhanov" <cvs-src@yandex.ru> Cc: ports@freebsd.org Subject: Re: devel/m4 broken? Message-ID: <86ocr2mc3c.fsf@gmail.com> In-Reply-To: <4A71AF39.5090008@yandex.ru> (R. Mahmatkhanov's message of "Thu, 30 Jul 2009 18:33:29 %2B0400") References: <15141248950977@webmail117.yandex.ru> <8663daqonc.fsf@gmail.com> <4A71AF39.5090008@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
"R.Mahmatkhanov" <cvs-src@yandex.ru> writes: > Anonymous =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> cvs-src@yandex.ru writes: >>=20 >>> Hi there! >>=20 >>> devel/m4 is broken for me for a long time. i use 7.2-STABLE, all ports >>=20 >> RELENG_7 (and RELENG_7_2) is a moving target. You're missing either date >> of the build or exact revision number. > > RELENG_7 from July 28. kern.osreldate: 702104 > >>> checking for posix_spawn... no >>=20 >> Can you show config.log? > > Sure. Attached. > configure:6078: cc -std=3Dgnu99 -o conftest -O2 -fno-strict-aliasing -pip= e conftest.c >&5 > /var/tmp//ccK26sgd.o(.text+0x12): In function `main': > : undefined reference to `posix_spawn' > configure:6078: $? =3D 1 > configure: failed program was: [...] > 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. > ./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' > >>=20 >> And try to add ac_cv_func_posix_spawn=3Dyes to CONFIGURE_ENV in the port >> Makefile to force using posix_spawn from /usr/include/spawn.h >>=20 > > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ocr2mc3c.fsf>