Date: Thu, 6 Oct 2011 11:07:44 -1000 From: Open Slate <openslateproj@gmail.com> To: Frank Shute <frank@shute.org.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Failing to build multimedia/gstreamer-ffmpeg Message-ID: <CAAuBV2f=pzSr2adFyuWc=rixYXOLpp=BJ1u3PEEORs6rUcovLA@mail.gmail.com> In-Reply-To: <20111006031430.GA6925@orange.esperance-linux.co.uk> References: <CAAuBV2e6BnasWRm%2BiyB3nL5A0fqooTzchPvi-qfk99_Z=KWVRQ@mail.gmail.com> <20111006031430.GA6925@orange.esperance-linux.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 5, 2011 at 5:14 PM, Frank Shute <frank@shute.org.uk> wrote: > > On Wed, Oct 05, 2011 at 03:35:58PM -1000, Open Slate wrote: > > > > Failing to build multimedia/gstreamer-ffmpeg > > > > ---> Upgrading 'gstreamer-ffmpeg-0.10.11_1' to 'gstreamer-ffmpeg-0.10.12' > > (multimedia/gstreamer-ffmpeg) > > ---> Building '/usr/ports/multimedia/gstreamer-ffmpeg' > > ===> 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 > > > > Stop in /usr/ports/multimedia/gstreamer-ffmpeg. > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade20111005-1444-s8mm5a-0 env UPGRADE_TOOL=portupgrade > > UPGRADE_PORT=gstreamer-ffmpeg-0.10.11_1 UPGRADE_PORT_VER=0.10.11_1 make > > ** Fix the problem and try again. > > > > Full Makefile below. Near the end I see > > > > .include <bsd.port.pre.mk> > > > > followed closely by > > > > .include <bsd.port.mk> > > > > Perhaps one of these was supposed to be excluded via a conditional? I tried > > 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 > > i386 > > > > 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 <kwm@rainbow-runner.nl> > > # > > # $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 $ > > # > > > > PORTNAME= gstreamer > > PORTVERSION= 0.10.12 > > CATEGORIES= multimedia > > MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/ > > PKGNAMESUFFIX= -ffmpeg > > DISTNAME= gst-ffmpeg-${PORTVERSION} > > > > MAINTAINER= multimedia@FreeBSD.org > > COMMENT= GStreamer plug-in for manipulating MPEG video streams > > > > LICENSE= GPLv2 > > > > BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm > > LIB_DEPENDS= orc-0.4.0:${PORTSDIR}/devel/orc > > > > USE_BZIP2= yes > > USE_GMAKE= yes > > USE_LDCONFIG= yes > > USE_GSTREAMER= yes > > GNU_CONFIGURE= yes > > FFMPEG_CONFIG= --cc=${CC} \ > > --enable-runtime-cpudetect \ > > --enable-pic > > LDFLAGS+= -Wl,-Bsymbolic > > CFLAGS+= -fno-force-addr > > CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} > > > > PLIST_SUB= VERSION="${GST_VERSION}" > > > > PKG_CONFIG?="${LOCALBASE}/bin/pkg-config" > > GST_VERSION=${PORTVERSION:C/..$//} > > > > # sse hardware vector support > > .if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || > > ${MACHINE_CPU:Mamd64} == "amd64") > > WITH_BUILTIN_VECTOR= yes > > .else > > FFMPEG_CONFIG+= --disable-sse > > .endif > > > > # mmx support > > .if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} == "" && > > ${MACHINE_CPU:Mamd64} == "" > > FFMPEG_CONFIG+= --disable-mmx > > WITHOUT_BUILTIN_VECTOR= yes > > .endif > > > > # builtin vector, requires mmx and sse > > .if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR) > > CFLAGS+= -msse > > .endif > > > > CONFIGURE_ARGS+= --with-ffmpeg-extra-configure="${FFMPEG_CONFIG}" > > > > .include <bsd.port.pre.mk> > > > > .if ${OSVERSION} < 900033 > > > > BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils > > MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin > > > > .endif > > > > .include <bsd.port.mk> > > See: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/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 ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAuBV2f=pzSr2adFyuWc=rixYXOLpp=BJ1u3PEEORs6rUcovLA>
