From owner-freebsd-ports@FreeBSD.ORG Wed Nov 2 13:24:02 2011 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 C129C1065672 for ; Wed, 2 Nov 2011 13:24:02 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [IPv6:2a02:6b8:0:801::3]) by mx1.freebsd.org (Postfix) with ESMTP id F30AC8FC0A for ; Wed, 2 Nov 2011 13:24:01 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward13.mail.yandex.net (Yandex) with ESMTP id 46B6E1429FF; Wed, 2 Nov 2011 17:24:00 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1320240240; bh=NlRV5oe3DHxkDS+5Xt6J+ZNvgkYFVfcBPTGsoz/Snxw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Uom2YbZ2uzy4NlY/gSm66qUIJ0gnm/hEVIX0idnP8hnnMQuT0OnV0n5DzYVu5BtCX Uqri5uAqqehrYBVUE2lHTjGfWiBfeAxFhLoEDK2CJT/8hWnQ006NHLRRTorBK5f33L /b87vBH0nYEe5u0JxEi0O2+mL2xFHaMLxDh0sEp4= Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 19C5816A0318; Wed, 2 Nov 2011 17:24:00 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1320240240; bh=NlRV5oe3DHxkDS+5Xt6J+ZNvgkYFVfcBPTGsoz/Snxw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Uom2YbZ2uzy4NlY/gSm66qUIJ0gnm/hEVIX0idnP8hnnMQuT0OnV0n5DzYVu5BtCX Uqri5uAqqehrYBVUE2lHTjGfWiBfeAxFhLoEDK2CJT/8hWnQ006NHLRRTorBK5f33L /b87vBH0nYEe5u0JxEi0O2+mL2xFHaMLxDh0sEp4= Received: from unknown (unknown [213.27.65.65]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Nx1OANIr-Nx1ClNMt; Wed, 2 Nov 2011 17:23:59 +0400 X-Yandex-Spam: 1 Message-ID: <4EB14465.4020801@yandex.ru> Date: Wed, 02 Nov 2011 17:23:49 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 To: Unga References: <1320212542.11574.YahooMailNeo@web160113.mail.bf1.yahoo.com> <4EB12266.9030808@yandex.ru> <1320235360.13830.YahooMailNeo@web160109.mail.bf1.yahoo.com> In-Reply-To: <1320235360.13830.YahooMailNeo@web160109.mail.bf1.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Mailing List , Koop Mast Subject: Re: /usr/ports/textproc/py-libxml2 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: Wed, 02 Nov 2011 13:24:02 -0000 Unga wrote on 02.11.2011 16:02: > ----- Original Message ----- > >> From: Ruslan Mahmatkhanov >> To: Unga >> Cc: "freebsd-ports-bugs@freebsd.org" >> Sent: Wednesday, November 2, 2011 10:58 AM >> Subject: Re: /usr/ports/textproc/py-libxml2 broken >> >> Unga wrote on 02.11.2011 09:42: >>> Hi all >>> >>> The /usr/ports/textproc/py-libxml2 is broken. >>> >>> config.status: creating config.h >>> config.status: executing depfiles commands >>> config.status: executing libtool commands >>> rm: libtoolT: No such file or directory >>> gmake[1]: Leaving directory >> `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8' >>> gmake[1]: Entering directory >> `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8' >>> gmake[1]: Leaving directory >> `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8' >>> *** Error code 1 >>> >>> Stop in /usr/ports/textproc/py-libxml2. >>> >>> >>> Best regards >>> Unga >> >> I had this problem before too, but after commiting of Makefile revision >> 1.172 of textproc/libxml2 it now builds fine to me. Do you have decent >> ports tree? >> >> PS. "rm: libtoolT: No such file or directory" is still there, but all >> builds fine. >> > > Hi Ruslan > > Thanks for the reply. > > My Makefile version for /usr/ports/textproc/libxml2: > $FreeBSD: ports/textproc/libxml2/Makefile,v 1.172 2011/11/01 11:08:35 kwm Exp $ > > My Makefile version for /usr/ports/textproc/py-libxml2: > $FreeBSD: ports/textproc/py-libxml2/Makefile,v 1.11 2011/08/11 19:19:59 kwm Exp $ > > Pls note, /usr/ports/textproc/libxml2 builds fine for me. > > The build fails for /usr/ports/textproc/py-libxml2. > > Pls also note, I'm building on FreeBSD 9.0 RC1 on i386. > > Indication for the error could be following: > checking whether we are cross compiling... > checking whether we are cross compiling... configure: error: in `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8': > configure: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details > no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... gmake[1]: *** [config.status] Error 1 > gmake[1]: Leaving directory `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8' > gmake: *** [Makefile.in] Error 1 > gmake: *** Waiting for unfinished jobs.... > sed: conftest.c: No such file or directory > > Pls let me know if anymore info needed to be provided. > > Regards > Unga Hi, Unga. I changed ports-bugs@ with ports@ in cc:, because it's correct list to send such things and hopefully someone can help there. Version of texproc/libxml2/Makefile is important because py-libxml2 is an actually slave port of libxml2, so it using parts of it. This error "cannot run C compiled programs", as far i understand, may indicate some problem with gcc/autotools. conftest.c is mentioned in m4/libtool.m4, so may be this port needs similar fix as textproc/libxml2 itself, i dunno. Still i have no problem to build both ports on 10.0. -- Regards, Ruslan Tinderboxing kills... the drives.