Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2017 03:00:13 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 110i386-default][www/ocaml-net] Failed for ocaml-net-4.0.4_1 in build
Message-ID:  <201711210300.vAL30D4g041452@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:     ports@FreeBSD.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/www/ocaml-net/Makefile 412351 2016-04-01 14:33:55Z mat $
Log URL:        http://beefy10.nyi.freebsd.org/data/110i386-default/454586/logs/ocaml-net-4.0.4_1.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=110i386-default&build=454586
Log:

====>> Building www/ocaml-net
build started at Tue Nov 21 02:59:06 UTC 2017
port directory: /usr/ports/www/ocaml-net
building for: FreeBSD 110i386-default-job-09 11.0-RELEASE-p15 FreeBSD 11.0-RELEASE-p15 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/www/ocaml-net/Makefile 412351 2016-04-01 14:33:55Z mat $
Poudriere version: 3.1.22
Host OSVERSION: 1200052
Jail OSVERSION: 1100122
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p15
UNAME_r=11.0-RELEASE-p15
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=ocaml-net-4.0.4_1
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/110i386-default/ref/.p/pool
MASTERNAME=110i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.22
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for ocaml-net-4.0.4_1:
     APACHE=off: Apache mod connector (experimental)
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     GNUTLS=on: SSL/TLS support via GnuTLS
     GTK2=off: GTK+ 2 GUI toolkit support
     NETHTTPD=off: Integrated HTTP daemon
     ZIP=off: Compression support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
-disable-gtk  -enable-pcre -enable-gnutls
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/www/ocaml-net/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/ocaml-net/work  HOME=/wrkdirs/usr/ports/www/ocaml-net/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/ocaml-net/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--
OCAMLFIND_DESTDIR="/wrkdirs/usr/ports/www/ocaml-net/work/stage/usr/local/lib/ocaml/site-lib"  OCAMLFIND_LDCONF="/dev/null" XDG_DATA_HOME=/wrkdirs/usr/ports/www/ocaml-net/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/ocaml-net/work  HOME=/wrkdirs/usr/ports/www/ocaml-net/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/ocaml-net/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  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OCAML_SITELIBDIR="lib/ocaml/site-lib"
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/ocaml/ocaml-net"
EXAMPLESDIR="share/examples/ocaml/ocaml-net"
DATADIR="share/net"
WWWDIR="www/net"
ETCDIR="etc/net"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=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 ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.0
OSVERSION=1100122
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=11.0-RELEASE-p15
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  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   >============================
===>   NOTICE:

The net 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

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ocaml-net-4.0.4_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.2.txz
[110i386-default-job-09] Installing pkg-1.10.2...
[110i386-default-job-09] Extracting pkg-1.10.2: .......... done
===>   ocaml-net-4.0.4_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ocaml-net-4.0.4_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The net 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

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ocaml-net-4.0.4_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The net 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

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ocaml-net-4.0.4_1 for building
<snip>
    case GNUTLS_E_PKCS11_SLOT_ERROR: return Val_long(-210084517);
                                            ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3332:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_PKCS11_UNSUPPORTED_FEATURE_ERROR: return Val_long(-251431263);
                                                           ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3350:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_PKCS11_TOKEN_ERROR: return Val_long(-1056614802);
                                             ^~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3359:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_TIMEDOUT: return Val_long(-777516713);
                                   ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3365:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_ECC_NO_SUPPORTED_CURVES: return Val_long(-254531399);
                                                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3371:64: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_PKCS11_REQUESTED_OBJECT_NOT_AVAILBLE: return Val_long(-334447405);
                                                               ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3374:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_CERTIFICATE_LIST_UNSORTED: return Val_long(-5466865);
                                                    ^~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3383:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_X509_UNSUPPORTED_EXTENSION: return Val_long(-586891748);
                                                     ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3389:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_TPM_ERROR: return Val_long(-520288998);
                                    ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3392:50: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_TPM_KEY_PASSWORD_ERROR: return Val_long(-329432654);
                                                 ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3395:50: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_TPM_SRK_PASSWORD_ERROR: return Val_long(-1053023483);
                                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3398:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_TPM_SESSION_ERROR: return Val_long(-183358927);
                                            ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3401:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_TPM_KEY_NOT_FOUND: return Val_long(-266833848);
                                            ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3407:49: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_NO_CERTIFICATE_STATUS: return Val_long(-867520264);
                                                ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3416:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_AUTH_ERROR: return Val_long(-102599535);
                                     ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3419:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_NO_APPLICATION_PROTOCOL: return Val_long(-682021819);
                                                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3428:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_SELF_TEST_ERROR: return Val_long(-513015346);
                                          ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3431:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_NO_SELF_TEST: return Val_long(-348168057);
                                       ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3437:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_PK_GENERATION_ERROR: return Val_long(-807833723);
                                              ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3440:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case GNUTLS_E_IDNA_ERROR: return Val_long(-1487241);
                                     ^~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3747:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    Field(u, 0) = Val_long(-675583510);
                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3759:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    Field(u, 0) = Val_long(-936547811);
                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3765:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    Field(u, 0) = Val_long(-485086315);
                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3786:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    Field(u, 0) = Val_long(-361507518);
                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3794:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    Field(u, 0) = Val_long(-361505963);
                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3802:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    Field(u, 0) = Val_long(-361457122);
                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:3810:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    Field(u, 0) = Val_long(-624344333);
                  ^~~~~~~~~~~~~~~~~~~~
