[DRE-maint] Bug#1058426: ruby-rugged: FTBFS: rugged_allocator.c:78:19: error: ‘git_allocator’ has no member named ‘gcalloc’; did you mean ‘gmalloc’?

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:45:02 GMT 2023


Source: ruby-rugged
Version: 1.5.1+ds-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I. -I/usr/include/x86_64-linux-gnu/ruby-3.1.0 -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I.  -DHAVE_GIT2_H -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall -Wno-comment   -o rugged_allocator.o -c rugged_allocator.c
> rugged_allocator.c: In function ‘rugged_set_allocator’:
> rugged_allocator.c:78:19: error: ‘git_allocator’ has no member named ‘gcalloc’; did you mean ‘gmalloc’?
>    78 |         allocator.gcalloc = rugged_gcalloc;
>       |                   ^~~~~~~
>       |                   gmalloc
> rugged_allocator.c:79:18: error: ‘git_allocator’ has no member named ‘gstrdup’
>    79 |         allocator.gstrdup = rugged_gstrdup;
>       |                  ^
> rugged_allocator.c:80:18: error: ‘git_allocator’ has no member named ‘gstrndup’
>    80 |         allocator.gstrndup = rugged_gstrndup;
>       |                  ^
> rugged_allocator.c:81:18: error: ‘git_allocator’ has no member named ‘gstrndup’
>    81 |         allocator.gstrndup = rugged_gstrndup;
>       |                  ^
> rugged_allocator.c:82:18: error: ‘git_allocator’ has no member named ‘gsubstrdup’
>    82 |         allocator.gsubstrdup = rugged_gsubstrdup;
>       |                  ^
> rugged_allocator.c:84:19: error: ‘git_allocator’ has no member named ‘greallocarray’; did you mean ‘grealloc’?
>    84 |         allocator.greallocarray = rugged_greallocarray;
>       |                   ^~~~~~~~~~~~~
>       |                   grealloc
> rugged_allocator.c:85:18: error: ‘git_allocator’ has no member named ‘gmallocarray’
>    85 |         allocator.gmallocarray = rugged_gmallocarray;
>       |                  ^
> make[1]: *** [Makefile:246: rugged_allocator.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/ruby-rugged_1.5.1+ds-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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 Pkg-ruby-extras-maintainers mailing list