pkgsrc-Bugs archive

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

pkg/40742: [devel/mono-addins] Makefile needs "MAKE_JOBS_SAFE=no"

>Number:         40742
>Category:       pkg
>Synopsis:       [devel/mono-addins] Makefile needs "MAKE_JOBS_SAFE=no"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 24 19:20:01 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.7, pkgsrc-current
Japan Advanced Institute of Science and Technology (JAIST)
System: NetBSD 5.99.7 NetBSD 5.99.7 (MONOLITHIC) #26: Thu 
Feb 19 19:07:45 JST 2009 i386
Architecture: i386
Machine: i386
make fails if MAKE_JOBS=2.

$ make
===> build-message [mono-addins-0.4] ===> Building for mono-addins-0.4
Making all in Mono.Addins
gmake[1]: Entering directory 
mkdir -p ../bin/
Creating policy.0.2.Mono.Addins
cp Mono.Addins.dll.config ../bin/Mono.Addins.dll.config
Creating policy.0.2.Mono.Addins
Creating policy.0.3.Mono.Addins
Creating policy.0.3.Mono.Addins
ALINK: error A1019: Metadata failure creating assembly -- 
System.IO.IOException: Sharing violation on path 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess 
access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions 
options) [0x00000]
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess 
access, FileShare share) [0x00000]
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor 
  at System.IO.File.OpenWrite (System.String path) [0x00000]
  at Mono.Security.StrongName.Sign (System.String fileName) [0x00000]
  at System.Reflection.Emit.AssemblyBuilder.Save (System.String 
assemblyFileName, PortableExecutableKinds portableExecutableKind, 
ImageFileMachine imageFileMachine) [0x00000]
  at System.Reflection.Emit.AssemblyBuilder.Save (System.String 
assemblyFileName) [0x00000]
  at Mono.AssemblyLinker.AssemblyLinker.DoIt () [0x00000]
gmake[1]: *** [policy.0.2.Mono.Addins.dll] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory 
gmake: *** [all-recursive] Error 1
*** Error code 2

make: stopped in /f/ryoh/pkgsrc/devel/mono-addins
*** Error code 1

make: stopped in /usr/pkgsrc/devel/mono-addins
set MAKE_JOBS=2 then make
Index: Makefile
RCS file: /usr/cvsup/pkgsrc/devel/mono-addins/Makefile,v
retrieving revision 1.8
diff -d -p -u -r1.8 Makefile
--- Makefile    8 Jan 2009 12:17:40 -0000       1.8
+++ Makefile    24 Feb 2009 18:29:52 -0000
@@ -9,6 +9,7 @@ MAINTAINER=
 COMMENT=       Framework for creating extensible applications

+MAKE_JOBS_SAFE=        no
 PKG_DESTDIR_SUPPORT=   user-destdir


Home | Main Index | Thread Index | Old Index