[MacPorts] #39229: libstdcxx +universal: configure failure
MacPorts
noreply at macports.org
Fri May 24 18:45:33 PDT 2013
#39229: libstdcxx +universal: configure failure
----------------------------+--------------------------------
Reporter: alex.caldas@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: libstdcxx |
----------------------------+--------------------------------
Changes (by larryv@…):
* port: => libstdcxx
Old description:
> xHi,
>
> I'm trying to install the libstdcxx.
> I tried to remove the ld, so when i install the libstdcxx it'll be a
> dependence.
> I tried to install the gcc 4.7 ad 4.8.
> I tried to compile with the clang3-3
>
> I saw some posts talking about this problem, but i wasn't able to find a
> solution.
>
> Now the problem is (i compiled by hand after the error).
>
> Main.log
>
> {{{
> :info:configure checking for libitm support... yes
> :info:configure checking for libsanitizer support... yes
> :info:configure checking for gcc... /opt/local/bin/gcc-apple-4.2 -arch
> i386 -arch x86_64
> :info:configure checking for C compiler default output file name...
> :info:configure configure: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/work/build':
> :info:configure configure: error: C compiler cannot create executables
> :info:configure See `config.log' for more details.
> :info:configure Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/work/build"
> && ../gcc-4.8.0/configure --prefix=/opt/local --build=x86_64-apple-
> darwin12 --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-ppl=/opt/local --with-
> cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check
> --enable-stage1-checking --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
> --enable-languages=c++ --disable-bootstrap --with-pkgversion="MacPorts
> gcc48 4.8.0_0+universal"
> :info:configure Exit code: 77
> :error:configure org.macports.configure for port libstdcxx returned:
> configure failure: command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: configure failure: command execution failed
> while executing
> "$procedure $targetname"
> :info:configure Warning: targets not executed for libstdcxx:
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :notice:configure Please see the log file for port libstdcxx for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/main.log
> }}}
>
> config.log
>
> {{{
> stage2_werror_flag=''
> sysconfdir='${prefix}/etc'
> target='x86_64-apple-darwin12'
> target_alias=''
> target_configargs=''
> target_configdirs='target-libgcc target-libbacktrace target-libgloss
> target-newlib target-libgomp target-libatomic target-libitm target-
> libstdc++-v3 target-libmudflap target-libsanitizer target-libssp target-
> libquadmath target-libgfortran target-boehm-gc target-libffi target-zlib
> target-libjava target-libobjc target-libada target-libgo target-rda'
> target_cpu='x86_64'
> target_noncanonical='x86_64-apple-darwin12'
> target_os='darwin12'
> target_subdir='x86_64-apple-darwin12'
> target_vendor='apple'
> tooldir=''
>
> ## ------------------- ##
> ## File substitutions. ##
> ## ------------------- ##
>
> alphaieee_frag=''
> host_makefile_frag='config/mh-darwin'
> ospace_frag=''
> serialization_dependencies=''
> target_makefile_frag=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> /* confdefs.h */
> #define PACKAGE_NAME ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define PACKAGE_STRING ""
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_URL ""
>
> configure: exit 77
> }}}
>
> Mac OS 10.8.3
>
> Command sudo port install libstdcxx +universal
New description:
Hi,
I'm trying to install the libstdcxx.\\
I tried to remove the ld, so when i install the libstdcxx it'll be a
dependence.\\
I tried to install the gcc 4.7 ad 4.8.\\
I tried to compile with the clang3-3
I saw some posts talking about this problem, but i wasn't able to find a
solution.
Now the problem is (i compiled by hand after the error).
Main.log
{{{
:info:configure checking for libitm support... yes
:info:configure checking for libsanitizer support... yes
:info:configure checking for gcc... /opt/local/bin/gcc-apple-4.2 -arch
i386 -arch x86_64
:info:configure checking for C compiler default output file name...
:info:configure configure: error: in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/work/build':
:info:configure configure: error: C compiler cannot create executables
:info:configure See `config.log' for more details.
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/work/build"
&& ../gcc-4.8.0/configure --prefix=/opt/local --build=x86_64-apple-
darwin12 --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-ppl=/opt/local --with-
cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check
--enable-stage1-checking --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
--enable-languages=c++ --disable-bootstrap --with-pkgversion="MacPorts
gcc48 4.8.0_0+universal"
:info:configure Exit code: 77
:error:configure org.macports.configure for port libstdcxx returned:
configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for libstdcxx:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:notice:configure Please see the log file for port libstdcxx for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/main.log
}}}
config.log
{{{
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-apple-darwin12'
target_alias=''
target_configargs=''
target_configdirs='target-libgcc target-libbacktrace target-libgloss
target-newlib target-libgomp target-libatomic target-libitm target-
libstdc++-v3 target-libmudflap target-libsanitizer target-libssp target-
libquadmath target-libgfortran target-boehm-gc target-libffi target-zlib
target-libjava target-libobjc target-libada target-libgo target-rda'
target_cpu='x86_64'
target_noncanonical='x86_64-apple-darwin12'
target_os='darwin12'
target_subdir='x86_64-apple-darwin12'
target_vendor='apple'
tooldir=''
## ------------------- ##
## File substitutions. ##
## ------------------- ##
alphaieee_frag=''
host_makefile_frag='config/mh-darwin'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
}}}
Mac OS 10.8.3
Command sudo port install libstdcxx +universal
--
Comment:
[[comment:4:ticket:39208|As I already said in your other ticket]], you’ll
have to attach complete logs if you want help.
Please run these commands…
{{{
% sudo port clean libstdcxx
% sudo port selfupdate
% sudo port install libstdcxx +universal
}}}
…and attach the `main.log` and `config.log` files, using the “Attach file”
button above.
{{{
% port logfile libstdcxx
% echo `port work libstdcxx`/build/config.log
}}}
--
Ticket URL: <https://trac.macports.org/ticket/39229#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list