[package - head-amd64-default][cad/calculix] Failed for CalculiX-CalculiX-2.12_1 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Tue Aug 15 07:47:24 UTC 2017
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: pfg at FreeBSD.org
Last committer: pfg at FreeBSD.org
Ident: $FreeBSD: head/cad/calculix/Makefile 447973 2017-08-15 00:18:22Z pfg $
Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p447974_s322522/logs/CalculiX-CalculiX-2.12_1.log
Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p447974_s322522
Log:
====>> Building cad/calculix
build started at Tue Aug 15 07:43:59 UTC 2017
port directory: /usr/ports/cad/calculix
building for: FreeBSD head-amd64-default-job-10 12.0-CURRENT FreeBSD 12.0-CURRENT 1200040 amd64
maintained by: pfg at FreeBSD.org
Makefile ident: $FreeBSD: head/cad/calculix/Makefile 447973 2017-08-15 00:18:22Z pfg $
Poudriere version: 3.1.19-61-ga8829ba9
Host OSVERSION: 1200033
Jail OSVERSION: 1200040
Job Id: 10
!!! Jail is newer than host. (Jail: 1200040, Host: 1200033) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200040
UNAME_v=FreeBSD 12.0-CURRENT 1200040
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=CalculiX-CalculiX-2.12_1
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-61-ga8829ba9
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for CalculiX-CalculiX-2.12_1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/cad/calculix/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/calculix/work HOME=/wrkdirs/usr/ports/cad/calculix/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/cad/calculix/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/calculix/work HOME=/wrkdirs/usr/ports/cad/calculix/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fpic -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fpic -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
OSREL=12.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/CalculiX"
EXAMPLESDIR="share/examples/CalculiX"
DATADIR="share/CalculiX"
WWWDIR="www/CalculiX"
ETCDIR="etc/CalculiX"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/CalculiX
DOCSDIR=/usr/local/share/doc/CalculiX
EXAMPLESDIR=/usr/local/share/examples/CalculiX
WWWDIR=/usr/local/www/CalculiX
ETCDIR=/usr/local/etc/CalculiX
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=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=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200040
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> CalculiX-CalculiX-2.12_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.1.txz
[head-amd64-default-job-10] Installing pkg-1.10.1...
[head-amd64-default-job-10] Extracting pkg-1.10.1: .......... done
===> CalculiX-CalculiX-2.12_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of CalculiX-CalculiX-2.12_1
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by CalculiX-CalculiX-2.12_1 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by CalculiX-CalculiX-2.12_1 for building
=> SHA256 Checksum OK for calculix/cgx_2.12.all.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.12.exa.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.12.htm.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.12.pdf.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by CalculiX-CalculiX-2.12_1 for building
===> Extracting for CalculiX-CalculiX-2.12_1
=> SHA256 Checksum OK for calculix/cgx_2.12.all.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.12.exa.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.12.htm.tar.bz2.
=> SHA256 Checksum OK for calculix/cgx_2.12.pdf.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for CalculiX-CalculiX-2.12_1
===> Applying FreeBSD patches for CalculiX-CalculiX-2.12_1
===========================================================================
=======================<phase: build-depends >============================
===> CalculiX-CalculiX-2.12_1 depends on executable: gmake - not found
===> Installing existing package /packages/All/gmake-4.2.1_1.txz
[head-amd64-default-job-10] Installing gmake-4.2.1_1...
[head-amd64-default-job-10] `-- Installing gettext-runtime-0.19.8.1_1...
[head-amd64-default-job-10] | `-- Installing indexinfo-0.2.6...
[head-amd64-default-job-10] | `-- Extracting indexinfo-0.2.6: .... done
[head-amd64-default-job-10] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-amd64-default-job-10] Extracting gmake-4.2.1_1: .......... done
===> CalculiX-CalculiX-2.12_1 depends on executable: gmake - found
===> Returning to build of CalculiX-CalculiX-2.12_1
<snip>
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o write2foam.o write2foam.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o write2nas.o write2nas.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o write2samcef.o write2samcef.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o write2tochnog.o write2tochnog.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o writefbd.o writefbd.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o writebp.o writebp.c
writebp.c:113:87: warning: unknown escape sequence '\)' [-Wunknown-escape-sequence]
fprintf (handle2, "#%d=CARTESIAN_POINT\(\'%s\',\(%10.4lf,%10.4lf,%10.4lf\)\);\n", i+1,set[n].name,pnt[i].px,pnt[i].py,pnt[i].pz);
^~
writebp.c:113:89: warning: unknown escape sequence '\)' [-Wunknown-escape-sequence]
fprintf (handle2, "#%d=CARTESIAN_POINT\(\'%s\',\(%10.4lf,%10.4lf,%10.4lf\)\);\n", i+1,set[n].name,pnt[i].px,pnt[i].py,pnt[i].pz);
^~
2 warnings generated.
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o contact.o contact.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o makeTriFromElems.o makeTriFromElems.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/layerutil.o ../../glut-3.5/src/layerutil.c
./../glut-3.5/src/layerutil.c:136:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
} else if (lvinfo_template->layer != overlayInfo->layer)
^
./../glut-3.5/src/layerutil.c:142:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
} else if (lvinfo_template->type !=
^
./../glut-3.5/src/layerutil.c:150:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (lvinfo_template->value != overlayInfo->value)
^
3 warnings generated.
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_dials.o ../../glut-3.5/src/glut_dials.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_ext.o ../../glut-3.5/src/glut_ext.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_mesa.o ../../glut-3.5/src/glut_mesa.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_menu.o ../../glut-3.5/src/glut_menu.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_modifier.o ../../glut-3.5/src/glut_modifier.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_space.o ../../glut-3.5/src/glut_space.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_shapes.o ../../glut-3.5/src/glut_shapes.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_tablet.o ../../glut-3.5/src/glut_tablet.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_warp.o ../../glut-3.5/src/glut_warp.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_8x13.o ../../glut-3.5/src/glut_8x13.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_9x15.o ../../glut-3.5/src/glut_9x15.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_hel10.o ../../glut-3.5/src/glut_hel10.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_hel18.o ../../glut-3.5/src/glut_hel18.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_hel12.o ../../glut-3.5/src/glut_hel12.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_tr10.o ../../glut-3.5/src/glut_tr10.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_tr24.o ../../glut-3.5/src/glut_tr24.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_bitmap.o ../../glut-3.5/src/glut_bitmap.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_cursor.o ../../glut-3.5/src/glut_cursor.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_event.o ../../glut-3.5/src/glut_event.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_get.o ../../glut-3.5/src/glut_get.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_overlay.o ../../glut-3.5/src/glut_overlay.c
./../glut-3.5/src/glut_overlay.c:38:22: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
(1 << LEVEL) | (1 << TRANSPARENT) | (1 << XSTATICGRAY) | (1 << RGBA) | (1 << CI_MODE);
~~ ^~~~~~~~~~~
./../glut-3.5/src/glutint.h:140:45: note: expanded from macro 'TRANSPARENT'
#define TRANSPARENT NUM_GLXCAPS + 1
~~~~~~~~~~~~^~~
./../glut-3.5/src/glut_overlay.c:38:22: note: place parentheses around the '+' expression to silence this warning
(1 << LEVEL) | (1 << TRANSPARENT) | (1 << XSTATICGRAY) | (1 << RGBA) | (1 << CI_MODE);
^~~~~~~~~~~
./../glut-3.5/src/glutint.h:140:45: note: expanded from macro 'TRANSPARENT'
#define TRANSPARENT NUM_GLXCAPS + 1
~~~~~~~~~~~~^~~
./../glut-3.5/src/glut_overlay.c:38:43: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
(1 << LEVEL) | (1 << TRANSPARENT) | (1 << XSTATICGRAY) | (1 << RGBA) | (1 << CI_MODE);
~~ ^~~~~~~~~~~
./../glut-3.5/src/glutint.h:142:45: note: expanded from macro 'XSTATICGRAY'
#define XSTATICGRAY NUM_GLXCAPS + 3 /* Used as
~~~~~~~~~~~~^~~
./../glut-3.5/src/glut_overlay.c:38:43: note: place parentheses around the '+' expression to silence this warning
(1 << LEVEL) | (1 << TRANSPARENT) | (1 << XSTATICGRAY) | (1 << RGBA) | (1 << CI_MODE);
^~~~~~~~~~~
./../glut-3.5/src/glutint.h:142:45: note: expanded from macro 'XSTATICGRAY'
#define XSTATICGRAY NUM_GLXCAPS + 3 /* Used as
~~~~~~~~~~~~^~~
./../glut-3.5/src/glut_overlay.c:38:78: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
(1 << LEVEL) | (1 << TRANSPARENT) | (1 << XSTATICGRAY) | (1 << RGBA) | (1 << CI_MODE);
~~ ^~~~~~~
./../glut-3.5/src/glutint.h:161:42: note: expanded from macro 'CI_MODE'
#define CI_MODE NUM_CAPS + 2
~~~~~~~~~^~~
./../glut-3.5/src/glut_overlay.c:38:78: note: place parentheses around the '+' expression to silence this warning
(1 << LEVEL) | (1 << TRANSPARENT) | (1 << XSTATICGRAY) | (1 << RGBA) | (1 << CI_MODE);
^~~~~~~
./../glut-3.5/src/glutint.h:161:42: note: expanded from macro 'CI_MODE'
#define CI_MODE NUM_CAPS + 2
~~~~~~~~~^~~
3 warnings generated.
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_input.o ../../glut-3.5/src/glut_input.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_stroke.o ../../glut-3.5/src/glut_stroke.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_teapot.o ../../glut-3.5/src/glut_teapot.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_winmisc.o ../../glut-3.5/src/glut_winmisc.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_fullscrn.o ../../glut-3.5/src/glut_fullscrn.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_cindex.o ../../glut-3.5/src/glut_cindex.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_roman.o ../../glut-3.5/src/glut_roman.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_mroman.o ../../glut-3.5/src/glut_mroman.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_swidth.o ../../glut-3.5/src/glut_swidth.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_bwidth.o ../../glut-3.5/src/glut_bwidth.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_win.o ../../glut-3.5/src/glut_win.c
./../glut-3.5/src/glut_win.c:48:62: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
static int requiredWindowCriteriaMask = (1 << LEVEL) | (1 << TRANSPARENT);
~~ ^~~~~~~~~~~
./../glut-3.5/src/glutint.h:140:45: note: expanded from macro 'TRANSPARENT'
#define TRANSPARENT NUM_GLXCAPS + 1
~~~~~~~~~~~~^~~
./../glut-3.5/src/glut_win.c:48:62: note: place parentheses around the '+' expression to silence this warning
static int requiredWindowCriteriaMask = (1 << LEVEL) | (1 << TRANSPARENT);
^~~~~~~~~~~
./../glut-3.5/src/glutint.h:140:45: note: expanded from macro 'TRANSPARENT'
#define TRANSPARENT NUM_GLXCAPS + 1
~~~~~~~~~~~~^~~
1 warning generated.
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_init.o ../../glut-3.5/src/glut_init.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o ../../glut-3.5/src/glut_util.o ../../glut-3.5/src/glut_util.c
cc -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -c -o userFunction.o userFunction.c
userFunction.c:2118:42: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sprintf( lcase[l].dataset_name,lcase[lmax].dataset_name);
^~~~~~~~~~~~~~~~~~~~~~~~
userFunction.c:2118:42: note: treat the string as an argument to avoid this
sprintf( lcase[l].dataset_name,lcase[lmax].dataset_name);
^
"%s",
1 warning generated.
c++ userFunction.o AsplitA.o AsplitL.o adjustMidsideNode.o compareStrings.o XFunktions.o badelems.o bodyMesh2.o bsort.o bsortf.o bsorti.o calcNormalen.o calcPrinc.o calcPvector.o calcWeight.o checkIfNumber.o cgx.o compare.o copyEntity.o corrad.o dataGeo.o dataMesh.o defineEntity.o dispLists.o elemChecker.o extFunktions.o extGL.o fillBody2.o frecord.o foamFaces.o fuss.o gl3grades.o getGeoDataTria.o graph.o ifind.o iinsert.o improveBadTr3.o improveMesh.o iniMeshData.o intpol.o intpol2.o intpol3.o iremove.o linelength.o m_copy.o m_sub.o mergEntity.o mesh2d.o meshSet.o meshSurf.o messages.o near3d.o nurbl2seq.o orient.o p_angle.o parser.o pickFunktions.o plotFunktions.o readAnsysList.o readEdges.o readfrd.o readFoam.o readStdCmap.o readStl.o readccx.o readDuns.o readNastran.o readNG.o readIsaac.o readstep.o readWf.o rectcyl.o renumberfrd.o selectDisplayFaces.o sendMpc.o sendSet.o setFunktions.o shapeFunctions.o spline.o splitElementsToTets.o stof.o stoi.o stopClock.o stos.o strfind.o s
trsplt.o sins.o surfMesh2.o sword.o trackball.o v_distA.o v_rec2cyl.o v_add.o v_angle.o v_angle_ref.o v_betrag.o v_matmult.o v_norm.o v_prod.o v_result.o v_scal.o v_rot.o v_sprod.o m_prod.o m_prodtr.o write2aba.o write2ansys.o write2aster.o write2darwin.o write2dolfyn.o write2isaac.o write2duns.o write2frd.o write2foam.o write2nas.o write2samcef.o write2tochnog.o writefbd.o writebp.o contact.o makeTriFromElems.o ../../glut-3.5/src/layerutil.o ../../glut-3.5/src/glut_dials.o ../../glut-3.5/src/glut_ext.o ../../glut-3.5/src/glut_mesa.o ../../glut-3.5/src/glut_menu.o ../../glut-3.5/src/glut_modifier.o ../../glut-3.5/src/glut_space.o ../../glut-3.5/src/glut_shapes.o ../../glut-3.5/src/glut_tablet.o ../../glut-3.5/src/glut_warp.o ../../glut-3.5/src/glut_8x13.o ../../glut-3.5/src/glut_9x15.o ../../glut-3.5/src/glut_hel10.o ../../glut-3.5/src/glut_hel18.o ../../glut-3.5/src/glut_hel12.o ../../glut-3.5/src/glut_tr10.o ../../glut-3.5/src/glut_tr24.o ../../glut-3.5/src/glut_bitmap.o ../../glu
t-3.5/src/glut_cursor.o ../../glut-3.5/src/g!
lut_event.o ../../glut-3.5/src/glut_get.o ../../glut-3.5/src/glut_overlay.o ../../glut-3.5/src/glut_input.o ../../glut-3.5/src/glut_stroke.o ../../glut-3.5/src/glut_teapot.o ../../glut-3.5/src/glut_winmisc.o ../../glut-3.5/src/glut_fullscrn.o ../../glut-3.5/src/glut_cindex.o ../../glut-3.5/src/glut_roman.o ../../glut-3.5/src/glut_mroman.o ../../glut-3.5/src/glut_swidth.o ../../glut-3.5/src/glut_bwidth.o ../../glut-3.5/src/glut_win.o ../../glut-3.5/src/glut_init.o ../../glut-3.5/src/glut_util.o uselibSNL.cpp generateTet.cpp ../../libSNL/src/*.cpp -O2 -Wall -I./ -I/usr/include -I/usr/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -I/usr/local/include -L/usr/local/lib -lGL -lGLU -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE -lm -lpthread -lrt -o cgx
In file included from uselibSNL.cpp:35:
In file included from ../../libSNL/src/snlSurface.h:20:
In file included from ../../libSNL/src/snlCurve.h:25:
In file included from ../../libSNL/src/snlCurveBase.h:23:
./../libSNL/src/snlKnotVector.h:115:18: error: too few arguments provided to function-like macro invocation
knot max() const; // Max knot val.
^
./extUtil.h:56:9: note: macro 'max' defined here
#define max(a,b) ((a) >= (b) ? (a) : (b))
^
In file included from uselibSNL.cpp:35:
In file included from ../../libSNL/src/snlSurface.h:20:
In file included from ../../libSNL/src/snlCurve.h:25:
In file included from ../../libSNL/src/snlCurveBase.h:23:
./../libSNL/src/snlKnotVector.h:115:17: error: expected ';' at end of declaration list
knot max() const; // Max knot val.
^
;
./../libSNL/src/snlKnotVector.h:116:18: error: too few arguments provided to function-like macro invocation
knot min() const; // Min knot val.
^
./extUtil.h:55:9: note: macro 'min' defined here
#define min(a,b) ((a) <= (b) ? (a) : (b))
^
In file included from uselibSNL.cpp:35:
In file included from ../../libSNL/src/snlSurface.h:20:
In file included from ../../libSNL/src/snlCurve.h:25:
In file included from ../../libSNL/src/snlCurveBase.h:23:
./../libSNL/src/snlKnotVector.h:116:17: error: expected ';' at end of declaration list
knot min() const; // Min knot val.
^
;
In file included from uselibSNL.cpp:35:
In file included from ../../libSNL/src/snlSurface.h:27:
./../libSNL/src/ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
uselibSNL.cpp:173:11: warning: unused variable 'resWeight' [-Wunused-variable]
double *resWeight = NULL;
^
uselibSNL.cpp:172:11: warning: unused variable 'resKnot' [-Wunused-variable]
double *resKnot = NULL;
^
uselibSNL.cpp:1879:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
delSet("-tmp");
^
uselibSNL.cpp:1880:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
pntset=pre_seta("-tmp1","i",0);
^
uselibSNL.cpp:1880:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
pntset=pre_seta("-tmp1","i",0);
^
uselibSNL.cpp:1886:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
getNewName( buffer, "p" );
^
uselibSNL.cpp:1890:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
seta(pntset,"p",p);
^
uselibSNL.cpp:1898:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
ipax1=pnt( "+pax11",cg_sphere[0],cg_sphere[1],cg_sphere[2], 0 );
^
uselibSNL.cpp:1899:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
ipax2=pnt( "+pax12",pax1[0],pax1[1],pax1[2], 0 );
^
uselibSNL.cpp:1908:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
ipax1=pnt( "+pax21",cg_sphere[0],cg_sphere[1],cg_sphere[2], 0 );
^
uselibSNL.cpp:1909:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
ipax2=pnt( "+pax22",pax2[0],pax2[1],pax2[2], 0 );
^
uselibSNL.cpp:1929:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
delSet("-tmp1");
^
13 warnings and 4 errors generated.
gmake[1]: *** [Makefile:69: cgx] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/cad/calculix/work/CalculiX/cgx_2.12/src'
*** Error code 2
Stop.
make: stopped in /usr/ports/cad/calculix
More information about the freebsd-pkg-fallout
mailing list