Package: src:libmurmurhash
Version: 1.5-1
Severity: serious
Tags: sid bullseye

Apparently the package needs a rebuild at least, some tests don't work anymore.

autopkgtest [22:47:58]: test run-unit-test: [-----------------------
/usr/bin/ld: /tmp/ccNY3NFj.o: in function `main':
mmh.c:(.text.startup+0xe2): undefined reference to `lmmh_x86_32'
/usr/bin/ld: mmh.c:(.text.startup+0x11a): undefined reference to `lmmh_x86_128'
/usr/bin/ld: mmh.c:(.text.startup+0x159): undefined reference to `lmmh_x64_128'
collect2: error: ld returned 1 exit status

CFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fstack-protector-strong -Wformat -Werror=format-security"
gcc ${CFLAGS} -o mmh -lmurmurhash mmh.c
gcc ${CFLAGS} -o mmh_old -lmurmurhash mmh_old.c

- libraries have to appear last on the command line

- it's questionable to hard code the hardening flags.
  you should ask dpkg-buildflags about that, and add
  dpkg-dev to the test dependencies.

Reply via email to