pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46644: Pkgsrc cad/xcircuit fails to build Darwin (Mac OS X 10.7.4)
The following reply was made to PR pkg/46644; it has been noted by GNATS.
From: Ian McWilliam <kaosagnt%tpg.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/46644: Pkgsrc cad/xcircuit fails to build Darwin (Mac OS X
10.7.4)
Date: Mon, 2 Jul 2012 09:14:50 +1000
On 02/07/2012, at 3:25 AM, David Holland wrote:
> The following reply was made to PR pkg/46644; it has been noted by =
GNATS.
>=20
> From: David Holland <dholland-pbugs%netbsd.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:=20
> Subject: Re: pkg/46644: Pkgsrc cad/xcircuit fails to build Darwin (Mac =
OS X
> 10.7.4)
> Date: Sun, 1 Jul 2012 17:24:39 +0000
>=20
> On Sun, Jul 01, 2012 at 01:00:00AM +0000, kaosagnt%tpg.com.au@localhost
> wrote:
>> configure:2263: checking for C compiler default output file name
>> configure:2266: gcc [...] -ltcl84 -ltk84 -L/usr/pkg/lib [...]
>> ld: library not found for -ltcl84
>> [...]
>> configure:2308: error: C compiler cannot create executables
>> See `config.log' for more details.
>=20
> So, the problem is that it isn't finding the tcl library.
>=20
> Now, the tcl package should be there as xcircuit depends on tcl. So
> there are three obvious ways things could be broken:
>=20
> (1) the tcl package is not actually installed (this is easy to check)
>=20
> (2) the tcl package is installed but broken, so that the library
> (/usr/pkg/lib/libtcl84.dylib) is missing for some reason (this is also
> easy to check) or isn't being buildlinked properly
> (work/.buildlink/lib/libtcl84.dylib should be a symbolic link pointing
> to the real copy, which is also easy to check)
>=20
> (3) it's all there but the linker isn't finding it for some reason.
> Can you check (1) and (2) before we start pursuing (3)?
>=20
> --=20
> David A. Holland
> dholland%netbsd.org@localhost
>=20
>=20
>=20
tcl 8.4 in pkgsrc fails to build so I tried 8.5 from wip so (1) a =
version of tcl was installed.
Here's the last of the build failure for tcl 8.4
=3D\".dylib\" -DTCL_LIBRARY=3D\"/usr/pkg/lib/tcl8.4\" =
"-DTCL_PACKAGE_PATH=3D\"/usr/pkg/lib/tcl /usr/pkg/lib =
/usr/pkg/lib/tcl\"" =
/Users/ianm/ports/pkgsrc/lang/tcl/work/tcl8.4.18/unix/tclUnixInit.c -o =
tclUnixInit.o >/dev/null 2>&1
rm -f libtcl8.4.la
libtool --tag CC --mode=3Dlink gcc -rpath /usr/pkg/lib -o libtcl8.4.la =
regcomp.lo regexec.lo regfree.lo regerror.lo tclAlloc.lo tclAsync.lo =
tclBasic.lo tclBinary.lo tclCkalloc.lo tclClock.lo tclCmdAH.lo =
tclCmdIL.lo tclCmdMZ.lo tclCompCmds.lo tclCompExpr.lo tclCompile.lo =
tclDate.lo tclEncoding.lo tclEnv.lo tclEvent.lo tclExecute.lo tclFCmd.lo =
tclFileName.lo tclGet.lo tclHash.lo tclHistory.lo tclIndexObj.lo =
tclInterp.lo tclIO.lo tclIOCmd.lo tclIOGT.lo tclIOSock.lo tclIOUtil.lo =
tclLink.lo tclListObj.lo tclLiteral.lo tclLoad.lo tclMain.lo =
tclNamesp.lo tclNotify.lo tclObj.lo tclPanic.lo tclParse.lo =
tclParseExpr.lo tclPipe.lo tclPkg.lo tclPosixStr.lo tclPreserve.lo =
tclProc.lo tclRegexp.lo tclResolve.lo tclResult.lo tclScan.lo =
tclStringObj.lo tclThread.lo tclThreadAlloc.lo tclThreadJoin.lo =
tclStubInit.lo tclStubLib.lo tclTimer.lo tclUtf.lo tclUtil.lo tclVar.lo =
tclUnixChan.lo tclUnixEvent.lo tclUnixFCmd.lo tclUnixFile.lo =
tclUnixPipe.lo tclUnixSock.lo tclUnixTime.lo tclUnixInit.lo =
tclUnixThrd.lo tclUnixCompat.lo tclUnixNotfy.lo tclLoadDyld.lo =
tclMacOSXBundle.lo tclMacOSXNotify.lo -framework CoreFoundation =
-compatibility_version 8.4 -current_version 8.4.18 -install_name =
/usr/pkg/lib/libtcl8.4.dylib -seg1addr 0xa000000 -sectcreate __TEXT =
__info_plist Tcl-Info.plist -version-info 1:0
libtool: link: rm -fr .libs/libtcl8.4.1.dylib =
.libs/libtcl8.4.1.dylib.dSYM .libs/libtcl8.4.a .libs/libtcl8.4.dylib =
.libs/libtcl8.4.la .libs/libtcl8.4.lai .libs/libtcl8.4.lai.blsav
libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o =
.libs/libtcl8.4.1.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/tclResolve.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/tclUnixCompat.o .libs/tclUnixNotfy.o .libs/tclLoadDyld.o =
.libs/tclMacOSXBundle.o .libs/tclMacOSXNotify.o -framework =
CoreFoundation -L/Users/ianm/ports/pkgsrc/lang/tcl/work/.buildlink/lib =
-framework CoreFoundation -install_name /usr/pkg/lib/libtcl8.4.1.dylib =
-compatibility_version 2 -current_version 2.0 -Wl,-single_module
libtool: link: dsymutil .libs/libtcl8.4.1.dylib || :
warning: no debug symbols in executable (-arch i386)
libtool: link: (cd ".libs" && rm -f "libtcl8.4.dylib" && ln -s =
"libtcl8.4.1.dylib" "libtcl8.4.dylib")
libtool: link: ar cru .libs/libtcl8.4.a regcomp.o regexec.o regfree.o =
regerror.o tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o =
tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o =
tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o =
tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o =
tclInterp.o tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o =
tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o tclNamesp.o =
tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPipe.o =
tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o =
tclResult.o tclScan.o tclStringObj.o tclThread.o tclThreadAlloc.o =
tclThreadJoin.o tclStubInit.o tclStubLib.o tclTimer.o tclUtf.o tclUtil.o =
tclVar.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o =
tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o tclUnixThrd.o =
tclUnixCompat.o tclUnixNotfy.o tclLoadDyld.o tclMacOSXBundle.o =
tclMacOSXNotify.o
/usr/bin/ranlib: file: .libs/libtcl8.4.a(tclThreadJoin.o) has no symbols
/usr/bin/ranlib: file: .libs/libtcl8.4.a(tclUnixNotfy.o) has no symbols
libtool: link: ranlib .libs/libtcl8.4.a
ranlib: file: .libs/libtcl8.4.a(tclThreadJoin.o) has no symbols
ranlib: file: .libs/libtcl8.4.a(tclUnixNotfy.o) has no symbols
libtool: link: ( cd ".libs" && rm -f "libtcl8.4.la" && ln -s =
"../libtcl8.4.la" "libtcl8.4.la" )
libtool --tag CC --mode=3Dlink gcc -Os -pipe -O2 -pipe -no-cpp-precomp =
-isystem /usr/include -DTCL_DBGX=3D -L/usr/pkg/lib -prebind =
-headerpad_max_install_names -Wl,-search_paths_first tclAppInit.o =
-L/Users/ianm/ports/pkgsrc/lang/tcl/work/tcl8.4.18/unix -ltcl8.4 =
-framework CoreFoundation -sectcreate __TEXT __info_plist =
Tclsh-Info.plist -o tclsh
*** [buildlink3] Warning: libtool replaced -ltcl8.4 with =
/Users/ianm/ports/pkgsrc/lang/tcl/work/tcl8.4.18/unix/libtcl8.4.la
libtool: link: gcc -Os -pipe -O2 -pipe -no-cpp-precomp -isystem =
/usr/include -DTCL_DBGX=3D -prebind -headerpad_max_install_names =
-Wl,-search_paths_first tclAppInit.o -sectcreate __TEXT __info_plist =
Tclsh-Info.plist -o .libs/tclsh =
-L/Users/ianm/ports/pkgsrc/lang/tcl/work/.buildlink/lib =
-L/Users/ianm/ports/pkgsrc/lang/tcl/work/tcl8.4.18/unix =
/Users/ianm/ports/pkgsrc/lang/tcl/work/tcl8.4.18/unix/.libs/libtcl8.4.dyli=
b -framework CoreFoundation
ld: warning: PIE disabled. Absolute addressing (perhaps =
-mdynamic-no-pic) not allowed in code signed PIE, but used in =
_Tcl_AppInit from tclAppInit.o. To fix this warning, don't compile with =
-mdynamic-no-pic or link with -Wl,-no_pie
Making directory =
/Users/ianm/ports/pkgsrc/lang/tcl/work/.destdir/usr/pkg/bin
Installing libtcl8.4.dylib to =
/Users/ianm/ports/pkgsrc/lang/tcl/work/.destdir/usr/pkg/lib/
libtool: install: =
/Users/ianm/ports/pkgsrc/lang/tcl/work/tcl8.4.18/unix/install-sh -c =
libtcl8.4.dylib =
/Users/ianm/ports/pkgsrc/lang/tcl/work/.destdir/usr/pkg/lib/libtcl8.4.dyli=
b
install: libtcl8.4.dylib does not exist
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/lang/tcl/work/tcl8.4.18/unix
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/lang/tcl
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/lang/tcl
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/cad/xcircuit
Ian McWilliam
Home |
Main Index |
Thread Index |
Old Index