[MacPorts] #38034: Error processing ports that set "build.type" if dependency is not installed (was: Error while cleaning: "Failed to locate 'bsdmake' in path")

MacPorts noreply at macports.org
Mon Feb 11 23:17:52 PST 2013


#38034: Error processing ports that set "build.type" if dependency is not installed
-----------------------+--------------------
  Reporter:  larryv@…  |      Owner:  cal@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.1.99
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------
Description changed by larryv@…:

Old description:

> Running from trunk at r103010.
>
> {{{
> % sudo port -d clean agrep
> DEBUG: Copying /Users/larryv/Library/Preferences/com.apple.dt.Xcode.plist
> to /opt/local/var/macports/home/Library/Preferences
> DEBUG: Changing to port directory:
> /Users/larryv/Projects/MacPorts/trunk/dports/sysutils/agrep
> DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> DEBUG: universal_variant is false, so not adding the default universal
> variant
> DEBUG: Running callback
> portconfigure::add_automatic_compiler_dependencies
> DEBUG: Finished running callback
> portconfigure::add_automatic_compiler_dependencies
> DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
> DEBUG: 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
> "string match "*bsdmake*" ${build.cmd}"
>     (procedure "portbuild::add_automatic_buildsystem_dependencies" line
> 4)
>     invoked from within
> "${callback}"
>     (procedure "port::run_callbacks" line 5)
>     invoked from within
> "port::run_callbacks"
>     invoked from within
> "$workername eval port::run_callbacks"
>     (procedure "mportopen" line 59)
>     invoked from within
> "mportopen $porturl [array get options] [array get requested_variations]"
> Error: Unable to open port: 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?
> %
> }}}

New description:

 Running from trunk at r103010.

 {{{
 % sudo port -d clean agrep
 DEBUG: Copying /Users/larryv/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 DEBUG: Changing to port directory:
 /Users/larryv/Projects/MacPorts/trunk/dports/sysutils/agrep
 DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
 DEBUG: universal_variant is false, so not adding the default universal
 variant
 DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
 DEBUG: Finished running callback
 portconfigure::add_automatic_compiler_dependencies
 DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
 DEBUG: 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
 "string match "*bsdmake*" ${build.cmd}"
     (procedure "portbuild::add_automatic_buildsystem_dependencies" line 4)
     invoked from within
 "${callback}"
     (procedure "port::run_callbacks" line 5)
     invoked from within
 "port::run_callbacks"
     invoked from within
 "$workername eval port::run_callbacks"
     (procedure "mportopen" line 59)
     invoked from within
 "mportopen $porturl [array get options] [array get requested_variations]"
 Error: Unable to open port: 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?
 %
 }}}

 Also happens with `port info agrep`. Trying to read `build.cmd` runs
 `build_getmaketype`, which fails because I don’t have `bsdmake` installed.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/38034#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list