From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 21:07:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FBC6106564A for ; Thu, 6 Oct 2011 21:07:45 +0000 (UTC) (envelope-from openslateproj@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2B38FC12 for ; Thu, 6 Oct 2011 21:07:45 +0000 (UTC) Received: by vws11 with SMTP id 11so3734927vws.13 for ; Thu, 06 Oct 2011 14:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=xKxHEcCCysh/mi5M4A8+27GPPvlWC7siELNjTXd/itQ=; b=dby2nl1/+3CFkhcg/Ue/ZA/h9+PycFMsO/wo/B2VTVH7mcA4RgYxrGjpF/61G9RPtd ypcCMMu1iWAgrQzMGVMUL9Gyq6h1bkBj/7MIFU81hZ1XKcyHOqx9Cn/QJL3SGB9B5L+y NMuYpL+EhRNi9FQcrmG3ayKjNbCygQcsidqlM= MIME-Version: 1.0 Received: by 10.220.187.136 with SMTP id cw8mr333921vcb.266.1317935264557; Thu, 06 Oct 2011 14:07:44 -0700 (PDT) Received: by 10.220.200.194 with HTTP; Thu, 6 Oct 2011 14:07:44 -0700 (PDT) In-Reply-To: <20111006031430.GA6925@orange.esperance-linux.co.uk> References: <20111006031430.GA6925@orange.esperance-linux.co.uk> Date: Thu, 6 Oct 2011 11:07:44 -1000 Message-ID: From: Open Slate To: Frank Shute Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Failing to build multimedia/gstreamer-ffmpeg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 21:07:45 -0000 On Wed, Oct 5, 2011 at 5:14 PM, Frank Shute wrote: > > On Wed, Oct 05, 2011 at 03:35:58PM -1000, Open Slate wrote: > > > > Failing to build multimedia/gstreamer-ffmpeg > > > > ---> =A0Upgrading 'gstreamer-ffmpeg-0.10.11_1' to 'gstreamer-ffmpeg-0.1= 0.12' > > (multimedia/gstreamer-ffmpeg) > > ---> =A0Building '/usr/ports/multimedia/gstreamer-ffmpeg' > > =3D=3D=3D> =A0Cleaning for gstreamer-ffmpeg-0.10.12 > > gstreamer-ffmpeg-0.10.12: Makefile error: you cannot include > > bsd.port[.pre].mk twice > > *** Error code 1 > > > > Stop in /usr/ports/multimedia/gstreamer-ffmpeg. > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade20111005-1444-s8mm5a-0 env UPGRADE_TOOL=3Dportupgrade > > UPGRADE_PORT=3Dgstreamer-ffmpeg-0.10.11_1 UPGRADE_PORT_VER=3D0.10.11_1 = make > > ** Fix the problem and try again. > > > > Full Makefile below. Near the end I see > > > > .include > > > > followed closely by > > > > .include > > > > Perhaps one of these was supposed to be excluded via a conditional? I t= ried > > commenting each one out but neither form builds successfully. The date = on > > the makefile header is not new but the port was recently updated. > > > > > > # uname -a > > FreeBSD myhostname 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 > > 18:07:27 UTC 2011 > > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > > =A0i386 > > > > The Makefile in multimedia/gstreamer-ffmpeg: > > > > # New ports collection makefile for: gstreamer ffmpeg > > # Date created: Thu Feb 26 20:10:39 CET 2004 > > # Whom: Koop Mast > > # > > # $FreeBSD: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.43 2011/10/0= 5 > > 23:05:41 bapt Exp $ > > # =A0 =A0$MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/= 07/20 > > 13:40:27 ahze Exp $ > > # > > > > PORTNAME=3D gstreamer > > PORTVERSION=3D 0.10.12 > > CATEGORIES=3D multimedia > > MASTER_SITES=3D http://gstreamer.freedesktop.org/src/gst-ffmpeg/ > > PKGNAMESUFFIX=3D -ffmpeg > > DISTNAME=3D gst-ffmpeg-${PORTVERSION} > > > > MAINTAINER=3D multimedia@FreeBSD.org > > COMMENT=3D GStreamer plug-in for manipulating MPEG video streams > > > > LICENSE=3D GPLv2 > > > > BUILD_DEPENDS=3D yasm:${PORTSDIR}/devel/yasm > > LIB_DEPENDS=3D orc-0.4.0:${PORTSDIR}/devel/orc > > > > USE_BZIP2=3D yes > > USE_GMAKE=3D yes > > USE_LDCONFIG=3D yes > > USE_GSTREAMER=3D yes > > GNU_CONFIGURE=3D yes > > FFMPEG_CONFIG=3D --cc=3D${CC} \ > > --enable-runtime-cpudetect \ > > --enable-pic > > LDFLAGS+=3D -Wl,-Bsymbolic > > CFLAGS+=3D -fno-force-addr > > CONFIGURE_ENV=3D PKG_CONFIG=3D${PKG_CONFIG} > > > > PLIST_SUB=3D VERSION=3D"${GST_VERSION}" > > > > PKG_CONFIG?=3D"${LOCALBASE}/bin/pkg-config" > > GST_VERSION=3D${PORTVERSION:C/..$//} > > > > # sse hardware vector support > > .if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} =3D=3D "sse" || > > ${MACHINE_CPU:Mamd64} =3D=3D "amd64") > > WITH_BUILTIN_VECTOR=3D yes > > .else > > FFMPEG_CONFIG+=3D --disable-sse > > .endif > > > > # mmx support > > .if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} =3D=3D "" && > > ${MACHINE_CPU:Mamd64} =3D=3D "" > > FFMPEG_CONFIG+=3D --disable-mmx > > WITHOUT_BUILTIN_VECTOR=3D yes > > .endif > > > > # builtin vector, requires mmx and sse > > .if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR) > > CFLAGS+=3D -msse > > .endif > > > > CONFIGURE_ARGS+=3D --with-ffmpeg-extra-configure=3D"${FFMPEG_CONFIG}" > > > > .include > > > > .if ${OSVERSION} < 900033 > > > > BUILD_DEPENDS+=3D ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils > > MAKE_ENV=3D COMPILER_PATH=3D${LOCALBASE}/bin > > > > .endif > > > > .include > > See: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/161316 > > It looks like it's been fixed, so csup/portsnap your ports tree > and try to build it again. Thanks, that did it. Now I can't build math/mpfr, error fetching the tarball. If it's not one thing, it's another. Maybe tomorrow ...