CC src/wrk.c In file included from src/wrk.c:3:0: src/wrk.h:13:10: fatal error: lua.h: No such file or directory #include <lua.h> ^~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop_libressl-test_20180203-123634 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv app-benchmarks/wrk [ebuild N ] app-benchmarks/wrk-4.0.2 USE="libressl"
Created attachment 517934 [details] emerge-info.txt
Created attachment 517936 [details] app-benchmarks:wrk-4.1.0:20180205-044909.log
Created attachment 517938 [details] emerge-history.txt
Created attachment 517940 [details] environment
Created attachment 517942 [details] etc.portage.tbz2
Created attachment 517944 [details] temp.tbz2
this package should have a dependency on dev-lang/lua. then it compiles fine
The wrk Makefile appears to make assumptions about the paths of lua and openssl. Specifically, case in point, that luajit isn't in /usr/include/luajit-2.0 I've made a patch for Makefile, which I'll attached, that removes the assumptions, and instead uses pkg-config for cflags and libs... which then builds and runs fine for me.
Created attachment 519270 [details, diff] Patch to use pkg-config instead of making assumptions about paths.
Thanks, I have updated it with the lua dependency, and a patch for the Makefile. commit fad10b987b46a7c062dc561430ca8f04a6ce0eba Author: Vikraman Choudhury <vikraman@gentoo.org> Date: 4 hours ago app-benchmarks/wrk: Fix lua dep and patch Makefile X-Gentoo-Bug: 646692 X-Gentoo-Bug-Url: https://bugs.gentoo.org/646692 Package-Manager: Portage-2.3.13, Repoman-2.3.3