Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 11:14:58 GMT
From:      pkg-fallout@FreeBSD.org
To:        jbeich@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 111i386-default][devel/git-cinnabar] Failed for git-cinnabar-0.5.0.b3_1 in build
Message-ID:  <201806241114.w5OBEwTM021514@beefy10.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 471111 2018-05-29 19:39:40Z jbeich $
Log URL:        http://beefy10.nyi.freebsd.org/data/111i386-default/473110/logs/git-cinnabar-0.5.0.b3_1.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=111i386-default&build=473110
Log:

=>> Building devel/git-cinnabar
build started at Sun Jun 24 11:14:38 UTC 2018
port directory: /usr/ports/devel/git-cinnabar
package name: git-cinnabar-0.5.0.b3_1
building for: FreeBSD 111i386-default-job-11 11.1-RELEASE-p11 FreeBSD 11.1-RELEASE-p11 i386
maintained by: jbeich@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/git-cinnabar/Makefile 471111 2018-05-29 19:39:40Z jbeich $
Poudriere version: 3.2.7-1-g7087c444
Host OSVERSION: 1200062
Jail OSVERSION: 1101001
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE-p11
UNAME_r=11.1-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.7-1-g7087c444
MASTERMNT=/usr/local/poudriere/data/.m/111i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/111i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=111i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/111i386-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---
---End OPTIONS List---

--MAINTAINER--
jbeich@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 -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  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--
PORTDOCS="" PORTEXAMPLES="" 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.1 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
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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: i386-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: i386-unknown-freebsd11.1 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" "-m" "elf_i386_fbsd" "-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=error: invalid value 'c++17' in '-std=c++17'
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=error: invalid value 'gnu++17' in '-std=gnu++17'
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: i386-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=11.1-RELEASE-p11
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
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)  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
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.b3_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[111i386-default-job-11] Installing pkg-1.10.5_1...
[111i386-default-job-11] Extracting pkg-1.10.5_1: .......... done
===>   git-cinnabar-0.5.0.b3_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of git-cinnabar-0.5.0.b3_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by git-cinnabar-0.5.0.b3_1 for building
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by git-2.18.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by git-cinnabar-0.5.0.b3_1 for building
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by git-2.18.0 for building
=> SHA256 Checksum OK for glandium-git-cinnabar-0.5.0b3_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by git-cinnabar-0.5.0.b3_1 for building
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by git-2.18.0 for building
===>  Extracting for git-cinnabar-0.5.0.b3_1
=> SHA256 Checksum OK for glandium-git-cinnabar-0.5.0b3_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for git-cinnabar-0.5.0.b3_1
===========================================================================
=======================<phase: build-depends  >============================
===>  License GPLv2 accepted by the user
===>   git-2.18.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by git-2.18.0 for building
===>  Extracting for git-2.18.0
=> SHA256 Checksum OK for git-2.18.0.tar.xz.
=> SHA256 Checksum OK for git-manpages-2.18.0.tar.xz.
===>  Patching for git-2.18.0
===>  Applying FreeBSD patches for git-2.18.0
===>   git-2.18.0 depends on executable: curl - not found
===>   Installing existing package /packages/All/curl-7.60.0.txz
<snip>
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
configure: Setting PERL_PATH to /usr/local/bin/perl
configure: Setting PYTHON_PATH to /usr/local/bin/python2.7
configure: CHECKS for programs
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking for inline... inline
checking if linker supports -R... no
checking if linker supports -Wl,-rpath,... yes
checking for gar... no
checking for ar... ar
checking for gtar... no
checking for tar... tar
checking for gnudiff... no
checking for gdiff... no
checking for diff... diff
checking for asciidoc... asciidoc
checking for asciidoc version... asciidoc 8.6.10
Using 'grep -a' for sane_grep
configure: CHECKS for libraries
checking for SHA1_Init in -lcrypto... yes
checking for pcre2_config_8 in -lpcre2-8... no
checking for curl_global_init in -lcurl... yes
checking for curl-config... curl-config
checking if Curl supports SSL... yes
checking for XML_ParserCreate in -lexpat... yes
checking for iconv in -lc... yes
checking for deflateBound in -lz... yes
checking for socket in -lc... yes
checking for inet_ntop... (cached) yes
checking for inet_pton... yes
checking for hstrerror... yes
checking for basename in -lc... yes
checking for gettext in -lc... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
configure: CHECKS for header files
checking for sys/select.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for old iconv()... no
configure: CHECKS for typedefs, structures, and compiler characteristics
checking for socklen_t... (cached) yes
checking for struct itimerval... yes
checking for struct stat.st_mtimespec.tv_nsec... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct dirent.d_type... yes
checking for struct passwd.pw_gecos... yes
checking for struct sockaddr_storage... yes
checking for struct addrinfo... yes
checking for getaddrinfo... (cached) yes
checking for library containing getaddrinfo... none required
checking whether the platform regex supports REG_STARTEND... yes
checking whether system succeeds to read fopen'ed directory... yes
checking whether snprintf() and/or vsnprintf() return bogus value... no
checking whether the platform uses typical file type bits... yes
configure: CHECKS for library functions
checking for libgen.h... (cached) yes
checking for paths.h... (cached) yes
checking for libcharset.h... (cached) no
checking for strings.h... (cached) yes
checking for locale_charset in -liconv... no
checking for locale_charset in -lcharset... no
checking for clock_gettime... (cached) yes
checking for library containing clock_gettime... none required
checking for CLOCK_MONOTONIC... yes
checking for setitimer... yes
checking for library containing setitimer... none required
checking for strcasestr... (cached) yes
checking for library containing strcasestr... none required
checking for memmem... yes
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.b3_1
===>   git-cinnabar-0.5.0.b3_1 depends on executable: gmake - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for git-cinnabar-0.5.0.b3_1
===========================================================================
=======================<phase: build          >============================
===>  Building for git-cinnabar-0.5.0.b3_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b3'
gmake -C /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b3/git-core -f /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b3/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.0b3/git-core'
GIT_VERSION = 2.18.0
    * new build flags
