Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2021 23:40:08 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-armv7-default][security/openscep] Failed for openscep-0.4.2_10 in build
Message-ID:  <202103192340.12JNe8E5068514@beefy12.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:     ports@FreeBSD.org
Last committer: antoine@FreeBSD.org
Ident:          $FreeBSD: head/security/openscep/Makefile 498193 2019-04-06 19:57:21Z antoine $
Log URL:        http://beefy12.nyi.freebsd.org/data/main-armv7-default/p568222_s51dfae383/logs/openscep-0.4.2_10.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=main-armv7-default&build=p568222_s51dfae383
Log:

=>> Building security/openscep
build started at Fri Mar 19 23:39:27 UTC 2021
port directory: /usr/ports/security/openscep
package name: openscep-0.4.2_10
building for: FreeBSD main-armv7-default-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400005 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/openscep/Makefile 498193 2019-04-06 19:57:21Z antoine $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1400005
Job Id: 04




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400005
UNAME_v=FreeBSD 14.0-CURRENT 1400005
UNAME_r=14.0-CURRENT
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-html-install-dir="/usr/local/www/openscep"  --with-cgi-install-dir="/usr/local/www/cgi-bin/openscep"  --with-openscep-dir="/usr/local/etc/openscep"  --with-pkiclientexe="/usr/local/www/cgi-bin/pkiclient.exe" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/openscep/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/openscep/work  HOME=/wrkdirs/usr/ports/security/openscep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/openscep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/openscep/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/openscep/work  HOME=/wrkdirs/usr/ports/security/openscep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/openscep/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I/usr/include -I/usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-L/usr/lib -L/usr/local/lib"  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="i
 nstall  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
APACHEMODDIR="libexec/apache24"  APACHEINCLUDEDIR="include/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" AP_NAME="openscep" AP_MODULE="openscep.so" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib AP_MOD_EN="-A" DOCSDIR="share/doc/openscep"  EXAMPLESDIR="share/examples/openscep"  DATADIR="share/openscep"  WWWDIR="www/openscep"  ETCDIR="etc/openscep"
--End PLIST_SUB--

--SUB_LIST--
CONF_DIR="/usr/local/etc/openscep" CONF_FILES="openscep.cnf openscep.ldif openscep.schema slapd.conf" APACHEMODDIR="libexec/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openscep DOCSDIR=/usr/local/share/doc/openscep EXAMPLESDIR=/usr/local/share/examples/openscep  WWWDIR=/usr/local/www/openscep ETCDIR=/usr/local/etc/openscep
--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=arm
MACHINE_ARCH=armv7
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_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400005
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=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++
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)  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   >============================
===>   NOTICE:

The openscep port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===========================================================================
=======================<phase: pkg-depends    >============================
===>   openscep-0.4.2_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[main-armv7-default-job-04] Installing pkg-1.16.3...
[main-armv7-default-job-04] Extracting pkg-1.16.3: .......... done
===>   openscep-0.4.2_10 depends on file: /usr/local/sbin/pkg - found
<snip>
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/configure
configure: loading site script /usr/ports/Templates/config.site
checking build system type... armv7-portbld-freebsd14.0
checking host system type... armv7-portbld-freebsd14.0
checking target system type... armv7-portbld-freebsd14.0
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... /nxb-bin/usr/bin/cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether /nxb-bin/usr/bin/cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for mv... /bin/mv
checking for ldapsearch... /usr/local/bin/ldapsearch
checking for ldapsearch... /usr/local/bin/ldapsearch
checking for openssl... /usr/bin/openssl
checking for gethostbyname in -lnsl... no
checking for socket in -lsocket... no
checking for res_query in -lresolv... no
checking for ber_init in -llber... yes
checking for ldap_init in -lldap... yes
checking for date... /bin/date
checking for pkgmk... no
checking for rpm... no
checking for perl... /usr/local/bin/perl
checking "whether we have the altzone global variable"... no
checking for ld used by GCC... /nxb-bin/usr/bin/ld
checking if the linker (/nxb-bin/usr/bin/ld) is GNU ld... yes
checking for /nxb-bin/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm output... ok
checking how to run the C preprocessor... /nxb-bin/usr/bin/cpp
checking for dlfcn.h... (cached) yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for /nxb-bin/usr/bin/cc option to produce PIC... -fPIC
checking if /nxb-bin/usr/bin/cc PIC flag -fPIC works... yes
checking if /nxb-bin/usr/bin/cc static flag -static works... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.lo... yes
checking if /nxb-bin/usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/nxb-bin/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd14.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for dlopen in -ldl... yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for strdup... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating scep/Makefile
config.status: creating scepd/Makefile
config.status: creating cgi-bin/Makefile
config.status: creating ldap/Makefile
config.status: creating openssl/Makefile
config.status: creating doc/Makefile
config.status: creating html/Makefile
config.status: creating man/Makefile
config.status: creating package/Makefile
config.status: creating rpm/Makefile
config.status: creating config.sh
config.status: creating include/config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for openscep-0.4.2_10
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2'
Making all in include
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/include'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/include'
Making all in openssl
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/openssl'
sh ../config.sh <openscepsetup.in >openscepsetup
sh ../config.sh <openscep.cnf.in >openscep.cnf
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/openssl'
Making all in ldap
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/ldap'
sh ../config.sh <openscep.ldif.in >openscep.ldif
sh ../config.sh <slapd.conf.in >slapd.conf
sh ../config.sh <setupldap.in >setupldap
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/ldap'
Making all in lib
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/lib'
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../include -I../libltdl -I../include -I/usr/local/ssl/include  -I/usr/include -I/usr/local/include -DOPENSCEPDIR=\"/usr/local/etc/openscep\"  -O2 -pipe  -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing  -c init.c
mkdir .libs
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../include -I../libltdl -I../include -I/usr/local/ssl/include -I/usr/include -I/usr/local/include -DOPENSCEPDIR=\"/usr/local/etc/openscep\" -O2 -pipe -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing -c init.c  -fPIC -DPIC -o .libs/init.lo
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../include -I../libltdl -I../include -I/usr/local/ssl/include -I/usr/include -I/usr/local/include -DOPENSCEPDIR=\"/usr/local/etc/openscep\" -O2 -pipe -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing -c init.c -o init.o >/dev/null 2>&1
mv -f .libs/init.lo init.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../include -I../libltdl -I../include -I/usr/local/ssl/include  -I/usr/include -I/usr/local/include -DOPENSCEPDIR=\"/usr/local/etc/openscep\"  -O2 -pipe  -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing  -c isasu.c
rm -f .libs/isasu.lo
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I../include -I../libltdl -I../include -I/usr/local/ssl/include -I/usr/include -I/usr/local/include -DOPENSCEPDIR=\"/usr/local/etc/openscep\" -O2 -pipe -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing -c isasu.c  -fPIC -DPIC -o .libs/isasu.lo
In file included from isasu.c:9:
/usr/include/openssl/asn1_mac.h:10:2: error: "This file is obsolete; please update your software."
#error "This file is obsolete; please update your software."
 ^
