[package - 120amd64-default][devel/git-cinnabar] Failed for git-cinnabar-0.5.2_2 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Tue Nov 5 08:09:31 UTC 2019
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: jbeich at FreeBSD.org
Last committer: jbeich at FreeBSD.org
Ident: $FreeBSD: head/devel/git-cinnabar/Makefile 509311 2019-08-19 20:29:34Z jbeich $
Log URL: http://beefy6.nyi.freebsd.org/data/120amd64-default/516763/logs/git-cinnabar-0.5.2_2.log
Build URL: http://beefy6.nyi.freebsd.org/build.html?mastername=120amd64-default&build=516763
Log:
=>> Building devel/git-cinnabar
build started at Tue Nov 5 08:07:53 UTC 2019
port directory: /usr/ports/devel/git-cinnabar
package name: git-cinnabar-0.5.2_2
building for: FreeBSD 120amd64-default-job-08 12.0-RELEASE-p11 FreeBSD 12.0-RELEASE-p11 amd64
maintained by: jbeich at FreeBSD.org
Makefile ident: $FreeBSD: head/devel/git-cinnabar/Makefile 509311 2019-08-19 20:29:34Z jbeich $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300047
Jail OSVERSION: 1200086
Job Id: 08
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p11
UNAME_r=12.0-RELEASE-p11
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/120amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for git-cinnabar-0.5.2_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
jbeich at FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/git-cinnabar/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/git-cinnabar/work HOME=/wrkdirs/usr/ports/devel/git-cinnabar/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
V=1 CURLDIR=/usr/local OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/git/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/git/work HOME=/wrkdirs/usr/ports/devel/git/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/git/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_
DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" PYTHON_PATH="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/git-cinnabar/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/git-cinnabar/work HOME=/wrkdirs/usr/ports/devel/git-cinnabar/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PORTDOCS="" PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=freebsd12 PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_SUFFIX=27 PYTHON_VER=2.7 PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/git-cinnabar" EXAMPLESDIR="share/examples/git-cinnabar" DATADIR="libexec/git-core" WWWDIR="www/git-cinnabar" ETCDIR="etc/git-cinnabar"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/libexec/git-core DOCSDIR=/usr/local/share/doc/git-cinnabar EXAMPLESDIR=/usr/local/share/examples/git-cinnabar WWWDIR=/usr/local/www/git-cinnabar ETCDIR=/usr/local/etc/git-cinnabar
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p11
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 1024
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===> License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> git-cinnabar-0.5.2_2 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.12.0.txz
[120amd64-default-job-08] Installing pkg-1.12.0...
[120amd64-default-job-08] Extracting pkg-1.12.0: .......... done
===> git-cinnabar-0.5.2_2 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of git-cinnabar-0.5.2_2
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by git-cinnabar-0.5.2_2 for building
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by git-2.24.0 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by git-cinnabar-0.5.2_2 for building
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by git-2.24.0 for building
=> SHA256 Checksum OK for glandium-git-cinnabar-0.5.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by git-cinnabar-0.5.2_2 for building
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by git-2.24.0 for building
===> Extracting for git-cinnabar-0.5.2_2
=> SHA256 Checksum OK for glandium-git-cinnabar-0.5.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for git-cinnabar-0.5.2_2
===> Applying FreeBSD patches for git-cinnabar-0.5.2_2
===========================================================================
=======================<phase: build-depends >============================
===> License GPLv2 accepted by the user
===> git-2.24.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by git-2.24.0 for building
===> Extracting for git-2.24.0
=> SHA256 Checksum OK for git-2.24.0.tar.xz.
=> SHA256 Checksum OK for git-manpages-2.24.0.tar.xz.
===> Patching for git-2.24.0
===> Applying FreeBSD patches for git-2.24.0
===> git-2.24.0 depends on executable: curl - not found
===> Installing existing package /packages/All/curl-7.66.0.txz
<snip>
Patching file /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2/git-core/diff.c using Plan A...
Hunk #1 succeeded at 3816 (offset 6 lines).
done
(cd .. && patch -p1 -F0 -o helper/revision.patched.c /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2/git-core/revision.c) < ../helper/revision.c.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/revision.c b/revision.c
|index 162d511d46..0d2e071569 100644
|--- a/revision.c
|+++ b/revision.c
--------------------------
Patching file /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2/git-core/revision.c using Plan A...
Hunk #1 succeeded at 1111 (offset -6 lines).
done
(cd .. && patch -p1 -F0 -o helper/sha1-file.patched.c /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2/git-core/sha1-file.c) < ../helper/sha1-file.c.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/sha1-file.c b/sha1-file.c
|index 695e5c6276..b542d296c5 100644
|--- a/sha1-file.c
|+++ b/sha1-file.c
--------------------------
Patching file /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2/git-core/sha1-file.c using Plan A...
Hunk #1 succeeded at 1868 (offset 162 lines).
done
cc -o cinnabar-helper.o -c -MF ./.depend/cinnabar-helper.o.d -MQ cinnabar-helper.o -MMD -MP -isystem/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DGIT_HOST_CPU="\"amd64\"" -DUSE_LIBPCRE1 -I/usr/local/include -DUSE_CURL_FOR_IMAP_SEND -I/usr/include -DUSE_ST_TIMESPEC -DSHA1_DC -DSHA1DC_NO_STANDARD_INCLUDES -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"cache.h\"" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -DSHA256_BLK -pthread -DHAVE_PATHS_H -DHAVE_STRINGS_H -DGMTIME_UNRELIABLE_ERRORS -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_BSD_SYSCTL -DHAVE_BSD_KERN_PROC_SYSCTL -DHAVE_GETDELIM -DFREAD_READS_DIRECTORIES -DDIR_HAS_BSD_GROUP_SEMANTICS -DFILENO_IS_A_MACRO -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c MORE=FRX"' -DHELPER_HASH= ../helper/cinnabar-helper.c
./helper/cinnabar-helper.c:1609:31: warning: incompatible pointer types passing 'struct oid_map_entry *' to parameter of type 'const struct hashmap_entry *' [-Wincompatible-pointer-types]
old2new = hashmap_get(cache, &k, NULL);
^~
./hashmap.h:306:33: note: passing argument to parameter 'key' here
const struct hashmap_entry *key,
^
./helper/cinnabar-helper.c:1609:10: warning: incompatible pointer types assigning to 'struct oid_map_entry *' from 'struct hashmap_entry *' [-Wincompatible-pointer-types]
old2new = hashmap_get(cache, &k, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-helper.c:1652:22: warning: incompatible pointer types passing 'struct oid_map_entry *' to parameter of type 'struct hashmap_entry *' [-Wincompatible-pointer-types]
hashmap_add(cache, old2new);
^~~~~~~
./hashmap.h:349:61: note: passing argument to parameter 'entry' here
void hashmap_add(struct hashmap *map, struct hashmap_entry *entry);
^
./helper/cinnabar-helper.c:1670:31: warning: incompatible pointer types passing 'struct old2new_manifest_tree *' to parameter of type 'const struct hashmap_entry *' [-Wincompatible-pointer-types]
old2new = hashmap_get(cache, &k, NULL);
^~
./hashmap.h:306:33: note: passing argument to parameter 'key' here
const struct hashmap_entry *key,
^
./helper/cinnabar-helper.c:1670:10: warning: incompatible pointer types assigning to 'struct old2new_manifest_tree *' from 'struct hashmap_entry *' [-Wincompatible-pointer-types]
old2new = hashmap_get(cache, &k, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-helper.c:1715:22: warning: incompatible pointer types passing 'struct old2new_manifest_tree *' to parameter of type 'struct hashmap_entry *' [-Wincompatible-pointer-types]
hashmap_add(cache, old2new);
^~~~~~~
./hashmap.h:349:61: note: passing argument to parameter 'entry' here
void hashmap_add(struct hashmap *map, struct hashmap_entry *entry);
^
./helper/cinnabar-helper.c:1752:45: warning: incompatible pointer types passing 'struct oid_map_entry *' to parameter of type 'const struct hashmap_entry *' [-Wincompatible-pointer-types]
entry = hashmap_get(&track->commit_cache, &k, NULL);
^~
./hashmap.h:306:33: note: passing argument to parameter 'key' here
const struct hashmap_entry *key,
^
./helper/cinnabar-helper.c:1752:9: warning: incompatible pointer types assigning to 'struct oid_map_entry *' from 'struct hashmap_entry *' [-Wincompatible-pointer-types]
entry = hashmap_get(&track->commit_cache, &k, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-helper.c:1788:45: warning: incompatible pointer types passing 'struct oid_map_entry *' to parameter of type 'const struct hashmap_entry *' [-Wincompatible-pointer-types]
entry = hashmap_get(&track->commit_cache, &k, NULL);
^~
./hashmap.h:306:33: note: passing argument to parameter 'key' here
const struct hashmap_entry *key,
^
./helper/cinnabar-helper.c:1788:9: warning: incompatible pointer types assigning to 'struct oid_map_entry *' from 'struct hashmap_entry *' [-Wincompatible-pointer-types]
entry = hashmap_get(&track->commit_cache, &k, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-helper.c:1800:36: warning: incompatible pointer types passing 'struct oid_map_entry *' to parameter of type 'struct hashmap_entry *' [-Wincompatible-pointer-types]
hashmap_add(&track->commit_cache, entry);
^~~~~
./hashmap.h:349:61: note: passing argument to parameter 'entry' here
void hashmap_add(struct hashmap *map, struct hashmap_entry *entry);
^
./helper/cinnabar-helper.c:1904:36: warning: incompatible pointer types passing 'int (const void *, const void *, const void *, const void *)' to parameter of type 'hashmap_cmp_fn' (aka 'int (*)(const void *, const struct hashmap_entry *, const struct hashmap_entry *, const void *)') [-Wincompatible-pointer-types]
hashmap_init(&track.tree_cache, oid_map_entry_cmp, NULL, 0);
^~~~~~~~~~~~~~~~~
./hashmap.h:231:20: note: passing argument to parameter 'equals_function' here
hashmap_cmp_fn equals_function,
^
./helper/cinnabar-helper.c:1906:36: warning: incompatible pointer types passing 'int (const void *, const void *, const void *, const void *)' to parameter of type 'hashmap_cmp_fn' (aka 'int (*)(const void *, const struct hashmap_entry *, const struct hashmap_entry *, const void *)') [-Wincompatible-pointer-types]
hashmap_init(&track.tree_cache, old2new_manifest_tree_cmp, NULL, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
./hashmap.h:231:20: note: passing argument to parameter 'equals_function' here
hashmap_cmp_fn equals_function,
^
./helper/cinnabar-helper.c:1908:37: warning: incompatible pointer types passing 'int (const void *, const void *, const void *, const void *)' to parameter of type 'hashmap_cmp_fn' (aka 'int (*)(const void *, const struct hashmap_entry *, const struct hashmap_entry *, const void *)') [-Wincompatible-pointer-types]
hashmap_init(&track.commit_cache, oid_map_entry_cmp, NULL, 0);
^~~~~~~~~~~~~~~~~
./hashmap.h:231:20: note: passing argument to parameter 'equals_function' here
hashmap_cmp_fn equals_function,
^
./helper/cinnabar-helper.c:1935:37: error: too many arguments provided to function-like macro invocation
hashmap_free(&track.commit_cache, 1);
^
./hashmap.h:241:9: note: macro 'hashmap_free' defined here
#define hashmap_free(map) hashmap_free_(map, -1)
^
./helper/cinnabar-helper.c:1935:3: error: use of undeclared identifier 'hashmap_free'; did you mean 'hashmap_free_'?
hashmap_free(&track.commit_cache, 1);
^~~~~~~~~~~~
hashmap_free_
./hashmap.h:236:6: note: 'hashmap_free_' declared here
void hashmap_free_(struct hashmap *map, ssize_t offset);
^
./helper/cinnabar-helper.c:1936:35: error: too many arguments provided to function-like macro invocation
hashmap_free(&track.tree_cache, 1);
^
./hashmap.h:241:9: note: macro 'hashmap_free' defined here
#define hashmap_free(map) hashmap_free_(map, -1)
^
./helper/cinnabar-helper.c:1936:3: error: use of undeclared identifier 'hashmap_free'; did you mean 'hashmap_free_'?
hashmap_free(&track.tree_cache, 1);
^~~~~~~~~~~~
hashmap_free_
./hashmap.h:236:6: note: 'hashmap_free_' declared here
void hashmap_free_(struct hashmap *map, ssize_t offset);
^
./helper/cinnabar-helper.c:1935:3: warning: expression result unused [-Wunused-value]
hashmap_free(&track.commit_cache, 1);
^~~~~~~~~~~~
./helper/cinnabar-helper.c:1936:3: warning: expression result unused [-Wunused-value]
hashmap_free(&track.tree_cache, 1);
^~~~~~~~~~~~
./helper/cinnabar-helper.c:1955:35: warning: incompatible pointer types passing 'struct oid_map_entry *' to parameter of type 'const struct hashmap_entry *' [-Wincompatible-pointer-types]
cache_entry = hashmap_get(cache, &k, NULL);
^~
./hashmap.h:306:33: note: passing argument to parameter 'key' here
const struct hashmap_entry *key,
^
./helper/cinnabar-helper.c:1955:14: warning: incompatible pointer types assigning to 'struct oid_map_entry *' from 'struct hashmap_entry *' [-Wincompatible-pointer-types]
cache_entry = hashmap_get(cache, &k, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-helper.c:2020:23: warning: incompatible pointer types passing 'struct oid_map_entry *' to parameter of type 'struct hashmap_entry *' [-Wincompatible-pointer-types]
hashmap_add(cache, cache_entry);
^~~~~~~~~~~
./hashmap.h:349:61: note: passing argument to parameter 'entry' here
void hashmap_add(struct hashmap *map, struct hashmap_entry *entry);
^
./helper/cinnabar-helper.c:2280:32: error: too many arguments provided to function-like macro invocation
hashmap_free(&git_tree_cache, 1);
^
./hashmap.h:241:9: note: macro 'hashmap_free' defined here
#define hashmap_free(map) hashmap_free_(map, -1)
^
./helper/cinnabar-helper.c:2280:2: error: use of undeclared identifier 'hashmap_free'; did you mean 'hashmap_free_'?
hashmap_free(&git_tree_cache, 1);
^~~~~~~~~~~~
hashmap_free_
./hashmap.h:236:6: note: 'hashmap_free_' declared here
void hashmap_free_(struct hashmap *map, ssize_t offset);
^
./helper/cinnabar-helper.c:2281:32: warning: incompatible pointer types passing 'int (const void *, const void *, const void *, const void *)' to parameter of type 'hashmap_cmp_fn' (aka 'int (*)(const void *, const struct hashmap_entry *, const struct hashmap_entry *, const void *)') [-Wincompatible-pointer-types]
hashmap_init(&git_tree_cache, oid_map_entry_cmp, NULL, 0);
^~~~~~~~~~~~~~~~~
./hashmap.h:231:20: note: passing argument to parameter 'equals_function' here
hashmap_cmp_fn equals_function,
^
./helper/cinnabar-helper.c:2280:2: warning: expression result unused [-Wunused-value]
hashmap_free(&git_tree_cache, 1);
^~~~~~~~~~~~
./helper/cinnabar-helper.c:2397:34: warning: incompatible pointer types passing 'int (const void *, const void *, const void *, const void *)' to parameter of type 'hashmap_cmp_fn' (aka 'int (*)(const void *, const struct hashmap_entry *, const struct hashmap_entry *, const void *)') [-Wincompatible-pointer-types]
hashmap_init(&git_tree_cache, oid_map_entry_cmp, NULL, 0);
^~~~~~~~~~~~~~~~~
./hashmap.h:231:20: note: passing argument to parameter 'equals_function' here
hashmap_cmp_fn equals_function,
^
./helper/cinnabar-helper.c:2453:32: error: too many arguments provided to function-like macro invocation
hashmap_free(&git_tree_cache, 1);
^
./hashmap.h:241:9: note: macro 'hashmap_free' defined here
#define hashmap_free(map) hashmap_free_(map, -1)
^
./helper/cinnabar-helper.c:2453:2: error: use of undeclared identifier 'hashmap_free'; did you mean 'hashmap_free_'?
hashmap_free(&git_tree_cache, 1);
^~~~~~~~~~~~
hashmap_free_
./hashmap.h:236:6: note: 'hashmap_free_' declared here
void hashmap_free_(struct hashmap *map, ssize_t offset);
^
./helper/cinnabar-helper.c:2453:2: warning: expression result unused [-Wunused-value]
hashmap_free(&git_tree_cache, 1);
^~~~~~~~~~~~
23 warnings and 8 errors generated.
gmake[2]: *** [/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2/Makefile:186: cinnabar-helper.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2/git-core'
gmake[1]: *** [Makefile:82: git-cinnabar-helper] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.2'
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/git-cinnabar
More information about the freebsd-pkg-fallout
mailing list