pkgsrc-Bugs archive

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

pkg/46644: Pkgsrc cad/xcircuit fails to build Darwin (Mac OS X 10.7.4)



>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:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 01 01:00:00 +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:



Home | Main Index | Thread Index | Old Index