[R-pkg-team] Bug#1084352: r-cran-git2r: FTBFS: git2r_deprecated.h:54:30: error: implicit declaration of function ‘git_error_set_str’; did you mean ‘giterr_set_str’? [-Wimplicit-function-declaration]

Santiago Vila sanvila at debian.org
Mon Oct 7 09:40:19 BST 2024


Package: src:r-cran-git2r
Version: 0.33.0+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --buildsystem R
    dh_update_autotools_config -O--buildsystem=R
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
    debian/rules execute_before_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mv tools/config.rpath tools/config.rpath~
touch tools/config.rpath
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_autoreconf -O--buildsystem=R
    dh_auto_configure -O--buildsystem=R
    dh_auto_build -O--buildsystem=R
    dh_auto_test -O--buildsystem=R
    create-stamp debian/debhelper-build-stamp
    dh_testroot -O--buildsystem=R
    dh_prep -O--buildsystem=R
    dh_auto_install --destdir=debian/r-cran-git2r/ -O--buildsystem=R
I: R packages needed for DEP8:
I: R Package: git2r Version: 0.33.0
I: Building using R version 4.4.1-3
I: R API version: r-api-4.0
I: Using built-time from d/changelog: Mon, 08 Jan 2024 18:54:40 +0100
	mkdir -p /<<BUILDDIR>>/r-cran-git2r-0.33.0\+dfsg/debian/r-cran-git2r/usr/lib/R/site-library
	R CMD INSTALL -l /<<BUILDDIR>>/r-cran-git2r-0.33.0\+dfsg/debian/r-cran-git2r/usr/lib/R/site-library --clean . "--built-timestamp='Mon, 08 Jan 2024 18:54:40 +0100'"
