pkgsrc-Users archive

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

Re: security/pinepgp install failure



This can be fixed by making the entries in the PLIST conditional on which package options were selected:

@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/08 17:44:49 jschauma Exp $
${PLIST.gpg}bin/gpg-check
${PLIST.gpg}bin/gpg-encrypt
${PLIST.gpg}bin/gpg-sign
${PLIST.gpg}bin/gpg-sign+encrypt
${PLIST.gpg}bin/pinegpg
${PLIST.gpg}bin/pinegpg-install
${PLIST.pgp5}bin/pinepgp5x
${PLIST.pgp5}bin/pinepgp5x-install
bin/pinepgpgpg-install
${PLIST.pgp5}bin/pgp5x-check
${PLIST.pgp5}bin/pgp5x-encrypt
${PLIST.pgp5}bin/pgp5x-sign
${PLIST.pgp5}bin/pgp5x-sign+encrypt

Thanks to jak@ for showing me how this is done.

On Mon, 11 Sep 2017, Paul Goyette wrote:

With the recent update to treat pgp5 and gpg as options, I am getting errors while trying create a binary package. The build and install phases work just fine, it only fails when trying to 'make package'.

The entire log file is attached to this message. The relevant lines would seem to be

=> Automatic manual page handling
pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pinepgp5x' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pinepgp5x-install' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-check' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-encrypt' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-sign' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-sign+encrypt' => Creating binary package /tmp/pkgs/security/pinepgp/work.x86_64/.packages/pinepgp-0.18.0nb5.tgz pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pinepgp5x' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pinepgp5x-install' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-check' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-encrypt' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-sign' pkg_create: can't stat `/tmp/pkgs/security/pinepgp/work.x86_64/.destdir/usr/pkg/bin/pgp5x-sign+encrypt'
pkg_create: lstat failed for file bin/pinepgp5x: No such file or directory
mv: rename /tmp/pkgs/security/pinepgp/work.x86_64/.packages/pinepgp-0.18.0nb5.tmp.tgz to /tmp/pkgs/security/pinepgp/work.x86_64/.packages/pinepgp-0.18.0nb5.tgz: No such file or directory



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+

+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index