/usr/local/lib/ocaml/caml/mlvalues.h:71:39: note: expanded from macro 'Val_long'
#define Val_long(x)     (((intnat)(x) << 1) + 1)
                          ~~~~~~~~~~~ ^
nettls_gnutls_bindings_stubs.c:4199:9: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  const const char ** err_pos__c;
        ^
nettls_gnutls_bindings_stubs.c:5387:13: warning: implicit conversion from enumeration type 'gnutls_mac_algorithm_t' to different enumeration type 'gnutls_digest_algorithm_t' [-Wenum-conversion]
  algo__c = unwrap_gnutls_digest_algorithm_t(algo);
          ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nettls_gnutls_bindings_stubs.c:998:42: note: expanded from macro 'unwrap_gnutls_digest_algorithm_t'
#define unwrap_gnutls_digest_algorithm_t unwrap_gnutls_mac_algorithm_t
                                         ^
nettls_gnutls_bindings_stubs.c:7136:13: warning: implicit conversion from enumeration type 'gnutls_mac_algorithm_t' to different enumeration type 'gnutls_digest_algorithm_t' [-Wenum-conversion]
  algo__c = unwrap_gnutls_digest_algorithm_t(algo);
          ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nettls_gnutls_bindings_stubs.c:998:42: note: expanded from macro 'unwrap_gnutls_digest_algorithm_t'
#define unwrap_gnutls_digest_algorithm_t unwrap_gnutls_mac_algorithm_t
                                         ^
149 warnings generated.
./../tools/stubcc -ocamlc ocamlc -ccopt "-O -g" -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include   nettls_nettle_bindings_stubs.c
+ cc -O2 -pipe  -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -O2 -pipe  -fno-strict-aliasing -fPIC -c   -O -g -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include  -I'/usr/local/lib/ocaml' 'nettls_nettle_bindings_stubs.c'
nettls_nettle_bindings_stubs.c:120:36: error: function cannot return array type 'const struct nettle_cipher *const []'
const struct nettle_cipher * const nettle_ciphers[] = {
                                   ^
/usr/local/include/nettle/nettle-meta.h:75:43: note: expanded from macro 'nettle_ciphers'
#define nettle_ciphers (nettle_get_ciphers())
                                          ^
nettls_nettle_bindings_stubs.c:359:34: error: function cannot return array type 'const struct nettle_hash *const []'
const struct nettle_hash * const nettle_hashes[] = {
                                 ^
/usr/local/include/nettle/nettle-meta.h:140:41: note: expanded from macro 'nettle_hashes'
#define nettle_hashes (nettle_get_hashes())
                                        ^
2 errors generated.
gmake[2]: *** [../../Makefile.rules:129: nettls_nettle_bindings_stubs.o] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/ocaml-net/work/ocamlnet-4.0.4/src/nettls-gnutls'
gmake[1]: *** [Makefile:23: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/ocaml-net/work/ocamlnet-4.0.4'
*** Error code 1

Stop.
make: stopped in /usr/ports/www/ocaml-net



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