NetBSD Problem Report #46644

From www@NetBSD.org  Sun Jul  1 00:55:59 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id C751163BA27
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  1 Jul 2012 00:55:59 +0000 (UTC)
Message-Id: <20120701005558.071D963B85F@www.NetBSD.org>
Date: Sun,  1 Jul 2012 00:55:57 +0000 (UTC)
From: kaosagnt@tpg.com.au
Reply-To: kaosagnt@tpg.com.au
To: gnats-bugs@NetBSD.org
Subject: Pkgsrc cad/xcircuit fails to build Darwin (Mac OS X 10.7.4)
X-Send-Pr-Version: www-1.0

>Number:         46644
>Category:       pkg
>Synopsis:       Pkgsrc cad/xcircuit fails to build Darwin (Mac OS X 10.7.4)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 01 01:00:00 +0000 2012
>Last-Modified:  Mon Jul 09 12:28:13 +0000 2012
>Originator:     Ian McWilliam
>Release:        
>Organization:
>Environment:
Darwin kristamari-w1 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

[kristamari-w1:xcircuit/work/xcircuit] ianm% gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.0

>Description:
===> Configuring for xcircuit-3.4.26
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking build system type... i386-apple-darwin11
checking host system type... i386-apple-darwin11
checking target system type... i386-apple-darwin11
checking for a BSD-compatible install... /usr/bin/install -c -o ianm -g ianm
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for i386-apple-darwin11-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
*** Error code 77

Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/cad/xcircuit
*** Error code 1

Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/cad/xcircuit


Looks like the auto*magik tools lost their magic. Funny that a compiler can not create executables.

Here's the contents of the config log.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr/pkg --with-tcl=/usr/pkg/lib --with-tk=/usr/pkg/lib --with-tclincls=/usr/pkg/include --with-tcllibs=/usr/pkg/lib --with-tkincls=/usr/pkg/include --with-tklibs=/usr/pkg/lib --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --prefix=/usr/pkg --build=i386-apple-darwin11 --host=i386-apple-darwin11 --mandir=/usr/pkg/man

## --------- ##
## Platform. ##
## --------- ##

hostname = kristamari-w1
uname -m = x86_64
uname -r = 11.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
	 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 6.00 gigabytes
