From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 01:35:59 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 48E41106564A for ; Thu, 6 Oct 2011 01:35:59 +0000 (UTC) (envelope-from openslateproj@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 05F7B8FC08 for ; Thu, 6 Oct 2011 01:35:58 +0000 (UTC) Received: by vcbf13 with SMTP id f13so2610935vcb.13 for ; Wed, 05 Oct 2011 18:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=fQNtNNLpPuufQh6L/kIH0u9cvflPKbFUt+uD9xhmRkM=; b=njXTzq5w4GEd5uh7tJYrj/P1waI/MrmIYRnnK3KYnAM37qzt8Wuazr3kNpxeJtQ5EI f1RViPLUEcGAf0tYkufDCGCt/iUKmNPk8OGTzIUzI/VFqpjVTT+J/LsXHlmcFhnK3TZn Y5MKmJZeljGPfawtmtBwKdCzmJsY67xqaju/s= MIME-Version: 1.0 Received: by 10.52.94.14 with SMTP id cy14mr122882vdb.365.1317864958233; Wed, 05 Oct 2011 18:35:58 -0700 (PDT) Received: by 10.220.200.194 with HTTP; Wed, 5 Oct 2011 18:35:58 -0700 (PDT) Date: Wed, 5 Oct 2011 15:35:58 -1000 Message-ID: From: Open Slate To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 01:35:59 -0000 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 followed closely by .include 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 # # $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 .if ${OSVERSION} < 900033 BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin .endif .include