Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51871 closed update (fixed)

gnupg21 @2.1.13_0: update to 2.1.14

Reported by: larryv (Lawrence Velázquez) Owned by: roederja
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: haspatch Cc: Ionic (Mihai Moldovan)
Port: gnupg21

Description

https://lists.gnupg.org/pipermail/gnupg-announce/2016q3/000393.html

Blocked by #51859 and #51860.

However, the build fails for me on El Capitan.

:info:build /usr/bin/clang -imacros scheme-config.h -I/opt/local/include -I/opt/local/include -I/opt/local/include -Wall -Wno-pointer-sign -Wpointer-arith  -pipe -Os -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o gpgscm gpgscm-main.o gpgscm-ffi.o gpgscm-scheme.o  ../../common/libcommon.a  -liconv -lreadline -L/opt/local/lib -lgcrypt -lgpg-error -L/opt/local/lib -lgpg-error 
:info:build Undefined symbols for architecture x86_64:
:info:build   "_libintl_bind_textdomain_codeset", referenced from:
:info:build       _i18n_switchto_utf8 in libcommon.a(libcommon_a-i18n.o)
:info:build       _i18n_switchback in libcommon.a(libcommon_a-i18n.o)
:info:build   "_libintl_bindtextdomain", referenced from:
:info:build       _i18n_init in libcommon.a(libcommon_a-i18n.o)
:info:build       _i18n_localegettext in libcommon.a(libcommon_a-i18n.o)
:info:build   "_libintl_gettext", referenced from:
:info:build       _my_strusage in gpgscm-main.o
:info:build       _create_pipe_and_estream in libcommon.a(libcommon_a-exechelp-posix.o)
:info:build       _gnupg_spawn_process in libcommon.a(libcommon_a-exechelp-posix.o)
:info:build       _gnupg_spawn_process_fd in libcommon.a(libcommon_a-exechelp-posix.o)
:info:build       _gnupg_wait_processes in libcommon.a(libcommon_a-exechelp-posix.o)
:info:build       _gnupg_spawn_process_detached in libcommon.a(libcommon_a-exechelp-posix.o)
:info:build       _disable_core_dumps in libcommon.a(libcommon_a-sysutils.o)
:info:build       ...
:info:build   "_libintl_setlocale", referenced from:
:info:build       _i18n_init in libcommon.a(libcommon_a-i18n.o)
:info:build       _i18n_localegettext in libcommon.a(libcommon_a-i18n.o)
:info:build   "_libintl_textdomain", referenced from:
:info:build       _i18n_init in libcommon.a(libcommon_a-i18n.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[3]: *** [gpgscm] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_Users_larryv_Projects_MacPorts_git-svn_trunk_dports_mail_gnupg21/gnupg21/work/gnupg-2.1.14/tests/gpgscm'

Leaving my WIP and build log here, since I can’t investigate further at the moment.

Attachments (2)

0001-gnupg21-Update-to-2.1.14-51871.patch (1.5 KB) - added by larryv (Lawrence Velázquez) 8 years ago.
tentative update patch
main.log.larryv (383.8 KB) - added by larryv (Lawrence Velázquez) 8 years ago.
log from failed build (build.jobs=1)

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by larryv (Lawrence Velázquez)

tentative update patch

Changed 8 years ago by larryv (Lawrence Velázquez)

Attachment: main.log.larryv added

log from failed build (build.jobs=1)

comment:1 Changed 8 years ago by Ionic (Mihai Moldovan)

Hmm, libintl linking errors?

Looks like it's not linking with -lintl, only -liconv and libiconv doesn't have a library (in dyld-lingu) dependency on libintl (well, and it shouldn't.)

It's just a linking-time problem though, compilation of object files is done with -lintl -liconv, so there must be something wrong when linking the eventual binary.

comment:2 Changed 8 years ago by roederja

Resolution: fixed
Status: newclosed

Updated port to version 2.1.15.

comment:3 in reply to:  2 Changed 8 years ago by larryv (Lawrence Velázquez)

Works for me. Thank you!

Note: See TracTickets for help on using tickets.