==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_7741a604-6bd5-4877-9abe-5103515dcba2]...done
==> Making package: trurl 0.16.1-1.1 (Thu Apr 30 18:47:36 2026)
==> Retrieving sources...
  -> Downloading trurl-0.16.1.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0100  64088 100  64088   0      0 104.4k      0                              0100  64088 100  64088   0      0 104.4k      0                              0100  64088 100  64088   0      0 104.4k      0                              0
  -> Downloading trurl-0.16.1.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0100    488 100    488   0      0   1051      0                              0100    488 100    488   0      0   1050      0                              0100    488 100    488   0      0   1050      0                              0
==> Validating source files with sha256sums...
    trurl-0.16.1.tar.gz ... Passed
    trurl-0.16.1.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
    trurl-0.16.1.tar.gz ... Passed
==> Making package: trurl 0.16.1-1.1 (Thu Apr 30 16:47:39 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (5)         New Version  Net Change

core/debuginfod     0.194-2        0.42 MiB
core/libmicrohttpd  1.0.5-1        0.60 MiB
core/mpdecimal      4.0.1-3        0.32 MiB
core/python         3.14.4-1      72.32 MiB
extra/valgrind      3.25.1-4      74.43 MiB

Total Installed Size:  148.09 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing mpdecimal...
installing python...
Optional dependencies for python
    python-setuptools: for building Python packages using tooling that is usually bundled with Python
    python-pip: for installing Python packages using tooling that is usually bundled with Python
    python-pipx: for installing Python software not packaged on Arch Linux
    sqlite: for a default database integration [installed]
    xz: for lzma [installed]
    tk: for tkinter
installing libmicrohttpd...
installing debuginfod...
Optional dependencies for debuginfod
    elfutils=0.194: for translations
installing valgrind...
Optional dependencies for valgrind
    lib32-glibc: 32-bit ABI support [installed]
    python: cg_* scripts [installed]
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
==> Retrieving sources...
  -> Found trurl-0.16.1.tar.gz
  -> Found trurl-0.16.1.tar.gz.asc
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting trurl-0.16.1.tar.gz with bsdtar
==> Starting build()...
cc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/trurl -flto=auto -falign-functions=32 $(curl-config --cflags) -W -Wall -Wshadow -pedantic -Wconversion -Wmissing-prototypes -Wwrite-strings -Wsign-compare -Wno-sign-conversion -Werror -g   -c -o trurl.o trurl.c
trurl.c: In function ‘encodeassign’:
trurl.c:486:13: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  486 |   char *p = strchr(query, '=');
      |             ^~~~~~
trurl.c: In function ‘getarg’:
trurl.c:603:20: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  603 |     char *equals = strchr(&flag[2], '=');
      |                    ^~~~~~
trurl.c: In function ‘get’:
trurl.c:872:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  872 |         end = strchr(ptr, endbyte);
      |             ^
trurl.c:888:14: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  888 |           cl = memchr(ptr, ':', vlen);
      |              ^
trurl.c: In function ‘setone’:
trurl.c:1025:15: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
 1025 |   char *ptr = strchr(setline, '=');
      |               ^~~~~~
trurl.c: In function ‘canonical_path’:
trurl.c:1695:8: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
 1695 |     sl = memchr(path, '/', len);
      |        ^
trurl.c: In function ‘singleurl’:
trurl.c:1819:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
 1819 |         sep = strchr(part, '=');
      |             ^
trurl.c:1855:11: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
 1855 |       sep = strchr(w, ' ');
      |           ^
cc1: all warnings being treated as errors
make: *** [<builtin>: trurl.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_7741a604-6bd5-4877-9abe-5103515dcba2/build
