Bug 191264 - security/gpgme: Build failure when security/gnugp has GPGSM unset
Summary: security/gpgme: Build failure when security/gnugp has GPGSM unset
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-22 09:12 UTC by Raphael Kubo da Costa
Modified: 2014-06-22 09:46 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa freebsd_committer 2014-06-22 09:12:53 UTC
I'm not sure if this needs to be fixed in gpgme or gnupg (or it's an upstream bug), but when trying to update gpgme to 1.5.0 the build failed here:

> Making all in gpgsm
> gmake[5]: Entering directory `/usr/ports/security/gpgme/work/gpgme-1.5.0/tests/gpgsm'
> [...]
> mv -f .deps/t-genkey.Tpo .deps/t-genkey.Po
> gpgsm --import ./cert_g10code_test1.der
> gmake[5]: gpgsm: Command not found
> gmake[5]: *** [pubring.kbx] Error 127
> gmake[5]: *** Waiting for unfinished jobs....

I do not have security/gnupg1 installed, and have built security/gnupg with the GPGSM option off.
Comment 1 commit-hook freebsd_committer 2014-06-22 09:44:31 UTC
A commit references this bug:

Author: jhale
Date: Sun Jun 22 09:43:39 UTC 2014
New revision: 358776
URL: http://svnweb.freebsd.org/changeset/ports/358776

Log:
  - Fix build if gpgsm is not installed

  PR:		191264
  Submitted by:	rakuco

Changes:
  head/security/gpgme/Makefile
Comment 2 Jason E. Hale freebsd_committer 2014-06-22 09:46:43 UTC
Fixed in r358776.  Thanks!