[Bug 214291] security/gnupg redefinition of typedef 'rl_completion_func_t'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 7 00:18:42 UTC 2016


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

            Bug ID: 214291
           Summary: security/gnupg redefinition of typedef
                    'rl_completion_func_t'
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kuriyama at FreeBSD.org
          Reporter: bhtooefr at gmail.com
          Assignee: kuriyama at FreeBSD.org
             Flags: maintainer-feedback?(kuriyama at FreeBSD.org)

I'm getting a redefinition of typedef error with FreeBSD 9.3-RELEASE-p49 amd64,
trying to build gnupg 2.1.15. Looks like a conflict with readline (which is
6.3.8 on this system).

Here's the relevant portion of the log:

Making all in gpgscm
gmake[3]: Entering directory
'/usr/ports/security/gnupg/work/gnupg-2.1.15/tests/gpgscm'
cc -DHAVE_CONFIG_H -I. -I../..  -I../../common
-DLOCALEDIR=\"/usr/local/share/locale\" -DGNUPG_BINDIR="\"/usr/local/bin\""
-DGNUPG_LIBEXECDIR="\"/usr
/local/libexec\"" -DGNUPG_LIBDIR="\"/usr/local/lib/gnupg\""
-DGNUPG_DATADIR="\"/usr/local/share/gnupg\""
-DGNUPG_SYSCONFDIR="\"/usr/local/etc/gnupg\"
" -DGNUPG_LOCALSTATEDIR="\"/var\""       -I/usr/local/include -I/usr/include
-imacros scheme-config.h -I/usr/local/include -I/usr/local/include -I/us
r/local/include -Wall -Wno-pointer-sign -Wpointer-arith  -O2 -pipe
-fstack-protector -fno-strict-aliasing -MT gpgscm-main.o -MD -MP -MF
.deps/gpgscm-
main.Tpo -c -o gpgscm-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/gpgscm-main.Tpo .deps/gpgscm-main.Po
cc -DHAVE_CONFIG_H -I. -I../..  -I../../common
-DLOCALEDIR=\"/usr/local/share/locale\" -DGNUPG_BINDIR="\"/usr/local/bin\""
-DGNUPG_LIBEXECDIR="\"/usr
/local/libexec\"" -DGNUPG_LIBDIR="\"/usr/local/lib/gnupg\""
-DGNUPG_DATADIR="\"/usr/local/share/gnupg\""
-DGNUPG_SYSCONFDIR="\"/usr/local/etc/gnupg\"
" -DGNUPG_LOCALSTATEDIR="\"/var\""       -I/usr/local/include -I/usr/include
-imacros scheme-config.h -I/usr/local/include -I/usr/local/include -I/us
r/local/include -Wall -Wno-pointer-sign -Wpointer-arith  -O2 -pipe
-fstack-protector -fno-strict-aliasing -MT gpgscm-ffi.o -MD -MP -MF
.deps/gpgscm-f
fi.Tpo -c -o gpgscm-ffi.o `test -f 'ffi.c' || echo './'`ffi.c
In file included from ffi.c:43:
../../common/util.h:77: error: redefinition of typedef 'rl_completion_func_t'
/usr/local/include/readline/rltypedefs.h:58: error: previous declaration of
'rl_completion_func_t' was here
gmake[3]: *** [Makefile:594: gpgscm-ffi.o] Error 1
gmake[3]: Leaving directory
'/usr/ports/security/gnupg/work/gnupg-2.1.15/tests/gpgscm'
gmake[2]: *** [Makefile:528: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.1.15/tests'
gmake[1]: *** [Makefile:581: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.1.15'
gmake: *** [Makefile:500: all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/security/gnupg.
*** [build] Error code 1

Stop in /usr/ports/security/gnupg.

===>>> make build failed for security/gnupg
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> security/gnupg

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


More information about the freebsd-ports-bugs mailing list