Date: Wed, 12 Apr 2017 01:20:23 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][graphics/mandelbulber] Failed for mandelbulber-1.13.1_1 in build Message-ID: <201704120120.v3C1KNYS014090@beefy8.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: amdmi3@FreeBSD.org Last committer: amdmi3@FreeBSD.org Ident: $FreeBSD: head/graphics/mandelbulber/Makefile 387476 2015-05-26 13:32:36Z amdmi3 $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p437978_s316629/logs/mandelbulber-1.13.1_1.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p437978_s316629 Log: ====>> Building graphics/mandelbulber build started at Wed Apr 12 01:12:39 UTC 2017 port directory: /usr/ports/graphics/mandelbulber building for: FreeBSD head-armv6-default-job-12 12.0-CURRENT FreeBSD 12.0-CURRENT r316629 arm maintained by: amdmi3@FreeBSD.org Makefile ident: $FreeBSD: head/graphics/mandelbulber/Makefile 387476 2015-05-26 13:32:36Z amdmi3 $ Poudriere version: 3.1.17-3-g2420c0c3 Host OSVERSION: 1200020 Jail OSVERSION: 1200027 Job Id: 12 !!! Jail is newer than host. (Jail: 1200027, Host: 1200020) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1200027 UNAME_v=FreeBSD 12.0-CURRENT r316629 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref QEMU_EMULATING=1 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=mandelbulber-1.13.1_1 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool MASTERNAME=head-armv6-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.17-3-g2420c0c3 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/mandelbulber/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/mandelbulber/work HOME=/wrkdirs/usr/ports/graphics/mandelbulber/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/mandelbulber/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/mandelbulber/work HOME=/wrkdirs/usr/ports/graphics/mandelbulber/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\\\"/usr/local/share/mandelbulber\\\"" 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-- GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/mandelbulber" EXAMPLESDIR="share/examples/mandelbulber" DATADIR="share/mandelbulber" WWWDIR="www/mandelbulber" ETCDIR="etc/mandelbulber" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mandelbulber DOCSDIR=/usr/local/share/doc/mandelbulber EXAMPLESDIR=/usr/local/share/examples/mandelbulber WWWDIR=/usr/local/www/mandelbulber ETCDIR=/usr/local/etc/mandelbulber --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MACHINE=arm MACHINE_ARCH=armv6 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### ARCH=armv6 CONFIGURE_MAX_CMD_LEN=262144 OPSYS=FreeBSD OSREL=12.0 OSVERSION=1200027 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--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ AS=/nxb-bin/usr/bin/as NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed READELF=/nxb-bin/usr/bin/readelf RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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 GPLv3 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> mandelbulber-1.13.1_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.1.txz [head-armv6-default-job-12] Installing pkg-1.10.1... [head-armv6-default-job-12] Extracting pkg-1.10.1: .......... done ===> mandelbulber-1.13.1_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mandelbulber-1.13.1_1 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by mandelbulber-1.13.1_1 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by mandelbulber-1.13.1_1 for building => SHA256 Checksum OK for mandelbulber1.13-1.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by mandelbulber-1.13.1_1 for building ===> Extracting for mandelbulber-1.13.1_1 => SHA256 Checksum OK for mandelbulber1.13-1.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for mandelbulber-1.13.1_1 <snip> netRender->sendDataToServer(lineOfImage, sizeof(sAllImageData)*(width+1),"GET"); ^ ./src/Render3D.cpp:1379:96: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] netRender->sendDataToServer(lineOfImageLowMem, sizeof(sAllImageDataLowMem)*(width+1),"GET"); ^ ./src/Render3D.cpp:1388:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] netRender->sendDataToServer(NULL,0,"GET"); ^ ./src/Render3D.cpp:1511:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] netRender->sendDataToClient(NULL, 0, "stp", i, param.fractal.frameNo); ^ ./src/Render3D.cpp:1774:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init(NULL); ^ /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: 'g_thread_init' has been explicitly marked deprecated here void g_thread_init (gpointer vtable); ^ 10 warnings generated. Finished building: ../src/Render3D.cpp Building file: ../src/algebra.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/algebra.d" -MT"src/algebra.d" -o"src/algebra.o" "../src/algebra.cpp" Finished building: ../src/algebra.cpp Building file: ../src/callbacks.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/callbacks.d" -MT"src/callbacks.d" -o"src/callbacks.o" "../src/callbacks.cpp" ./src/callbacks.cpp:443:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] netRender->sendDataToClient(NULL, 0, "stp", i, 0); ^ ./src/callbacks.cpp:2503:7: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete buffer; ^ [] ./src/callbacks.cpp:2498:22: note: allocated with 'new[]' here char *buffer = new char[size]; ^ 2 warnings generated. Finished building: ../src/callbacks.cpp Building file: ../src/cimage.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/cimage.d" -MT"src/cimage.d" -o"src/cimage.o" "../src/cimage.cpp" Finished building: ../src/cimage.cpp Building file: ../src/common_math.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/common_math.d" -MT"src/common_math.d" -o"src/common_math.o" "../src/common_math.cpp" Finished building: ../src/common_math.cpp Building file: ../src/database.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/database.d" -MT"src/database.d" -o"src/database.o" "../src/database.cpp" Finished building: ../src/database.cpp Building file: ../src/files.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/files.d" -MT"src/files.d" -o"src/files.o" "../src/files.cpp" Finished building: ../src/files.cpp Building file: ../src/fractal.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/fractal.d" -MT"src/fractal.d" -o"src/fractal.o" "../src/fractal.cpp" Finished building: ../src/fractal.cpp Building file: ../src/image.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/image.d" -MT"src/image.d" -o"src/image.o" "../src/image.cpp" ./src/image.cpp:454:15: warning: 'g_thread_create' is deprecated [-Wdeprecated-declarations] Thread[i] = g_thread_create((GThreadFunc) ThreadSSAO, &thread_param[i], TRUE, &err[i]); ^ /usr/local/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: 'g_thread_create' has been explicitly marked deprecated here GThread *g_thread_create (GThreadFunc func, ^ 1 warning generated. Finished building: ../src/image.cpp Building file: ../src/interface.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/interface.d" -MT"src/interface.d" -o"src/interface.o" "../src/interface.cpp" Finished building: ../src/interface.cpp Building file: ../src/morph.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/morph.d" -MT"src/morph.d" -o"src/morph.o" "../src/morph.cpp" Finished building: ../src/morph.cpp Building file: ../src/primitives.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/primitives.d" -MT"src/primitives.d" -o"src/primitives.o" "../src/primitives.cpp" Finished building: ../src/primitives.cpp Building file: ../src/settings.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/settings.d" -MT"src/settings.d" -o"src/settings.o" "../src/settings.cpp" Finished building: ../src/settings.cpp Building file: ../src/shaders.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/shaders.d" -MT"src/shaders.d" -o"src/shaders.o" "../src/shaders.cpp" Finished building: ../src/shaders.cpp Building file: ../src/texture.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/texture.d" -MT"src/texture.d" -o"src/texture.o" "../src/texture.cpp" Finished building: ../src/texture.cpp Building file: ../src/timeline.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/timeline.d" -MT"src/timeline.d" -o"src/timeline.o" "../src/timeline.cpp" Finished building: ../src/timeline.cpp Building file: ../src/undo.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/undo.d" -MT"src/undo.d" -o"src/undo.o" "../src/undo.cpp" Finished building: ../src/undo.cpp Building file: ../src/cl_support.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/cl_support.d" -MT"src/cl_support.d" -o"src/cl_support.o" "../src/cl_support.cpp" Finished building: ../src/cl_support.cpp Building file: ../src/netrender.cpp Invoking: GCC C++ Compiler /nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -DSHARED_DIR=\"/usr/local/share/mandelbulber\" -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/netrender.d" -MT"src/netrender.d" -o"src/netrender.o" "../src/netrender.cpp" ./src/netrender.cpp:177:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sendDataToServer(&version, len, "VER"); ^ ./src/netrender.cpp:190:52: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sendDataToServer(&noOfCPUs, sizeof(noOfCPUs), "CPU"); ^ ./src/netrender.cpp:198:9: warning: variable 'serverVersion' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(recvd_bytes == sizeof(int)) GetData(&serverVersion); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/netrender.cpp:199:61: note: uninitialized use occurs here printf("Client version refused. Server version is %f\n", serverVersion/1000.0); ^~~~~~~~~~~~~ ./src/netrender.cpp:198:6: note: remove the 'if' if its condition is always true if(recvd_bytes == sizeof(int)) GetData(&serverVersion); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/netrender.cpp:197:23: note: initialize the variable 'serverVersion' to silence this warning int serverVersion; ^ = 0 ./src/netrender.cpp:317:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sendDataToClient(NULL, 0, "ver", clientIndex-1, 0); ^ ./src/netrender.cpp:330:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sendDataToClient(NULL, 0, "ok.", clientIndex-1, 0); ^ ./src/netrender.cpp:333:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sendDataToClient(NULL, 0, "cpu", clientIndex-1, 0); ^ ./src/netrender.cpp:350:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sendDataToClient(&version, sizeof(version), "bad", clientIndex-1, 0); ^ ./src/netrender.cpp:320:6: warning: variable 'clientVersion' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(!strcmp("VER", command) && recvd_bytes == sizeof(int)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/netrender.cpp:325:6: note: uninitialized use occurs here if(clientVersion == version) ^~~~~~~~~~~~~ ./src/netrender.cpp:320:3: note: remove the 'if' if its condition is always true if(!strcmp("VER", command) && recvd_bytes == sizeof(int)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/netrender.cpp:320:6: warning: variable 'clientVersion' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] if(!strcmp("VER", command) && recvd_bytes == sizeof(int)) ^~~~~~~~~~~~~~~~~~~~~~~ ./src/netrender.cpp:325:6: note: uninitialized use occurs here if(clientVersion == version) ^~~~~~~~~~~~~ ./src/netrender.cpp:320:6: note: remove the '&&' if its condition is always true if(!strcmp("VER", command) && recvd_bytes == sizeof(int)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/netrender.cpp:316:20: note: initialize the variable 'clientVersion' to silence this warning int clientVersion; ^ = 0 9 warnings generated. Finished building: ../src/netrender.cpp Building target: mandelbulber Invoking: GCC C++ Linker /nxb-bin/usr/bin/c++ -o"mandelbulber" -L/usr/local/lib ./src/Render3D.o ./src/algebra.o ./src/callbacks.o ./src/cimage.o ./src/common_math.o ./src/database.o ./src/files.o ./src/fractal.o ./src/image.o ./src/interface.o ./src/morph.o ./src/primitives.o ./src/settings.o ./src/shaders.o ./src/texture.o ./src/timeline.o ./src/undo.o ./src/cl_support.o ./src/netrender.o -lgthread-2.0 -lrt -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lpng -ljpeg ./src/Render3D.o: In function `MainThread(void*)': ./src/Render3D.cpp:(.text+0x2f0): undefined reference to `sincos' ./src/Render3D.cpp:(.text+0x4e0): undefined reference to `sincos' ./src/Render3D.cpp:(.text+0x4f0): undefined reference to `sincos' ./src/Render3D.o: In function `MainRender()': ./src/Render3D.cpp:(.text+0x852c): undefined reference to `sincos' ./src/Render3D.cpp:(.text+0x8540): undefined reference to `sincos' ./src/algebra.o:../src/algebra.cpp:(.text+0x2f4): more undefined references to `sincos' follow c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [makefile:47: mandelbulber] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/mandelbulber/work/mandelbulber1.13-1/makefiles' *** Error code 1 Stop. make: stopped in /usr/ports/graphics/mandelbulber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704120120.v3C1KNYS014090>