NetBSD Problem Report #49931

From www@NetBSD.org  Tue May 26 08:50:50 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 366B0A567D
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 26 May 2015 08:50:50 +0000 (UTC)
Message-Id: <20150526085048.F250FA6551@mollari.NetBSD.org>
Date: Tue, 26 May 2015 08:50:48 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: multimedia/libvpx
X-Send-Pr-Version: www-1.0

>Number:         49931
>Category:       pkg
>Synopsis:       multimedia/libvpx
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 26 08:55:00 +0000 2015
>Closed-Date:    
>Last-Modified:  Tue Jul 05 12:30:53 +0000 2016
>Originator:     Sergey Litvinov
>Release:        master (a927630)
>Organization:
>Environment:
Darwin 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
>Description:
multimedia/libvpx fails to build with the following message:

    [CC] vpx_config.c.o
libtool: compile:  clang -pipe -O2 -mmacosx-version-min=10.9 -mx32 -arch i386 -O3 -fPIC -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -fno-strict-aliasing -Wno-unused-function -I. -I/Users/lisergey/src/pkgsrc/multimedia/libvpx/work/libvpx-1.3.0 -c vpx_config.c  -fno-common -DPIC -o .libs/vpx_config.c.o
libtool: compile:  clang -pipe -O2 -mmacosx-version-min=10.9 -mx32 -arch i386 -O3 -fPIC -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -fno-strict-aliasing -Wno-unused-function -I. -I/Users/lisergey/src/pkgsrc/multimedia/libvpx/work/libvpx-1.3.0 -c vpx_config.c -o vpx_config.c.o >/dev/null 2>&1
    [AS] vpx_ports/emms.asm.o
libtool: compile:  sh strip_fPIC.sh yasm -f machox32 -I./ -I/Users/lisergey/src/pkgsrc/multimedia/libvpx/work/libvpx-1.3.0/ vpx_ports/emms.asm  -fno-common -DPIC -o vpx_ports/.libs/emms.asm.o
yasm -f machox32 -I./ -I/Users/lisergey/src/pkgsrc/multimedia/libvpx/work/libvpx-1.3.0/ vpx_ports/emms.asm -o vpx_ports/.libs/emms.asm.o
yasm: FATAL: unrecognized object format `machox32'
gnumake[1]: *** [vpx_ports/emms.asm.o] Error 1
gnumake: *** [.DEFAULT] Error 2

>How-To-Repeat:
bmake in
multimedia/libvpx
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Wed, 27 May 2015 14:52:34 +0000
Responsible-Changed-Why:
problem occurs on macos.

Do you know if the problem is that yasm doesn't support macos, or if the
package isn't invoking yasm correctly for macos?


From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: macos-pkg-people@netbsd.org, pkg-manager@netbsd.org, 
	pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, 
	David Holland <dholland@netbsd.org>, slitvinov@gmail.com
Subject: Re: pkg/49931 (multimedia/libvpx)
Date: Mon, 29 Jun 2015 16:31:13 +0200

 Are you using a 64-bit ABI? Is it trying to build a 32-bit object file
 even though you want 64 bits?

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 05 Jul 2016 12:30:53 +0000
State-Changed-Why:
Can you answer the question(s) please?


>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.