cannot configure with MacPorts gcc48 4.8.3_0

Bug #1378061 reported by Marco Zocca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pytave
New
Undecided
Unassigned

Bug Description

I followed these steps to retrieve pytave:

bzr branch lp:pytave
cd pytave
bzr revert -r 51
autoreconf --install
./configure

There appears to be an error during the core tests:

configure:2797: $? = 0
configure:2786: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:2797: $? = 1
configure:2786: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files

complete LOG follows:

$ cat config.log

It was created by pytave configure dev, which was
generated by GNU Autoconf 2.69. Invocation command line was

  $ ./configure

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

hostname = fermi.local
uname -m = x86_64
uname -r = 13.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64

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

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
  Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 248 tasks, 1187 threads, 4 processors
Load average: 1.50, Mach factor: 2.48
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /Users/ocramz/.opam/system/bin
PATH: /Users/ocramz/Library/Haskell/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
PATH: /usr/local/MacGPG2/bin
PATH: /usr/texbin

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

configure:2723: checking for g++
configure:2739: found /opt/local/bin/g++
configure:2750: result: g++
configure:2777: checking for C++ compiler version
configure:2786: g++ --version >&5
g++ (MacPorts gcc48 4.8.3_0) 4.8.3
Copyright (C) 2013 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:2797: $? = 0
configure:2786: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin13/4.8.3/lto-wrapper
Target: x86_64-apple-darwin13
Configured with: /opt/local/var/macports/build/_opt_mports_dports_lang_gcc48/gcc48/work/gcc-4.8.3/configure --prefix=/opt/local --build=x86_64-apple-darwin13 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc48 4.8.3_0'
Thread model: posix
gcc version 4.8.3 (MacPorts gcc48 4.8.3_0)
configure:2797: $? = 0
configure:2786: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:2797: $? = 1
configure:2786: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:2797: $? = 1
configure:2817: checking whether the C++ compiler works
configure:2839: g++ conftest.cpp >&5
dyld: Library not loaded: /opt/local/lib/libgmp.10.dylib
  Referenced from: /opt/local/libexec/gcc/x86_64-apple-darwin13/4.8.3/cc1plus
  Reason: image not found
g++: internal compiler error: Trace/BPT trap: 5 (program cc1plus)
./configure: line 2841: 22465 Abort trap: 6 $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5
configure:2843: $? = 134
configure:2881: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https://bugs.launchpad.net/pytave"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2886: error: in `/Users/ocramz/pytave':
configure:2888: error: C++ compiler cannot create executables

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.