Opened 11 years ago

Closed 11 years ago

#39149 closed defect (fixed)

ports querying registry for lua version fail to parse when lua is not installed

Reported by: jmroot (Joshua Root) Owned by: anddam (Andrea D'Amore)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: lua-numlua luarocks luajit

Description

Failed to parse file devel/lua-numlua/Portfile: Registry error: lua not registered as installed & active.
Failed to parse file devel/luarocks/Portfile: Registry error: lua not registered as installed & active.
Failed to parse file lang/luajit/Portfile: Registry error: lua not registered as installed & active.

Change History (3)

comment:1 Changed 11 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: newclosed

Acknowledged in build SL17465, L11040 and ML4859; fixed in r106219, r106221 and r106222.

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: closedreopened

I'm still seeing a problem, apparently with luajit:

$ sudo port -v sync
--->  Updating the ports tree
Synchronizing local ports tree from file:///opt/mports/trunk/dports
Updating '/opt/mports/trunk/dports':
At revision 106223.
Creating port index in /opt/mports/trunk/dports
Failed to parse file lang/luajit/Portfile: Registry error: lua not registered as installed & active.

Total number of ports parsed:	1 
Ports successfully parsed:	0 
Ports failed:			1 
Up-to-date ports skipped:	17057

comment:3 Changed 11 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: reopenedclosed

luajit doesn't depend on lua port, but the lua version checking can still be useful to load mp-provided lua extensions. r106225 should fix the build.

Note: See TracTickets for help on using tickets.