pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53160: security/gpgme fails to build with security/gnupg



>Number:         53160
>Category:       pkg
>Synopsis:       security/gpgme fails to build with security/gnupg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 05 22:20:00 +0000 2018
>Originator:     Valery Ushakov
>Release:        pkgsrc-2018Q1
>Organization:
>Environment:
>Description:
gpgme can be built with either gnupg or gnupg2, but as part of the
build process the "test" target is made and the "test" target assumes
gnupg2 and fails if the package is being built against gnupg.

Making all in gpgsm
gmake[3]: Entering directory '/export/netbsd/cvs/pkgsrc-quarterly/security/gpgme
/work.powerpc/gpgme-1.10.0/tests/gpgsm'
echo disable-crl-checks > ./gpgsm.conf
echo faked-system-time 1008241200 >> ./gpgsm.conf
echo "agent-program `which gpg-agent`|--debug-quick-random" >> ./gpgsm.conf
echo 32100C27173EF6E9C4E9A25D3D69F86D37A4F939 > ./trustlist.txt
echo >> ./trustlist.txt
echo "# CN=test cert 1,OU=Aegypten Project,O=g10 Code GmbH,L=Düsseldorf,C=DE" >
> ./trustlist.txt
echo "3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E S" >> ./trustlist.txt
gpgconf --kill all
gmake[3]: gpgconf: Command not found
Makefile:925: recipe for target 'private-keys-v1.d/gpg-sample.stamp' failed
gmake[3]: [private-keys-v1.d/gpg-sample.stamp] Error 127 (ignored)
../../build-aux/install-sh -c -d ./private-keys-v1.d
cp ./32100C27173EF6E9C4E9A25D3D69F86D37A4F939 private-keys-v1.d/32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key
echo x > ./private-keys-v1.d/gpg-sample.stamp
gpgsm --import ./cert_g10code_test1.der
gmake[3]: gpgsm: Command not found
Makefile:916: recipe for target 'pubring-stamp' failed
gmake[3]: *** [pubring-stamp] Error 127
gmake[3]: Leaving directory '/export/netbsd/cvs/pkgsrc-quarterly/security/gpgme/work.powerpc/gpgme-1.10.0/tests/gpgsm'
Makefile:693: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/export/netbsd/cvs/pkgsrc-quarterly/security/gpgme/work.powerpc/gpgme-1.10.0/tests'
Makefile:507: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/export/netbsd/cvs/pkgsrc-quarterly/security/gpgme/work.powerpc/gpgme-1.10.0'
Makefile:438: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /export/netbsd/cvs/pkgsrc-quarterly/security/gpgme
*** Error code 1

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index