Bug#944912: libgit-raw-perl: FBTFS: ./xs/Indexer.xs:14:8: error: too many arguments to function ‘git_indexer_new’
Aurelien Jarno
aurel32 at debian.org
Sun Nov 17 15:47:07 GMT 2019
Source: libgit-raw-perl
Version: 0.79-6+b2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
libgit-raw-perl fails to build from source:
| x86_64-linux-gnu-gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-variable -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"0.79\" -DXS_VERSION=\"0.79\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.30/CORE" -DGIT_SSH -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_THREADS Raw.c -o Raw.o
| In file included from Raw.xs:9:
| ppport.h:4594: warning: "WIDEST_UTYPE" redefined
| 4594 | # define WIDEST_UTYPE U64TYPE
| |
| In file included from /usr/lib/x86_64-linux-gnu/perl/5.30/CORE/perl.h:2508,
| from Raw.xs:2:
| /usr/lib/x86_64-linux-gnu/perl/5.30/CORE/handy.h:1072: note: this is the location of the previous definition
| 1072 | # define WIDEST_UTYPE U64
| |
| ./xs/Indexer.xs: In function ‘XS_Git__Raw__Indexer_new’:
| ./xs/Indexer.xs:14:8: error: too many arguments to function ‘git_indexer_new’
| 14 | rc = git_indexer_new(&indexer, git_ensure_pv(path, "path"),
| | ^~~~~~~~~~~~~~~
| In file included from /usr/include/git2/index.h:11,
| from /usr/include/git2/merge.h:15,
| from /usr/include/git2/cherrypick.h:12,
| from /usr/include/git2.h:19,
| from Raw.xs:17:
| /usr/include/git2/indexer.h:57:17: note: declared here
| 57 | GIT_EXTERN(int) git_indexer_new(
| | ^~~~~~~~~~~~~~~
| make[1]: *** [Makefile:459: Raw.o] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: make -j4 returned exit code 2
| make: *** [debian/rules:4: binary-arch] Error 255
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
The full build log can be found there:
https://buildd.debian.org/fetch.php?pkg=libgit-raw-perl&arch=amd64&ver=0.79-6%2Bb2&stamp=1573942153&raw=0
More information about the pkg-perl-maintainers
mailing list