pkgsrc-Bugs archive

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

Re: pkg/29215: lang/tcl build fails on MacOS X 10.[12].x after mk/wrapper changes



The following reply was made to PR pkg/29215; it has been noted by GNATS.

From: "Johnny C. Lam" <jlam%NetBSD.org@localhost>
To: Min Sik Kim <minskim%NetBSD.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/29215: lang/tcl build fails on MacOS X 10.[12].x after 
mk/wrapper
 changes
Date: Mon, 14 Feb 2005 11:36:25 -0500

 Min Sik Kim wrote:
 > On Feb 3, 2005, at 12:33 PM, jdbaker%netbsd.org@localhost wrote:
 > 
 >> Building lang/tcl fails as follows:
 >>
 >> gcc -pipe -dynamiclib ${wl}-flat_namespace ${wl}-undefined 
 >> ${wl}suppress -o .libs/libtcl84.1.0.0.dylib  .libs/regcomp.o 
 >> .libs/regexec.o .libs/regfree.o .libs/regerror.o .libs/tclAlloc.o 
 >> .libs/tclAsync.o .libs/tclBasic.o .libs/tclBinary.o .libs/tclCkalloc.o 
 >> .libs/tclClock.o .libs/tclCmdAH.o .libs/tclCmdIL.o .libs/tclCmdMZ.o 
 >> .libs/tclCompCmds.o .libs/tclCompExpr.o .libs/tclCompile.o 
 >> .libs/tclDate.o .libs/tclEncoding.o .libs/tclEnv.o .libs/tclEvent.o 
 >> .libs/tclExecute.o .libs/tclFCmd.o .libs/tclFileName.o .libs/tclGet.o 
 >> .libs/tclHash.o .libs/tclHistory.o .libs/tclIndexObj.o 
 >> .libs/tclInterp.o .libs/tclIO.o .libs/tclIOCmd.o .libs/tclIOGT.o 
 >> .libs/tclIOSock.o .libs/tclIOUtil.o .libs/tclLink.o .libs/tclListObj.o 
 >> .libs/tclLiteral.o .libs/tclLoad.o .libs/tclMain.o .libs/tclNamesp.o 
 >> .libs/tclNotify.o .libs/tclObj.o .libs/tclPanic.o .libs/tclParse.o 
 >> .libs/tclParseExpr.o .libs/tclPipe.o .libs/tclPkg.o 
 >> .libs/tclPosixStr.o .libs/tclPreserve.o .libs/tclProc.o 
 >> .libs/tclRegexp.o .libs/tclResolv
 >>  e.o .libs/tclResult.o .libs/tclScan.o .libs/tclStringObj.o 
 >> .libs/tclThread.o .libs/tclThreadAlloc.o .libs/tclThreadJoin.o 
 >> .libs/tclStubInit.o .libs/tclStubLib.o .libs/tclTimer.o .libs/tclUtf.o 
 >> .libs/tclUtil.o .libs/tclVar.o .libs/tclUnixChan.o 
 >> .libs/tclUnixEvent.o .libs/tclUnixFCmd.o .libs/tclUnixFile.o 
 >> .libs/tclUnixPipe.o .libs/tclUnixSock.o .libs/tclUnixTime.o 
 >> .libs/tclUnixInit.o .libs/tclUnixThrd.o .libs/tclUnixNotfy.o 
 >> .libs/tclLoadDyld.o .libs/tclMacOSXBundle.o  
 >> -L/Volumes/NetBSD/tmp/pkgsrc/lang/tcl/work/.buildlink/lib -ltcl84  
 >> -install_name  /usr/pkg/lib/libtcl84.1.dylib 
 >> -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0
 >> /usr/bin/libtool: can't locate file for: -ltcl84
 >> /usr/bin/libtool: file: -ltcl84 is not an object file (not allowed in 
 >> a library)
 >> *** Error code 1
 > 
 > 
 > The wrapper framework now doesn't skip the argument of "-install_name" 
 > any more when calling libtool.  Moving the -install-name case from 
 > arg-pp-darwin-gcc to arg-pp-main will fix the problem.  See the patch 
 > below.
 
 If anyone has a .work.log that I could look at for the above error, that 
 would help greatly.  The proposed patch is only hiding some deeper issue 
 that should be fixed.
 
        Thanks,
 
        -- Johnny Lam <jlam%NetBSD.org@localhost>
 



Home | Main Index | Thread Index | Old Index