Created attachment 908630 [details] emerge --info wrk $ sudo emerge -av wrk >>> Completed (1 of 2) dev-lang/luajit-2.1.1727870382::gentoo >>> Emerging (2 of 2) app-benchmarks/wrk-4.2.0::gentoo * wrk-4.2.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * Using luajit to build >>> Unpacking source... >>> Unpacking wrk-4.2.0.tar.gz to /var/tmp/portage/app-benchmarks/wrk-4.2.0/work >>> Source unpacked in /var/tmp/portage/app-benchmarks/wrk-4.2.0/work >>> Preparing source in /var/tmp/portage/app-benchmarks/wrk-4.2.0/work/wrk-4.2.0 ... * Applying wrk-4.2.0-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-benchmarks/wrk-4.2.0/work/wrk-4.2.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-benchmarks/wrk-4.2.0/work/wrk-4.2.0 ... make --jobs 16 --load-average 17 CC=x86_64-pc-linux-gnu-gcc LUA_LIBS=-lluajit-5.1 VER=4.2.0 WITH_LUAJIT=-I/usr/include/luajit-2.1 WITH_OPENSSL=/usr x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/wrk.o src/wrk.c LUAJIT src/wrk.lua x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/net.o src/net.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/ssl.o src/ssl.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/aprintf.o src/aprintf.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/stats.o src/stats.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/script.o src/script.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/units.o src/units.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/ae.o src/ae.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/zmalloc.o src/zmalloc.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Wall -D_REENTRANT -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iobj/include -I/usr/include/luajit-2.1 -I/usr/include -c -o obj/http_parser.o src/http_parser.c luajit: unknown luaJIT command or jit.* modules not installed make: *** [Makefile:60: obj/bytecode.c] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: app-benchmarks/wrk-4.2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-benchmarks/wrk-4.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-benchmarks/wrk-4.2.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-benchmarks/wrk-4.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-benchmarks/wrk-4.2.0/temp/environment'. * Working directory: '/var/tmp/portage/app-benchmarks/wrk-4.2.0/work/wrk-4.2.0' * S: '/var/tmp/portage/app-benchmarks/wrk-4.2.0/work/wrk-4.2.0' >>> Failed to emerge app-benchmarks/wrk-4.2.0, Log file: >>> '/var/tmp/portage/app-benchmarks/wrk-4.2.0/temp/build.log' * Messages for package app-benchmarks/wrk-4.2.0: * ERROR: app-benchmarks/wrk-4.2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-benchmarks/wrk-4.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-benchmarks/wrk-4.2.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-benchmarks/wrk-4.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-benchmarks/wrk-4.2.0/temp/environment'. * Working directory: '/var/tmp/portage/app-benchmarks/wrk-4.2.0/work/wrk-4.2.0' * S: '/var/tmp/portage/app-benchmarks/wrk-4.2.0/work/wrk-4.2.0' * GNU info directory index is up-to-date.
*** Bug 943392 has been marked as a duplicate of this bug. ***
See Also: https://bugs.gentoo.org/943395
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6fd10b22e18f1729a45a56ccd71fca410be662 commit fc6fd10b22e18f1729a45a56ccd71fca410be662 Author: Artemis Everfree <artemis@artemis.sh> AuthorDate: 2024-11-14 01:50:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-14 03:38:14 +0000 dev-lang/luajit: fix LJLIBD not relative to PREFIX luajit contains a hardcoded path (LJLIBD) where it searches for some lua libraries it installs. This patch was previously defined relative to PREFIX. Upstream commit ae4735f [1] changes them to be defined relative to DPREFIX, which is in turn relative to DESTDIR. I believe this is a bug, which I've reported upstream [2]. This commit patches the Makefile to define LJLIBD relative to PREFIX again. 1: https://github.com/LuaJIT/LuaJIT/commit/ae4735f621d89d84758769b76432d2319dda9827 2: https://github.com/LuaJIT/LuaJIT/issues/1303 Closes: https://bugs.gentoo.org/943395 Closes: https://bugs.gentoo.org/943346 Signed-off-by: Artemis Everfree <artemis@artemis.sh> Closes: https://github.com/gentoo/gentoo/pull/39311 Signed-off-by: Sam James <sam@gentoo.org> .../luajit-2.1.1727870382-fix-ljlibd-prefix.patch | 25 ++++++++++++++++++++++ ...0382.ebuild => luajit-2.1.1727870382-r1.ebuild} | 1 + dev-lang/luajit/luajit-2.1.9999999999.ebuild | 1 + 3 files changed, 27 insertions(+)