* installing *source* package ‘git2r’ ...
files ‘src/libgit2/deps/http-parser/COPYING’, ‘src/libgit2/deps/http-parser/http_parser.c’, ‘src/libgit2/deps/http-parser/http_parser.h’, ‘src/libgit2/deps/regex/COPYING’, ‘src/libgit2/deps/regex/config.h’, ‘src/libgit2/deps/regex/regcomp.c’, ‘src/libgit2/deps/regex/regex.c’, ‘src/libgit2/deps/regex/regex.h’, ‘src/libgit2/deps/regex/regex_internal.c’, ‘src/libgit2/deps/regex/regex_internal.h’, ‘src/libgit2/deps/regex/regexec.c’, ‘src/libgit2/deps/xdiff/git-xdiff.h’, ‘src/libgit2/deps/xdiff/xdiff.h’, ‘src/libgit2/deps/xdiff/xdiffi.c’, ‘src/libgit2/deps/xdiff/xdiffi.h’, ‘src/libgit2/deps/xdiff/xemit.c’, ‘src/libgit2/deps/xdiff/xemit.h’, ‘src/libgit2/deps/xdiff/xhistogram.c’, ‘src/libgit2/deps/xdiff/xinclude.h’, ‘src/libgit2/deps/xdiff/xmacros.h’, ‘src/libgit2/deps/xdiff/xmerge.c’, ‘src/libgit2/deps/xdiff/xpatience.c’, ‘src/libgit2/deps/xdiff/xprepare.c’, ‘src/libgit2/deps/xdiff/xprepare.h’, ‘src/libgit2/deps/xdiff/xtypes.h’, ‘src/libgit2/deps/xdiff/xutils.c’, ‘src/libgit2/deps/xdiff/xutils.h’, ‘src/libgit2/include/git2.h’, ‘src/libgit2/include/git2/annotated_commit.h’, ‘src/libgit2/include/git2/apply.h’, ‘src/libgit2/include/git2/attr.h’, ‘src/libgit2/include/git2/blame.h’, ‘src/libgit2/include/git2/blob.h’, ‘src/libgit2/include/git2/branch.h’, ‘src/libgit2/include/git2/buffer.h’, ‘src/libgit2/include/git2/cert.h’, ‘src/libgit2/include/git2/checkout.h’, ‘src/libgit2/include/git2/cherrypick.h’, ‘src/libgit2/include/git2/clone.h’, ‘src/libgit2/include/git2/commit.h’, ‘src/libgit2/include/git2/common.h’, ‘src/libgit2/include/git2/config.h’, ‘src/libgit2/include/git2/cred_helpers.h’, ‘src/libgit2/include/git2/credential.h’, ‘src/libgit2/include/git2/credential_helpers.h’, ‘src/libgit2/include/git2/deprecated.h’, ‘src/libgit2/include/git2/describe.h’, ‘src/libgit2/include/git2/diff.h’, ‘src/libgit2/include/git2/email.h’, ‘src/libgit2/include/git2/errors.h’, ‘src/libgit2/include/git2/experimental.h’, ‘src/libgit2/include/git2/filter.h’, ‘src/libgit2/include/git2/global.h’, ‘src/libgit2/include/git2/graph.h’, ‘src/libgit2/include/git2/ignore.h’, ‘src/libgit2/include/git2/index.h’, ‘src/libgit2/include/git2/indexer.h’, ‘src/libgit2/include/git2/mailmap.h’, ‘src/libgit2/include/git2/merge.h’, ‘src/libgit2/include/git2/message.h’, ‘src/libgit2/include/git2/net.h’, ‘src/libgit2/include/git2/notes.h’, ‘src/libgit2/include/git2/object.h’, ‘src/libgit2/include/git2/odb.h’, ‘src/libgit2/include/git2/odb_backend.h’, ‘src/libgit2/include/git2/oid.h’, ‘src/libgit2/include/git2/oidarray.h’, ‘src/libgit2/include/git2/pack.h’, ‘src/libgit2/include/git2/patch.h’, ‘src/libgit2/include/git2/pathspec.h’, ‘src/libgit2/include/git2/proxy.h’, ‘src/libgit2/include/git2/rebase.h’, ‘src/libgit2/include/git2/refdb.h’, ‘src/libgit2/include/git2/reflog.h’, ‘src/libgit2/include/git2/refs.h’, ‘src/libgit2/include/git2/refspec.h’, ‘src/libgit2/include/git2/remote.h’, ‘src/libgit2/include/git2/repository.h’, ‘src/libgit2/include/git2/reset.h’, ‘src/libgit2/include/git2/revert.h’, ‘src/libgit2/include/git2/revparse.h’, ‘src/libgit2/include/git2/revwalk.h’, ‘src/libgit2/include/git2/signature.h’, ‘src/libgit2/include/git2/stash.h’, ‘src/libgit2/include/git2/status.h’, ‘src/libgit2/include/git2/strarray.h’, ‘src/libgit2/include/git2/submodule.h’, ‘src/libgit2/include/git2/sys/alloc.h’, ‘src/libgit2/include/git2/sys/commit.h’, ‘src/libgit2/include/git2/sys/commit_graph.h’, ‘src/libgit2/include/git2/sys/config.h’, ‘src/libgit2/include/git2/sys/cred.h’, ‘src/libgit2/include/git2/sys/credential.h’, ‘src/libgit2/include/git2/sys/diff.h’, ‘src/libgit2/include/git2/sys/email.h’, ‘src/libgit2/include/git2/sys/filter.h’, ‘src/libgit2/include/git2/sys/hashsig.h’, ‘src/libgit2/include/git2/sys/index.h’, ‘src/libgit2/include/git2/sys/mempack.h’, ‘src/libgit2/include/git2/sys/merge.h’, ‘src/libgit2/include/git2/sys/midx.h’, ‘src/libgit2/include/git2/sys/odb_backend.h’, ‘src/libgit2/include/git2/sys/openssl.h’, ‘src/libgit2/include/git2/sys/path.h’, ‘src/libgit2/include/git2/sys/refdb_backend.h’, ‘src/libgit2/include/git2/sys/reflog.h’, ‘src/libgit2/include/git2/sys/refs.h’, ‘src/libgit2/include/git2/sys/remote.h’, ‘src/libgit2/include/git2/sys/repository.h’, ‘src/libgit2/include/git2/sys/stream.h’, ‘src/libgit2/include/git2/sys/transport.h’, ‘src/libgit2/include/git2/tag.h’, ‘src/libgit2/include/git2/trace.h’, ‘src/libgit2/include/git2/transaction.h’, ‘src/libgit2/include/git2/transport.h’, ‘src/libgit2/include/git2/tree.h’, ‘src/libgit2/include/git2/types.h’, ‘src/libgit2/include/git2/version.h’, ‘src/libgit2/include/git2/worktree.h’, ‘src/libgit2/src/libgit2/annotated_commit.c’, ‘src/libgit2/src/libgit2/annotated_commit.h’, ‘src/libgit2/src/libgit2/apply.c’, ‘src/libgit2/src/libgit2/apply.h’, ‘src/libgit2/src/libgit2/attr.c’, ‘src/libgit2/src/libgit2/attr.h’, ‘src/libgit2/src/libgit2/attr_file.c’, ‘src/libgit2/src/libgit2/attr_file.h’, ‘src/libgit2/src/libgit2/attrcache.c’, ‘src/libgit2/src/libgit2/attrcache.h’, ‘src/libgit2/src/libgit2/blame.c’, ‘src/libgit2/src/libgit2/blame.h’, ‘src/libgit2/src/libgit2/blame_git.c’, ‘src/libgit2/src/libgit2/blame_git.h’, ‘src/libgit2/src/libgit2/blob.c’, ‘src/libgit2/src/libgit2/blob.h’, ‘src/libgit2/src/libgit2/branch.c’, ‘src/libgit2/src/libgit2/branch.h’, ‘src/libgit2/src/libgit2/buf.c’, ‘src/libgit2/src/libgit2/buf.h’, ‘src/libgit2/src/libgit2/cache.c’, ‘src/libgit2/src/libgit2/cache.h’, ‘src/libgit2/src/libgit2/checkout.c’, ‘src/libgit2/src/libgit2/checkout.h’, ‘src/libgit2/src/libgit2/cherrypick.c’, ‘src/libgit2/src/libgit2/clone.c’, ‘src/libgit2/src/libgit2/clone.h’, ‘src/libgit2/src/libgit2/commit.c’, ‘src/libgit2/src/libgit2/commit.h’, ‘src/libgit2/src/libgit2/commit_graph.c’, ‘src/libgit2/src/libgit2/commit_graph.h’, ‘src/libgit2/src/libgit2/commit_list.c’, ‘src/libgit2/src/libgit2/commit_list.h’, ‘src/libgit2/src/libgit2/common.h’, ‘src/libgit2/src/libgit2/config.c’, ‘src/libgit2/src/libgit2/config.h’, ‘src/libgit2/src/libgit2/config_backend.h’, ‘src/libgit2/src/libgit2/config_cache.c’, ‘src/libgit2/src/libgit2/config_entries.c’, ‘src/libgit2/src/libgit2/config_entries.h’, ‘src/libgit2/src/libgit2/config_file.c’, ‘src/libgit2/src/libgit2/config_mem.c’, ‘src/libgit2/src/libgit2/config_parse.c’, ‘src/libgit2/src/libgit2/config_parse.h’, ‘src/libgit2/src/libgit2/config_snapshot.c’, ‘src/libgit2/src/libgit2/crlf.c’, ‘src/libgit2/src/libgit2/delta.c’, ‘src/libgit2/src/libgit2/delta.h’, ‘src/libgit2/src/libgit2/describe.c’, ‘src/libgit2/src/libgit2/diff.c’, ‘src/libgit2/src/libgit2/diff.h’, ‘src/libgit2/src/libgit2/diff_driver.c’, ‘src/libgit2/src/libgit2/diff_driver.h’, ‘src/libgit2/src/libgit2/diff_file.c’, ‘src/libgit2/src/libgit2/diff_file.h’, ‘src/libgit2/src/libgit2/diff_generate.c’, ‘src/libgit2/src/libgit2/diff_generate.h’, ‘src/libgit2/src/libgit2/diff_parse.c’, ‘src/libgit2/src/libgit2/diff_parse.h’, ‘src/libgit2/src/libgit2/diff_print.c’, ‘src/libgit2/src/libgit2/diff_stats.c’, ‘src/libgit2/src/libgit2/diff_stats.h’, ‘src/libgit2/src/libgit2/diff_tform.c’, ‘src/libgit2/src/libgit2/diff_tform.h’, ‘src/libgit2/src/libgit2/diff_xdiff.c’, ‘src/libgit2/src/libgit2/diff_xdiff.h’, ‘src/libgit2/src/libgit2/email.c’, ‘src/libgit2/src/libgit2/email.h’, ‘src/libgit2/src/libgit2/errors.c’, ‘src/libgit2/src/libgit2/errors.h’, ‘src/libgit2/src/libgit2/fetch.c’, ‘src/libgit2/src/libgit2/fetch.h’, ‘src/libgit2/src/libgit2/fetchhead.c’, ‘src/libgit2/src/libgit2/fetchhead.h’, ‘src/libgit2/src/libgit2/filter.c’, ‘src/libgit2/src/libgit2/filter.h’, ‘src/libgit2/src/libgit2/grafts.c’, ‘src/libgit2/src/libgit2/grafts.h’, ‘src/libgit2/src/libgit2/graph.c’, ‘src/libgit2/src/libgit2/hashsig.c’, ‘src/libgit2/src/libgit2/ident.c’, ‘src/libgit2/src/libgit2/idxmap.c’, ‘src/libgit2/src/libgit2/idxmap.h’, ‘src/libgit2/src/libgit2/ignore.c’, ‘src/libgit2/src/libgit2/ignore.h’, ‘src/libgit2/src/libgit2/index.c’, ‘src/libgit2/src/libgit2/index.h’, ‘src/libgit2/src/libgit2/indexer.c’, ‘src/libgit2/src/libgit2/indexer.h’, ‘src/libgit2/src/libgit2/iterator.c’, ‘src/libgit2/src/libgit2/iterator.h’, ‘src/libgit2/src/libgit2/libgit2.c’, ‘src/libgit2/src/libgit2/libgit2.h’, ‘src/libgit2/src/libgit2/mailmap.c’, ‘src/libgit2/src/libgit2/mailmap.h’, ‘src/libgit2/src/libgit2/merge.c’, ‘src/libgit2/src/libgit2/merge.h’, ‘src/libgit2/src/libgit2/merge_driver.c’, ‘src/libgit2/src/libgit2/merge_driver.h’, ‘src/libgit2/src/libgit2/merge_file.c’, ‘src/libgit2/src/libgit2/message.c’, ‘src/libgit2/src/libgit2/midx.c’, ‘src/libgit2/src/libgit2/midx.h’, ‘src/libgit2/src/libgit2/mwindow.c’, ‘src/libgit2/src/libgit2/mwindow.h’, ‘src/libgit2/src/libgit2/notes.c’, ‘src/libgit2/src/libgit2/notes.h’, ‘src/libgit2/src/libgit2/object.c’, ‘src/libgit2/src/libgit2/object.h’, ‘src/libgit2/src/libgit2/object_api.c’, ‘src/libgit2/src/libgit2/odb.c’, ‘src/libgit2/src/libgit2/odb.h’, ‘src/libgit2/src/libgit2/odb_loose.c’, ‘src/libgit2/src/libgit2/odb_mempack.c’, ‘src/libgit2/src/libgit2/odb_pack.c’, ‘src/libgit2/src/libgit2/offmap.c’, ‘src/libgit2/src/libgit2/offmap.h’, ‘src/libgit2/src/libgit2/oid.c’, ‘src/libgit2/src/libgit2/oid.h’, ‘src/libgit2/src/libgit2/oidarray.c’, ‘src/libgit2/src/libgit2/oidarray.h’, ‘src/libgit2/src/libgit2/oidmap.c’, ‘src/libgit2/src/libgit2/oidmap.h’, ‘src/libgit2/src/libgit2/pack-objects.c’, ‘src/libgit2/src/libgit2/pack-objects.h’, ‘src/libgit2/src/libgit2/pack.c’, ‘src/libgit2/src/libgit2/pack.h’, ‘src/libgit2/src/libgit2/parse.c’, ‘src/libgit2/src/libgit2/parse.h’, ‘src/libgit2/src/libgit2/patch.c’, ‘src/libgit2/src/libgit2/patch.h’, ‘src/libgit2/src/libgit2/patch_generate.c’, ‘src/libgit2/src/libgit2/patch_generate.h’, ‘src/libgit2/src/libgit2/patch_parse.c’, ‘src/libgit2/src/libgit2/patch_parse.h’, ‘src/libgit2/src/libgit2/path.c’, ‘src/libgit2/src/libgit2/path.h’, ‘src/libgit2/src/libgit2/pathspec.c’, ‘src/libgit2/src/libgit2/pathspec.h’, ‘src/libgit2/src/libgit2/proxy.c’, ‘src/libgit2/src/libgit2/proxy.h’, ‘src/libgit2/src/libgit2/push.c’, ‘src/libgit2/src/libgit2/push.h’, ‘src/libgit2/src/libgit2/reader.c’, ‘src/libgit2/src/libgit2/reader.h’, ‘src/libgit2/src/libgit2/rebase.c’, ‘src/libgit2/src/libgit2/refdb.c’, ‘src/libgit2/src/libgit2/refdb.h’, ‘src/libgit2/src/libgit2/refdb_fs.c’, ‘src/libgit2/src/libgit2/reflog.c’, ‘src/libgit2/src/libgit2/reflog.h’, ‘src/libgit2/src/libgit2/refs.c’, ‘src/libgit2/src/libgit2/refs.h’, ‘src/libgit2/src/libgit2/refspec.c’, ‘src/libgit2/src/libgit2/refspec.h’, ‘src/libgit2/src/libgit2/remote.c’, ‘src/libgit2/src/libgit2/remote.h’, ‘src/libgit2/src/libgit2/repo_template.h’, ‘src/libgit2/src/libgit2/repository.c’, ‘src/libgit2/src/libgit2/repository.h’, ‘src/libgit2/src/libgit2/reset.c’, ‘src/libgit2/src/libgit2/revert.c’, ‘src/libgit2/src/libgit2/revparse.c’, ‘src/libgit2/src/libgit2/revwalk.c’, ‘src/libgit2/src/libgit2/revwalk.h’, ‘src/libgit2/src/libgit2/settings.h’, ‘src/libgit2/src/libgit2/signature.c’, ‘src/libgit2/src/libgit2/signature.h’, ‘src/libgit2/src/libgit2/stash.c’, ‘src/libgit2/src/libgit2/status.c’, ‘src/libgit2/src/libgit2/status.h’, ‘src/libgit2/src/libgit2/strarray.c’, ‘src/libgit2/src/libgit2/strarray.h’, ‘src/libgit2/src/libgit2/stream.h’, ‘src/libgit2/src/libgit2/streams/mbedtls.c’, ‘src/libgit2/src/libgit2/streams/mbedtls.h’, ‘src/libgit2/src/libgit2/streams/openssl.c’, ‘src/libgit2/src/libgit2/streams/openssl.h’, ‘src/libgit2/src/libgit2/streams/openssl_dynamic.c’, ‘src/libgit2/src/libgit2/streams/openssl_dynamic.h’, ‘src/libgit2/src/libgit2/streams/openssl_legacy.c’, ‘src/libgit2/src/libgit2/streams/openssl_legacy.h’, ‘src/libgit2/src/libgit2/streams/registry.c’, ‘src/libgit2/src/libgit2/streams/registry.h’, ‘src/libgit2/src/libgit2/streams/schannel.c’, ‘src/libgit2/src/libgit2/streams/schannel.h’, ‘src/libgit2/src/libgit2/streams/socket.c’, ‘src/libgit2/src/libgit2/streams/socket.h’, ‘src/libgit2/src/libgit2/streams/stransport.c’, ‘src/libgit2/src/libgit2/streams/stransport.h’, ‘src/libgit2/src/libgit2/streams/tls.c’, ‘src/libgit2/src/libgit2/streams/tls.h’, ‘src/libgit2/src/libgit2/submodule.c’, ‘src/libgit2/src/libgit2/submodule.h’, ‘src/libgit2/src/libgit2/sysdir.c’, ‘src/libgit2/src/libgit2/sysdir.h’, ‘src/libgit2/src/libgit2/tag.c’, ‘src/libgit2/src/libgit2/tag.h’, ‘src/libgit2/src/libgit2/threadstate.c’, ‘src/libgit2/src/libgit2/threadstate.h’, ‘src/libgit2/src/libgit2/trace.c’, ‘src/libgit2/src/libgit2/trace.h’, ‘src/libgit2/src/libgit2/trailer.c’, ‘src/libgit2/src/libgit2/transaction.c’, ‘src/libgit2/src/libgit2/transaction.h’, ‘src/libgit2/src/libgit2/transport.c’, ‘src/libgit2/src/libgit2/transports/auth.c’, ‘src/libgit2/src/libgit2/transports/auth.h’, ‘src/libgit2/src/libgit2/transports/auth_gssapi.c’, ‘src/libgit2/src/libgit2/transports/auth_negotiate.h’, ‘src/libgit2/src/libgit2/transports/auth_ntlm.h’, ‘src/libgit2/src/libgit2/transports/auth_ntlmclient.c’, ‘src/libgit2/src/libgit2/transports/auth_sspi.c’, ‘src/libgit2/src/libgit2/transports/credential.c’, ‘src/libgit2/src/libgit2/transports/credential_helpers.c’, ‘src/libgit2/src/libgit2/transports/git.c’, ‘src/libgit2/src/libgit2/transports/http.c’, ‘src/libgit2/src/libgit2/transports/http.h’, ‘src/libgit2/src/libgit2/transports/httpclient.c’, ‘src/libgit2/src/libgit2/transports/httpclient.h’, ‘src/libgit2/src/libgit2/transports/local.c’, ‘src/libgit2/src/libgit2/transports/smart.c’, ‘src/libgit2/src/libgit2/transports/smart.h’, ‘src/libgit2/src/libgit2/transports/smart_pkt.c’, ‘src/libgit2/src/libgit2/transports/smart_protocol.c’, ‘src/libgit2/src/libgit2/transports/ssh.c’, ‘src/libgit2/src/libgit2/transports/ssh.h’, ‘src/libgit2/src/libgit2/transports/winhttp.c’, ‘src/libgit2/src/libgit2/tree-cache.c’, ‘src/libgit2/src/libgit2/tree-cache.h’, ‘src/libgit2/src/libgit2/tree.c’, ‘src/libgit2/src/libgit2/tree.h’, ‘src/libgit2/src/libgit2/userdiff.h’, ‘src/libgit2/src/libgit2/worktree.c’, ‘src/libgit2/src/libgit2/worktree.h’, ‘src/libgit2/src/util/alloc.c’, ‘src/libgit2/src/util/alloc.h’, ‘src/libgit2/src/util/allocators/failalloc.c’, ‘src/libgit2/src/util/allocators/failalloc.h’, ‘src/libgit2/src/util/allocators/stdalloc.c’, ‘src/libgit2/src/util/allocators/stdalloc.h’, ‘src/libgit2/src/util/allocators/win32_leakcheck.c’, ‘src/libgit2/src/util/allocators/win32_leakcheck.h’, ‘src/libgit2/src/util/array.h’, ‘src/libgit2/src/util/assert_safe.h’, ‘src/libgit2/src/util/bitvec.h’, ‘src/libgit2/src/util/cc-compat.h’, ‘src/libgit2/src/util/date.c’, ‘src/libgit2/src/util/date.h’, ‘src/libgit2/src/util/filebuf.c’, ‘src/libgit2/src/util/filebuf.h’, ‘src/libgit2/src/util/fs_path.c’, ‘src/libgit2/src/util/fs_path.h’, ‘src/libgit2/src/util/futils.c’, ‘src/libgit2/src/util/futils.h’, ‘src/libgit2/src/util/git2_util.h’, ‘src/libgit2/src/util/hash.c’, ‘src/libgit2/src/util/hash.h’, ‘src/libgit2/src/util/hash/collisiondetect.c’, ‘src/libgit2/src/util/hash/collisiondetect.h’, ‘src/libgit2/src/util/hash/openssl.c’, ‘src/libgit2/src/util/hash/openssl.h’, ‘src/libgit2/src/util/hash/sha.h’, ‘src/libgit2/src/util/hash/sha1dc/sha1.c’, ‘src/libgit2/src/util/hash/sha1dc/sha1.h’, ‘src/libgit2/src/util/hash/sha1dc/ubc_check.c’, ‘src/libgit2/src/util/hash/sha1dc/ubc_check.h’, ‘src/libgit2/src/util/integer.h’, ‘src/libgit2/src/util/khash.h’, ‘src/libgit2/src/util/map.h’, ‘src/libgit2/src/util/net.c’, ‘src/libgit2/src/util/net.h’, ‘src/libgit2/src/util/pool.c’, ‘src/libgit2/src/util/pool.h’, ‘src/libgit2/src/util/posix.c’, ‘src/libgit2/src/util/posix.h’, ‘src/libgit2/src/util/pqueue.c’, ‘src/libgit2/src/util/pqueue.h’, ‘src/libgit2/src/util/rand.c’, ‘src/libgit2/src/util/rand.h’, ‘src/libgit2/src/util/regexp.c’, ‘src/libgit2/src/util/regexp.h’, ‘src/libgit2/src/util/runtime.c’, ‘src/libgit2/src/util/runtime.h’, ‘src/libgit2/src/util/sortedcache.c’, ‘src/libgit2/src/util/sortedcache.h’, ‘src/libgit2/src/util/staticstr.h’, ‘src/libgit2/src/util/str.c’, ‘src/libgit2/src/util/str.h’, ‘src/libgit2/src/util/strmap.c’, ‘src/libgit2/src/util/strmap.h’, ‘src/libgit2/src/util/strnlen.h’, ‘src/libgit2/src/util/thread.c’, ‘src/libgit2/src/util/thread.h’, ‘src/libgit2/src/util/tsort.c’, ‘src/libgit2/src/util/unix/map.c’, ‘src/libgit2/src/util/unix/posix.h’, ‘src/libgit2/src/util/unix/pthread.h’, ‘src/libgit2/src/util/unix/realpath.c’, ‘src/libgit2/src/util/utf8.c’, ‘src/libgit2/src/util/utf8.h’, ‘src/libgit2/src/util/util.c’, ‘src/libgit2/src/util/util.h’, ‘src/libgit2/src/util/varint.c’, ‘src/libgit2/src/util/varint.h’, ‘src/libgit2/src/util/vector.c’, ‘src/libgit2/src/util/vector.h’, ‘src/libgit2/src/util/wildmatch.c’, ‘src/libgit2/src/util/wildmatch.h’, ‘src/libgit2/src/util/zstream.c’, ‘src/libgit2/src/util/zstream.h’ are missing
files ‘configure’, ‘tools/config.guess’, ‘tools/config.rpath’, ‘tools/config.sub’ have the wrong MD5 checksums
** using staged installation
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
Found pkg-config cflags and libs!
checking whether the libgit2 version will work in git2r... yes
checking whether the libgit2 function git_buf_dispose is available... yes
checking whether the libgit2 constant GIT_OBJECT_ANY is available... yes
checking whether the libgit2 function git_error_last is available... yes
checking whether the libgit2 function git_oid_is_zero is available... yes
----- Results of the git2r package configure -----

   PKG_CFLAGS:  -DGIT2R_HAVE_BUF_DISPOSE -DGIT2R_HAVE_OBJECT_ANY -DGIT2R_HAVE_GIT_ERROR -DGIT2R_LIBGIT2_V0_99_0_RENAMES
   PKG_LIBS: -lgit2

