[MacPorts] #68316: luarocks_org 1.0 portgroup missing extract dependency
MacPorts
noreply at macports.org
Sun Oct 1 18:47:46 UTC 2023
#68316: luarocks_org 1.0 portgroup missing extract dependency
------------------------+---------------------------------
Reporter: ryandesign | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: luarocks_org
------------------------+---------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/68316>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list