NetBSD Problem Report #47321
From www@NetBSD.org Thu Dec 13 13:39:03 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 51B5363E33E
for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Dec 2012 13:39:03 +0000 (UTC)
Message-Id: <20121213133902.8EF2D63E33E@www.NetBSD.org>
Date: Thu, 13 Dec 2012 13:39:02 +0000 (UTC)
From: richard.palo@baou.fr
Reply-To: richard.palo@baou.fr
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/multimedia/libvpx could use smarter solaris gcc options
X-Send-Pr-Version: www-1.0
>Number: 47321
>Category: pkg
>Synopsis: pkgsrc/multimedia/libvpx could use smarter solaris gcc options
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 13 13:40:00 +0000 2012
>Closed-Date: Tue Aug 09 21:11:45 +0000 2016
>Last-Modified: Tue Aug 09 21:11:45 +0000 2016
>Originator: Richard PALO
>Release: pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc Solaris
>Description:
to get over some build problems and certainly to take advantage of a minimal set of multimedia extensions on solaris gcc platforms.
>How-To-Repeat:
>Fix:
richard@devzone:~/src/pkgsrc/multimedia/libvpx$ cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libvpx/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile 8 Nov 2012 00:07:02 -0000 1.18
+++ Makefile 13 Dec 2012 13:35:07 -0000
@@ -63,6 +63,12 @@ CONFIGURE_ARGS+= --target=x86_64-darwin9
CONFIGURE_ARGS+= --target=x86_64-darwin8-gcc
. endif
. endif
+.elif ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER} == "gcc"
+. if ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+= --target=x86_64-solaris-gcc
+. elif ${MACHINE_ARCH= =="i386"
+CONFIGURE_ARGS+= --target=x86-solaris-gcc
+. endif
.endif
BUILD_TARGET= # none
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 13 Dec 2012 13:41:28 +0000
Responsible-Changed-Why:
Please test and commit. (Solaris issue)
From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, richard.palo@baou.fr
Cc:
Subject: Re: pkg/47321: pkgsrc/multimedia/libvpx could use smarter solaris
gcc options
Date: Sun, 23 Dec 2012 19:22:56 +0900 (JST)
Hi,
It seems that your patch is relevant.
But on my SmartOS test environment, /usr/xpg4/bin/grep -E is
selected as TOOLS_PLATFORM.egrep, and following error is occurred.
===> Building for libvpx-1.1.0nb1
[CREATE] vpx_rtcd.h
[DEP] vpx_ports/x86_abi_support.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
[DEP] vpx_ports/emms.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
[DEP] vp8/common/x86/loopfilter_block_sse2.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
[DEP] vp8/common/x86/sad_sse4.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
[DEP] vp8/common/x86/variance_impl_ssse3.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
[DEP] vp8/common/x86/subpixel_ssse3.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
[DEP] vp8/common/x86/sad_ssse3.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
[DEP] vp8/common/x86/sad_sse3.asm.d
grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
(snip)
On your OpenIndiana environment, no error?
Thank you.
--
Ryo ONODERA // ryo_on@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
From: Richard PALO <Richard.PALO@baou.fr>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/47321: pkgsrc/multimedia/libvpx could use smarter solaris
gcc options
Date: Sun, 23 Dec 2012 11:54:22 +0100
This is a multi-part message in MIME format.
--------------010901000702050908040802
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Le 23/12/12 11:25, Ryo ONODERA a écrit :
> The following reply was made to PR pkg/47321; it has been noted by GNATS.
>
> From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
> To: gnats-bugs@NetBSD.org, richard.palo@baou.fr
> Cc:
> Subject: Re: pkg/47321: pkgsrc/multimedia/libvpx could use smarter solaris
> gcc options
> Date: Sun, 23 Dec 2012 19:22:56 +0900 (JST)
>
> Hi,
>
> It seems that your patch is relevant.
>
> But on my SmartOS test environment, /usr/xpg4/bin/grep -E is
> selected as TOOLS_PLATFORM.egrep, and following error is occurred.
>
> ===> Building for libvpx-1.1.0nb1
> [CREATE] vpx_rtcd.h
> [DEP] vpx_ports/x86_abi_support.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> [DEP] vpx_ports/emms.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> [DEP] vp8/common/x86/loopfilter_block_sse2.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> [DEP] vp8/common/x86/sad_sse4.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> [DEP] vp8/common/x86/variance_impl_ssse3.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> [DEP] vp8/common/x86/subpixel_ssse3.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> [DEP] vp8/common/x86/sad_ssse3.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> [DEP] vp8/common/x86/sad_sse3.asm.d
> grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator operand invalid
> (snip)
>
> On your OpenIndiana environment, no error?
>
> Thank you.
>
> --
> Ryo ONODERA // ryo_on@yk.rim.or.jp
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
>
>
>
I suffered greatly after initially jumping on the solaris XPG4
bandwagon, but quickly abandoned it in favour of the libtool grep and
findutils tools (see for example https://www.illumos.org/issues/3353)
my mk.conf contains the following:
.if exists(${LOCALBASE}/bin/sudo)
SU_CMD= ${LOCALBASE}/bin/sudo /bin/bash -c
.else
SU_CMD= pfexec bin/bash -c
.endif
TOOLS_PLATFORM.install?= /opt/pkg/bin/install-sh
TOOLS_PLATFORM.awk?= /opt/pkg/bin/nawk
TOOLS_PLATFORM.sed?= /opt/pkg/bin/nbsed
TOOLS_PLATFORM.grep?= ${LOCALBASE}/gnu/bin/grep
TOOLS_PLATFORM.fgrep?= ${LOCALBASE}/gnu/bin/fgrep
TOOLS_PLATFORM.egrep?= ${LOCALBASE}/gnu/bin/egrep
TOOLS_PLATFORM.sh?= /bin/bash
TOOLS_PLATFORM.xargs?= #empty
TOOLS_PLATFORM.find?= #empty
And my developpement PATH is :
$ echo $PATH
/opt/pkg/sbin:/opt/pkg/bin:/opt/pkg/gnu/bin:/opt/pkg/gcc47/bin:/usr/bin:/usr/sbin:/sbin
This is on OpenIndiana oi_151a7 in a minimal NG zone, which works very
nicely for my uses.
I initially bootstrapped with the bits indicated
http://www.perkin.org.uk/posts/9000-packages-for-smartos-and-illumos.html but
have since rebuilt/reinstalled everything locally and use cvs trunk and
git locally...
Can't answer about SmartOS, you will probably need to ask Jonathan
Perkin.. I believe that the latests SmartOS *does* take advantage of
the link.h and some /usr/bin/ld updates though.
--
Richard PALO
TNT PACA, dénomination commerciale de la société BAOU
SAS au capital de 50.000 € - RCS TOULON 441 322 385 - APE 4322B
117, av Marcel Berre - ZI Camp Laurent - 83500 LA SEYNE SUR MER
tél:04.94.94.39.94 fax:04.94.87.86.67 mailto:Richard.PALO@baou.fr
» Avant d'imprimer, pensez aux conséquences environnementales «
--------------010901000702050908040802
Content-Type: text/x-vcard; charset=utf-8;
name="Richard_PALO.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Richard_PALO.vcf"
YmVnaW46dmNhcmQNCmZuOlJpY2hhcmQgUEFMTw0KbjpQQUxPO1JpY2hhcmQNCm9yZzpTQVMg
QkFPVTtUTlQgUEFDQQ0KYWRyOlpJIENhbXAgTGF1cmVudDs7MTE3LCBhdiBNYXJjZWwgQmVy
cmU7TEEgU0VZTkUgU1VSIE1FUjtWQVI7ODM1MDA7RlJBTkNFDQplbWFpbDtpbnRlcm5ldDpy
aWNoYXJkLnBhbG9AYmFvdS5mcg0KdGVsO3dvcms6KzMzIDQgOTQgOTQgMzkgOTQNCnRlbDtm
YXg6KzMzIDQgOTQgODcgODYgNjcNCngtbW96aWxsYS1odG1sOkZBTFNFDQp2ZXJzaW9uOjIu
MQ0KZW5kOnZjYXJkDQoNCg==
--------------010901000702050908040802--
From: "Richard PALO" <richard@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47321 CVS commit: pkgsrc/multimedia/libvpx
Date: Sat, 30 Aug 2014 11:14:52 +0000
Module Name: pkgsrc
Committed By: richard
Date: Sat Aug 30 11:14:52 UTC 2014
Modified Files:
pkgsrc/multimedia/libvpx: Makefile
Log Message:
Use profiles set up for SunOS x86 and x86_64. Testing with /usr/xpg4/bin/grep
exhibits no problems with recent illumos or libvpx.
PR pkg/47321.
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/multimedia/libvpx/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 23 Nov 2014 06:24:57 +0000
State-Changed-Why:
Is this fixed?
State-Changed-From-To: feedback->closed
State-Changed-By: richard@NetBSD.org
State-Changed-When: Tue, 09 Aug 2016 21:11:45 +0000
State-Changed-Why:
confirmed as fixed
>Unformatted:
(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.