Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2019 02:47:10 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][lang/nml] Failed for nml-0.92b in build
Message-ID:  <201907110247.x6B2lAlQ049559@beefy11.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/lang/nml/Makefile 418767 2016-07-19 11:04:13Z mat $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p506263_s349853/logs/nml-0.92b.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p506263_s349853
Log:

=>> Building lang/nml
build started at Thu Jul 11 02:46:14 UTC 2019
port directory: /usr/ports/lang/nml
package name: nml-0.92b
building for: FreeBSD head-i386-default-job-19 13.0-CURRENT FreeBSD 13.0-CURRENT 1300035 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/lang/nml/Makefile 418767 2016-07-19 11:04:13Z mat $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300031
Jail OSVERSION: 1300035
Job Id: 19




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300035
UNAME_v=FreeBSD 13.0-CURRENT 1300035
UNAME_r=13.0-CURRENT
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.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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---
===> The following configuration options are available for nml-0.92b:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix /usr/local
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/lang/nml/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/nml/work  HOME=/wrkdirs/usr/ports/lang/nml/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/nml/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/lang/nml/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/nml/work  HOME=/wrkdirs/usr/ports/lang/nml/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/nml/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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--
PORTDOCS="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nml"  EXAMPLESDIR="share/examples/nml"  DATADIR="share/nml"  WWWDIR="www/nml"  ETCDIR="etc/nml"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nml DOCSDIR=/usr/local/share/doc/nml EXAMPLESDIR=/usr/local/share/examples/nml  WWWDIR=/usr/local/www/nml ETCDIR=/usr/local/etc/nml
--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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (branches/release_80 364487) (based on LLVM 8.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.1 (branches/release_80 364487) (based on LLVM 8.0.1) Target: i386-unknown-freebsd13.0 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=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 8.0.1 (branches/release_80 364487) (based on LLVM 8.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300035
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   >============================
===>   NOTICE:

The nml 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    >============================
===>   nml-0.92b depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[head-i386-default-job-19] Installing pkg-1.11.1...
[head-i386-default-job-19] Extracting pkg-1.11.1: .......... done
===>   nml-0.92b depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nml-0.92b
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

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

<snip>
cc -I../../ocaml/byterun -O  -fPIC   -c -o getpeername.o getpeername.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o getpid.o getpid.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o getppid.o getppid.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o getproto.o getproto.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o getpw.o getpw.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o gettimeofday.o gettimeofday.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o getserv.o getserv.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o getsockname.o getsockname.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o getuid.o getuid.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o gmtime.o gmtime.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o itimer.o itimer.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o kill.o kill.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o link.o link.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o listen.o listen.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o lockf.o lockf.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o lseek.o lseek.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o mkdir.o mkdir.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o mkfifo.o mkfifo.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o nice.o nice.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o open.o open.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o opendir.o opendir.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o pipe.o pipe.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o putenv.o putenv.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o read.o read.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o readdir.o readdir.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o readlink.o readlink.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o rename.o rename.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o rewinddir.o rewinddir.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o rmdir.o rmdir.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o select.o select.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o sendrecv.o sendrecv.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o setgid.o setgid.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o setsid.o setsid.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o setuid.o setuid.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o shutdown.o shutdown.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o signals.o signals.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o sleep.o sleep.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o socket.o socket.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o socketaddr.o socketaddr.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o socketpair.o socketpair.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o sockopt.o sockopt.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o stat.o stat.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o strofaddr.o strofaddr.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o symlink.o symlink.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o termios.o termios.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o time.o time.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o times.o times.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o truncate.o truncate.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o umask.o umask.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o unixsupport.o unixsupport.c
unixsupport.c:258:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (errconstr == Val_int(-1)) {
                     ^~~~~~~~~~~
./../ocaml/byterun/mlvalues.h:71:20: note: expanded from macro 'Val_int'
#define Val_int(x) Val_long(x)
                   ^~~~~~~~~~~
./../ocaml/byterun/mlvalues.h:67:37: note: expanded from macro 'Val_long'
#define Val_long(x)     (((long)(x) << 1) + 1)
                          ~~~~~~~~~ ^
1 warning generated.
cc -I../../ocaml/byterun -O  -fPIC   -c -o unlink.o unlink.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o utimes.o utimes.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o wait.o wait.c
cc -I../../ocaml/byterun -O  -fPIC   -c -o write.o write.c
./../boot/ncamlrun ../../ocaml/tools/ocamlmklib -o unix accept.o access.o addrofstr.o alarm.o bind.o chdir.o chmod.o chown.o chroot.o close.o closedir.o connect.o cst2constr.o cstringv.o dup.o dup2.o envir.o errmsg.o execv.o execve.o execvp.o exit.o fchmod.o fchown.o fcntl.o fork.o ftruncate.o getcwd.o getegid.o geteuid.o getgid.o getgr.o getgroups.o gethost.o gethostname.o getlogin.o getpeername.o getpid.o getppid.o getproto.o getpw.o gettimeofday.o getserv.o getsockname.o getuid.o gmtime.o itimer.o kill.o link.o listen.o lockf.o lseek.o mkdir.o mkfifo.o nice.o open.o opendir.o pipe.o putenv.o read.o readdir.o readlink.o rename.o rewinddir.o rmdir.o select.o sendrecv.o setgid.o setsid.o setuid.o shutdown.o signals.o sleep.o socket.o socketaddr.o socketpair.o sockopt.o stat.o strofaddr.o symlink.o termios.o time.o times.o truncate.o umask.o unixsupport.o unlink.o utimes.o wait.o write.o
./../boot/ncamlrun ../../nmlc -I ../../stdlib -c  unix.mli
./../boot/ncamlrun ../../nmlc -I ../../stdlib -c  -nolabels unix.ml
./../boot/ncamlrun ../../nmlc -I ../../stdlib -c  unixLabels.mli
./../boot/ncamlrun ../../nmlc -I ../../stdlib -c  -nolabels unixLabels.ml
./../boot/ncamlrun ../../ocaml/tools/ocamlmklib -o unix -ocamlc '../../boot/ncamlrun ../../nmlc -I ../../stdlib' -linkall unix.cmo unixLabels.cmo
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/unix'
gmake[2]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/str'
cc -O -Iregex-0.12 -I../../ocaml/byterun  -fPIC   -c -o strstubs.o strstubs.c
cd regex-0.12; CC="cc  -fPIC" sh configure; gmake
checking for install
checking for AIX
checking how to run the C preprocessor
checking for DYNIX/ptx libseq
checking for POSIXized ISC
checking for minix/config.h
checking for ANSI C header files
checking for string.h
checking for working alloca.h
checking for alloca
checking for working const
checking for gcc to derive installation directory prefix
creating config.status
creating Makefile
gmake[3]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/str/regex-0.12'
cc  -fPIC -O  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -I. -I. -c regex.c
regex.c:1636:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
regex.c:1656:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
regex.c:2843:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'regoff_t *' (aka 'int *') [-Wnon-literal-null-conversion]
      regs->start = regs->end = (regoff_t) 0;
                                ^~~~~~~~~~~~
3 warnings generated.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/str/regex-0.12'
./../boot/ncamlrun ../../ocaml/tools/ocamlmklib -o str strstubs.o regex-0.12/regex.o
./../boot/ncamlrun ../../nmlc -I ../../stdlib -c  str.mli
./../boot/ncamlrun ../../nmlc -I ../../stdlib -c  str.ml
./../boot/ncamlrun ../../ocaml/tools/ocamlmklib -ocamlc '../../boot/ncamlrun ../../nmlc -I ../../stdlib' -o str str.cmo
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/str'
gmake[2]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/dynlink'
./../boot/ncamlrun ../../nmlc -c -I ../../stdlib -I ../../utils -I ../../ocaml/typing -I ../../ocaml/bytecomp dynlink.mli
./../boot/ncamlrun ../../nmlc -c -I ../../stdlib -I ../../utils -I ../../ocaml/typing -I ../../ocaml/bytecomp dynlink.ml
./../boot/ncamlrun ../../nmlc -I ../../stdlib -I ../../utils -I ../../ocaml/typing -I ../../ocaml/bytecomp -a -o dynlink.cma misc.cmo config.cmo tbl.cmo clflags.cmo ident.cmo path.cmo types.cmo btype.cmo predef.cmo runtimedef.cmo bytesections.cmo dll.cmo symtable.cmo opcodes.cmo meta.cmo dynlink.cmo
./../boot/ncamlrun ../../nmlc -c -I ../../stdlib -I ../../utils -I ../../ocaml/typing -I ../../ocaml/bytecomp extract_crc.ml
./../boot/ncamlrun ../../nmlc -I ../../stdlib -I ../../utils -I ../../ocaml/typing -I ../../ocaml/bytecomp -o extract_crc dynlink.cma extract_crc.cmo
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/dynlink'
gmake[2]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/bigarray'
cc -I../../ocaml/byterun -g -O  -fPIC   -c -o bigarray_stubs.o bigarray_stubs.c
cc -I../../ocaml/byterun -g -O  -fPIC   -c -o mmap_unix.o mmap_unix.c
./../boot/ncamlrun ../../ocaml/tools/ocamlmklib -o bigarray bigarray_stubs.o mmap_unix.o
./../boot/ncamlrun ../../nmlc -I ../../stdlib -I ../unix -c  bigarray.mli
./../boot/ncamlrun ../../nmlc -I ../../stdlib -I ../unix -c  bigarray.ml
./../boot/ncamlrun ../../ocaml/tools/ocamlmklib -ocamlc '../../boot/ncamlrun ../../nmlc -I ../../stdlib -I ../unix' -linkall -o bigarray bigarray.cmo
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/bigarray'
gmake[2]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/num'
cd bignum; gmake x86 CC="cc  -fPIC"
gmake[3]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/num/bignum'
rm -f ,* .,* *~ #*# .emacs_[0-9]* *.BAK *.CKP core a.out
rm -f */,* */.,* */*~ */#*# */.emacs_[0-9]* */*.BAK */*.CKP
rm -f o/*.o libbignum.a bztest testKerN
as s/x86KerN.s -o o/KerN.o
gmake CC="cc  -fPIC" CFLAGS="-c -I./h -O -DCAML_LIGHT" \
     OBJECT="o/KerN.o o/bnInit.o o/bnMult.o o/bnDivide.o o/bnCmp.o o/bzf.o o/bz.o " all
gmake[4]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/num/bignum'
cc  -fPIC -c -I./h -O -DCAML_LIGHT c/bn/bnInit.c
mv bnInit.o o
cc  -fPIC -c -I./h -O -DCAML_LIGHT c/bn/bnMult.c
mv bnMult.o o
cc  -fPIC -c -I./h -O -DCAML_LIGHT c/bn/bnDivide.c
c/bn/bnDivide.c:19:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static divide (nn, nl, dd, dl)
~~~~~~ ^
c/bn/bnDivide.c:94:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
mv bnDivide.o o
cc  -fPIC -c -I./h -O -DCAML_LIGHT c/bn/bnCmp.c
mv bnCmp.o o
cc  -fPIC -c -I./h -O -DCAML_LIGHT c/bzf.c
mv bzf.o o
cc  -fPIC -c -I./h -O -DCAML_LIGHT c/bz.c
c/bz.c:45:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
c/bz.c:45:14: note: 'malloc' is a builtin with type 'void *(unsigned int)'
c/bz.c:140:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
    free (z);
    ^
c/bz.c:159:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
    free (s);
    ^
c/bz.c:679:10: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration]
    zl = strlen (s) * BzLog[base] / (BzLog[2] * BN_DIGIT_SIZE) + 1;
         ^
c/bz.c:679:10: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
c/bz.c:750:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
        return (MAXINT);
                ^~~~~~
c/bz.c:35:34: note: expanded from macro 'MAXINT'
#define MAXINT                  (~HIBITI)
                                  ^~~~~~
c/bz.c:34:48: note: expanded from macro 'HIBITI'
#define HIBITI                  (1 << BITS(int) - 1)
                                   ~~ ~~~~~~~~~~^~~
c/bz.c:750:17: note: place parentheses around the '-' expression to silence this warning
        return (MAXINT);
                ^~~~~~
c/bz.c:35:34: note: expanded from macro 'MAXINT'
#define MAXINT                  (~HIBITI)
                                  ^~~~~~
c/bz.c:34:48: note: expanded from macro 'HIBITI'
#define HIBITI                  (1 << BITS(int) - 1)
                                      ~~~~~~~~~~^~~
5 warnings generated.
mv bz.o o
All is done
gmake[4]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/num/bignum'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/num/bignum'
cc -O -I./bignum/h -I../../ocaml/byterun  -fPIC   -c -o nat_stubs.o nat_stubs.c
./../boot/ncamlrun ../../ocaml/tools/ocamlmklib -o nums bignum/o/KerN.o bignum/o/bnInit.o bignum/o/bnMult.o bignum/o/bnDivide.o bignum/o/bnCmp.o bignum/o/bzf.o bignum/o/bz.o nat_stubs.o
ld: error: relocation R_386_PC32 cannot be used against symbol BnnAdd; recompile with -fPIC
>>> defined in bignum/o/KerN.o
>>> referenced by bignum/o/KerN.o:(.text+0x409)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:47: libnums.a] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/otherlibs/num'
gmake[1]: *** [Makefile:458: otherlibraries] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92'
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/nml



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