| Summary: | dev-db/redis - sharedlua patch breaks crosscompiling | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hasso Tepper <hasso.tepper> |
| Component: | Current packages | Assignee: | Sam James <sam> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | bugs, dev-zero, lu_zero, proxy-maint, robbat2, sam |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=600026 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch | ||
The right way to do it is to put PKG_CHECK_MODULES calls for lua in the configure.ac we already provide and not call pkg-config in the Makefile at all. here is a bumped redis with a configure.ac implementing the suggested way: https://gitweb.gentoo.org/dev/dev-zero.git/tree/dev-db/redis?id=663cdce8c01bb9809313b7008a4fedc41c6243db Please note: it requires either lua:5.1 (still p.masked) or luajit. This doesn't seem relevant anymore, we don't use pkg-config in our shared-lua patch. |
Created attachment 433764 [details, diff] Patch The patch calls uses pkg-config directly which calls it for host, not for target as intended. A proposed patch is attached.