Source: libvmod-re2
Version: 2.0.0+20250617-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
Dear maintainer,
libvmod-re2 fails to build:
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/varnish -Wall -Werror -Wextra -std=c99 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvmod-re2-2.0.0+20250617=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o vcc_re2_if.lo vcc_re2_if.c
rst2man vmod_re2.man.rst vmod_re2.3
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/varnish -Wall -Werror -Wextra -std=c99 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvmod-re2-2.0.0+20250617=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c set.c -fPIC -DPIC -o .libs/set.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/varnish -Wall -Werror -Wextra -std=c99 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvmod-re2-2.0.0+20250617=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c vmod_re2.c -fPIC -DPIC -o .libs/vmod_re2.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/varnish -Wall -Werror -Wextra -std=c99 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvmod-re2-2.0.0+20250617=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c vcc_re2_if.c -fPIC -DPIC -o .libs/vcc_re2_if.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/libvmod-re2-2.0.0+20250617=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c vre2/vre2.cpp -fPIC -DPIC -o vre2/.libs/vre2.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/libvmod-re2-2.0.0+20250617=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c vre2/vre2set.cpp -fPIC -DPIC -o vre2/.libs/vre2set.o
vmod_re2.man.rst:1748: (WARNING/2) Inline literal start-string without end-string.
vmod_re2.man.rst:1748: (WARNING/2) Inline literal start-string without end-string.
vre2/vre2set.cpp: In function 'const char* vre2set_match(vre2set*, const char*, int*, void*, size_t, size_t*, errorkind_e*)':
vre2/vre2set.cpp:207:25: error: 'memcpy' was not declared in this scope
207 | memcpy(buf, m.data(), *nmatches * sizeof(int));
| ^~~~~~
vre2/vre2set.cpp:35:1: note: 'memcpy' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
34 | #include "vre2set.h"
+++ |+#include <cstring>
35 |
make[3]: *** [Makefile:813: vre2/vre2set.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/libvmod-re2-2.0.0+20250617/src'
make[2]: *** [Makefile:457: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/libvmod-re2-2.0.0+20250617'
make[1]: *** [Makefile:389: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libvmod-re2-2.0.0+20250617'
dh_auto_build: error: make -j6 returned exit code 2
make: *** [debian/rules:11: binary-arch] Error 25
See
https://buildd.debian.org/status/fetch.php?pkg=libvmod-re2&arch=amd64&ver=2.0.0%2B20250617-2%2Bb1&stamp=1776712652&raw=0
for details.
Cheers