Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 15:19:56 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-powerpc64-default][math/lean] Failed for lean-3.4.2_1 in build
Message-ID:  <201911131519.xADFJudl007269@pylon.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:     yuri@FreeBSD.org
Last committer: gerald@FreeBSD.org
Ident:          $FreeBSD: head/math/lean/Makefile 507372 2019-07-26 20:46:53Z gerald $
Log URL:        http://pylon.nyi.freebsd.org/data/head-powerpc64-default/p516936_s354423/logs/lean-3.4.2_1.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=head-powerpc64-default&build=p516936_s354423
Log:

=>> Building math/lean
build started at Wed Nov 13 14:05:15 UTC 2019
port directory: /usr/ports/math/lean
package name: lean-3.4.2_1
building for: FreeBSD head-powerpc64-default-job-19 13.0-CURRENT FreeBSD 13.0-CURRENT 1300055 powerpc
maintained by: yuri@FreeBSD.org
Makefile ident:      $FreeBSD: head/math/lean/Makefile 507372 2019-07-26 20:46:53Z gerald $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300047
Jail OSVERSION: 1300055
Job Id: 19




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300055
UNAME_v=FreeBSD 13.0-CURRENT 1300055
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-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-powerpc64-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--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/math/lean/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/lean/work  HOME=/wrkdirs/usr/ports/math/lean/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/lean/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/math/lean/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/lean/work  HOME=/wrkdirs/usr/ports/math/lean/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/lean/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DESTDIR=/wrkdirs/usr/ports/math/lean/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc9" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -fno-strict-aliasing "  CPP="cpp9" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/
 local/lib/gcc9 -L/usr/local/lib/gcc9 " LIBS=""  CXX="g++9" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9  -Wl,-rpath=/usr/local/lib/gcc9 "  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--
