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
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.7 NetBSD 5.99.7 (MONOLITHIC) #26: Thu 
Feb 19 19:07:45 JST 2009 
root%bonnie.jaist.ac.jp@localhost:/usr/src/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:
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 
`/f/ryoh/pkgsrc/devel/mono-addins/work/mono-addins-0.4/Mono.Addins'
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 
/f/ryoh/pkgsrc/devel/mono-addins/work/mono-addins-0.4/Mono.Addins/policy.0.3.Mono.Addins.dll
  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 
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  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 
`/f/ryoh/pkgsrc/devel/mono-addins/work/mono-addins-0.4/Mono.Addins'
gmake: *** [all-recursive] Error 1
*** Error code 2

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

Stop.
make: stopped in /usr/pkgsrc/devel/mono-addins
        
>How-To-Repeat:
set MAKE_JOBS=2 then make
        
>Fix:
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=     kefren%NetBSD.org@localhost
 HOMEPAGE=      http://www.mono-project.com/Mono.Addins
 COMMENT=       Framework for creating extensible applications

+MAKE_JOBS_SAFE=        no
 PKG_DESTDIR_SUPPORT=   user-destdir

 GNU_CONFIGURE= yes
        



Home | Main Index | Thread Index | Old Index