"pkg-config --cflags lua5.3" returns the empty string, but is supposed to return "-I/usr/include/lua5.3". The same holds for lua:5.1 and lua:5.2. The output of pkg-config --libs is broken, too. The ebuild files of lua:5.2 and lua:5.3 packages install lua.pc as lua${SLOT}.pc, but the sed-substitutions on lua.pc are inadequate, causing the wrong outputs of pkg-config. This bug related to #524460, #534150, and #536598.
Also related to bug #592052, and lua-5.2.3-r2.ebuild (commit f6512274) in the current Portage tree does not fix the problem properly. To be attached is my rework of lua-5.2.3-r2.ebuild, based on lua-5.2.3-r1.ebuild.
Created attachment 490182 [details, diff] diff between lua-5.2.3-r1.ebuild and my version of lua-5.2.3-r2.ebuild
Created attachment 490184 [details, diff] diff between the current version and my version of lua.pc
Created attachment 490186 [details, diff] diff between lua-5.2.3-r1.ebuild and my version of lua-5.2.3-r2.ebuild Sorry, forgot to discard an unnecessary change.
The proposed fix is trivial yet the bug is open for more than two years. Is there any plan to resolve this issue?
Fixed, indeed. Thank you.
(In reply to Stefan Huber from comment #6) > Fixed, indeed. Thank you. Damn, wrong bugzilla tab. I am very sorry.
*** This bug has been marked as a duplicate of bug 592052 ***