Opened 11 years ago

Last modified 11 years ago

#38034 closed defect

Error processing ports that set "build.type" if dependency is not installed — at Version 1

Reported by: larryv (Lawrence Velázquez) Owned by: cal@…
Priority: Normal Milestone:
Component: base Version: 2.1.99
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

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.

Change History (1)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Summary: Error while cleaning: "Failed to locate 'bsdmake' in path"Error processing ports that set "build.type" if dependency is not installed
Note: See TracTickets for help on using tickets.