Opened 11 years ago

Closed 11 years ago

#39436 closed defect (fixed)

lua-lpeg @0.11 +universal: cannot find lua package

Reported by: philippe.robert@… Owned by: anddam (Andrea D'Amore)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: andremm@…, Veence (Vincent)
Port: lua-lpeg

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

After a selfupdate to 2.1.3 and removing the port lpeg I cannot install lua-lpeg (anymore):

sudo port install lua-lpeg +universal
--->  Computing dependencies for lua-lpeg
--->  Staging lua-lpeg into destroot
Error: org.macports.destroot for port lua-lpeg returned: Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable
No package 'lua' found
Please see the log file for port lua-lpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-lpeg/lua-lpeg/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port lua-lpeg failed

As a side note, the dependencies are installed correctly:

lua @5.2.2_0+universal (active)

pkgconfig @0.28_0+universal (active)

Change History (2)

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

Cc: andremm@… added
Description: modified (diff)
Milestone: MacPorts 2.2.0
Owner: changed from macports-tickets@… to and.damore@…
Summary: lua-lpeg @0.11 +universal Dependency errorlua-lpeg @0.11 +universal: cannot find lua package

Thanks for the ticket. In the future, please Cc relevant port maintainers and use WikiFormatting in your ticket descriptions.

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

Cc: vince@… added
Resolution: fixed
Status: newclosed

It's due to r105881, pkg-config's pc files usually aren't versioned.

Fix committed in r107027.

Note: See TracTickets for help on using tickets.