(cd .. && patch -p1 -F0 -o helper/fast-import.patched.c /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b3/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 a959161b4..aa66e3e9a 100644
|--- a/fast-import.c
|+++ b/fast-import.c
--------------------------
Patching file /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b3/git-core/fast-import.c using Plan A...
Hunk #1 succeeded at 955 (offset -42 lines).
Hunk #2 succeeded at 2322 (offset 5 lines).
Hunk #3 succeeded at 2341 (offset -42 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 -DGIT_HOST_CPU="\"i386\"" -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\"" -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 -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c MORE=FRX"'  ../helper/cinnabar-fast-import.c
./helper/cinnabar-fast-import.c:127:10: warning: implicit declaration of function 'pool_calloc' is invalid in C99 [-Wimplicit-function-declaration]
        marks = pool_calloc(1, sizeof(struct mark_set));
                ^
./helper/cinnabar-fast-import.c:127:8: warning: incompatible integer to pointer conversion assigning to 'struct mark_set *' from 'int' [-Wint-conversion]
        marks = pool_calloc(1, sizeof(struct mark_set));
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-fast-import.c:131:12: warning: implicit declaration of function 'pool_alloc' is invalid in C99 [-Wimplicit-function-declaration]
        rc_free = pool_alloc(cmd_save * sizeof(*rc_free));
                  ^
./helper/cinnabar-fast-import.c:131:10: warning: incompatible integer to pointer conversion assigning to 'struct recent_command *' from 'int' [-Wint-conversion]
        rc_free = pool_alloc(cmd_save * sizeof(*rc_free));
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-fast-import.c:136:2: warning: implicit declaration of function 'prepare_packed_git' is invalid in C99 [-Wimplicit-function-declaration]
        prepare_packed_git();
        ^
./helper/cinnabar-fast-import.c:138:30: error: too few arguments to function call, expected 2, have 1
        install_packed_git(pack_data);
        ~~~~~~~~~~~~~~~~~~          ^
./packfile.h:38:1: note: 'install_packed_git' declared here
extern void install_packed_git(struct repository *r, struct packed_git *pack);
^
./helper/cinnabar-fast-import.c:139:34: error: use of undeclared identifier 'packed_git_mru'
        list_add_tail(&pack_data->mru, &packed_git_mru);
                                        ^
./helper/cinnabar-fast-import.c:155:23: error: too few arguments to function call, single argument 'r' was not specified
        reprepare_packed_git();
        ~~~~~~~~~~~~~~~~~~~~ ^
./packfile.h:37:1: note: 'reprepare_packed_git' declared here
extern void reprepare_packed_git(struct repository *r);
^
./helper/cinnabar-fast-import.c:194:28: error: use of undeclared identifier 'packed_git'
                for (prev = NULL, pack = packed_git; pack;
                                         ^
./helper/cinnabar-fast-import.c:201:5: error: must use 'struct' tag to refer to type 'packed_git'
                                packed_git = pack->next;
                                ^
                                struct 
./helper/cinnabar-fast-import.c:201:5: error: expected expression
./helper/cinnabar-fast-import.c:239:24: warning: incompatible pointer types passing 'unsigned char const[20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
                        if (!get_tree_entry(note->hash, path, oid.hash, &mode))
                                            ^~~~~~~~~~
./tree-walk.h:82:44: note: passing argument to parameter here
int get_tree_entry(const struct object_id *, const char *, struct object_id *, unsigned *);
                                           ^
./helper/cinnabar-fast-import.c:239:42: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
                        if (!get_tree_entry(note->hash, path, oid.hash, &mode))
                                                              ^~~~~~~~
./tree-walk.h:82:78: note: passing argument to parameter here
int get_tree_entry(const struct object_id *, const char *, struct object_id *, unsigned *);
                                                                             ^
./helper/cinnabar-fast-import.c:250:13: warning: implicit declaration of function 'sha1_object_info' is invalid in C99 [-Wimplicit-function-declaration]
                e->type = sha1_object_info(note->hash, NULL);
                          ^
./helper/cinnabar-fast-import.c:411:19: warning: implicit declaration of function 'read_sha1_file_extended' is invalid in C99 [-Wimplicit-function-declaration]
                char *content = read_sha1_file_extended(note->hash, &type, &len, 0);
                                ^
./helper/cinnabar-fast-import.c:411:9: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]
                char *content = read_sha1_file_extended(note->hash, &type, &len, 0);
                      ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-fast-import.c:423:12: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
                        content = read_sha1_file_extended(git_id->hash, &type,
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings and 6 errors generated.
gmake[2]: *** [/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b3/Makefile:173: cinnabar-fast-import.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.0b3/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.0b3'
*** 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?201806241114.w5OBEwTM021514>