>>> Building on sparc64-1b under lang/apl BDEPENDS = [lang/gcc/8,-libs;lang/gcc/8;devel/gmake;lang/gcc/8,-c++] DIST = [lang/apl:apl-1.7.tar.gz] FULLPKGNAME = apl-1.7p1 RDEPENDS = [lang/gcc/8,-libs;fonts/apl-fonts] Avoided depends for g++-8.3.0p4 gcc-8.3.0p4 gcc-libs-8.3.0p4 gmake-4.2.1p4 distfiles size=3080318 >>> Running patch in lang/apl at 1576149493.76 ===> lang/apl ===> apl-1.7p1 depends on: gcc->=8,<9 -> gcc-8.3.0p4 ===> apl-1.7p1 depends on: g++->=8,<9 -> g++-8.3.0p4 ===> apl-1.7p1 depends on: gmake-* -> gmake-4.2.1p4 ===> apl-1.7p1 depends on: gcc-libs->=8,<9 -> gcc-libs-8.3.0p4 ===> Verifying specs: c m curses pthread estdc++>=17 pthread estdc++>=19 ===> found c.96.0 m.10.1 curses.14.0 pthread.26.1 estdc++.19.0 ===> Checking files for apl-1.7p1 `/usr/ports/distfiles/apl-1.7.tar.gz' is up to date. >> (SHA256) apl-1.7.tar.gz: OK ===> Extracting for apl-1.7p1 ===> Patching for apl-1.7p1 ===> Applying OpenBSD patch patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-configure,v 1.1.1.1 2017/09/11 23:44:11 bcallah Exp $ |--- configure.orig Fri Mar 17 16:03:06 2017 |+++ configure Mon Jul 17 17:11:15 2017 -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 21413. done ===> Applying OpenBSD patch patch-doc_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2017/09/11 23:44:11 bcallah Exp $ |--- doc/Makefile.in.orig Fri Jul 21 10:19:37 2017 |+++ doc/Makefile.in Fri Jul 21 10:19:58 2017 -------------------------- Patching file doc/Makefile.in using Plan A... Hunk #1 succeeded at 342. done ===> Applying OpenBSD patch patch-gnu-apl_d_preferences_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-gnu-apl_d_preferences_in,v 1.1.1.1 2017/09/11 23:44:11 bcallah Exp $ |--- gnu-apl.d/preferences.in.orig Fri Mar 17 15:46:54 2017 |+++ gnu-apl.d/preferences.in Fri Jul 21 12:27:36 2017 -------------------------- Patching file gnu-apl.d/preferences.in using Plan A... Hunk #1 succeeded at 61. Hunk #2 succeeded at 236. Hunk #3 succeeded at 350. done ===> Applying OpenBSD patch patch-src_Common_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-src_Common_cc,v 1.1.1.1 2017/09/11 23:44:11 bcallah Exp $ |--- src/Common.cc.orig Fri Mar 17 15:46:53 2017 |+++ src/Common.cc Mon Jul 17 16:37:56 2017 -------------------------- Patching file src/Common.cc using Plan A... Hunk #1 succeeded at 81. done ===> Applying OpenBSD patch patch-src_Parallel_hh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-src_Parallel_hh,v 1.1 2017/11/19 15:01:53 bcallah Exp $ | |sparc64 wants this to be a long. But everyone else is happy with an int. |Found examining the sparc64 build logs. | |Index: src/Parallel.hh |--- src/Parallel.hh.orig |+++ src/Parallel.hh -------------------------- Patching file src/Parallel.hh using Plan A... Hunk #1 succeeded at 67. done ===> Applying OpenBSD patch patch-src_buildtag Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-src_buildtag,v 1.1.1.1 2017/09/11 23:44:11 bcallah Exp $ |--- src/buildtag.orig Fri Mar 17 15:46:53 2017 |+++ src/buildtag Mon Jul 17 16:37:56 2017 -------------------------- Patching file src/buildtag using Plan A... Hunk #1 succeeded at 5. done ===> Applying OpenBSD patch patch-src_emacs_mode_TcpListener_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-src_emacs_mode_TcpListener_cc,v 1.1 2018/04/09 17:26:54 jasper Exp $ | |Index: src/emacs_mode/TcpListener.cc |--- src/emacs_mode/TcpListener.cc.orig |+++ src/emacs_mode/TcpListener.cc -------------------------- Patching file src/emacs_mode/TcpListener.cc using Plan A... Hunk #1 succeeded at 77. done ===> Applying OpenBSD patch patch-src_emacs_mode_UnixSocketListener_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-src_emacs_mode_UnixSocketListener_cc,v 1.1 2018/04/09 17:26:54 jasper Exp $ | |Index: src/emacs_mode/UnixSocketListener.cc |--- src/emacs_mode/UnixSocketListener.cc.orig |+++ src/emacs_mode/UnixSocketListener.cc -------------------------- Patching file src/emacs_mode/UnixSocketListener.cc using Plan A... Hunk #1 succeeded at 58. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in lang/apl at 1576149499.62 ===> lang/apl ===> Generating configure for apl-1.7p1 ===> Configuring for apl-1.7p1 Using /usr/obj/ports/apl-1.7/config.site (generated) sed -i 's,-O2,,g' /usr/obj/ports/apl-1.7/apl-1.7/configure /usr/obj/ports/apl-1.7/apl-1.7/src/{APs,native}/Makefile.in configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /usr/obj/ports/apl-1.7/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/obj/ports/apl-1.7/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether gmake sets $(MAKE)... yes checking for style of include used by gmake... GNU checking whether gmake supports nested variables... yes checking dependency style of cc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... sparc64-unknown-openbsd6.6 checking host system type... sparc64-unknown-openbsd6.6 checking how to print strings... print -r checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 131072 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert sparc64-unknown-openbsd6.6 file names to sparc64-unknown-openbsd6.6 format... func_convert_file_noop checking how to convert sparc64-unknown-openbsd6.6 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking dependency style of c++... gcc3 checking for ar... (cached) ar checking for archiver @FILE support... @ checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd6.6 ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... openbsd6.6 ld.so checking how to hardcode library paths into programs... immediate checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking dependency style of c++... (cached) gcc3 checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking whether c++ accepts -rdynamic... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for term.h... yes checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking for fcntl.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/un.h... (cached) yes checking ext/atomicity.h usability... yes checking ext/atomicity.h presence... yes checking for ext/atomicity.h... yes checking utmpx.h usability... no checking utmpx.h presence... no checking for utmpx.h... no checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking for inline... inline checking for int32_t... yes checking for int64_t... yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for error_at_line... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for floor... yes checking for memset... (cached) yes checking for munmap... (cached) yes checking for pow... yes checking for sqrt... yes checking for strchr... (cached) yes checking for strerror... (cached) yes checking for socket in -lsocket... no checking for yp_all in -lnsl... no checking for setupterm in -lncurses... yes checking for backtrace in -lexecinfo... no checking for acosh in -lm... (cached) yes checking for sem_init in -lpthread... yes checking for dlopen in -ldl... no checking whether CPU has rdtsc (read CPU cycle counter) opcode... no checking whether pthread_setaffinity_np is available... no checking whether OSAtomicAdd32Barrier() is available... no checking whether atomic_add_32_nv() is available... no checking if we are compiling for Android... no checking if we want to build an erlang interface (implies libapl.so)... no checking if we want to build libapl.so... no checking whether internal performance counters shall be enabled)... no checking whether to remember the history of APL values (debug feature)... no checking whether gprof profiling shall be enabled... no checking whether dynamic logging shall be enabled... no checking whether value flags shall be traced... no checking how picky internal tests shall be... 1 checking how many CPU cores shall be used by APL (experimental!)... 0 checking which type of socket APserver shall use... 0 checking which port number APserver shall use for TCP or UDP sockets... 16366 checking which port name APserver shall use for unix ports... /tmp/GNU-APL/APserver checking how long a short APL value shall be at most... 12 checking whether visible markers shall be used... no checking whether we compile for an i686 CPU... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating debian/Makefile config.status: creating debian/source/Makefile config.status: creating doc/Makefile config.status: creating erlang/Makefile config.status: creating erlang/apl.erl config.status: creating gnu-apl.d/Makefile config.status: creating gnu-apl.d/preferences config.status: creating rpm/Makefile config.status: creating rpm/apl.spec config.status: creating src/Makefile config.status: creating src/APs/Makefile config.status: creating src/emacs_mode/Makefile config.status: creating src/native/Makefile config.status: creating src/sql/Makefile config.status: creating src/testcases/Makefile config.status: creating src/workspaces/Makefile config.status: creating support-files/Makefile config.status: creating support-files/Dyalog-Keyboard/Makefile config.status: creating support-files/old-Keyboard/Makefile config.status: creating support-files/OS-X-Keyboard/Makefile config.status: creating support-files/Unicomp-Keyboard/Makefile config.status: creating support-files/WASD-Keyboard/Makefile config.status: creating support-files/Dirk/Makefile config.status: creating tools/Makefile config.status: creating workspaces/Makefile config.status: creating wslib3/Makefile config.status: creating wslib4/Makefile config.status: creating wslib5/Makefile config.status: creating wslib5/APLComponentFiles/Makefile config.status: creating wslib5/iso-apl-cf/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc configure: creating ./src//buildtag.hh configure: creating ./src/makefile.h configure: creating ./src/configure_args.cc >>> Running build in lang/apl at 1576149559.55 ===> lang/apl ===> Building for apl-1.7p1 gmake all-recursive gmake[1]: Entering directory '/usr/obj/ports/apl-1.7/apl-1.7' Making all in doc gmake[2]: Entering directory '/usr/obj/ports/apl-1.7/apl-1.7/doc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/usr/obj/ports/apl-1.7/apl-1.7/doc' Making all in erlang gmake[2]: Entering directory '/usr/obj/ports/apl-1.7/apl-1.7/erlang' echo "nothing to be done because GNU APL was NOT \ configured --with-erlang" nothing to be done because GNU APL was NOT configured --with-erlang gmake[2]: Leaving directory '/usr/obj/ports/apl-1.7/apl-1.7/erlang' Making all in gnu-apl.d gmake[2]: Entering directory '/usr/obj/ports/apl-1.7/apl-1.7/gnu-apl.d' Makefile:516: warning: overriding recipe for target 'preferences' Makefile:329: warning: ignoring old recipe for target 'preferences' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/usr/obj/ports/apl-1.7/apl-1.7/gnu-apl.d' Making all in src gmake[2]: Entering directory '/usr/obj/ports/apl-1.7/apl-1.7/src' Making all in native gmake[3]: Entering directory '/usr/obj/ports/apl-1.7/apl-1.7/src/native' /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT lib_file_io_la-file_io.lo -MD -MP -MF .deps/lib_file_io_la-file_io.Tpo -c -o lib_file_io_la-file_io.lo `test -f 'file_io.cc' || echo './'`file_io.cc depbase=`echo template_F0.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_F0.lo -MD -MP -MF $depbase.Tpo -c -o template_F0.lo template_F0.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo template_F12.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_F12.lo -MD -MP -MF $depbase.Tpo -c -o template_F12.lo template_F12.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo template_OP1.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_OP1.lo -MD -MP -MF $depbase.Tpo -c -o template_OP1.lo template_OP1.cc &&\ mv -f $depbase.Tpo $depbase.Plo c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT lib_file_io_la-file_io.lo -MD -MP -MF .deps/lib_file_io_la-file_io.Tpo -c file_io.cc -fPIC -DPIC -o .libs/lib_file_io_la-file_io.o c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_F0.lo -MD -MP -MF .deps/template_F0.Tpo -c template_F0.cc -fPIC -DPIC -o .libs/template_F0.o c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_OP1.lo -MD -MP -MF .deps/template_OP1.Tpo -c template_OP1.cc -fPIC -DPIC -o .libs/template_OP1.o c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_F12.lo -MD -MP -MF .deps/template_F12.Tpo -c template_F12.cc -fPIC -DPIC -o .libs/template_F12.o In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh: In static member function 'static void Thread_context::M_fork(const char*)': ../Parallel.hh:231:33: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(get_master().job_number, 1); ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh: In member function 'void Thread_context::PF_fork()': ../Parallel.hh:237:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} while (atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh: In member function 'void Thread_context::PF_join()': ../Parallel.hh:251:20: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(job_number, 1); // we reached master job_number ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh:255:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_OP1.cc:22: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh: In static member function 'static void Thread_context::M_fork(const char*)': ../Parallel.hh:231:33: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(get_master().job_number, 1); ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh: In member function 'void Thread_context::PF_fork()': ../Parallel.hh:237:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} while (atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh: In member function 'void Thread_context::PF_join()': ../Parallel.hh:251:20: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(job_number, 1); // we reached master job_number ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh:255:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F12.cc:22: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh: In static member function 'static void Thread_context::M_fork(const char*)': ../Parallel.hh:231:33: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(get_master().job_number, 1); ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh: In member function 'void Thread_context::PF_fork()': ../Parallel.hh:237:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} while (atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh: In member function 'void Thread_context::PF_join()': ../Parallel.hh:251:20: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(job_number, 1); // we reached master job_number ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh:255:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from ../NamedObject.hh:25, from ../Function.hh:27, from ../PrimitiveFunction.hh:25, from ../PrimitiveOperator.hh:24, from ../Quad_FIO.hh:24, from file_io.cc:26: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh: In static member function 'static void Thread_context::M_fork(const char*)': ../Parallel.hh:231:33: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(get_master().job_number, 1); ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh: In member function 'void Thread_context::PF_fork()': ../Parallel.hh:237:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} while (atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh: In member function 'void Thread_context::PF_join()': ../Parallel.hh:251:20: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_add(job_number, 1); // we reached master job_number ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh:84:13: note: initializing argument 1 of 'void atomic_add(volatile _Atomic_word&, int)' inline void atomic_add(volatile _Atomic_word & counter, int increment) ^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh:255:41: error: cannot bind non-const lvalue reference of type 'volatile _Atomic_word&' {aka 'volatile long int&'} to an rvalue of type '_Atomic_word' {aka 'long int'} atomic_read(get_master().job_number) == job_number) ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../Value.hh:36, from ../Value.icc:24, from template.hh:25, from template_F0.cc:22: ../Parallel.hh:80:12: note: initializing argument 1 of 'int atomic_read(volatile _Atomic_word&)' inline int atomic_read(volatile _Atomic_word & counter) ^~~~~~~~~~~ Error while executing c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_OP1.lo -MD -MP -MF .deps/template_OP1.Tpo -c template_OP1.cc -fPIC -DPIC -o .libs/template_OP1.o gmake[3]: *** [Makefile:505: template_OP1.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... Error while executing c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_F12.lo -MD -MP -MF .deps/template_F12.Tpo -c template_F12.cc -fPIC -DPIC -o .libs/template_F12.o gmake[3]: *** [Makefile:505: template_F12.lo] Error 1 Error while executing c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT lib_file_io_la-file_io.lo -MD -MP -MF .deps/lib_file_io_la-file_io.Tpo -c file_io.cc -fPIC -DPIC -o .libs/lib_file_io_la-file_io.o gmake[3]: *** [Makefile:513: lib_file_io_la-file_io.lo] Error 2 Error while executing c++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -I ./.. -g -O2 -pipe -MT template_F0.lo -MD -MP -MF .deps/template_F0.Tpo -c template_F0.cc -fPIC -DPIC -o .libs/template_F0.o gmake[3]: *** [Makefile:505: template_F0.lo] Error 1 gmake[3]: Leaving directory '/usr/obj/ports/apl-1.7/apl-1.7/src/native' gmake[2]: *** [Makefile:3174: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/obj/ports/apl-1.7/apl-1.7/src' gmake[1]: *** [Makefile:509: all-recursive] Error 1 gmake[1]: Leaving directory '/usr/obj/ports/apl-1.7/apl-1.7' gmake: *** [Makefile:396: all] Error 2 *** Error 2 in lang/apl (/usr/ports/infrastructure/mk/bsd.port.mk:2884 '/usr/obj/ports/apl-1.7/.build_done') *** Error 1 in lang/apl (/usr/ports/infrastructure/mk/bsd.port.mk:2550 'build') ===> Exiting lang/apl with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build') >>> Ended at 1576149572.08 Error: job failed with 256 on sparc64-1b at 1576149572