Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#38034 closed defect (fixed)

Error processing ports that set "build.type" if dependency is not installed

Reported by: larryv (Lawrence Velázquez) Owned by: larryv (Lawrence Velázquez)
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 (5)

comment:1 Changed 8 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

comment:2 Changed 8 years ago by larryv (Lawrence Velázquez)

Owner: changed from cal@… to larryv@…
Status: newassigned

comment:3 Changed 8 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: assignedclosed

Never mind; fixed this myself in r103028.

comment:4 Changed 8 years ago by larryv (Lawrence Velázquez)

Milestone: MacPorts Future

comment:5 Changed 8 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.