Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 15:14:53 GMT
From:      pkg-fallout@FreeBSD.org
To:        jbeich@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 110amd64-default][devel/git-cinnabar] Failed for git-cinnabar-0.5.0.b2_3 in build
Message-ID:  <201708271514.v7RFEr4j032053@beefy9.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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://beefy9.nyi.freebsd.org/data/110amd64-default/448796/logs/git-cinnabar-0.5.0.b2_3.log
Build URL:      http://beefy9.nyi.freebsd.org/build.html?mastername=110amd64-default&build=448796
Log:

====>> Building devel/git-cinnabar
build started at Sun Aug 27 15:14:24 UTC 2017
port directory: /usr/ports/devel/git-cinnabar
building for: FreeBSD 110amd64-default-job-03 11.0-RELEASE-p12 FreeBSD 11.0-RELEASE-p12 amd64
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: 1200040
Jail OSVERSION: 1100122
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p12
UNAME_r=11.0-RELEASE-p12
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/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/110amd64-default/ref/.p/pool
MASTERNAME=110amd64-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 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no 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_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  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=freebsd11
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=11.0
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
#### /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=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=11.0
OSVERSION=1100122
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=11.0-RELEASE-p12
#### 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)  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.0.b2_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[110amd64-default-job-03] Installing pkg-1.10.1...
[110amd64-default-job-03] 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
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  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
===========================================================================
=======================<phase: checksum       >============================
===>  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.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  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.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for git-cinnabar-0.5.0.b2_3
===========================================================================
=======================<phase: build-depends  >============================
===>  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.1.txz
[110amd64-default-job-03] Installing curl-7.55.1...
[110amd64-default-job-03] `-- Installing ca_root_nss-3.32...
[110amd64-default-job-03] `-- Extracting ca_root_nss-3.32: ........ done
[110amd64-default-job-03] `-- Installing libnghttp2-1.25.0...
<snip>
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
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for git-cinnabar-0.5.0.b2_3
===========================================================================
=======================<phase: build          >============================
===>  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708271514.v7RFEr4j032053>