From owner-freebsd-pkg-fallout@freebsd.org Sun Dec 10 02:06:37 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 6DA3AEA0415 for ; Sun, 10 Dec 2017 02:06:37 +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 59E8B7EAA7 for ; Sun, 10 Dec 2017 02:06:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 595C2EA0414; Sun, 10 Dec 2017 02:06:37 +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 58F5CEA0413 for ; Sun, 10 Dec 2017 02:06:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy13.nyi.freebsd.org (beefy13.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e0]) (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 0F61F7EAA6 for ; Sun, 10 Dec 2017 02:06:36 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy13.nyi.freebsd.org (localhost [127.0.0.1]) by beefy13.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id vBA26aWj023231 for ; Sun, 10 Dec 2017 02:06:36 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy13.nyi.freebsd.org (8.15.2/8.15.2/Submit) id vBA26aji023229; Sun, 10 Dec 2017 02:06:36 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 10 Dec 2017 02:06:36 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201712100206.vBA26aji023229@beefy13.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-mips64-default][devel/libgit2] Failed for libgit2-0.26.0 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2017 02:06:37 -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: wg@FreeBSD.org Last committer: tz@FreeBSD.org Ident: $FreeBSD: head/devel/libgit2/Makefile 455050 2017-11-28 15:58:35Z tz $ Log URL: http://beefy13.nyi.freebsd.org/data/head-mips64-default/p455878_s326738/logs/libgit2-0.26.0.log Build URL: http://beefy13.nyi.freebsd.org/build.html?mastername=head-mips64-default&build=p455878_s326738 Log: =>> Building devel/libgit2 build started at Sun Dec 10 01:33:23 UTC 2017 port directory: /usr/ports/devel/libgit2 package name: libgit2-0.26.0 building for: FreeBSD head-mips64-default-job-10 12.0-CURRENT FreeBSD 12.0-CURRENT 1200054 mips maintained by: wg@FreeBSD.org Makefile ident: $FreeBSD: head/devel/libgit2/Makefile 455050 2017-11-28 15:58:35Z tz $ Poudriere version: 3.2.3-6-gcdc5c2bd Host OSVERSION: 1200052 Jail OSVERSION: 1200054 Job Id: 10 !!! Jail is newer than host. (Jail: 1200054, Host: 1200052) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=mips64 UNAME_m=mips ABI_FILE=/usr/lib/crt1.o OSVERSION=1200054 UNAME_v=FreeBSD 12.0-CURRENT 1200054 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-mips64-default/ref QEMU_EMULATING=1 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/usr/local/poudriere/data/.m/head-mips64-default/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS PWD=/usr/local/poudriere/data/.m/head-mips64-default/ref/.p/pool MASTERNAME=head-mips64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root P_PYTHON_MAJOR_VER=2 POUDRIERE_VERSION=3.2.3-6-gcdc5c2bd 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= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for libgit2-0.26.0: CURL=on: Enable HTTP support through cURL SSH=on: Enable SSH support through libssh2 THREADS=on: Threading support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- wg@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libgit2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libgit2/work HOME=/wrkdirs/usr/ports/devel/libgit2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libgit2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libgit2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libgit2/work HOME=/wrkdirs/usr/ports/devel/libgit2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libgit2/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 DESTDIR=/wrkdirs/usr/ports/devel/libgit2/work/stage PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -G0 -EB -mabi=64 -msoft-float -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -EB -mabi=64 " LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -G0 -EB -mabi=64 -msoft-float -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 0 644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTVERSION=0.26.0 SHLIB_VER=26 CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=freebsd12 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=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/libgit2" EXAMPLESDIR="share/examples/libgit2" DATADIR="share/libgit2" WWWDIR="www/libgit2" ETCDIR="etc/libgit2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libgit2 DOCSDIR=/usr/local/share/doc/libgit2 EXAMPLESDIR=/usr/local/share/examples/libgit2 WWWDIR=/usr/local/www/libgit2 ETCDIR=/usr/local/etc/libgit2 --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=mips MACHINE_ARCH=mips64 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=mips64 CONFIGURE_MAX_CMD_LEN=262144 OPSYS=FreeBSD OSREL=12.0 OSVERSION=1200054 PYTHONBASE=/usr/local UID=0 _OSRELEASE=12.0-CURRENT #### Misc Poudriere #### GID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ AS=/nxb-bin/usr/bin/as NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 131072 stack size (kbytes, -s) 8192 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-- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> libgit2-0.26.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.3_1.txz [head-mips64-default-job-10] Installing pkg-1.10.3_1... [head-mips64-default-job-10] Extracting pkg-1.10.3_1: .......... done ===> libgit2-0.26.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libgit2-0.26.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by libgit2-0.26.0 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by libgit2-0.26.0 for building => SHA256 Checksum OK for libgit2-libgit2-v0.26.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by libgit2-0.26.0 for building ===> Extracting for libgit2-0.26.0 => SHA256 Checksum OK for libgit2-libgit2-v0.26.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for libgit2-0.26.0 =========================================================================== =================================================== ===> libgit2-0.26.0 depends on file: /usr/local/bin/cmake - not found CMakeFiles/libgit2_clar.dir/src/cache.c.o: In function `clear_cache': cache.c:(.text+0x364): undefined reference to `__sync_add_and_fetch_8' cache.c:(.text+0x368): undefined reference to `__sync_add_and_fetch_8' CMakeFiles/libgit2_clar.dir/src/cache.c.o: In function `cache_store': cache.c:(.text+0x454): undefined reference to `__sync_add_and_fetch_4' cache.c:(.text+0x458): undefined reference to `__sync_add_and_fetch_4' cache.c:(.text+0x57c): undefined reference to `__sync_add_and_fetch_4' cache.c:(.text+0x580): undefined reference to `__sync_add_and_fetch_4' cache.c:(.text+0x5a0): undefined reference to `__sync_add_and_fetch_8' cache.c:(.text+0x5a4): undefined reference to `__sync_add_and_fetch_8' cache.c:(.text+0x644): undefined reference to `__sync_add_and_fetch_4' cache.c:(.text+0x648): undefined reference to `__sync_add_and_fetch_4' cache.c:(.text+0x720): undefined reference to `__sync_add_and_fetch_8' cache.c:(.text+0x724): undefined reference to `__sync_add_and_fetch_8' cache.c:(.text+0x794): undefined reference to `__sync_add_and_fetch_4' cache.c:(.text+0x798): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/checkout.c.o: In function `git_checkout_index': checkout.c:(.text+0x5314): undefined reference to `__sync_add_and_fetch_4' checkout.c:(.text+0x5318): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/config.c.o: In function `git_config__add_internal': config.c:(.text+0x142c): undefined reference to `__sync_sub_and_fetch_4' config.c:(.text+0x1430): undefined reference to `__sync_sub_and_fetch_4' config.c:(.text+0x147c): undefined reference to `__sync_add_and_fetch_4' config.c:(.text+0x1480): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/config.c.o: In function `git_config_free': config.c:(.text+0x151c): undefined reference to `__sync_sub_and_fetch_4' config.c:(.text+0x1520): undefined reference to `__sync_sub_and_fetch_4' config.c:(.text+0x15b8): undefined reference to `__sync_sub_and_fetch_4' config.c:(.text+0x15bc): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/config.c.o: In function `git_config_new': config.c:(.text+0x1840): undefined reference to `__sync_add_and_fetch_4' config.c:(.text+0x1844): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/config_file.c.o: In function `refcounted_strmap_free': config_file.c:(.text+0x330): undefined reference to `__sync_sub_and_fetch_4' config_file.c:(.text+0x334): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/config_file.c.o: In function `refcounted_strmap_take': config_file.c:(.text+0x990): undefined reference to `__sync_add_and_fetch_4' config_file.c:(.text+0x994): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/diff.c.o: In function `git_diff_addref': diff.c:(.text+0x8f4): undefined reference to `__sync_add_and_fetch_4' diff.c:(.text+0x8f8): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/diff.c.o: In function `git_diff_free': diff.c:(.text+0x938): undefined reference to `__sync_sub_and_fetch_4' diff.c:(.text+0x93c): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/diff_generate.c.o: In function `git_diff__from_iterators': diff_generate.c:(.text+0x1480): undefined reference to `__sync_add_and_fetch_4' diff_generate.c:(.text+0x1484): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/diff_parse.c.o: In function `git_diff_from_buffer': diff_parse.c:(.text+0x64): undefined reference to `__sync_add_and_fetch_4' diff_parse.c:(.text+0x68): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/diff_stats.c.o: In function `git_diff_get_stats': diff_stats.c:(.text+0x99c): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/diff_stats.c.o:diff_stats.c:(.text+0x9a0): more undefined references to `__sync_add_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/global.c.o: In function `git_libgit2_shutdown': global.c:(.text+0x164): undefined reference to `__sync_sub_and_fetch_4' global.c:(.text+0x168): undefined reference to `__sync_sub_and_fetch_4' global.c:(.text+0x1ec): undefined reference to `__sync_sub_and_fetch_4' global.c:(.text+0x1f0): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/global.c.o: In function `git__on_shutdown': global.c:(.text+0x300): undefined reference to `__sync_add_and_fetch_4' global.c:(.text+0x304): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/global.c.o: In function `git_libgit2_init': global.c:(.text+0x4d0): undefined reference to `__sync_add_and_fetch_4' global.c:(.text+0x4d4): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/index.c.o: In function `git_indexwriter_init': index.c:(.text+0xb68): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/index.c.o:index.c:(.text+0xb6c): more undefined references to `__sync_add_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/index.c.o: In function `git_index_free': index.c:(.text+0x20b8): undefined reference to `__sync_sub_and_fetch_4' index.c:(.text+0x20bc): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/index.c.o: In function `git_index_snapshot_new': index.c:(.text+0x399c): undefined reference to `__sync_add_and_fetch_4' index.c:(.text+0x39a0): undefined reference to `__sync_add_and_fetch_4' index.c:(.text+0x39b4): undefined reference to `__sync_add_and_fetch_4' index.c:(.text+0x39b8): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/index.c.o: In function `git_index_snapshot_release': index.c:(.text+0x3a74): undefined reference to `__sync_sub_and_fetch_4' index.c:(.text+0x3a78): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/index.c.o: In function `git_index_open': index.c:(.text+0x5ec8): undefined reference to `__sync_add_and_fetch_4' index.c:(.text+0x5ecc): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/mwindow.c.o: In function `git_mwindow_put_pack': mwindow.c:(.text+0xae0): undefined reference to `__sync_sub_and_fetch_4' mwindow.c:(.text+0xae4): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/mwindow.c.o: In function `git_mwindow_get_pack': mwindow.c:(.text+0xd14): undefined reference to `__sync_add_and_fetch_4' mwindow.c:(.text+0xd18): undefined reference to `__sync_add_and_fetch_4' mwindow.c:(.text+0xda4): undefined reference to `__sync_add_and_fetch_4' mwindow.c:(.text+0xda8): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/object.c.o: In function `git_object_dup': object.c:(.text+0x4d8): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/object.c.o:object.c:(.text+0x4dc): more undefined references to `__sync_add_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/odb.c.o: In function `git_odb_free': odb.c:(.text+0xb74): undefined reference to `__sync_sub_and_fetch_4' odb.c:(.text+0xb78): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/odb.c.o: In function `git_odb_object_dup': odb.c:(.text+0xd58): undefined reference to `__sync_add_and_fetch_4' odb.c:(.text+0xd5c): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/odb.c.o: In function `git_odb_new': odb.c:(.text+0x196c): undefined reference to `__sync_add_and_fetch_4' odb.c:(.text+0x1970): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/pack.c.o: In function `git_packfile_unpack': pack.c:(.text+0x2844): undefined reference to `__sync_sub_and_fetch_4' pack.c:(.text+0x2848): undefined reference to `__sync_sub_and_fetch_4' pack.c:(.text+0x28e8): undefined reference to `__sync_add_and_fetch_4' pack.c:(.text+0x28ec): undefined reference to `__sync_add_and_fetch_4' pack.c:(.text+0x2a24): undefined reference to `__sync_sub_and_fetch_4' pack.c:(.text+0x2a28): undefined reference to `__sync_sub_and_fetch_4' pack.c:(.text+0x2ab0): undefined reference to `__sync_add_and_fetch_4' pack.c:(.text+0x2ab4): undefined reference to `__sync_add_and_fetch_4' pack.c:(.text+0x2c04): undefined reference to `__sync_sub_and_fetch_4' pack.c:(.text+0x2c08): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/patch.c.o: In function `git_patch_free': patch.c:(.text+0x210): undefined reference to `__sync_sub_and_fetch_4' patch.c:(.text+0x214): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/patch_generate.c.o: In function `git_patch_generated_from_diff': patch_generate.c:(.text+0x1b70): undefined reference to `__sync_add_and_fetch_4' patch_generate.c:(.text+0x1b74): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/patch_parse.c.o: In function `git_patch_parsed_from_diff': patch_parse.c:(.text+0x1218): undefined reference to `__sync_add_and_fetch_4' patch_parse.c:(.text+0x121c): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/patch_parse.c.o: In function `git_patch_parse_ctx_free': patch_parse.c:(.text+0x1254): undefined reference to `__sync_sub_and_fetch_4' patch_parse.c:(.text+0x1258): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/patch_parse.c.o: In function `git_patch_parse_ctx_init': patch_parse.c:(.text+0x1944): undefined reference to `__sync_add_and_fetch_4' patch_parse.c:(.text+0x1948): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/patch_parse.c.o: In function `git_patch_parse': patch_parse.c:(.text+0x1a9c): undefined reference to `__sync_add_and_fetch_4' patch_parse.c:(.text+0x1aa0): undefined reference to `__sync_add_and_fetch_4' patch_parse.c:(.text+0x2654): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/patch_parse.c.o:patch_parse.c:(.text+0x2658): more undefined references to `__sync_add_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/pathspec.c.o: In function `git_pathspec_free': pathspec.c:(.text+0xa68): undefined reference to `__sync_sub_and_fetch_4' pathspec.c:(.text+0xa6c): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/pathspec.c.o: In function `git_pathspec_new': pathspec.c:(.text+0xfd0): undefined reference to `__sync_add_and_fetch_4' pathspec.c:(.text+0xfd4): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/pathspec.c.o: In function `pathspec_match_alloc': pathspec.c:(.text+0x10b4): undefined reference to `__sync_add_and_fetch_4' pathspec.c:(.text+0x10b8): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/rebase.c.o: In function `git_rebase_inmemory_index': rebase.c:(.text+0x1078): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/rebase.c.o:rebase.c:(.text+0x107c): more undefined references to `__sync_add_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/refdb.c.o: In function `git_refdb_free': refdb.c:(.text+0x5d8): undefined reference to `__sync_sub_and_fetch_4' refdb.c:(.text+0x5dc): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/refdb.c.o: In function `git_refdb_new': refdb.c:(.text+0x678): undefined reference to `__sync_add_and_fetch_4' refdb.c:(.text+0x67c): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/refdb.c.o: In function `git_refdb_reflog_read': refdb.c:(.text+0x7f8): undefined reference to `__sync_add_and_fetch_4' refdb.c:(.text+0x7fc): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/refdb.c.o: In function `git_refdb_rename': refdb.c:(.text+0x8a4): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/refdb.c.o:refdb.c:(.text+0x8a8): more undefined references to `__sync_add_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/refdb.c.o: In function `git_refdb_iterator_free': refdb.c:(.text+0xb30): undefined reference to `__sync_sub_and_fetch_4' refdb.c:(.text+0xb34): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/reflog.c.o: In function `git_reflog_free': reflog.c:(.text+0x6cc): undefined reference to `__sync_sub_and_fetch_4' reflog.c:(.text+0x6d0): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/refs.c.o: In function `git_reference_free': refs.c:(.text+0x1ab0): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/refs.c.o:refs.c:(.text+0x1ab4): more undefined references to `__sync_sub_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/repository.c.o: In function `set_index': repository.c:(.text+0x22a0): undefined reference to `__sync_add_and_fetch_4' repository.c:(.text+0x22a4): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/repository.c.o: In function `set_config': repository.c:(.text+0x2380): undefined reference to `__sync_add_and_fetch_4' repository.c:(.text+0x2384): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/repository.c.o: In function `set_refdb': repository.c:(.text+0x2478): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/repository.c.o:repository.c:(.text+0x247c): more undefined references to `__sync_add_and_fetch_4' follow CMakeFiles/libgit2_clar.dir/src/sortedcache.c.o: In function `git_sortedcache_free': sortedcache.c:(.text+0x910): undefined reference to `__sync_sub_and_fetch_4' sortedcache.c:(.text+0x914): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/sortedcache.c.o: In function `git_sortedcache_incref': sortedcache.c:(.text+0x9d4): undefined reference to `__sync_add_and_fetch_4' sortedcache.c:(.text+0x9d8): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/sortedcache.c.o: In function `git_sortedcache_new': sortedcache.c:(.text+0xb0c): undefined reference to `__sync_add_and_fetch_4' sortedcache.c:(.text+0xb10): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/submodule.c.o: In function `git_submodule_free': submodule.c:(.text+0x2d8): undefined reference to `__sync_sub_and_fetch_4' submodule.c:(.text+0x2dc): undefined reference to `__sync_sub_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/submodule.c.o: In function `submodule_alloc': submodule.c:(.text+0x2c44): undefined reference to `__sync_add_and_fetch_4' submodule.c:(.text+0x2c48): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/submodule.c.o: In function `submodule_get_or_create': submodule.c:(.text+0x2d80): undefined reference to `__sync_add_and_fetch_4' submodule.c:(.text+0x2d84): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/submodule.c.o: In function `git_submodule_foreach': submodule.c:(.text+0x3704): undefined reference to `__sync_add_and_fetch_4' CMakeFiles/libgit2_clar.dir/src/submodule.c.o:submodule.c:(.text+0x3708): more undefined references to `__sync_add_and_fetch_4' follow ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/libgit2