From owner-freebsd-ports@FreeBSD.ORG Thu Jul 30 15:20:44 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5A88106566C for ; Thu, 30 Jul 2009 15:20:43 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 44C598FC16 for ; Thu, 30 Jul 2009 15:20:43 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by bwz2 with SMTP id 2so627614bwz.43 for ; Thu, 30 Jul 2009 08:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=y45nyYrGo3cNzmYk3k/VhqXteWSXQ37akR3DOPlj/NU=; b=DIzMmFYG2YfTrlLzOoTgpYXr62+raw1G8uzHCAsy/uSMt7akJlvd7DZ3rzpui9xHGT vO7piZynW9qlUo3n3UOlcZ3xS71Y61prSg0GRuZPfrEHTOYBaV5RRUlyyNeQMADiNFhX q92+6OIdhRBU3seBJRHPP9EQPnPemvR4IKI9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=DW1q9wf8Mn3nhDmBJbfjCqClfdjL04w0LqEvKQqAGFIZvdSNoPS8em0Hlh3GlcP2Jy K83LdWMlWDUCCrbFgc1lRrbSJJn6Q8QtSiUBg+OUKJ7Vh+Ok7r05qwicCb9+tM+0vEe9 W95Tn4gJq66der9S1JpSoOlQz9bJ+lFU7no4w= Received: by 10.103.197.17 with SMTP id z17mr530179mup.9.1248967242156; Thu, 30 Jul 2009 08:20:42 -0700 (PDT) Received: from localhost (95-24-214-151.broadband.corbina.ru [95.24.214.151]) by mx.google.com with ESMTPS id w5sm13967923mue.4.2009.07.30.08.20.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 30 Jul 2009 08:20:41 -0700 (PDT) From: Anonymous To: "R.Mahmatkhanov" References: <15141248950977@webmail117.yandex.ru> <8663daqonc.fsf@gmail.com> <4A71AF39.5090008@yandex.ru> Date: Thu, 30 Jul 2009 19:20:39 +0400 In-Reply-To: <4A71AF39.5090008@yandex.ru> (R. Mahmatkhanov's message of "Thu, 30 Jul 2009 18:33:29 +0400") Message-ID: <86ocr2mc3c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org Subject: Re: devel/m4 broken? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 15:20:45 -0000 "R.Mahmatkhanov" 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.