I'm attempting to build security/gnupg on FreeBSD 10.1
I'm getting the following error:
I have the following in /etc/make.conf
I'm getting the following error:
Code:
Making all in agent
gmake[4]: Entering directory '/usr/ports/security/gnupg/work/gnupg-2.1.6/agent'
cc -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -pipe -march=core2 -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -Wall -Wno-pointer-sign -Wpointer-arith -fstack-protector -L/usr/lib -o gpg-agent gpg_agent-gpg-agent.o gpg_agent-command.o gpg_agent-command-ssh.o gpg_agent-call-pinentry.o gpg_agent-cache.o gpg_agent-trans.o gpg_agent-findkey.o gpg_agent-pksign.o gpg_agent-pkdecrypt.o gpg_agent-genkey.o gpg_agent-protect.o gpg_agent-trustlist.o gpg_agent-divert-scd.o gpg_agent-cvt-openpgp.o gpg_agent-call-scd.o gpg_agent-learncard.o ../common/libcommonpth.a -L/usr/local/lib -lgcrypt -lgpg-error -lassuan -L/usr/local/lib -lgpg-error -L/usr/local/lib -lnpth -lpthread -L/usr/local/lib -lgpg-error
cc -I/usr/local/include -I/usr/local/include -O2 -pipe -march=core2 -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -Wall -Wno-pointer-sign -Wpointer-arith -fstack-protector -L/usr/lib -o gpg-preset-passphrase preset-passphrase.o ../common/libsimple-pwquery.a ../common/libcommon.a -L/usr/local/lib -lgcrypt -lgpg-error -L/usr/local/lib -lgpg-error
gpg_agent-command-ssh.o: In function `ssh_handler_add_identity':
command-ssh.c:(.text+0x1f83): undefincc -I/usr/local/include -I/usr/local/include -O2 -pipe -march=core2 -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -Wall -Wno-pointer-sign -Wpointer-arith -fstack-protector -L/usr/lib -o t-protect t-protect.o protect.o ../common/libcommon.a -L/usr/local/lib -lgcrypt -lgpg-error -L/usr/local/lib -lgpg-error
ed reference to `gettext'
command-ssh.c:(.text+0x211f): undefined reference to `gettext'
command-ssh.c:(.text+0x2245): undefined reference to `gettext'
gpg_agent-command-ssh.o: In function `data_sign':
command-ssh.c:(.text+0x4058): undefined reference to `gettext'
command-ssh.c:(.text+0x40c1): undefined reference to `gettext'
gpg_agent-command-ssh.o:command-ssh.c:(.text+0x40d0): more undefined references to `gettext' follow
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:666: recipe for target 'gpg-agent' failed
gmake[4]: *** [gpg-agent] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.1.6/agent'
Makefile:574: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.1.6'
Makefile:493: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.1.6'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/security/gnupg
*** Error code 1
Stop.
make: stopped in /usr/ports/security/gnupg
I have the following in /etc/make.conf
Code:
# more /etc/make.conf
CPUTYPE?=core2
WRKDIRPREFIX=/ram
WITH_CCACHE_BUILD=yes
CCACHE_CPP2=1
WITH_BDB_VER=6
QT4_OPTIONS=QGTKSTYLE
QT5_OPTIONS=QGTKSTYLE
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
WITH_CUPS=yes
CUPS_OVERWRITE_BASE=yes