--------------------------------------------------
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘gcc (Debian 14.2.0-6) 14.2.0’
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -I"/usr/share/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS     -DGIT2R_HAVE_BUF_DISPOSE -DGIT2R_HAVE_OBJECT_ANY -DGIT2R_HAVE_GIT_ERROR -DGIT2R_LIBGIT2_V0_99_0_RENAMES -fpic  -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c git2r.c -o git2r.o
gcc -I"/usr/share/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS     -DGIT2R_HAVE_BUF_DISPOSE -DGIT2R_HAVE_OBJECT_ANY -DGIT2R_HAVE_GIT_ERROR -DGIT2R_LIBGIT2_V0_99_0_RENAMES -fpic  -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c git2r_S3.c -o git2r_S3.o
gcc -I"/usr/share/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS     -DGIT2R_HAVE_BUF_DISPOSE -DGIT2R_HAVE_OBJECT_ANY -DGIT2R_HAVE_GIT_ERROR -DGIT2R_LIBGIT2_V0_99_0_RENAMES -fpic  -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c git2r_arg.c -o git2r_arg.o
In file included from git2r_arg.c:23:
git2r_arg.c: In function ‘git2r_copy_string_vec’:
git2r_deprecated.h:54:30: error: implicit declaration of function ‘git_error_set_str’; did you mean ‘giterr_set_str’? [-Wimplicit-function-declaration]
    54 | # define GIT2R_ERROR_SET_STR git_error_set_str
       |                              ^~~~~~~~~~~~~~~~~
git2r_arg.c:517:9: note: in expansion of macro ‘GIT2R_ERROR_SET_STR’
   517 |         GIT2R_ERROR_SET_STR(GIT2R_ERROR_NONE, git2r_err_alloc_memory_buffer);
       |         ^~~~~~~~~~~~~~~~~~~
make[1]: *** [/usr/lib/R/etc/Makeconf:195: git2r_arg.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
ERROR: compilation failed for package ‘git2r’
* removing ‘/<<PKGBUILDDIR>>/debian/r-cran-git2r/usr/lib/R/site-library/git2r’
dh_auto_install: error: R CMD INSTALL -l /<<BUILDDIR>>/r-cran-git2r-0.33.0\+dfsg/debian/r-cran-git2r/usr/lib/R/site-library --clean . "--built-timestamp='Mon, 08 Jan 2024 18:54:40 +0100'" returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the R-pkg-team mailing list