[package - 130releng-armv7-quarterly][graphics/lua-gd] Failed for lua-gd-2.0.33r2_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 21 Sep 2021 14:45:51 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:     sergey.dyatko@gmail.com
Log URL:        http://beefy12.nyi.freebsd.org/data/130releng-armv7-quarterly/6f789144f1ab/logs/lua-gd-2.0.33r2_5.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=130releng-armv7-quarterly&build=6f789144f1ab
Log:

=>> Building graphics/lua-gd
build started at Tue Sep 21 14:45:32 UTC 2021
port directory: /usr/ports/graphics/lua-gd
package name: lua-gd-2.0.33r2_5
building for: FreeBSD 130releng-armv7-quarterly-job-13 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 1300139 arm
maintained by: sergey.dyatko@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400003
Jail OSVERSION: 1300139
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p4 1300139
UNAME_r=13.0-RELEASE-p4
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
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/130releng-armv7-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-armv7-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-armv7-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=lua51
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=lua51
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for lua-gd-2.0.33r2_5:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
sergey.dyatko@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51  HOME=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
LUA_MODLIBDIR=/usr/local/lib/lua/5.1  LUA_MODSHAREDIR=/usr/local/share/lua/5.1  LUA_MODDOCSDIR=/usr/local/share/doc/lua51  LUA_INCDIR=/usr/local/include/lua51  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.1  LUA_VER_STR=51 LUA_DOCSDIR=/usr/local/share/doc/lua51/lua-gd LUA_EXAMPLESDIR=/usr/local/share/examples/lua51/lua-gd XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51  HOME=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/lua-gd/work-lua51/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -I/usr/local/include/lua51 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -shared -L/usr/local/lib -lgd -L/usr/local/lib -llua-5.1 -
 lm -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -I/usr/local/include/lua51 -I/usr/local/include -fstack-protector-strong -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--
