From owner-freebsd-pkg-fallout@freebsd.org Sun Aug 13 01:40:48 2017 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17B30DD98E1 for ; Sun, 13 Aug 2017 01:40:48 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 051BC7E5D9 for ; Sun, 13 Aug 2017 01:40:48 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 01680DD98E0; Sun, 13 Aug 2017 01:40:48 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00F4ADD98DF for ; Sun, 13 Aug 2017 01:40:48 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy5.nyi.freebsd.org (beefy5.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4CA77E5D8; Sun, 13 Aug 2017 01:40:47 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy5.nyi.freebsd.org (localhost [127.0.0.1]) by beefy5.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7D1eluC030080; Sun, 13 Aug 2017 01:40:47 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy5.nyi.freebsd.org (8.15.2/8.15.2/Submit) id v7D1ekUI030063; Sun, 13 Aug 2017 01:40:46 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 13 Aug 2017 01:40:46 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201708130140.v7D1ekUI030063@beefy5.nyi.freebsd.org> To: jbeich@FreeBSD.org Subject: [package - 103i386-default][devel/git-cinnabar] Failed for git-cinnabar-0.5.0.b2_3 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2017 01:40:48 -0000 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@FreeBSD.org Last committer: jbeich@FreeBSD.org Ident: $FreeBSD: head/devel/git-cinnabar/Makefile 447207 2017-08-03 12:30:06Z jbeich $ Log URL: http://beefy5.nyi.freebsd.org/data/103i386-default/447812/logs/git-cinnabar-0.5.0.b2_3.log Build URL: http://beefy5.nyi.freebsd.org/build.html?mastername=103i386-default&build=447812 Log: ====>> Building devel/git-cinnabar build started at Sun Aug 13 01:40:15 UTC 2017 port directory: /usr/ports/devel/git-cinnabar building for: FreeBSD 103i386-default-job-06 10.3-RELEASE-p21 FreeBSD 10.3-RELEASE-p21 i386 maintained by: jbeich@FreeBSD.org Makefile ident: $FreeBSD: head/devel/git-cinnabar/Makefile 447207 2017-08-03 12:30:06Z jbeich $ Poudriere version: 3.1.19-61-ga8829ba9 Host OSVERSION: 1200033 Jail OSVERSION: 1003000 Job Id: 06 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1003000 UNAME_v=FreeBSD 10.3-RELEASE-p21 UNAME_r=10.3-RELEASE-p21 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/103i386-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=git-cinnabar-0.5.0.b2_3 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/103i386-default/ref/.p/pool MASTERNAME=103i386-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.19-61-ga8829ba9 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --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" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-isystem/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector -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_H OME=/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 WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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-- PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=freebsd10 PYTHON_PYOEXTENSION=pyo PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_SUFFIX=27 PYTHON_VER=2.7 PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=10.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" 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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /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 #### ARCH=i386 CONFIGURE_MAX_CMD_LEN=262144 OPSYS=FreeBSD OSREL=10.3 OSVERSION=1003000 PYTHONBASE=/usr/local UID=0 _JAVA_OS_LIST_REGEXP=native|linux _JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun _JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+ _OSRELEASE=10.3-RELEASE-p21 #### Misc Poudriere #### GID=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) 524288 stack size (kbytes, -s) 65536 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 sbsize (bytes, -b) unlimited pseudo-terminals (-p) unlimited --End resource limits-- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> git-cinnabar-0.5.0.b2_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.1.txz [103i386-default-job-06] Installing pkg-1.10.1... [103i386-default-job-06] Extracting pkg-1.10.1: .......... done ===> git-cinnabar-0.5.0.b2_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of git-cinnabar-0.5.0.b2_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by git-cinnabar-0.5.0.b2_3 for building ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by git-2.14.1 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by git-cinnabar-0.5.0.b2_3 for building ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by git-2.14.1 for building => SHA256 Checksum OK for glandium-git-cinnabar-0.5.0b2_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by git-cinnabar-0.5.0.b2_3 for building ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by git-2.14.1 for building ===> Extracting for git-cinnabar-0.5.0.b2_3 => SHA256 Checksum OK for glandium-git-cinnabar-0.5.0b2_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for git-cinnabar-0.5.0.b2_3 =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> git-2.14.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by git-2.14.1 for building ===> Extracting for git-2.14.1 => SHA256 Checksum OK for git-2.14.1.tar.xz. => SHA256 Checksum OK for git-manpages-2.14.1.tar.xz. ===> Patching for git-2.14.1 ===> Applying FreeBSD patches for git-2.14.1 ===> git-2.14.1 depends on executable: curl - not found ===> Installing existing package /packages/All/curl-7.55.0.txz [103i386-default-job-06] Installing curl-7.55.0... [103i386-default-job-06] `-- Installing ca_root_nss-3.32... checking for library containing memmem... none required checking for strlcpy... (cached) yes checking for library containing strlcpy... none required checking for uintmax_t... yes checking for strtoumax... yes checking for library containing strtoumax... none required checking for setenv... (cached) yes checking for library containing setenv... none required checking for unsetenv... (cached) yes checking for library containing unsetenv... none required checking for mkdtemp... (cached) yes checking for library containing mkdtemp... none required checking for initgroups... yes checking for library containing initgroups... none required checking for getdelim... (cached) yes checking for library containing getdelim... none required checking for BSD sysctl... yes checking for POSIX Threads with '-pthread'... yes configure: creating ./config.status config.status: creating config.mak.autogen config.status: executing config.mak.autogen commands ===> Returning to build of git-cinnabar-0.5.0.b2_3 ===> git-cinnabar-0.5.0.b2_3 depends on executable: gmake - found =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for git-cinnabar-0.5.0.b2_3 =========================================================================== =================================================== ===> Building for git-cinnabar-0.5.0.b2_3 gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2' gmake -C /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2/git-core -f /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2/Makefile git-cinnabar-helper SCRIPT_PYTHON="git-p4.py git-remote-hg.py git-cinnabar.py " CINNABAR_RECURSE=1 gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2/git-core' GIT_VERSION = 2.14.1 * new build flags (cd .. && patch -p1 -F0 -o helper/fast-import.patched.c /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2/git-core/fast-import.c) < ../helper/fast-import.c.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/fast-import.c b/fast-import.c |index 64fe602f0..346ed573c 100644 |--- a/fast-import.c |+++ b/fast-import.c -------------------------- Patching file /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2/git-core/fast-import.c using Plan A... Hunk #1 succeeded at 997 (offset 3 lines). Hunk #2 succeeded at 2314 (offset 6 lines). done cc -o cinnabar-fast-import.o -c -MF ./.depend/cinnabar-fast-import.o.d -MQ cinnabar-fast-import.o -MMD -MP -isystem/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -I. -I/usr/local/include -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_TRAILING_INCLUDE_SHA1_C="\"sha1dc_git.c\"" -DSHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_H="\"sha1dc_git.h\"" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -pthread -DHAVE_PATHS_H -DHAVE_STRINGS_H -DGMTIME_UNRELIABLE_ERRORS -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_BSD_SYSCTL -DHAVE_GETDELIM -DFREAD_READS_DIRECTORIES -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c MORE=FRX"' ../helper/cinnabar-fast-import.c ./helper/cinnabar-fast-import.c:95:41: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] struct object_entry *oe = find_object((unsigned char *)sha1); ^~~~~~~~~~~~~~~~~~~~~ ./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here static struct object_entry *find_object(struct object_id *oid) ^ ./helper/cinnabar-fast-import.c:105:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] return find_object((unsigned char *)sha1); ^~~~~~~~~~~~~~~~~~~~~ ./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here static struct object_entry *find_object(struct object_id *oid) ^ ./helper/cinnabar-fast-import.c:230:27: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] note = get_note(&hg2git, oid.hash); ^~~~~~~~ ./notes.h:144:27: note: passing argument to parameter 'object_oid' here const struct object_id *object_oid); ^ ./helper/cinnabar-fast-import.c:230:7: warning: incompatible pointer types assigning to 'const unsigned char *' from 'const struct object_id *' [-Wincompatible-pointer-types] note = get_note(&hg2git, oid.hash); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./helper/cinnabar-fast-import.c:245:18: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] e = find_object((unsigned char *)note); ^~~~~~~~~~~~~~~~~~~~~ ./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here static struct object_entry *find_object(struct object_id *oid) ^ ./helper/cinnabar-fast-import.c:247:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] e = insert_object((unsigned char *)note); ^~~~~~~~~~~~~~~~~~~~~ ./helper/fast-import.patched.c:583:61: note: passing argument to parameter 'oid' here static struct object_entry *insert_object(struct object_id *oid) ^ ./helper/cinnabar-fast-import.c:302:24: error: no member named 'sha1' in 'struct branch' if (!is_null_sha1(b->sha1)) { ~ ^ ./helper/cinnabar-fast-import.c:305:37: error: no member named 'sha1' in 'struct branch' init_notes(notes, sha1_to_hex(b->sha1), ~ ^ ./helper/cinnabar-fast-import.c:373:20: warning: incompatible pointer types passing 'unsigned char const[20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] c = lookup_commit(oid->hash); ^~~~~~~~~ ./commit.h:48:54: note: passing argument to parameter 'oid' here struct commit *lookup_commit(const struct object_id *oid); ^ ./helper/cinnabar-fast-import.c:401:35: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] while ((note = get_note(&git2hg, git_id->hash))) { ^~~~~~~~~~~~ ./notes.h:144:27: note: passing argument to parameter 'object_oid' here const struct object_id *object_oid); ^ ./helper/cinnabar-fast-import.c:401:15: warning: incompatible pointer types assigning to 'const unsigned char *' from 'const struct object_id *' [-Wincompatible-pointer-types] while ((note = get_note(&git2hg, git_id->hash))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./helper/cinnabar-fast-import.c:424:40: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] store_object(OBJ_COMMIT, &buf, NULL, git_id->hash, 0); ^~~~~~~~~~~~ ./helper/fast-import.patched.c:1086:20: note: passing argument to parameter 'oidout' here struct object_id *oidout, ^ ./helper/cinnabar-fast-import.c:466:32: error: no member named 'sha1' in 'struct pack_idx_entry' hashcpy(git_id.hash, oe->idx.sha1); ~~~~~~~ ^ ./helper/cinnabar-fast-import.c:473:28: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] note = get_note(&hg2git, hg_id.hash); ^~~~~~~~~~ ./notes.h:144:27: note: passing argument to parameter 'object_oid' here const struct object_id *object_oid); ^ ./helper/cinnabar-fast-import.c:473:8: warning: incompatible pointer types assigning to 'const unsigned char *' from 'const struct object_id *' [-Wincompatible-pointer-types] note = get_note(&hg2git, hg_id.hash); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./helper/cinnabar-fast-import.c:488:19: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] add_note(notes, hg_id.hash, git_id.hash, NULL); ^~~~~~~~~~ ./notes.h:124:60: note: passing argument to parameter 'object_oid' here int add_note(struct notes_tree *t, const struct object_id *object_oid, ^ ./helper/cinnabar-fast-import.c:488:31: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] add_note(notes, hg_id.hash, git_id.hash, NULL); ^~~~~~~~~~~ ./notes.h:125:27: note: passing argument to parameter 'note_oid' here const struct object_id *note_oid, combine_notes_fn combine_notes); ^ ./helper/cinnabar-fast-import.c:520:36: warning: incompatible pointer types passing 'const unsigned char *' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] tree_content_set(tree, note_path, note_sha1, mode, NULL); ^~~~~~~~~ ./helper/fast-import.patched.c:1549:26: note: passing argument to parameter 'oid' here const struct object_id *oid, ^ ./helper/cinnabar-fast-import.c:534:21: warning: incompatible pointer types passing 'int (const unsigned char *, const unsigned char *, char *, void *)' to parameter of type 'each_note_fn *' (aka 'int (*)(const struct object_id *, const struct object_id *, char *, void *)') [-Wincompatible-pointer-types] store_each_note, tree)) ^~~~~~~~~~~~~~~ ./notes.h:208:65: note: passing argument to parameter 'fn' here int for_each_note(struct notes_tree *t, int flags, each_note_fn fn, ^ ./helper/cinnabar-fast-import.c:537:43: error: no member named 'sha1' in 'struct tree_entry_ms' hashcpy(result->hash, tree->versions[1].sha1); ~~~~~~~~~~~~~~~~~ ^ ./helper/cinnabar-fast-import.c:551:49: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] store_object(OBJ_BLOB, &file->metadata, NULL, sha1, 0); ^~~~ ./helper/fast-import.patched.c:1086:20: note: passing argument to parameter 'oidout' here struct object_id *oidout, ^ ./helper/cinnabar-fast-import.c:553:25: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] add_note(&files_meta, file->sha1, sha1, NULL); ^~~~~~~~~~ ./notes.h:124:60: note: passing argument to parameter 'object_oid' here int add_note(struct notes_tree *t, const struct object_id *object_oid, ^ ./helper/cinnabar-fast-import.c:553:37: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] add_note(&files_meta, file->sha1, sha1, NULL); ^~~~ ./notes.h:125:27: note: passing argument to parameter 'note_oid' here const struct object_id *note_oid, combine_notes_fn combine_notes); ^ ./helper/cinnabar-fast-import.c:565:53: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] store_object(OBJ_BLOB, &file->content, &last_blob, sha1, 0); ^~~~ ./helper/fast-import.patched.c:1086:20: note: passing argument to parameter 'oidout' here struct object_id *oidout, ^ ./helper/cinnabar-fast-import.c:567:20: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] add_note(&hg2git, file->sha1, sha1, NULL); ^~~~~~~~~~ ./notes.h:124:60: note: passing argument to parameter 'object_oid' here int add_note(struct notes_tree *t, const struct object_id *object_oid, ^ ./helper/cinnabar-fast-import.c:567:32: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] add_note(&hg2git, file->sha1, sha1, NULL); ^~~~ ./notes.h:125:27: note: passing argument to parameter 'note_oid' here const struct object_id *note_oid, combine_notes_fn combine_notes); ^ ./helper/cinnabar-fast-import.c:569:33: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] file->content_oe = find_object(sha1); ^~~~ ./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here static struct object_entry *find_object(struct object_id *oid) ^ 23 warnings and 4 errors generated. gmake[2]: *** [/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2/Makefile:173: cinnabar-fast-import.o] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2/git-core' gmake[1]: *** [Makefile:76: git-cinnabar-helper] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b2' *** Error code 1 Stop. make: stopped in /usr/ports/devel/git-cinnabar