Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2021 15:55:17 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-arm64-default][security/kdbxviewer] Failed for kdbxviewer-0.1 in build
Message-ID:  <202101181555.10IFtHeZ011601@ampere2.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:     woodsb02@FreeBSD.org
Last committer: woodsb02@FreeBSD.org
Ident:          $FreeBSD: head/security/kdbxviewer/Makefile 519669 2019-12-10 14:29:52Z woodsb02 $
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p561528_s7ae27c2d6c/logs/kdbxviewer-0.1.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p561528_s7ae27c2d6c
Log:

=>> Building security/kdbxviewer
build started at Mon Jan 18 15:55:10 UTC 2021
port directory: /usr/ports/security/kdbxviewer
package name: kdbxviewer-0.1
building for: FreeBSD main-arm64-default-job-05 13.0-ALPHA1 FreeBSD 13.0-ALPHA1 1300135 arm64
maintained by: woodsb02@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/kdbxviewer/Makefile 519669 2019-12-10 14:29:52Z woodsb02 $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1300135
Job Id: 05




!!! Jail is newer than host. (Jail: 1300135, Host: 1300134) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300135
UNAME_v=FreeBSD 13.0-ALPHA1 1300135
UNAME_r=13.0-ALPHA1
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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--
woodsb02@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/kdbxviewer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/kdbxviewer/work  HOME=/wrkdirs/usr/ports/security/kdbxviewer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/kdbxviewer/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/kdbxviewer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/kdbxviewer/work  HOME=/wrkdirs/usr/ports/security/kdbxviewer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/kdbxviewer/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  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/kdbxviewer"  EXAMPLESDIR="share/examples/kdbxviewer"  DATADIR="share/kdbxviewer"  WWWDIR="www/kdbxviewer"  ETCDIR="etc/kdbxviewer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/kdbxviewer DOCSDIR=/usr/local/share/doc/kdbxviewer EXAMPLESDIR=/usr/local/share/examples/kdbxviewer  WWWDIR=/usr/local/www/kdbxviewer ETCDIR=/usr/local/etc/kdbxviewer
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-ALPHA1
OSREL=13.0
OSVERSION=1300135
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  34045
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    >============================
===>   kdbxviewer-0.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.1.txz
[main-arm64-default-job-05] Installing pkg-1.16.1...
[main-arm64-default-job-05] Extracting pkg-1.16.1: .......... done
===>   kdbxviewer-0.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of kdbxviewer-0.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by kdbxviewer-0.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by kdbxviewer-0.1 for building
=> SHA256 Checksum OK for max-weller-kdbxviewer-v0.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by kdbxviewer-0.1 for building
===>  Extracting for kdbxviewer-0.1
=> SHA256 Checksum OK for max-weller-kdbxviewer-v0.1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for kdbxviewer-0.1
/usr/bin/sed -i.bak -e 's|gcc|cc -O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong |' /wrkdirs/usr/ports/security/kdbxviewer/work/kdbxviewer-0.1/Makefile
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   kdbxviewer-0.1 depends on shared library: libexpat.so - not found
===>   Installing existing package /packages/All/expat-2.2.10.txz
[main-arm64-default-job-05] Installing expat-2.2.10...
[main-arm64-default-job-05] Extracting expat-2.2.10: .......... done
===>   kdbxviewer-0.1 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   Returning to build of kdbxviewer-0.1
===>   kdbxviewer-0.1 depends on shared library: libgcrypt.so - not found
===>   Installing existing package /packages/All/libgcrypt-1.8.7.txz
[main-arm64-default-job-05] Installing libgcrypt-1.8.7...
[main-arm64-default-job-05] `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-05] `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-05] `-- Installing libgpg-error-1.41...
[main-arm64-default-job-05] |   `-- Installing gettext-runtime-0.21...
[main-arm64-default-job-05] |   `-- Extracting gettext-runtime-0.21: .......... done
[main-arm64-default-job-05] `-- Extracting libgpg-error-1.41: .......... done
[main-arm64-default-job-05] Extracting libgcrypt-1.8.7: .......... done
===>   kdbxviewer-0.1 depends on shared library: libgcrypt.so - found (/usr/local/lib/libgcrypt.so)
===>   Returning to build of kdbxviewer-0.1
===>   kdbxviewer-0.1 depends on shared library: libstfl.so - not found
===>   Installing existing package /packages/All/stfl-0.24_1.txz
[main-arm64-default-job-05] Installing stfl-0.24_1...
[main-arm64-default-job-05] `-- Installing libiconv-1.16...
[main-arm64-default-job-05] `-- Extracting libiconv-1.16: .......... done
[main-arm64-default-job-05] Extracting stfl-0.24_1: ......... done
===>   kdbxviewer-0.1 depends on shared library: libstfl.so - found (/usr/local/lib/libstfl.so)
===>   Returning to build of kdbxviewer-0.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for kdbxviewer-0.1
===========================================================================
=======================<phase: build          >============================
===>  Building for kdbxviewer-0.1
--- kdbxviewer ---
mkdir -p bin
cc -O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -g -o bin/kdbxviewer -I./include/ -I./libcx9r/ src/main.c src/helper.c -DHAVE_STDINT_H -DGCRYPT_WITH_SHA256 -DGCRYPT_WITH_AES -DBYTEORDER=1234 -DHAVE_EXPAT libcx9r/aes256.c libcx9r/base64.c libcx9r/kdbx.c libcx9r/key_tree.c libcx9r/salsa20.c libcx9r/sha256.c libcx9r/stream.c libcx9r/util.c src/tui.c -lgcrypt -lexpat -lz -lstfl -lncursesw -lmenu -Wno-pointer-sign
src/helper.c:18:19: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
            char* v = cx9r_kt_field_get_value(f);
                  ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
