Package Details: wrk 4.2.0-2

Git Clone URL: (read-only, click to copy)
Package Base: wrk
Description: Modern HTTP benchmarking tool
Upstream URL:
Licenses: Apache
Submitter: pcarrier
Maintainer: drakkan
Last Packager: drakkan
Votes: 58
Popularity: 0.025164
First Submitted: 2013-01-22 23:09 (UTC)
Last Updated: 2023-03-01 12:06 (UTC)

Latest Comments

1 2 Next › Last »

czg commented on 2023-05-20 02:14 (UTC) (edited on 2023-05-20 07:46 (UTC) by czg)

If someone use rime-easy-en, then may have set LD_PRELOAD=/usr/lib/ like I do(I use system env although rime-easy-en maintainer use temporary env), then result in core dump, when debug ,it may be difficult to find where caused the problem

[~/.cache/yay/wrk/src/wrk-4.2.0]$ make WITH_LUAJIT=/usr WITH_OPENSSL=/usr
LUAJIT src/wrk.lua
make: *** [Makefile:64: obj/bytecode.c] Segmentation fault (core dumped)
$ sudo coredumpctl gdb  
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fd78ce3273f in ?? () from /usr/lib/
#2  0x00007fd78ce38b34 in ?? () from /usr/lib/
#3  0x00007fd78ce282ec in ?? () from /usr/lib/
#4  0x00007fd78ce3aab1 in lua_cpcall () from /usr/lib/
#5  0x000055a469b30070 in main ()

Need to temporarily $ export LD_PRELOAD="", then all work.

mjjacob commented on 2023-03-01 12:13 (UTC)

You're right, I removed ~/.cache/paru/clone/wrk and reinstalled, now it works. Thank you.

drakkan commented on 2023-03-01 12:05 (UTC)

you probably have to remove the cached build. To simplify the things I'll push an update to the minor version

mjjacob commented on 2023-03-01 11:56 (UTC)


Just tried to remove wrk and reinstall it using paru as aur helper:

Noticed this line, see below for more: :: wrk-4.2.0-1 is up to date -- skipping build

So the binary is not rebuild?

Aur (1) Old Version New Version Make Only aur/wrk 4.2.0-1 No

:: Proceed with installation? [Y/n]: y

:: Downloading PKGBUILDs... PKGBUILDs up to date ==> Making package: wrk 4.2.0-1 (Mi 01 Mär 2023 12:53:31 CET) ==> Retrieving sources... -> Found 4.2.0.tar.gz ==> Validating source files with sha256sums... 4.2.0.tar.gz ... Passed ==> Making package: wrk 4.2.0-1 (Mi 01 Mär 2023 12:53:32 CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found 4.2.0.tar.gz ==> Validating source files with sha256sums... 4.2.0.tar.gz ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting 4.2.0.tar.gz with bsdtar ==> Starting prepare()... ==> Sources are ready. wrk-4.2.0-1: parsing pkg list... :: wrk-4.2.0-1 is up to date -- skipping build loading packages... resolving dependencies... looking for conflicting packages...

Package (1) New Version Net Change

wrk 4.2.0-1 0.10 MiB

Total Installed Size: 0.10 MiB

:: Proceed with installation? [Y/n]

drakkan commented on 2023-03-01 11:34 (UTC)

@mjjacob rebuild to link against openssl 3

mjjacob commented on 2023-03-01 11:32 (UTC)

Version 4.2.0-1 fails to load on my machine:

% wrk wrk: error while loading shared libraries: cannot open shared object file: No such file or directory

% ldd /usr/bin/wrk (0x00007ffff1ff8000) => /usr/lib/ (0x00007faf6044a000) => /usr/lib/ (0x00007faf60362000) => not found => not found => /usr/lib/ (0x00007faf6035d000) => /usr/lib/ (0x00007faf60358000) => /usr/lib/ (0x00007faf6016f000) => /usr/lib/ (0x00007faf6014f000) /lib64/ => /usr/lib64/ (0x00007faf60528000)

openssl 3.0.8-1 is installed

drakkan commented on 2022-03-26 17:02 (UTC) (edited on 2022-03-26 17:03 (UTC) by drakkan)

@meadow, for me this error happens sometime after luajit get updated, rebuilding wrk is enough yay -S --rebuild wrk, then it works again

meadow commented on 2022-03-25 16:24 (UTC)

Just (re-)installed and I get:

PANIC: unprotected error in call to Lua API (attempt to index a nil value)

wrk build from upstream and compiled with make works as expected. indicates that the issue is related to the path of luajit. On my current system its path is /usr/include/luajit-2.1/

rustatian commented on 2020-05-07 06:35 (UTC) (edited on 2020-05-07 12:03 (UTC) by rustatian)

@drakkan Yeah, sorry, that was my issue. I reinstalled Arch and it seems that all work fine. Thanks.

drakkan commented on 2020-05-04 07:16 (UTC)

@0xdev, it builds fine for me, can you please try to build using a clean chroot? Thanks