Opened 13 months ago

Last modified 12 months ago

#68316 assigned defect

luarocks_org 1.0 portgroup missing extract dependency

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: luarocks_org

Description

Attempting to extract a port that uses the luarocks_org 1.0 portgroup, such as lua51-lpeg, fails:

--->  Extracting lpeg-1.1.0-1.src.rock
DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/luarocks/lpeg-1.1.0-1.src.rock'
DEBUG: Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lua_lua-lpeg/lua51-lpeg/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
DEVELOPER_DIR='/Library/Developer/CommandLineTools'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='12.0'
SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lua_lua-lpeg/lua51-lpeg/work" && /opt/local/bin/luarocks unpack '/opt/local/var/macports/distfiles/luarocks/lpeg-1.1.0-1.src.rock' 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lua_lua-lpeg/lua51-lpeg/work" && /opt/local/bin/luarocks unpack '/opt/local/var/macports/distfiles/luarocks/lpeg-1.1.0-1.src.rock' 
sh: /opt/local/bin/luarocks: No such file or directory
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lua_lua-lpeg/lua51-lpeg/work" && /opt/local/bin/luarocks unpack '/opt/local/var/macports/distfiles/luarocks/lpeg-1.1.0-1.src.rock' 
Exit code: 127

It is trying to use /opt/local/bin/luarocks which fails because whatever port provides that file is not declared as an extract dependency.

Change History (1)

comment:1 Changed 12 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.