[MacPorts] #33355: cannot build proctools on Lion
#33355: cannot build proctools on Lion ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Here's the make log for building proctools. My Xcode: 4.3 My Lion: 10.7.2 My macports 2.0.3 I'm more than happy to edit any makefiles and retry if someone could point me in the right direction: notice:build ---> Building proctools :debug:build Executing org.macports.build (proctools) :error:build Target org.macports.build returned: can't read "build.cmd": Failed to locate 'bsdmake' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? :debug:build Backtrace: Failed to locate 'bsdmake' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? invoked from within "findBinary bsdmake $portutil::autoconf::bsdmake_path" (procedure "portbuild::build_getmaketype" line 8) invoked from within "portbuild::build_getmaketype" invoked from within "set build.cmd [portbuild::build_getmaketype]" ("uplevel" body line 1) invoked from within "uplevel #0 set $optionName $option_defaults($optionName)" (procedure "default_check" line 11) invoked from within "default_check build.cmd {} r" (read trace on "build.cmd") invoked from within "set $option" (procedure "option" line 10) invoked from within "option build.cmd" (procedure "build_getjobsarg" line 9) invoked from within "build_getjobsarg" (procedure "portbuild::build_main" line 4) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for proctools): org.macports.activate org.macports.build org.macports.destroot org.macports.install -- Ticket URL: <https://trac.macports.org/ticket/33355> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: cannot build proctools on Lion ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => akitada@… * port: => proctools Old description:
Here's the make log for building proctools. My Xcode: 4.3 My Lion: 10.7.2 My macports 2.0.3
I'm more than happy to edit any makefiles and retry if someone could point me in the right direction:
notice:build ---> Building proctools :debug:build Executing org.macports.build (proctools) :error:build Target org.macports.build returned: can't read "build.cmd": Failed to locate 'bsdmake' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? :debug:build Backtrace: Failed to locate 'bsdmake' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? invoked from within "findBinary bsdmake $portutil::autoconf::bsdmake_path" (procedure "portbuild::build_getmaketype" line 8) invoked from within "portbuild::build_getmaketype" invoked from within "set build.cmd [portbuild::build_getmaketype]" ("uplevel" body line 1) invoked from within "uplevel #0 set $optionName $option_defaults($optionName)" (procedure "default_check" line 11) invoked from within "default_check build.cmd {} r" (read trace on "build.cmd") invoked from within "set $option" (procedure "option" line 10) invoked from within "option build.cmd" (procedure "build_getjobsarg" line 9) invoked from within "build_getjobsarg" (procedure "portbuild::build_main" line 4) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for proctools): org.macports.activate org.macports.build org.macports.destroot org.macports.install
New description: Here's the make log for building proctools. [[br]] My Xcode: 4.3 [[br]] My Lion: 10.7.2 [[br]] My macports 2.0.3 I'm more than happy to edit any makefiles and retry if someone could point me in the right direction: {{{ notice:build ---> Building proctools :debug:build Executing org.macports.build (proctools) :error:build Target org.macports.build returned: can't read "build.cmd": Failed to locate 'bsdmake' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? :debug:build Backtrace: Failed to locate 'bsdmake' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? invoked from within "findBinary bsdmake $portutil::autoconf::bsdmake_path" (procedure "portbuild::build_getmaketype" line 8) invoked from within "portbuild::build_getmaketype" invoked from within "set build.cmd [portbuild::build_getmaketype]" ("uplevel" body line 1) invoked from within "uplevel #0 set $optionName $option_defaults($optionName)" (procedure "default_check" line 11) invoked from within "default_check build.cmd {} r" (read trace on "build.cmd") invoked from within "set $option" (procedure "option" line 10) invoked from within "option build.cmd" (procedure "build_getjobsarg" line 9) invoked from within "build_getjobsarg" (procedure "portbuild::build_main" line 4) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for proctools): org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} -- -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: cannot build proctools on Lion ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Comment(by ryandesign@…): MacPorts 2.0.3 is not compatible with Xcode 4.3. See wiki:ProblemHotlist#xcode43. Downgrade to Xcode 4.2.1 or wait for MacPorts 2.0.4. Also ensure you have installed the command line tools. These are now optional with Xcode 4.3, but as always are still required by MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: cannot build proctools on Lion ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Changes (by dports@…): * cc: dports@… (added) Comment: Xcode 4.3 doesn't include bsdmake, even with the command line tools installed. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: cannot build proctools on Lion ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Comment(by michael@…): Thanks! I'll wait for the next version of macports, then. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: cannot build proctools on Lion ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Comment(by cal@…): I can confirm this with Xcode 4.3 and trunk. We should probably add a build dependency on bmake. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: cannot build proctools on Lion ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Comment(by cal@…): Attached patch makes proctools build with Xcode 4.3 by using `bmake` as a replacement for the no longer available `bsdmake`. However, we should probably fix this in base, because this will happen for all ports setting `build.type bsd` (see source:/trunk/base/src/port1.0/portbuild.tcl@79593:68-76#L70). -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: bsdmake not available in Xcode 4.3 ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.4 Component: base | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Changes (by cal@…): * milestone: => MacPorts 2.0.4 * component: ports => base -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: bsdmake not available in Xcode 4.3 ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Comment(by barry.allard@…): Applying the Portfile patch and patching portbuild.tcl to use bmake creates a working proctools @0.4pre1_2 MacPorts 2.0.4 Xcode 4.3 + CLT + 10.7.3. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: bsdmake not available in Xcode 4.3 ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Comment(by cal@…): As a quickfix, you can install proctools using `port install proctools build.cmd=bmake` with bmake installed. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: bsdmake not available in Xcode 4.3 ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Comment(by michael@…): Worked great. Thanks, guys! -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: bsdmake not available in Xcode 4.3 ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: proctools ----------------------------------+----------------------------------------- Changes (by raimue@…): * cc: raimue@… (added) Comment: I have ported the old bsdmake including the mk files in the new bsdmake port (see r90611). Since MacPorts already has a fallback to look for bsdmake in PATH, it should only be necessary to add dependencies on bsdmake to make broken ports work again. As the bsdmake port ships the same mk-files as used previously with Xcode <= 4.2, I expect more compatibility than using bmake. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: bsdmake not available in Xcode 4.3 -----------------------------------+---------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Resolution: fixed | Keywords: Port: proctools | -----------------------------------+---------------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: r90650 automatically adds a `bin:bsdmake:bsdmake` build-dependency to ports setting `build.type bsd`. -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33355: bsdmake not available in Xcode 4.3 -----------------------------------+---------------------------------------- Reporter: michael@… | Owner: akitada@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.0.5 Component: base | Version: 2.0.3 Resolution: fixed | Keywords: Port: proctools | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * milestone: MacPorts Future => MacPorts 2.0.5 -- Ticket URL: <https://trac.macports.org/ticket/33355#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts