>>> Building on exopi-3 under math/gbc DIST = [math/gbc:bc-1.07.1.tar.gz] FULLPKGNAME = gbc-1.07.1p1 distfiles size=419850 >>> Running build in math/gbc at 1735056174.34 ===> math/gbc ===> Building from scratch gbc-1.07.1p1 ===> Verifying specs: c curses edit ===> found c.100.3 curses.15.0 edit.6.0 ===> Checking files for gbc-1.07.1p1 `/exopi-cvs/ports/distfiles/bc-1.07.1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for gbc-1.07.1p1 ===> Patching for gbc-1.07.1p1 ===> Applying OpenBSD patch patch-bc_global_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix for -fno-common |Identical to FreeBSD's fix: |https://svnweb.freebsd.org/ports/head/math/gnubc/files/patch-bc_global.h?revision=547437&view=co | |Index: bc/global.h |--- bc/global.h.orig |+++ bc/global.h -------------------------- Patching file bc/global.h using Plan A... Hunk #1 succeeded at 112. done ===> Applying OpenBSD patch patch-bc_scan_l Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |The cast (yy_size_t *)&result was wrong, because result was an int in |upstream's flex; this caused an overflow on LP64_ARCHS (by writing 8 |bytes to a 4-byte int), which broke the build on powerpc64. | |This patch causes the build to run flex(1), overwriting scan.c from |upstream. OpenBSD's flex changes result from int to yy_size_t. | |Index: bc/scan.l |--- bc/scan.l.orig |+++ bc/scan.l -------------------------- Patching file bc/scan.l using Plan A... Hunk #1 succeeded at 59. Hunk #2 succeeded at 70. Hunk #3 succeeded at 83. Hunk #4 succeeded at 92. Hunk #5 succeeded at 103. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for gbc-1.07.1p1 ===> Configuring for gbc-1.07.1p1 Using /exopi-obj/pobj/gbc-1.07.1/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /exopi-obj/pobj/gbc-1.07.1/config.site checking for a BSD-compatible install... /exopi-obj/pobj/gbc-1.07.1/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 make sets $(MAKE)... (cached) yes checking whether make supports nested variables... yes 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 for style of include used by make... GNU checking dependency style of cc... gcc3 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 flex... (cached) flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... (cached) yes checking for ar... (cached) ar checking the archiver (ar) interface... ar checking for bison... yacc checking for ranlib... (cached) ranlib checking whether make sets $(MAKE)... (cached) yes checking for stdarg.h... (cached) yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for errno.h... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking for lib.h... no checking for an ANSI C-conforming const... (cached) yes checking for size_t... (cached) yes checking for ptrdiff_t... yes checking for vprintf... (cached) yes checking for _doprnt... no checking for isgraph... (cached) yes checking for setvbuf... (cached) yes checking for fstat... (cached) yes checking for strtol... (cached) yes checking for tgetent in -ltermcap... yes checking for el_gets in -ledit... yes checking histedit.h usability... yes checking histedit.h presence... yes checking for histedit.h... yes Using the libedit library. Adding GCC specific compile flags. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating bc/Makefile config.status: creating dc/Makefile config.status: creating lib/Makefile config.status: creating doc/Makefile config.status: creating doc/texi-ver.incl config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc ===> Building for gbc-1.07.1p1 /usr/bin/make all-recursive Making all in lib cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c getopt.c:348:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] posixly_correct = getenv ("POSIXLY_CORRECT"); ^ In file included from getopt.c:106: ./../h/getopt.h:144:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int getopt (); ^ getopt.c:1135:1: note: conflicting prototype is here getopt (int argc, char *const *argv, const char *optstring) ^ 2 warnings generated. mv -f .deps/getopt.Tpo .deps/getopt.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c mv -f .deps/getopt1.Tpo .deps/getopt1.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT vfprintf.o -MD -MP -MF .deps/vfprintf.Tpo -c -o vfprintf.o vfprintf.c mv -f .deps/vfprintf.Tpo .deps/vfprintf.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT number.o -MD -MP -MF .deps/number.Tpo -c -o number.o number.c mv -f .deps/number.Tpo .deps/number.Po rm -f libbc.a ar cru libbc.a getopt.o getopt1.o vfprintf.o number.o ranlib libbc.a Making all in bc cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c In file included from main.c:34: ./../h/getopt.h:144:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /usr/include/unistd.h:389:6: note: conflicting prototype is here int getopt(int, char * const *, const char *); ^ 1 warning generated. mv -f .deps/main.Tpo .deps/main.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT bc.o -MD -MP -MF .deps/bc.Tpo -c -o bc.o bc.c mv -f .deps/bc.Tpo .deps/bc.Po /bin/sh ../ylwrap scan.l lex.yy.c scan.c -- flex -I -8 cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT scan.o -MD -MP -MF .deps/scan.Tpo -c -o scan.o scan.c mv -f .deps/scan.Tpo .deps/scan.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c mv -f .deps/execute.Tpo .deps/execute.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c mv -f .deps/load.Tpo .deps/load.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT storage.o -MD -MP -MF .deps/storage.Tpo -c -o storage.o storage.c mv -f .deps/storage.Tpo .deps/storage.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c mv -f .deps/util.Tpo .deps/util.Po cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT warranty.o -MD -MP -MF .deps/warranty.Tpo -c -o warranty.o warranty.c warranty.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] warranty(prefix) ^ 1 warning generated. mv -f .deps/warranty.Tpo .deps/warranty.Po echo '{0}' > libmath.h /usr/bin/make global.o cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c mv -f .deps/global.Tpo .deps/global.Po cc -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -o libmath.h -o fbc main.o bc.o scan.o execute.o load.o storage.o util.o warranty.o global.o ../lib/libbc.a -lfl -ledit -ltermcap ld: warning: util.c(util.o:(strcopyof)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: util.c(util.o:(make_arg_str)): warning: strcat() is almost always misused, please use strlcat() ld: warning: execute.c(execute.o:(execute)): warning: random() may return deterministic values, is that what you want? ./fbc -c ./libmath.b libmath.h ./fix-libmath_h 2655 2793 rm -f ./fbc ./global.o cc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c mv -f .deps/global.Tpo .deps/global.Po cc -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -o bc main.o bc.o scan.o execute.o load.o storage.o util.o global.o warranty.o ../lib/libbc.a -lfl -ledit -ltermcap ld: warning: execute.c(execute.o:(execute)): warning: random() may return deterministic values, is that what you want? ld: warning: util.c(util.o:(strcopyof)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: util.c(util.o:(make_arg_str)): warning: strcat() is almost always misused, please use strlcat() Making all in dc cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT dc.o -MD -MP -MF .deps/dc.Tpo -c -o dc.o dc.c mv -f .deps/dc.Tpo .deps/dc.Po cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c mv -f .deps/misc.Tpo .deps/misc.Po cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c mv -f .deps/eval.Tpo .deps/eval.Po cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT stack.o -MD -MP -MF .deps/stack.Tpo -c -o stack.o stack.c mv -f .deps/stack.Tpo .deps/stack.Po cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT array.o -MD -MP -MF .deps/array.Tpo -c -o array.o array.c mv -f .deps/array.Tpo .deps/array.Po cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT numeric.o -MD -MP -MF .deps/numeric.Tpo -c -o numeric.o numeric.c numeric.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_char (ch) ^ 1 warning generated. mv -f .deps/numeric.Tpo .deps/numeric.Po cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -MT string.o -MD -MP -MF .deps/string.Tpo -c -o string.o string.c mv -f .deps/string.Tpo .deps/string.Po cc -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -o dc dc.o misc.o eval.o stack.o array.o numeric.o string.o ../lib/libbc.a Making all in doc restore=: && backupdir=".am$$" && am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && rm -rf $backupdir && mkdir $backupdir && if (makeinfo --no-split --version) >/dev/null 2>&1; then for f in ./bc.info ./bc.info-[0-9] ./bc.info-[0-9][0-9] ./bc.i[0-9] ./bc.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && cd "$am__cwd"; if makeinfo --no-split -I . -o ./bc.info ./bc.texi; then rc=0; CDPATH="${ZSH_VERSION+.}:" && cd .; else rc=$?; CDPATH="${ZSH_VERSION+.}:" && cd . && $restore $backupdir/* `echo "././bc.info" | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc restore=: && backupdir=".am$$" && am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && rm -rf $backupdir && mkdir $backupdir && if (makeinfo --no-split --version) >/dev/null 2>&1; then for f in ./dc.info ./dc.info-[0-9] ./dc.info-[0-9][0-9] ./dc.i[0-9] ./dc.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && cd "$am__cwd"; if makeinfo --no-split -I . -o ./dc.info ./dc.texi; then rc=0; CDPATH="${ZSH_VERSION+.}:" && cd .; else rc=$?; CDPATH="${ZSH_VERSION+.}:" && cd . && $restore $backupdir/* `echo "././dc.info" | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc >>> Running package in math/gbc at 1735056189.73 ===> math/gbc ===> Faking installation for gbc-1.07.1p1 Making install in lib Making install in bc mkdir -p '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/bin' /exopi-obj/pobj/gbc-1.07.1/bin/install -c -s -m 755 bc '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/bin/./gbc' Making install in dc mkdir -p '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/bin' /exopi-obj/pobj/gbc-1.07.1/bin/install -c -s -m 755 dc '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/bin/./gdc' Making install in doc mkdir -p '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/info' /exopi-obj/pobj/gbc-1.07.1/bin/install -c -m 644 ./bc.info ./dc.info '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/info' install-info --info-dir='/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/info' '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/info/bc.info' install-info --info-dir='/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/info' '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/info/dc.info' mkdir -p '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/man/man1' /exopi-obj/pobj/gbc-1.07.1/bin/install -c -m 644 'bc.1' '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/man/man1/gbc.1' /exopi-obj/pobj/gbc-1.07.1/bin/install -c -m 644 'dc.1' '/exopi-obj/pobj/gbc-1.07.1/fake-amd64/usr/local/man/man1/gdc.1' ===> Building package for gbc-1.07.1p1 Create /exopi-cvs/ports/packages/amd64/all/gbc-1.07.1p1.tgz Creating package gbc-1.07.1p1 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 6% checksumming|******** | 13% checksumming|*********** | 19% checksumming|*************** | 25% checksumming|******************* | 31% checksumming|*********************** | 38% checksumming|*************************** | 44% checksumming|******************************* | 50% checksumming|********************************** | 56% checksumming|************************************** | 63% checksumming|****************************************** | 69% checksumming|********************************************** | 75% checksumming|************************************************** | 81% checksumming|***************************************************** | 88% checksumming|********************************************************* | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************* | 39% archiving|**************************************** | 62% archiving|************************************************* | 76% archiving|***************************************************** | 82% archiving|************************************************************* | 95% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/gbc-1.07.1p1.tgz >>> Running clean in math/gbc at 1735056192.93 ===> math/gbc ===> Cleaning for gbc-1.07.1p1 >>> Ended at 1735056193.38 max_stuck=0.00/build=15.39/package=3.18/clean=0.50