Bug#1017311: zfs-fuse: FTBFS: malloc.c:447:13: error: '__malloc_hook' undeclared (first use in this function); did you mean 'umem_malloc_hook'?
Source: zfs-fuse
Version: 0.7.0-22
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c malloc.c -fPIC -DPIC -o .libs/malloc.o
> malloc.c: In function 'umem_malloc_init_hook':
> malloc.c:447:13: error: '__malloc_hook' undeclared (first use in this function); did you mean 'umem_malloc_hook'?
> 447 | if (__malloc_hook != umem_malloc_hook) {
> | ^~~~~~~~~~~~~
> | umem_malloc_hook
> malloc.c:447:13: note: each undeclared identifier is reported only once for each function it appears in
> malloc.c:448:17: warning: implicit declaration of function 'umem_startup' [-Wimplicit-function-declaration]
> 448 | umem_startup(NULL, 0, 0, NULL, NULL);
> | ^~~~~~~~~~~~
> malloc.c:450:17: error: '__free_hook' undeclared (first use in this function); did you mean 'umem_free_hook'?
> 450 | __free_hook = umem_free_hook;
> | ^~~~~~~~~~~
> | umem_free_hook
> malloc.c:451:17: error: '__realloc_hook' undeclared (first use in this function); did you mean 'umem_realloc_hook'?
> 451 | __realloc_hook = umem_realloc_hook;
> | ^~~~~~~~~~~~~~
> | umem_realloc_hook
> malloc.c:452:17: error: '__memalign_hook' undeclared (first use in this function); did you mean 'umem_memalign_hook'?
> 452 | __memalign_hook = umem_memalign_hook;
> | ^~~~~~~~~~~~~~~
> | umem_memalign_hook
> make[1]: *** [Makefile:375: malloc.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/zfs-fuse_0.7.0-22_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&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 marking 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.
Reply to: