NetBSD Problem Report #51337

From www@NetBSD.org  Wed Jul 13 11:13:09 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 238BB7A466
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 13 Jul 2016 11:13:09 +0000 (UTC)
Message-Id: <20160713111308.40FFF7AAAD@mollari.NetBSD.org>
Date: Wed, 13 Jul 2016 11:13:08 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: multimedia/ffmpeg2 does not compile on sun4v
X-Send-Pr-Version: www-1.0

>Number:         51337
>Category:       pkg
>Synopsis:       multimedia/ffmpeg2 does not compile on sun4v
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 13 11:15:00 +0000 2016
>Closed-Date:    Mon Aug 15 00:50:08 +0000 2016
>Last-Modified:  Mon Aug 15 00:50:08 +0000 2016
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling multimedia/ffmpeg2 on a SPARC T server (Oracle T5 under Solaris 11.2 in this case) fails, as the architecture "sun4v" is not detected.
>How-To-Repeat:

>Fix:
--- configure.orig      Wed Jul 13 11:34:37 2016
+++ configure   Wed Jul 13 11:35:11 2016
@@ -3867,7 +3867,7 @@
     sh4|sh)
         arch="sh4"
     ;;
-    sun4u|sparc*)
+    sun4u|sun4v|sparc*)
         arch="sparc"
     ;;
     tilegx|tile-gx)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 13 Jul 2016 11:36:59 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 03 Aug 2016 12:17:02 +0000
State-Changed-Why:
I've committed a similar fix to ffmpeg1,2,3
If you can confirm ffmpeg3 builds (and maybe works),
it could be upstreamed.


State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 15 Aug 2016 00:50:08 +0000
State-Changed-Why:
Applied upstream as well.
Upstreams was curious if you're interested in
running regression tests:
http://ffmpeg.org/pipermail/ffmpeg-devel/2016-August/197758.html


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.