CMAKE_BUILD_TYPE="release" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lean"  EXAMPLESDIR="share/examples/lean"  DATADIR="share/lean"  WWWDIR="www/lean"  ETCDIR="etc/lean"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/lean DOCSDIR=/usr/local/share/doc/lean EXAMPLESDIR=/usr/local/share/examples/lean  WWWDIR=/usr/local/www/lean ETCDIR=/usr/local/etc/lean
--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=4
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300055
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)  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   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   lean-3.4.2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[head-powerpc64-default-job-19] Installing pkg-1.12.0...
[head-powerpc64-default-job-19] Extracting pkg-1.12.0: .......... done
===>   lean-3.4.2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of lean-3.4.2_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by lean-3.4.2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by lean-3.4.2_1 for building
=> SHA256 Checksum OK for leanprover-lean-v3.4.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by lean-3.4.2_1 for building
===>  Extracting for lean-3.4.2_1
=> SHA256 Checksum OK for leanprover-lean-v3.4.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for lean-3.4.2_1
===>  Applying FreeBSD patches for lean-3.4.2_1
===========================================================================
=======================<phase: build-depends  >============================
===>   lean-3.4.2_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.15.5.txz
[head-powerpc64-default-job-19] Installing cmake-3.15.5...
[head-powerpc64-default-job-19] `-- Installing curl-7.66.0...
[head-powerpc64-default-job-19] |   `-- Installing ca_root_nss-3.47...
[head-powerpc64-default-job-19] |   `-- Extracting ca_root_nss-3.47: ........ done
[head-powerpc64-default-job-19] |   `-- Installing libnghttp2-1.39.2...
[head-powerpc64-default-job-19] |   | `-- Installing gcc9-9.2.0...
[head-powerpc64-default-job-19] |   |   `-- Installing binutils-2.32_1,1...
[head-powerpc64-default-job-19] |   |   | `-- Installing gettext-runtime-0.20.1...
<snip>
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/pos_info_provider.h:9,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/abstract_parser.h:11,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/parser_state.h:12,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/module_parser.h:14,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/module_mgr.h:13,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/lean_js.cpp:8:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator+=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:190:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  190 |         *this = *this + f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator^=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:197:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  197 |         *this = *this ^ f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/json.h:11,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.h:14,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/lean_js.cpp:17:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp: In member function 'void nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType>::lexer::fill_line_buffer()':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp:8603:78: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
 8603 |                     m_line_buffer.append(1, static_cast<const char>(*m_cursor));
      |                                                                              ^
[343/465] /usr/local/bin/g++9   -I/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src -I. -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG -MD -MT shell/CMakeFiles/lean_js.dir/lean_js_main.cpp.o -MF shell/CMakeFiles/lean_js.dir/lean_js_main.cpp.o.d -o shell/CMakeFiles/lean_js.dir/lean_js_main.cpp.o -c /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/lean_js_main.cpp
[344/465] /usr/local/bin/g++9   -I/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src -I. -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG -MD -MT shell/CMakeFiles/lean_js.dir/server.cpp.o -MF shell/CMakeFiles/lean_js.dir/server.cpp.o.d -o shell/CMakeFiles/lean_js.dir/server.cpp.o -c /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/pos_info_provider.h:9,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/abstract_parser.h:11,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/parser_state.h:12,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/module_parser.h:14,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:19:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator+=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:190:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  190 |         *this = *this + f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator^=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:197:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  197 |         *this = *this ^ f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/json.h:11,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/info_manager.h:16,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:29:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp: In member function 'void nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType>::lexer::fill_line_buffer()':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp:8603:78: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
 8603 |                     m_line_buffer.append(1, static_cast<const char>(*m_cursor));
      |                                                                              ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp: In member function 'void lean::server::handle_request(const json&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:424:14: warning: catching polymorphic type 'class lean::interrupted' by value [-Wcatch-value=]
  424 |     } catch (interrupted) {
      |              ^~~~~~~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp: In lambda function:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:471:18: warning: catching polymorphic type 'class lean::interrupted' by value [-Wcatch-value=]
  471 |         } catch (interrupted) {
      |                  ^~~~~~~~~~~
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/library_task_builder.h:8,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:20:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h: In instantiation of 'lean::task<Res> lean::task_builder<Res>::build() [with Res = lean::unit; lean::task<Res> = std::shared_ptr<lean::task_cell<lean::unit> >]':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:477:30:   required from here
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  131 |         return std::move(task);
      |                              ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: note: remove 'std::move' call
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h: In instantiation of 'lean::task<Res> lean::task_builder<Res>::build() [with Res = lean::server::cmd_res; lean::task<Res> = std::shared_ptr<lean::task_cell<lean::server::cmd_res> >]':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:585:16:   required from here
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: note: remove 'std::move' call
[345/465] /usr/local/bin/g++9   -I/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src -I. -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG -MD -MT shell/CMakeFiles/lean_js.dir/leandoc.cpp.o -MF shell/CMakeFiles/lean_js.dir/leandoc.cpp.o.d -o shell/CMakeFiles/lean_js.dir/leandoc.cpp.o -c /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/leandoc.cpp
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/expr.h:22,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/environment.h:17,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/inductive/inductive.h:12,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/leandoc.cpp:9:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator+=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:190:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  190 |         *this = *this + f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator^=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:197:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  197 |         *this = *this ^ f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
[346/465] : && /usr/local/bin/g++9  -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9  -pthread shell/CMakeFiles/lean_js.dir/lean_js.cpp.o shell/CMakeFiles/lean_js.dir/lean_js_main.cpp.o shell/CMakeFiles/lean_js.dir/server.cpp.o shell/CMakeFiles/lean_js.dir/leandoc.cpp.o  -o shell/lean_js  -Wl,-rpath,/usr/local/lib libleanstatic.a /usr/local/lib/libgmp.so && :
[347/465] /usr/local/bin/g++9   -I/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src -I. -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG -MD -MT shell/CMakeFiles/lean.dir/lean.cpp.o -MF shell/CMakeFiles/lean.dir/lean.cpp.o.d -o shell/CMakeFiles/lean.dir/lean.cpp.o -c /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/lean.cpp
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/expr.h:22,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/environment.h:17,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/vm/vm.h:20,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/vm/vm_io.h:10,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/eval_helper.h:8,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/lean.cpp:15:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator+=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:190:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  190 |         *this = *this + f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator^=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:197:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  197 |         *this = *this ^ f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/json.h:11,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/lean.cpp:46:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp: In member function 'void nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType>::lexer::fill_line_buffer()':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp:8603:78: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
 8603 |                     m_line_buffer.append(1, static_cast<const char>(*m_cursor));
      |                                                                              ^
[348/465] /usr/local/bin/g++9   -I/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src -I. -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG -MD -MT shell/CMakeFiles/lean.dir/server.cpp.o -MF shell/CMakeFiles/lean.dir/server.cpp.o.d -o shell/CMakeFiles/lean.dir/server.cpp.o -c /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/pos_info_provider.h:9,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/abstract_parser.h:11,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/parser_state.h:12,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/module_parser.h:14,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:19:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator+=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:190:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  190 |         *this = *this + f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator^=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:197:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  197 |         *this = *this ^ f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/json.h:11,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/frontends/lean/info_manager.h:16,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:29:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp: In member function 'void nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType>::lexer::fill_line_buffer()':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/json.hpp:8603:78: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
 8603 |                     m_line_buffer.append(1, static_cast<const char>(*m_cursor));
      |                                                                              ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp: In member function 'void lean::server::handle_request(const json&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:424:14: warning: catching polymorphic type 'class lean::interrupted' by value [-Wcatch-value=]
  424 |     } catch (interrupted) {
      |              ^~~~~~~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp: In lambda function:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:471:18: warning: catching polymorphic type 'class lean::interrupted' by value [-Wcatch-value=]
  471 |         } catch (interrupted) {
      |                  ^~~~~~~~~~~
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/library/library_task_builder.h:8,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:20:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h: In instantiation of 'lean::task<Res> lean::task_builder<Res>::build() [with Res = lean::unit; lean::task<Res> = std::shared_ptr<lean::task_cell<lean::unit> >]':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:477:30:   required from here
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  131 |         return std::move(task);
      |                              ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: note: remove 'std::move' call
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h: In instantiation of 'lean::task<Res> lean::task_builder<Res>::build() [with Res = lean::server::cmd_res; lean::task<Res> = std::shared_ptr<lean::task_cell<lean::server::cmd_res> >]':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/server.cpp:585:16:   required from here
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/task_builder.h:131:30: note: remove 'std::move' call
[349/465] /usr/local/bin/g++9   -I/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src -I. -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG -MD -MT shell/CMakeFiles/lean.dir/leandoc.cpp.o -MF shell/CMakeFiles/lean.dir/leandoc.cpp.o.d -o shell/CMakeFiles/lean.dir/leandoc.cpp.o -c /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/leandoc.cpp
In file included from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/expr.h:22,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/environment.h:17,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/kernel/inductive/inductive.h:12,
                 from /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/shell/leandoc.cpp:9:
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator+=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:190:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  190 |         *this = *this + f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h: In member function 'lean::format& lean::format::operator^=(const lean::format&)':
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:197:25: warning: implicitly-declared 'lean::format& lean::format::operator=(const lean::format&)' is deprecated [-Wdeprecated-copy]
  197 |         *this = *this ^ f;
      |                         ^
/wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/util/sexpr/format.h:167:5: note: because 'lean::format' has user-provided 'lean::format::format(const lean::format&)'
  167 |     format(format const & f):m_value(f.m_value) {}
      |     ^~~~~~
[350/465] : && /usr/local/bin/g++9  -Wall -Wextra -std=c++11  -D LEAN_JSON -D LEAN_MULTI_THREAD -D LEAN_AUTO_THREAD_FINALIZATION -DLEAN_BUILD_TYPE="Release" -fPIC -O3 -DNDEBUG  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9  -pthread shell/CMakeFiles/lean.dir/lean.cpp.o shell/CMakeFiles/lean.dir/server.cpp.o shell/CMakeFiles/lean.dir/leandoc.cpp.o  -o shell/lean  -Wl,-rpath,/usr/local/lib: libleanstatic.a /usr/local/lib/libgmp.so && :
[351/465] cd /wrkdirs/usr/ports/math/lean/work/.build/shell && /usr/local/bin/cmake -E copy_if_different /wrkdirs/usr/ports/math/lean/work/.build/shell/lean /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/../bin/
[352/465] cd /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/library && /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/../bin/lean --make
FAILED: CMakeFiles/standard_lib 
cd /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/library && /wrkdirs/usr/ports/math/lean/work/lean-3.4.2/src/../bin/lean --make
terminate called after throwing an instance of 'lean::exception'
  what():  vm check failed: is_composite(o) (possibly due to incorrect axioms, or sorry)
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/lean



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