isasu.c:27:2: warning: implicit declaration of function 'M_ASN1_I2D_vars' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_I2D_vars(a);
        ^
isasu.c:28:2: warning: implicit declaration of function 'M_ASN1_I2D_len' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_I2D_len(a->issuer, i2d_X509_NAME);
        ^
isasu.c:30:2: warning: implicit declaration of function 'M_ASN1_I2D_seq_total' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_I2D_seq_total();
        ^
isasu.c:31:2: warning: implicit declaration of function 'M_ASN1_I2D_put' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_I2D_put(a->issuer, i2d_X509_NAME);
        ^
isasu.c:33:2: warning: implicit declaration of function 'M_ASN1_I2D_finish' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_I2D_finish();
        ^
isasu.c:38:2: warning: implicit declaration of function 'M_ASN1_D2I_vars' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_D2I_vars(a, issuer_and_subject_t *,issuer_and_subject_new);
        ^
isasu.c:38:21: error: unexpected type name 'issuer_and_subject_t': expected expression
        M_ASN1_D2I_vars(a, issuer_and_subject_t *,issuer_and_subject_new);
                           ^
isasu.c:38:43: error: expected expression
        M_ASN1_D2I_vars(a, issuer_and_subject_t *,issuer_and_subject_new);
                                                 ^
isasu.c:39:2: warning: implicit declaration of function 'M_ASN1_D2I_Init' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_D2I_Init();
        ^
isasu.c:40:2: warning: implicit declaration of function 'M_ASN1_D2I_start_sequence' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_D2I_start_sequence();
        ^
isasu.c:41:2: warning: implicit declaration of function 'M_ASN1_D2I_get' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_D2I_get(ret->issuer, d2i_X509_NAME);
        ^
isasu.c:41:17: error: use of undeclared identifier 'ret'
        M_ASN1_D2I_get(ret->issuer, d2i_X509_NAME);
                       ^
isasu.c:42:17: error: use of undeclared identifier 'ret'
        M_ASN1_D2I_get(ret->subject, d2i_X509_NAME);
                       ^
isasu.c:43:2: warning: implicit declaration of function 'M_ASN1_D2I_Finish' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_D2I_Finish(a,issuer_and_subject_free,
        ^
isasu.c:49:10: error: expected ';' after expression
        ASN1_CTX                c;
                ^
                ;
isasu.c:49:2: error: use of undeclared identifier 'ASN1_CTX'; did you mean 'ASN1_dup'?
        ASN1_CTX                c;
        ^~~~~~~~
        ASN1_dup
/usr/include/openssl/asn1.h:688:7: note: 'ASN1_dup' declared here
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
      ^
isasu.c:49:2: warning: expression result unused [-Wunused-value]
        ASN1_CTX                c;
        ^~~~~~~~
isasu.c:49:12: error: use of undeclared identifier 'c'
        ASN1_CTX                c;
                                ^
isasu.c:50:2: warning: implicit declaration of function 'M_ASN1_New_Malloc' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_New_Malloc(ret, issuer_and_subject_t);
        ^
isasu.c:50:25: error: unexpected type name 'issuer_and_subject_t': expected expression
        M_ASN1_New_Malloc(ret, issuer_and_subject_t);
                               ^
isasu.c:51:2: warning: implicit declaration of function 'M_ASN1_New' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_New(ret->issuer, X509_NAME_new);
        ^
isasu.c:54:2: warning: implicit declaration of function 'M_ASN1_New_Error' is invalid in C99 [-Wimplicit-function-declaration]
        M_ASN1_New_Error(OPENSCEP_F_ISSUER_AND_SUBJECT_NEW);
        ^
14 warnings and 9 errors generated.
gmake[2]: *** [Makefile:219: isasu.lo] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2/lib'
gmake[1]: *** [Makefile:194: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/openscep/work/openscep-0.4.2'
*** Error code 1

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



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