Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582564 - dev-db/redis - sharedlua patch breaks crosscompiling
Summary: dev-db/redis - sharedlua patch breaks crosscompiling
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
Depends on:
Reported: 2016-05-09 12:18 UTC by Hasso Tepper
Modified: 2016-11-16 18:30 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---

Patch (redis-pkg-config-cross.patch,3.94 KB, patch)
2016-05-09 12:18 UTC, Hasso Tepper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hasso Tepper 2016-05-09 12:18:47 UTC
Created attachment 433764 [details, diff]

The patch calls uses pkg-config directly which calls it for host, not for target as intended. A proposed patch is attached.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2016-08-18 14:30:35 UTC
The right way to do it is to put PKG_CHECK_MODULES calls for lua in the we already provide and not call pkg-config in the Makefile at all.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2016-08-18 15:27:15 UTC
here is a bumped redis with a implementing the suggested way:

Please note: it requires either lua:5.1 (still p.masked) or luajit.