Default processor set: 99 tasks, 454 threads, 2 processors
Load average: 2.31, Mach factor: 0.30
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/ianm/ports/pkgsrc/cad/xcircuit/work/.wrapper/bin
PATH: /Users/ianm/ports/pkgsrc/cad/xcircuit/work/.buildlink/bin
PATH: /Users/ianm/ports/pkgsrc/cad/xcircuit/work/.gcc/bin
PATH: /Users/ianm/ports/pkgsrc/cad/xcircuit/work/.tools/bin
PATH: /usr/pkg/bin
PATH: ~/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /Users/ianm/bin
PATH: /usr/X11/bin
PATH: /usr/local/git/bin
PATH: /opt/local/bin
PATH: /usr/pkg/bin
PATH: /usr/X11/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1364: checking build system type
configure:1382: result: i386-apple-darwin11
configure:1390: checking host system type
configure:1404: result: i386-apple-darwin11
configure:1412: checking target system type
configure:1426: result: i386-apple-darwin11
configure:1458: checking for a BSD-compatible install
configure:1513: result: /usr/bin/install -c -o ianm -g ianm
configure:1524: checking whether build environment is sane
configure:1567: result: yes
configure:1632: checking for gawk
configure:1658: result: /usr/bin/awk
configure:1668: checking whether make sets $(MAKE)
configure:1688: result: yes
configure:1878: checking whether make sets $(MAKE)
configure:1898: result: yes
configure:1916: checking for i386-apple-darwin11-gcc
configure:1942: result: gcc
configure:2224: checking for C compiler version
configure:2227: gcc --version </dev/null >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2230: $? = 0
configure:2232: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
configure:2235: $? = 0
configure:2237: gcc -V </dev/null >&5
i686-apple-darwin11-llvm-gcc-4.2: couldn't run '/usr/bin/../llvm-gcc-4.2/bin/i686-apple-darwin11-gcc--I/Users/ianm/ports/pkgsrc/cad/xcircuit/work/.buildlink/include': No such file or directory
configure:2240: $? = 1
configure:2263: checking for C compiler default output file name
configure:2266: gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -ltcl84 -ltk84 -L/usr/pkg/lib -L/usr/lib -L/usr/X11/lib conftest.c  >&5
ld: library not found for -ltcl84
collect2: ld returned 1 exit status
configure:2269: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xcircuit"
| #define VERSION "3.4"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2308: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-apple-darwin11
ac_cv_build_alias=i386-apple-darwin11
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-ltcl84 -ltk84 -L/usr/pkg/lib -L/usr/lib -L/usr/X11/lib'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-apple-darwin11
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-apple-darwin11
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-apple-darwin11
ac_cv_host_alias=i386-apple-darwin11
ac_cv_path_CAT=/bin/cat
ac_cv_path_ECHO=echo
ac_cv_path_EGREP=/usr/bin/egrep
ac_cv_path_ENV=/usr/bin/env
ac_cv_path_FALSE=false
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_TEST=test
ac_cv_path_TRUE=true
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i386-apple-darwin11
ac_cv_target_alias=i386-apple-darwin11

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/ianm/ports/pkgsrc/cad/xcircuit/work/xcircuit-3.4.26/missing --run aclocal-1.9'
ALL_TARGET='undefined-target'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/ianm/ports/pkgsrc/cad/xcircuit/work/xcircuit-3.4.26/missing --run tar'
ANSI2KNR=''
AUTOCONF='${SHELL} /Users/ianm/ports/pkgsrc/cad/xcircuit/work/xcircuit-3.4.26/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/ianm/ports/pkgsrc/cad/xcircuit/work/xcircuit-3.4.26/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/ianm/ports/pkgsrc/cad/xcircuit/work/xcircuit-3.4.26/missing --run automake-1.9'
AWK='/usr/bin/awk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include'
CPP=''
CPPFLAGS='-no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/egrep'
EXEEXT=''
EXTRA_LIB_SPECS=''
GS_EXEC=''
INC_SPECS=''
INSTALL_DATA='/usr/bin/install -c -o ianm -g ianm -m 644'
INSTALL_PROGRAM='/usr/bin/install -c -s -o ianm -g ianm -m 755'
INSTALL_SCRIPT='/usr/bin/install -c -o ianm -g ianm -m 755'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTALL_TARGET='undefined-install-target'
INTERP_PATH=''
LD=''
LDDL_FLAGS=''
LDFLAGS='-ltcl84 -ltk84 -L/usr/pkg/lib -L/usr/lib -L/usr/X11/lib'
LD_RUN_PATH=''
LIBOBJS=''
LIBS=''
LIB_SPECS=''
LTLIBOBJS=''
M4=''
M4_DEFS=''
MAKEINFO='/Users/ianm/ports/pkgsrc/cad/xcircuit/work/.tools/bin/makeinfo'
OBJEXT=''
PACKAGE='xcircuit'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PYTHON=''
RANLIB=''
REVISION='26'
SET_MAKE=''
SHDLIB_EXT=''
SHELL='/bin/sh'
SHLIB_CFLAGS=''
SHLIB_LD=''
SHLIB_LIB_SPECS=''
SPICE_EXEC=''
STARTUP_FILE=''
STDLIBS=''
STRIP=''
SUBDIRS=''
SUBLIB=''
TCL_LIB_DIR=''
U=''
VERSION='3.4'
WISH_EXE=''
WRAPPER_SCRIPT=''
XCIRCUIT_TARGET=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin11'
build_alias='i386-apple-darwin11'
build_cpu='i386'
build_os='darwin11'
build_vendor='apple'
datadir='${prefix}/lib'
exec_prefix='NONE'
host='i386-apple-darwin11'
host_alias='i386-apple-darwin11'
host_cpu='i386'
host_os='darwin11'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/ianm/ports/pkgsrc/cad/xcircuit/work/xcircuit-3.4.26/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='/usr/pkg/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-apple-darwin11'
target_alias=''
target_cpu='i386'
target_os='darwin11'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "xcircuit"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "3.4"

configure: exit 77





>How-To-Repeat:
Try building xcircuit on Darwin (Mac OS X 10.7.4) nothing special.




>Fix:

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
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

 On Sun, Jul 01, 2012 at 01:00:00AM +0000, kaosagnt@tpg.com.au 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.

 So, the problem is that it isn't finding the tcl library.

 Now, the tcl package should be there as xcircuit depends on tcl. So
 there are three obvious ways things could be broken:

 (1) the tcl package is not actually installed (this is easy to check)

 (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)

 (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)?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Ian McWilliam <kaosagnt@tpg.com.au>
To: gnats-bugs@NetBSD.org
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>
 > To: gnats-bugs@NetBSD.org
 > 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 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
 >=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



From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46644: Pkgsrc cad/xcircuit fails to build Darwin (Mac OS X
 10.7.4)
Date: Tue, 3 Jul 2012 16:04:48 +0000

 On Mon, Jul 02, 2012 at 12:35:02AM +0000, Ian McWilliam wrote:
  >  tcl 8.4 in pkgsrc fails to build so I tried 8.5 from wip so (1) a =
  >  version of tcl was installed.

 Ah, but then it needs to use -ltcl85 instead of -ltcl84.

 To just build the package, the path of least resistance is probably to
 edit cad/xcircuit/Makefile locally and change the line

    .include "../../lang/tcl/buildlink3.mk"

 to 

    .include "../../wip/tcl85/buildlink3.mk"

 and you'll also need to change the one for tk to point to tk85 in wip
 too. Then make clean and try building again. If there's nothing
 horribly wrong with the tcl/tk 8.5 packages in wip, that should do the
 trick.

  >  Here's the last of the build failure for tcl 8.4
  > [...]

 Other than being apparently libtool's fault I don't know what's up
 with that. :(

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Mon, 09 Jul 2012 12:28:13 +0000
Responsible-Changed-Why:
Problem on MacOS X (originally, build failure of lang/tcl).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.