[package - main-amd64-default][cad/magic] Failed for magic-8.3.315 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Dec 2023 06:51:00 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: yuri@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p1dd4264fe4a8_s59dba901f2/logs/magic-8.3.315.log
Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p1dd4264fe4a8_s59dba901f2
Log:
=>> Building cad/magic
build started at Fri Dec 15 06:49:49 UTC 2023
port directory: /usr/ports/cad/magic
package name: magic-8.3.315
building for: FreeBSD main-amd64-default-job-08 15.0-CURRENT FreeBSD 15.0-CURRENT 1500007 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 2074 Jun 29 01:01 /usr/ports/cad/magic/Makefile
Ports top last git commit: 1dd4264fe4a
Ports top unclean checkout: no
Port dir last git commit: 3d9a815d9c5
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1500007
Job Id: 08
!!! Jail is newer than host. (Jail: 1500007, Host: 1500006) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500007
UNAME_v=FreeBSD 15.0-CURRENT 1500007
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/08/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
---End OPTIONS List---
--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--with-opengl --exec-prefix=/usr/local --with-tcl=/usr/local/lib/tcl8.6 --with-tclinclude=/usr/local/include/tcl8.6 --with-tk=/usr/local/lib/tk8.6 --with-tkinclude=/usr/local/include/tk8.6 --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/cad/magic/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/magic/work XDG_CACHE_HOME=/wrkdirs/usr/ports/cad/magic/work/.cache HOME=/wrkdirs/usr/ports/cad/magic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/magic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/cad/magic/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/cad/magic/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/magic/work XDG_CACHE_HOME=/wrkdirs/usr/ports/cad/magic/work/.cache HOME=/wrkdirs/usr/ports/cad/magic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/magic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/cad/magic/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -isystem /usr/local/in
clude -fno-strict-aliasing -isystem /usr/local/include " 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" GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" TCL_PKG=magic8.3.315 OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/magic" EXAMPLESDIR="share/examples/magic" DATADIR="share/magic" WWWDIR="www/magic" ETCDIR="etc/magic"
--End PLIST_SUB--
--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/magic DOCSDIR=/usr/local/share/doc/magic EXAMPLESDIR=/usr/local/share/examples/magic WWWDIR=/usr/local/www/magic ETCDIR=/usr/local/etc/magic
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---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) 8192
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 >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> magic-8.3.315 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.20.9.pkg
[main-amd64-default-job-08] Installing pkg-1.20.9...
[main-amd64-default-job-08] Extracting pkg-1.20.9: .......... done
===> magic-8.3.315 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of magic-8.3.315
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===> Fetching all distfiles required by magic-8.3.315 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===> Fetching all distfiles required by magic-8.3.315 for building
=> SHA256 Checksum OK for magic-8.3.315.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===> Fetching all distfiles required by magic-8.3.315 for building
===> Extracting for magic-8.3.315
=> SHA256 Checksum OK for magic-8.3.315.tgz.
===========================================================================
=======================<phase: patch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Patching for magic-8.3.315
===> Applying FreeBSD patches for magic-8.3.315 from /usr/ports/cad/magic/files
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> magic-8.3.315 depends on package: gmake>=4.3 - not found
===> Installing existing package /packages/All/gmake-4.3_2.pkg
[main-amd64-default-job-08] Installing gmake-4.3_2...
[main-amd64-default-job-08] `-- Installing gettext-runtime-0.22.3...
[main-amd64-default-job-08] | `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-08] | `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-08] `-- Extracting gettext-runtime-0.22.3: .......... done
[main-amd64-default-job-08] Extracting gmake-4.3_2: .......... done
===> magic-8.3.315 depends on package: gmake>=4.3 - found
===> Returning to build of magic-8.3.315
===> magic-8.3.315 depends on file: /usr/local/bin/python3.9 - not found
===> Installing existing package /packages/All/python39-3.9.18.pkg
[main-amd64-default-job-08] Installing python39-3.9.18...
[main-amd64-default-job-08] `-- Installing libffi-3.4.4...
[main-amd64-default-job-08] `-- Extracting libffi-3.4.4: .......... done
[main-amd64-default-job-08] `-- Installing mpdecimal-2.5.1...
<snip>
| ^
tclmagic.c:414:35: warning: passing arguments to 'WindSearchWid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
414 | MagWindow *mw = WindSearchWid(TxGetPoint(NULL));
| ^
tclmagic.c:416:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
416 | tkwind = (*GrWindowNamePtr)(mw);
| ^
tclmagic.c:458:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
458 | id = (*GrWindowIdPtr)(argv[0]);
| ^
tclmagic.c:460:16: warning: passing arguments to 'TxGetPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
460 | if (TxGetPoint(&txp) != id)
| ^
tclmagic.c:468:12: warning: passing arguments to 'TxSetPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
468 | TxSetPoint(txp.p_x, txp.p_y, id);
| ^
tclmagic.c:474:18: warning: passing arguments to 'TxTclDispatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
474 | TxTclDispatch(clientData, argc, argv, FALSE);
| ^
tclmagic.c:538:9: warning: call to undeclared function 'mainInitBeforeArgs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
538 | if (mainInitBeforeArgs(argc, argv) != 0) goto magicfatal;
| ^
tclmagic.c:539:9: warning: call to undeclared function 'mainDoArgs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
539 | if (mainDoArgs(argc, argv) != 0) goto magicfatal;
| ^
tclmagic.c:560:9: warning: call to undeclared function 'mainInitAfterArgs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
560 | if (mainInitAfterArgs() != 0) goto magicfatal;
| ^
tclmagic.c:573:36: warning: passing arguments to 'WindNextClient' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
573 | while ((client = WindNextClient(client)) != NULL)
| ^
tclmagic.c:575:36: warning: passing arguments to 'WindGetCommandTable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
575 | commandTable = WindGetCommandTable(client);
| ^
tclmagic.c:589:20: warning: passing arguments to 'RegisterTkCommands' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
589 | RegisterTkCommands(interp);
| ^
tclmagic.c:740:9: warning: call to undeclared function 'mainInitFinal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
740 | if (mainInitFinal() != 0)
| ^
tclmagic.c:757:13: warning: passing arguments to 'TxSetPrompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
757 | TxSetPrompt('%');
| ^
tclmagic.c:809:24: warning: passing arguments to 'Tcl_escape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
809 | newstr = Tcl_escape(prompt);
| ^
tclmagic.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
794 | TxDialog(prompt, responses, defresp)
| ^
In file included from tclmagic.c:40:
../textio/textio.h:76: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]
76 | extern int TxDialog();
| ^
tclmagic.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
857 | TxSetPrompt(ch)
| ^
In file included from tclmagic.c:40:
../textio/textio.h:79:13: 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]
79 | extern void TxSetPrompt();
| ^
tclmagic.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
877 | TxGetLinePfix(dest, maxChars, prefix)
| ^
tclmagic.c:947:2: warning: call to undeclared function 'txGetFileCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
947 | txGetFileCommand(f, NULL);
| ^
tclmagic.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
932 | TxDispatch(f)
| ^
In file included from tclmagic.c:41:
../textio/txcommands.h:156:13: 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]
156 | extern void TxDispatch();
| ^
tclmagic.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
957 | TxParseString(str, q, event)
| ^
In file included from tclmagic.c:41:
../textio/txcommands.h:155:13: 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]
155 | extern void TxParseString();
| ^
tclmagic.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
1124 | Tcl_escape(instring)
| ^
In file included from tclmagic.c:29:
../tcltk/tclmagic.h:24:14: 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]
24 | extern char *Tcl_escape();
| ^
tclmagic.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
1174 | TerminalInputProc(instanceData, buf, toRead, errorCodePtr)
| ^
tclmagic.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
1223 | Tclmagic_Init(interp)
| ^
tclmagic.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
1281 | Tclmagic_SafeInit(interp)
| ^
40 warnings generated.
--- linking libtcltk.o
rm -f libtcltk.o
/usr/bin/ld -r tclmagic.o -o libtcltk.o
gmake[2]: Leaving directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/tcltk'
gmake[2]: Entering directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/magic'
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
--- compiling magic/magicTop.o
rm -f magicTop.o
cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wimplicit-int -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I. -I.. -isystem /usr/local/include -DCAD_DIR=\"/usr/local/lib\" -DBIN_DIR=\"/usr/local/bin\" -DTCL_DIR=\"/usr/local/lib/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_ZLIB=1 -DFILE_LOCKS=1 -DCALMA_MOD
ULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -DMAGIC_VERSION=\"`cat ../VERSION | cut -d. -f1-2`\" -DMAGIC_REVISION=\"`cat ../VERSION | cut -d. -f3`\" -DMAGIC_COMMIT=\"`git rev-parse HEAD`\" -DGCORE=\"/usr/bin/gcore\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DMAGIC_DATE="\"`date`\"" -DCAD_DIR="/usr/local/lib" -c magicTop.c
/bin/sh: git: not found
In file included from <built-in>:383:
<command line>:56:9: warning: 'CAD_DIR' macro redefined [-Wmacro-redefined]
56 | #define CAD_DIR /usr/local/lib
| ^
<command line>:1:9: note: previous definition is here
1 | #define CAD_DIR "/usr/local/lib"
| ^
magicTop.c:53:5: warning: call to undeclared function 'magicMain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
53 | magicMain(argc, argv);
| ^
magicTop.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
49 | main(argc, argv)
| ^
3 warnings generated.
--- linking libmagic.o
rm -f libmagic.o
/usr/bin/ld -r magicTop.o -o libmagic.o
gmake[2]: Leaving directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/magic'
gmake[2]: Entering directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/net2ir'
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
--- compiling net2ir/net2ir.o
rm -f net2ir.o
cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wimplicit-int -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I. -I.. -isystem /usr/local/include -DCAD_DIR=\"/usr/local/lib\" -DBIN_DIR=\"/usr/local/bin\" -DTCL_DIR=\"/usr/local/lib/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_ZLIB=1 -DFILE_LOCKS=1 -DCALMA_MOD
ULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -DMAGIC_VERSION=\"`cat ../VERSION | cut -d. -f1-2`\" -DMAGIC_REVISION=\"`cat ../VERSION | cut -d. -f3`\" -DMAGIC_COMMIT=\"`git rev-parse HEAD`\" -DGCORE=\"/usr/bin/gcore\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c net2ir.c
/bin/sh: git: not found
net2ir.c:123:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
123 | if (cp = strchr(line1, '\n'))
| ~~~^~~~~~~~~~~~~~~~~~~~~
net2ir.c:123:9: note: place parentheses around the assignment to silence this warning
123 | if (cp = strchr(line1, '\n'))
| ^
| ( )
net2ir.c:123:9: note: use '==' to turn this assignment into an equality comparison
123 | if (cp = strchr(line1, '\n'))
| ^
| ==
net2ir.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
49 | main(argc, argv)
| ^
2 warnings generated.
--- linking libnet2ir.o
rm -f libnet2ir.o
/usr/bin/ld -r net2ir.o -o libnet2ir.o
gmake[2]: Leaving directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/net2ir'
gmake[2]: Entering directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/tcltk'
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
gmake[2]: Nothing to be done for 'module'.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/tcltk'
--- making Tcl shared libraries
for dir in magic net2ir tcltk; do \
(cd $dir && gmake tcl-main) || exit 1; done
gmake[2]: Entering directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/magic'
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
/wrkdirs/usr/ports/cad/magic/work/.bin/python3 ../scripts/preproc.py -ccomm -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -DCAD_DIR=\"/usr/local/lib\" -DBIN_DIR=\"/usr/local/bin\" -DTCL_DIR=\"/usr/local/lib/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_ZLIB=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=
1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -DMAGIC_VERSION=\"`cat ../VERSION | cut -d. -f1-2`\" -DMAGIC_REVISION=\"`cat ../VERSION | cut -d. -f3`\" -DMAGIC_COMMIT=\"`git rev-parse HEAD`\" -DGCORE=\"/usr/bin/gcore\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DMAGIC_DATE="\"`date`\"" -DCAD_DIR="/usr/local/lib" proto.magicrc.in > proto.magicrc
--- making magic Tcl library (tclmagic.so)
rm -f tclmagic.so
cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wimplicit-int -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I. -I.. -isystem /usr/local/include -o tclmagic.so -fstack-protector-strong -L/usr/local/lib -shared -L/usr/local/lib -L/usr/local/lib -ltkstub86 -L/usr/local/lib -ltclstub86 -Wl,--version-script=../magic/symbol.map \
../bplane/libbplane.o ../cmwind/libcmwind.o ../commands/libcommands.o ../database/libdatabase.o ../dbwind/libdbwind.o ../drc/libdrc.o ../debug/libdebug.o ../extract/libextract.o ../graphics/libgraphics.o ../select/libselect.o ../textio/libtextio.o ../tiles/libtiles.o ../windows/libwindows.o ../wiring/libwiring.o ../resis/libresis.o ../sim/libsim.o ../netmenu/libnetmenu.o ../plow/libplow.o ../utils/libutils.o ../ext2sim/libext2sim.o ../ext2spice/libext2spice.o ../calma/libcalma.o ../cif/libcif.o ../plot/libplot.o ../lef/liblef.o ../extflat/libextflat.o ../garouter/libgarouter.o ../mzrouter/libmzrouter.o ../router/librouter.o ../irouter/libirouter.o ../grouter/libgrouter.o ../gcr/libgcr.o ../tcltk/libtcltk.o \
-lc -lX11 -lGL -lGLU -lXi -lXmu -lXext -lm -lcairo -lfontconfig -lfreetype -L/usr/local/lib -lm -lz -L/usr/local/lib -L/usr/local/lib -ltkstub86 -L/usr/local/lib -ltclstub86 -fstack-protector-strong -L/usr/local/lib
/bin/sh: git: not found
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'Exttosim_Init' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'Exttospice_Init' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'Tclplot_Init' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'Tclroute_Init' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'Magiclef_Init' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'CmdFuncs' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'CmdLongCommands' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DBImageBits' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DBPaintPlane' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DBTechMinSetPlanes' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DBTechSubsetLayers' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DIMaxInt' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DIZero' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DRCRulesTbl' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DoubleMultI' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DoubleMultII' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DoubleString' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'DoubleToDFloat' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'GrFastBox' failed: symbol not defined
ld: error: version script assignment of 'MAGIC_8.0' to symbol 'HeapAddDInt' failed: symbol not defined
ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:47: tclmagic.so] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315/magic'
gmake[1]: *** [Makefile:38: tcllibrary] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/cad/magic/work/magic-8.3.315'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/cad/magic