From fullermd@over-yonder.net  Sun Aug 22 19:49:06 2010
Return-Path: <fullermd@over-yonder.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 67C8210656A9
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2010 19:49:06 +0000 (UTC)
	(envelope-from fullermd@over-yonder.net)
Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44])
	by mx1.freebsd.org (Postfix) with ESMTP id 3DC8E8FC23
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2010 19:49:05 +0000 (UTC)
Received: from draco.over-yonder.net (c-75-64-226-141.hsd1.ms.comcast.net [75.64.226.141])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by thyme.infocus-llc.com (Postfix) with ESMTPSA id 972EA37B48E
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2010 14:49:04 -0500 (CDT)
Received: from mortis.over-yonder.net (mortis [10.20.30.2])
	(using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by draco.over-yonder.net (Postfix) with ESMTPS id E83A161C5A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2010 14:49:03 -0500 (CDT)
Received: by mortis.over-yonder.net (Postfix, from userid 100)
	id D568E1192D; Sun, 22 Aug 2010 14:49:03 -0500 (CDT)
Message-Id: <20100822194903.D568E1192D@mortis.over-yonder.net>
Date: Sun, 22 Aug 2010 14:49:03 -0500 (CDT)
From: Matthew Fuller <fullermd@over-yonder.net>
Reply-To: Matthew Fuller <fullermd@over-yonder.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: multimedia/ffmpeg-devel build errors
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         149889
>Category:       ports
>Synopsis:       multimedia/ffmpeg-devel build errors
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 22 19:50:04 UTC 2010
>Closed-Date:    Wed Jun 29 14:24:33 UTC 2011
>Last-Modified:  Wed Jun 29 14:24:33 UTC 2011
>Originator:     Matthew Fuller
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD mortis.sighup.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r209581: Mon Jun 28 14:36:23 CDT 2010 root@mortis.sighup.org:/usr/obj/usr/src/sys/MORTIS amd64


	
>Description:
	Build of multimedia/ffmpeg-devel fails.  OPTIONS are default, except
	SSSE3 unchecked.

	Example of errors:

	CC      libavcodec/vp5.o
	{standard input}: Assembler messages:
	{standard input}:251: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
	{standard input}:352: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
	{standard input}:453: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
	{standard input}:554: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
	{standard input}:659: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression

	[... many more lines ...]

	It also happens in at least one other file, as the parallel build
	shows.

	Possibly amd64 related?

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Aug 22 19:50:14 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149889 

From: Ivan Klymenko <fidaj@ukr.net>
To: bug-followup@FreeBSD.org, fullermd@over-yonder.net
Cc:  
Subject: Re: ports/149889: multimedia/ffmpeg-devel build errors
Date: Sun, 22 Aug 2010 23:29:48 +0300

 --MP_/QYI9Zs/P5ESmiv9uv1U/CH+
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 try replacing the file /usr/ports/multimedia/ ffmpeg-devel/files/patch-configure my - so that in the embedding
 
 --MP_/QYI9Zs/P5ESmiv9uv1U/CH+
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=patch-configure.txt
 
 --- configure.orig	2010-07-21 21:28:42.000000000 +0300
 +++ configure	2010-08-22 23:23:14.000000000 +0300
 @@ -1517,7 +1517,7 @@
  nm_opts='-g'
  
  # machine
 -arch_default=$(uname -m)
 +arch_default=$(uname -p)
  cpu="generic"
  
  # OS
 @@ -1564,7 +1564,7 @@
  
  CC_O='-o $@'
  
 -host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall'
 +host_cflags='-D_ISOC99_SOURCE -O3 -g -Wall'
  host_libs='-lm'
  
  target_path='$(CURDIR)'
 @@ -2164,7 +2164,7 @@
      die "C compiler test failed."
  fi
  
 -add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 +add_cppflags -D_ISOC99_SOURCE
  check_cflags -std=c99
  check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
  #include <stdlib.h>
 @@ -2717,8 +2717,8 @@
      fi
  fi
  
 -check_header linux/videodev.h
 -check_header linux/videodev2.h
 +#check_header linux/videodev.h
 +#check_header linux/videodev2.h
  check_header sys/videoio.h
  
  check_func_headers "windows.h vfw.h" capCreateCaptureWindow "$vfwcap_indev_extralibs"
 @@ -3020,7 +3020,7 @@
  SRC_PATH="$source_path"
  SRC_PATH_BARE=$source_path
  BUILD_ROOT="$PWD"
 -ARCH=$arch
 +FFMPEG_ARCH=$arch
  CC=$cc
  AS=$as
  LD=$ld
 
 --MP_/QYI9Zs/P5ESmiv9uv1U/CH+--
State-Changed-From-To: open->feedback 
State-Changed-By: mm 
State-Changed-When: Mon Jun 6 11:52:55 UTC 2011 
State-Changed-Why:  
Awaiting feedback from submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149889 

From: Martin Matuska <mm@FreeBSD.org>
To: bug-followup@FreeBSD.org, fullermd@over-yonder.net
Cc:  
Subject: Re: ports/149889: multimedia/ffmpeg-devel build errors
Date: Mon, 06 Jun 2011 13:52:49 +0200

 Does the problem still persist in latest versions?
 
 -- 
 Martin Matuska
 FreeBSD committer
 http://blog.vx.sk
 

From: "Matthew D. Fuller" <fullermd@over-yonder.net>
To: Martin Matuska <mm@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/149889: multimedia/ffmpeg-devel build errors
Date: Wed, 8 Jun 2011 04:30:22 -0500

 Seems to build OK with current ports tree.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/149889: commit references a PR
Date: Wed, 29 Jun 2011 14:16:34 +0000 (UTC)

 mm          2011-06-29 14:16:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/ffmpeg    Makefile 
     multimedia/ffmpeg-devel Makefile 
   Log:
   Reintroduce OPENCV and FREI0R options and enable by default
   Remove SSSE3 and CPUDETECT options (now always on)
   
   PR:     ports/149889, ports/156803, ports/158289, ports/158331
   
   Revision  Changes    Path
   1.146     +12 -18    ports/multimedia/ffmpeg-devel/Makefile
   1.132     +20 -30    ports/multimedia/ffmpeg/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: mm 
State-Changed-When: Wed Jun 29 14:24:32 UTC 2011 
State-Changed-Why:  
Resolved. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149889 
>Unformatted:
