NetBSD Problem Report #30916
From dauphin@enst.fr Fri Aug 5 08:35:51 2005
Return-Path: <dauphin@enst.fr>
Received: from smtp2.enst.fr (revol1.enst.fr [137.194.32.27])
by narn.netbsd.org (Postfix) with ESMTP id 06EA763B117
for <gnats-bugs@gnats.netbsd.org>; Fri, 5 Aug 2005 08:35:51 +0000 (UTC)
Message-Id: <1123230938.0@bi.enst.fr>
Date: Fri, 5 Aug 2005 10:35:38 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@netbsd.org>
Subject: devel/nspr nspr-4.4.1
X-Send-Pr-Version: gtk-send-pr 0.4.5
X-GNATS-Notify:
>Number: 30916
>Category: pkg
>Synopsis: devel/nspr nspr-4.4.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 05 08:36:00 +0000 2005
>Closed-Date: Mon Aug 07 11:14:42 +0000 2006
>Last-Modified: Mon Aug 07 11:14:42 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic i86pc
>Description:
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gcc -o os_SunOS_x86.o -I/usr/include -O -I/usr/incl
ude -Wall -pthreads -fPIC -UDEBUG -DNDEBUG=1 -DXP_UNIX=1 -DSVR4=1 -DSYSV=1 -D__svr4=1 -D__svr4__=1 -DSOLAR
IS=1 -DHAVE_FCNTL_FILE_LOCKING=1 -Di386=1 -D_PR_HAVE_OFF64_T=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_LCHOWN=1 -DHAV
E_STRERROR=1 -D_REENTRANT=1 -DHAVE_POINTER_LOCALTIME_R=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON
_SEM -D_NSPR_BUILD_ -I../../../../dist/include/nspr -I../../../../../pr/include -I../../../../../pr/include/
private -Wa,-P -c ../../../../../pr/src/md/unix/os_SunOS_x86.s
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> /usr/sfw/bin/gas: unrecognized option `-P'
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[4]: *** [os_SunOS_x86.o] Error 1
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[4]: Leaving directory `/usr/pkgsrc/devel/nspr/w
ork/nspr-4.4.1/mozilla/nsprpub/build/pr/src/md/unix'
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[3]: *** [export] Error 2
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[3]: Leaving directory `/usr/pkgsrc/devel/nspr/w
ork/nspr-4.4.1/mozilla/nsprpub/build/pr/src/md'
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[2]: *** [export] Error 2
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[2]: Leaving directory `/usr/pkgsrc/devel/nspr/w
ork/nspr-4.4.1/mozilla/nsprpub/build/pr/src'
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[1]: *** [export] Error 2
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake[1]: Leaving directory `/usr/pkgsrc/devel/nspr/w
ork/nspr-4.4.1/mozilla/nsprpub/build/pr'
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> gmake: *** [export] Error 2
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> *** Error code 2
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386>
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> Stop.
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> bmake: stopped in /usr/pkgsrc/devel/nspr
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> ===>
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> ===> There was an error during the ``build'' phase.
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> ===> Please investigate the following for more inform
ation:
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> ===> * log of the build
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> ===> * /usr/pkgsrc/devel/nspr/work/.work.log
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> ===>
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> *** Error code 1
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386>
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> Stop.
2005/07/21 21:42:32 395/5500= 7.2% devel/nspr @ i386> bmake: stopped in /usr/pkgsrc/devel/nspr
>How-To-Repeat:
bmake in devel/nspr
>Fix:
<root@u2: 721> pwd
/usr/pkgsrc/devel/nspr
<root@u2: 722> diff -bu Makefile.orig Makefile
--- Makefile.orig Fri Jun 17 05:06:21 2005
+++ Makefile Fri Aug 5 10:30:27 2005
@@ -53,3 +53,7 @@
.endif
.include "../../mk/bsd.pkg.mk"
+
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CONFIGURE_ENV+= GNU_AS=1
+.endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sat, 06 Aug 2005 18:08:15 +0000
Responsible-Changed-Why:
solaris problem
From: grant beattie <grant@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/30916: devel/nspr nspr-4.4.1
Date: Mon, 8 Aug 2005 07:54:02 +1000
On Fri, Aug 05, 2005 at 08:36:00AM +0000, Gilles Dauphin wrote:
> --- Makefile.orig Fri Jun 17 05:06:21 2005
> +++ Makefile Fri Aug 5 10:30:27 2005
> @@ -53,3 +53,7 @@
> .endif
>
> .include "../../mk/bsd.pkg.mk"
> +
> +.if !empty(PKGSRC_COMPILER:Mgcc)
> +CONFIGURE_ENV+= GNU_AS=1
> +.endif
this fix is incorrect; pkgsrc does not support GNU binutils on
Solaris. it should be made to work with the Solaris-supplied tools.
grant.
State-Changed-From-To: open->feedback
State-Changed-By: markd@netbsd.org
State-Changed-When: Sat, 05 Aug 2006 02:12:09 +0000
State-Changed-Why:
Is this problem still there for you? Latest package builds for me on
Solaris10 i386 for sunpro and gcc3 both 32 and 64bit.
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: solaris-pkg-people@NetBSD.org, gnats-admin@NetBSD.org,
markd@NetBSD.org, gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/30916 (devel/nspr nspr-4.4.1)
Date: Mon, 7 Aug 2006 12:13:29 +0200 (CEST)
> From: markd@NetBSD.org
> Subject: Re: pkg/30916 (devel/nspr nspr-4.4.1)
>
> Synopsis: devel/nspr nspr-4.4.1
>
> State-Changed-From-To: open->feedback
> State-Changed-By: markd@netbsd.org
> State-Changed-When: Sat, 05 Aug 2006 02:12:09 +0000
> State-Changed-Why:
> Is this problem still there for you? Latest package builds for me on
> Solaris10 i386 for sunpro and gcc3 both 32 and 64bit.
That's fine, latest package, nspr-4.6.1nb1, build for me.
You can close the PR.
Thanks for the fix.
Gilles
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Mon, 07 Aug 2006 11:14:42 +0000
State-Changed-Why:
Confirmed fixed, thanks for the feedback!
>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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.