Hi Everyone I recently noticed what appears to be a change in Apple's Xcode 4.2.1 that seems to be breaking everything I try to install. Basically, I just need a sanity check to make sure I am not doing something wrong, and whether anyone else is seeing the same behavior.
Basically…I am seeing that clang is being chosen as the default compiler now and not gcc. This seems to be causing a lot of ports to simply not build at all, and is causing severe system failings to occur -- such as, not being able to access /var/log for error output logging, and my Chrome browser begins to fail with the Crash Robot error page. I am force to reboot in order to fix this and its getting really annoying…since I can't downgrade to Xcode3 which does work until MacPorts decides to version check and yell at me for using an old version that isn't supported on Lion. I will use the git-core port as my example…see below for the errors I am seeing all over the place as of recently: make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/git-gui' ./GIT-VERSION-GEN: line 63: /dev/null: Operation not supported /bin/sh: /dev/null: Operation not supported * new locations or Tcl/Tk interpreter GEN git-gui INDEX lib/ /bin/sh: /dev/null: Operation not supported * tclsh failed; using unoptimized loading make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/git-gui' /bin/sh: /dev/null: Operation not supported make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/gitk-git' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/gitk-git' make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/perl' make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/perl' make[2]: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/perl/0: No such file or directory make[2]: *** [pm_to_blib] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/perl' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9/perl' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9' shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.7.9" && /usr/bin/make -w install CFLAGS="-Wall -O2 -I/opt/local/include -arch x86_64 -arch i386" LDFLAGS="-L/opt/local/lib -arch x86_64 -arch i386" CC=/Developer/usr/bin/clang prefix=/opt/local CURLDIR=/opt/local OPENSSLDIR=/opt/local ICONVDIR=/opt/local PERL_PATH="/opt/local/bin/perl5.12" NO_FINK=1 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1 PYTHON_PATH="/opt/local/bin/python2.7" LIBPCREDIR=/opt/local USE_LIBPCRE=1 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/destroot " returned error 2 Error: Target org.macports.destroot returned: shell command failed (see log for details) Warning: the following items did not execute (for git-core): org.macports.activate org.macports.destroot org.macports.install Log for git-core is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> I know I will probably end up filing a bug…but I just need to know if there is anything I can do to force macports to just use GCC instead of CLANG…because CLANG is just messy, and doesn't seem to work like GCC. Thanks, Jeff S.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users