[Bug 201292] security/gnupg fails to link with NLS=off

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 2 19:56:30 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201292

            Bug ID: 201292
           Summary: security/gnupg fails to link with NLS=off
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kuriyama at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info
          Assignee: kuriyama at FreeBSD.org
             Flags: maintainer-feedback?(kuriyama at FreeBSD.org)

/usr/ports at r391178. System is stable/10, amd64, r284296.
Compiling with NLS turned on produces no failure.
With option NLS set to off, linking gpg-agent produces these error messages:

cc -I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -O2 -pipe -fno-omit-frame-pointer  -DLIBICONV_PLUG
-fstack-protector -fno-strict-aliasing -4Wall -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
gpg_agent-command-ssh.o: In function `ssh_handler_add_identity':
command-ssh.c:(.text+0x1f73): undefined reference to `gettext'
command-ssh.c:(.text+0x210f): undefined reference to `gettext'
command-ssh.c:(.text+0x2235): undefined reference to `gettext'
gpg_agent-command-ssh.o: In function `data_sign':
command-ssh.c:(.text+0x4168): undefined reference to `gettext'
command-ssh.c:(.text+0x41d1): undefined reference to `gettext'
gpg_agent-command-ssh.o:command-ssh.c:(.text+0x41e0): 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....
mv -f .deps/gpg_protect_tool-protect.Tpo .deps/gpg_protect_tool-protect.Po
mv -f .deps/protect.Tpo .deps/protect.Po
gmake[4]: Leaving directory
'/usr/ports/workdirs/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/workdirs/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/workdirs/usr/ports/security/gnupg/work/gnupg-2.1.6'
===> Compilation failed unexpectedly.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list