pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30916: devel/nspr nspr-4.4.1



>Number:         30916
>Category:       pkg
>Synopsis:       devel/nspr nspr-4.4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 05 08:36:00 +0000 2005
>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






Home | Main Index | Thread Index | Old Index