PORTDOCS="" PORTEXAMPLES="" LUA_MODLIBDIR=lib/lua/5.1  LUA_MODSHAREDIR=share/lua/5.1  LUA_MODDOCSDIR=share/doc/lua51  LUA_INCDIR=include/lua51  LUA_VER=5.1  LUA_VER_STR=51 LUA_DOCSDIR=share/doc/lua51/lua-gd LUA_EXAMPLESDIR=share/examples/lua51/lua-gd OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lua51/lua-gd"  EXAMPLESDIR="share/examples/lua51/lua-gd"  DATADIR="share/lua-gd"  WWWDIR="www/lua-gd"  ETCDIR="etc/lua-gd"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/lua-gd DOCSDIR=/usr/local/share/doc/lua51/lua-gd EXAMPLESDIR=/usr/local/share/examples/lua51/lua-gd  WWWDIR=/usr/local/www/lua-gd ETCDIR=/usr/local/etc/lua-gd
--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
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
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 ####
_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p4
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=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++
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
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   lua-gd-2.0.33r2_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130releng-armv7-quarterly-job-13] Installing pkg-1.16.3...
[130releng-armv7-quarterly-job-13] Extracting pkg-1.16.3: .......... done
===>   lua-gd-2.0.33r2_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of lua-gd-2.0.33r2_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by lua-gd-2.0.33r2_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by lua-gd-2.0.33r2_5 for building
=> SHA256 Checksum OK for lua-gd-2.0.33r2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by lua-gd-2.0.33r2_5 for building
===>  Extracting for lua-gd-2.0.33r2_5
=> SHA256 Checksum OK for lua-gd-2.0.33r2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for lua-gd-2.0.33r2_5
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   lua-gd-2.0.33r2_5 depends on shared library: libgd.so - not found
===>   Installing existing package /packages/All/libgd-2.3.1,1.txz
[130releng-armv7-quarterly-job-13] Installing libgd-2.3.1,1...
[130releng-armv7-quarterly-job-13] `-- Installing fontconfig-2.13.93_1,1...
[130releng-armv7-quarterly-job-13] |   `-- Installing expat-2.4.1...
[130releng-armv7-quarterly-job-13] |   `-- Extracting expat-2.4.1: .......... done
[130releng-armv7-quarterly-job-13] |   `-- Installing freetype2-2.10.4...
[130releng-armv7-quarterly-job-13] |   | `-- Installing png-1.6.37_1...
[130releng-armv7-quarterly-job-13] |   | `-- Extracting png-1.6.37_1: .......... done
[130releng-armv7-quarterly-job-13] |   `-- Extracting freetype2-2.10.4: .......... done
[130releng-armv7-quarterly-job-13] `-- Extracting fontconfig-2.13.93_1,1: .......... done
[130releng-armv7-quarterly-job-13] `-- Installing jpeg-turbo-2.0.6...
[130releng-armv7-quarterly-job-13] `-- Extracting jpeg-turbo-2.0.6: .......... done
[130releng-armv7-quarterly-job-13] `-- Installing tiff-4.3.0...
[130releng-armv7-quarterly-job-13] |   `-- Installing jbigkit-2.1_1...
[130releng-armv7-quarterly-job-13] |   `-- Extracting jbigkit-2.1_1: .......... done
[130releng-armv7-quarterly-job-13] `-- Extracting tiff-4.3.0: .......... done
[130releng-armv7-quarterly-job-13] `-- Installing webp-1.2.0...
[130releng-armv7-quarterly-job-13] |   `-- Installing giflib-5.2.1...
[130releng-armv7-quarterly-job-13] |   `-- Extracting giflib-5.2.1: .......... done
[130releng-armv7-quarterly-job-13] `-- Extracting webp-1.2.0: .......... done
[130releng-armv7-quarterly-job-13] Extracting libgd-2.3.1,1: .......... done
=====
Message from freetype2-2.10.4:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed).
===>   lua-gd-2.0.33r2_5 depends on shared library: libgd.so - found (/usr/local/lib/libgd.so)
===>   Returning to build of lua-gd-2.0.33r2_5
===>   lua-gd-2.0.33r2_5 depends on shared library: liblua-5.1.so - not found
===>   Installing existing package /packages/All/lua51-5.1.5_9.txz
[130releng-armv7-quarterly-job-13] Installing lua51-5.1.5_9...
[130releng-armv7-quarterly-job-13] `-- Installing libedit-3.1.20210216,1...
[130releng-armv7-quarterly-job-13] `-- Extracting libedit-3.1.20210216,1: .......... done
[130releng-armv7-quarterly-job-13] Extracting lua51-5.1.5_9: ......... done
===>   lua-gd-2.0.33r2_5 depends on shared library: liblua-5.1.so - found (/usr/local/lib/liblua-5.1.so)
===>   Returning to build of lua-gd-2.0.33r2_5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for lua-gd-2.0.33r2_5
===========================================================================
=======================<phase: build          >============================
===>  Building for lua-gd-2.0.33r2_5
/nxb-bin/usr/bin/cc -o /wrkdirs/usr/ports/graphics/lua-gd/work-lua51/lua-gd-2.0.33r2/gd.so  -O2 -pipe  -I/usr/local/include/lua51 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing   -shared -L/usr/local/lib -lgd -L/usr/local/lib -llua-5.1 -lm -fstack-protector-strong  `gdlib-config --features |sed -e "s/GD_/-DGD_/g"` /wrkdirs/usr/ports/graphics/lua-gd/work-lua51/lua-gd-2.0.33r2/luagd.c
gdlib-config: warning: this script is deprecated; please use the pkg-config file instead.
ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: LgdFunctions in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: LgdFunctions in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.1 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.1 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.2 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.2 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.3 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.3 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.152 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.152 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.4 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.4 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.5 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.5 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.6 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.6 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVW_ABS_NC against symbol: .L.str.7 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .L.str.7 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /tmp/luagd-fbc4c1.o
>>> referenced by luagd.c
>>>               /tmp/luagd-fbc4c1.o:(luaopen_gd)

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)
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/lua-gd