[MacPorts] #31616: smake 1.2.1 fails to build using Xcode 4.2
#31616: smake 1.2.1 fails to build using Xcode 4.2 ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: smake ---------------------------------+------------------------------------------ Building smake 1.2.1 after upgrading to Xcode 4.2 hangs at the same position. The OBJ/i386-darwin-cc/avoffset process uses 100% CPU when this happens. {{{ $ sudo port -v upgrade outdated Password: ---> Building smake gnumake: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_smake/smake/work/smake-1.2.1' NOTICE: Using bootstrap 'Makefile' to make 'all' cd psmake && sh ./MAKE-all Checking for working bootstrap make... ./smake: Found illegal option '--jobserver-fds=6,7 -j' in MAKEFLAGS. ./smake: Skipping illegal option '--jobserver-fds=6,7'. Smake release 1.2.1 (--) Copyright (C) 1985, 87, 88, 91, 1995-2010 Jörg Schilling ./psmake/smake -r all ./psmake/smake: Found illegal option '--jobserver-fds=6,7 -j' in MAKEFLAGS. ./psmake/smake: Skipping illegal option '--jobserver-fds=6,7'. ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf" ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc" ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk" ==> GENERATING include file "../incs/i386-darwin-cc/align.h" ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk" ==> GENERATING include file "../incs/i386-darwin-cc/avoffset.h" }}} -- Ticket URL: <https://trac.macports.org/ticket/31616> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31616: smake 1.2.1 fails to build using Xcode 4.2 ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: smake ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => mww@… -- Ticket URL: <https://trac.macports.org/ticket/31616#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31616: smake 1.2.1 fails to build using Xcode 4.2 ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: smake ---------------------------------+------------------------------------------ Comment(by fclaire@…): Hi, I'm hitting the same issue. Any idea how to work around it ? -- Ticket URL: <https://trac.macports.org/ticket/31616#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31616: smake 1.2.1 fails to build using Xcode 4.2 ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: smake ---------------------------------+------------------------------------------ Comment(by macports@…): I finally got this port to build by using the "-vv" flag. Perhaps this turns off parallel compilation? Maybe I was just lucky though. -- Ticket URL: <https://trac.macports.org/ticket/31616#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31616: smake 1.2.1 fails to build using Xcode 4.2 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: smake | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: It's building with 'gcc' which ends up being llvm-gcc-4.2 with Xcode 4.x. Using clang instead seems to make it work. r91666 -- Ticket URL: <https://trac.macports.org/ticket/31616#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31616: smake 1.2.1 fails to build using Xcode 4.2 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: smake | ----------------------------------+----------------------------------------- Comment(by jmr@…): Actually, clang seems to have the same problem in older Xcode versions -- 4.3 is OK, 4.1 is not, 4.2 I don't have handy. Guess we'll just have to fall back to gcc 4.2. r91667 If anyone finds a better solution, or if this works with the clang in Xcode 4.2, please let us know of course. -- Ticket URL: <https://trac.macports.org/ticket/31616#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts