From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 03:14:33 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 4DAE5106564A for ; Thu, 6 Oct 2011 03:14:33 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp5.iomartmail.com (asmtp5.iomartmail.com [62.128.201.176]) by mx1.freebsd.org (Postfix) with ESMTP id BEA2A8FC14 for ; Thu, 6 Oct 2011 03:14:32 +0000 (UTC) Received: from asmtp5.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id p963EUNl002318; Thu, 6 Oct 2011 04:14:31 +0100 Received: from orange.esperance-linux.co.uk (host-92-22-130-66.as13285.net [92.22.130.66]) (authenticated bits=0) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id p963EUK8002281; Thu, 6 Oct 2011 04:14:30 +0100 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 1373E33C1F; Thu, 6 Oct 2011 04:14:30 +0100 (BST) Date: Thu, 6 Oct 2011 04:14:30 +0100 From: Frank Shute To: Open Slate Message-ID: <20111006031430.GA6925@orange.esperance-linux.co.uk> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-STABLE amd64 X-Organisation: 'shute.org.uk' 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 Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 03:14:33 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 05, 2011 at 03:35:58PM -1000, Open Slate wrote: > > Failing to build multimedia/gstreamer-ffmpeg >=20 > ---> Upgrading 'gstreamer-ffmpeg-0.10.11_1' to 'gstreamer-ffmpeg-0.10.12' > (multimedia/gstreamer-ffmpeg) > ---> Building '/usr/ports/multimedia/gstreamer-ffmpeg' > =3D=3D=3D> Cleaning for gstreamer-ffmpeg-0.10.12 > gstreamer-ffmpeg-0.10.12: Makefile error: you cannot include > bsd.port[.pre].mk twice > *** Error code 1 >=20 > 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 ma= ke > ** Fix the problem and try again. >=20 > Full Makefile below. Near the end I see >=20 > .include >=20 > followed closely by >=20 > .include >=20 > Perhaps one of these was supposed to be excluded via a conditional? I tri= ed > commenting each one out but neither form builds successfully. The date on > the makefile header is not new but the port was recently updated. >=20 >=20 > # 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 > i386 >=20 > The Makefile in multimedia/gstreamer-ffmpeg: >=20 > # 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/05 > 23:05:41 bapt Exp $ > # $MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/07/20 > 13:40:27 ahze Exp $ > # >=20 > 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} >=20 > MAINTAINER=3D multimedia@FreeBSD.org > COMMENT=3D GStreamer plug-in for manipulating MPEG video streams >=20 > LICENSE=3D GPLv2 >=20 > BUILD_DEPENDS=3D yasm:${PORTSDIR}/devel/yasm > LIB_DEPENDS=3D orc-0.4.0:${PORTSDIR}/devel/orc >=20 > 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} >=20 > PLIST_SUB=3D VERSION=3D"${GST_VERSION}" >=20 > PKG_CONFIG?=3D"${LOCALBASE}/bin/pkg-config" > GST_VERSION=3D${PORTVERSION:C/..$//} >=20 > # 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 >=20 > # 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 >=20 > # builtin vector, requires mmx and sse > .if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR) > CFLAGS+=3D -msse > .endif >=20 > CONFIGURE_ARGS+=3D --with-ffmpeg-extra-configure=3D"${FFMPEG_CONFIG}" >=20 > .include >=20 > .if ${OSVERSION} < 900033 >=20 > BUILD_DEPENDS+=3D ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils > MAKE_ENV=3D COMPILER_PATH=3D${LOCALBASE}/bin >=20 > .endif >=20 > .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. Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk6NHRQACgkQHduKvUAgeK7nYgCggkyvXsCApQaVTs6d6T6nvxU3 P4YAniICeukwo2hmmMa/X8aS1cMO4fwW =iMAu -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--