[Debian-ha-maintainers] Bug#1042166: dlm: FTBFS: main.c:15:10: fatal error: linux/dlm_netlink.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Wed Jul 26 20:52:13 BST 2023


Source: dlm
Version: 4.2.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 action.c cpg.c daemon_cpg.c helper.c crc.c fence_config.c fence.c main.c plock.c config.c member.c logging.c rbtree.c node_config.c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fPIE -DPIE -I../include -I../libdlm  -DUSE_SD_NOTIFY -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -pie -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid -lsystemd  -o dlm_controld -L.
> cat libdlmcontrol.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlmcontrol.pc
> ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so
> ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so.3
> main.c:15:10: fatal error: linux/dlm_netlink.h: No such file or directory
>    15 | #include <linux/dlm_netlink.h>
>       |          ^~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[2]: *** [Makefile:70: dlm_controld] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/dlm_4.2.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-ha-maintainers mailing list