libcx9r/kdbx.c:129:26: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
DEBUG("%016llX  (%d)\n", *(uint64_t*)&magic, err);
       ~~~~~~~           ^~~~~~~~~~~~~~~~~~
       %016lX
./include/cx9r.h:51:59: note: expanded from macro 'DEBUG'
#define DEBUG(str...) if(g_enable_verbose)fprintf(stderr, str)
                                                          ^~~
1 warning generated.
src/tui.c:53:18: warning: incompatible pointer types passing 'char (*)[256]' to parameter of type 'char *' [-Wincompatible-pointer-types]
        snprintf(&buf, 255, "+ % -30s ", cx9r_kt_group_get_name(c));
                 ^~~~
/usr/include/stdio.h:298:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict,
                                   ^
src/tui.c:53:33: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
        snprintf(&buf, 255, "+ % -30s ", cx9r_kt_group_get_name(c));
                               ~^~~~~
src/tui.c:54:35: warning: incompatible pointer types passing 'char (*)[256]' to parameter of type 'const char *' [-Wincompatible-pointer-types]
        addlistitem(f, L"result", &buf);
                                  ^~~~
src/tui.c:32:64: note: passing argument to parameter 'text' here
void addlistitem(struct stfl_form *f, wchar_t* id, const char* text) {
                                                               ^
src/tui.c:63:74: warning: incompatible pointer types passing 'cx9r_kt_entry *' (aka 'struct cx9r_kte *') to parameter of type 'const cx9r_kt_group *' (aka 'const struct cx9r_ktg *') [-Wincompatible-pointer-types]
        snprintf(&buf, 255, "  % -30s % -30s %s", cx9r_kt_group_get_name(e), getfield(e, "UserName"), getfield(e, "URL"));
                                                                         ^
./libcx9r/key_tree.h:65:57: note: passing argument to parameter 'ktg' here
char const *cx9r_kt_group_get_name(cx9r_kt_group const *ktg);
                                                        ^
src/tui.c:63:18: warning: incompatible pointer types passing 'char (*)[256]' to parameter of type 'char *' [-Wincompatible-pointer-types]
        snprintf(&buf, 255, "  % -30s % -30s %s", cx9r_kt_group_get_name(e), getfield(e, "UserName"), getfield(e, "URL"));
                 ^~~~
/usr/include/stdio.h:298:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict,
                                   ^
src/tui.c:63:33: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
        snprintf(&buf, 255, "  % -30s % -30s %s", cx9r_kt_group_get_name(e), getfield(e, "UserName"), getfield(e, "URL"));
                               ~^~~~~
src/tui.c:63:40: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
        snprintf(&buf, 255, "  % -30s % -30s %s", cx9r_kt_group_get_name(e), getfield(e, "UserName"), getfield(e, "URL"));
                                      ~^~~~~
src/tui.c:64:35: warning: incompatible pointer types passing 'char (*)[256]' to parameter of type 'const char *' [-Wincompatible-pointer-types]
        addlistitem(f, L"result", &buf);
                                  ^~~~
src/tui.c:32:64: note: passing argument to parameter 'text' here
void addlistitem(struct stfl_form *f, wchar_t* id, const char* text) {
                                                               ^
src/tui.c:111:18: warning: incompatible pointer types passing 'char (*)[250]' to parameter of type 'char *' [-Wincompatible-pointer-types]
        snprintf(&content, 250, "<BOLD>%s : </>%s", f->name, f->value);
                 ^~~~~~~~
/usr/include/stdio.h:298:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict,
                                   ^
src/tui.c:112:45: warning: incompatible pointer types passing 'char (*)[250]' to parameter of type 'const char *' [-Wincompatible-pointer-types]
        addlistitem(detform, L"textviewer", &content);
                                            ^~~~~~~~
src/tui.c:32:64: note: passing argument to parameter 'text' here
void addlistitem(struct stfl_form *f, wchar_t* id, const char* text) {
                                                               ^
src/tui.c:147:18: warning: incompatible pointer types passing 'wchar_t (*)[6]' to parameter of type 'wchar_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
        swprintf(&buf,5,L"%d", level_pos[level]);
                 ^~~~
/usr/include/wchar.h:133:34: note: passing argument to parameter here
int     swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
                                     ^
src/tui.c:148:36: warning: incompatible pointer types passing 'wchar_t (*)[6]' to parameter of type 'const wchar_t *' (aka 'const unsigned int *') [-Wincompatible-pointer-types]
        stfl_set(form, L"listidx", &buf);
                                   ^~~~
/usr/local/include/stfl.h:45:79: note: passing argument to parameter 'value' here
extern void stfl_set(struct stfl_form *f, const wchar_t *name, const wchar_t *value);
                                                                              ^
src/tui.c:177:25: warning: incompatible pointer types initializing 'char *' with an expression of type 'char (*)[80]' [-Wincompatible-pointer-types]
    char buf[80]; char* pos = &buf; strcpy(pos," /"); pos+=2; int i;
                        ^     ~~~~
13 warnings generated.
ld: error: duplicate symbol: trail
>>> defined at main.c:122 (src/main.c:122)
>>>            /tmp/main-42bb22.o:(trail)
>>> defined at tui.c:26 (src/tui.c:26)
>>>            /tmp/tui-cdbecb.o:(.bss+0x50)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [kdbxviewer] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/security/kdbxviewer/work/kdbxviewer-0.1
1 error

make[1]: stopped in /wrkdirs/usr/ports/security/kdbxviewer/work/kdbxviewer-0.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/kdbxviewer



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