maintainer-feedback requested: [Bug 232254] ports-mgmt/pkg: Unable to sign repos in -current

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 14 18:18:57 UTC 2018


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-pkg mailing list
<pkg at FreeBSD.org> for maintainer-feedback:
Bug 232254: ports-mgmt/pkg:  Unable to sign repos in -current
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232254



--- Description ---
After the base update of openssl, pkg-static and pkg rebuilt against this
version of openssl are unable to sign repos with a given key:

access("/root/ssl/pkg.key",R_OK)		 = 0 (0x0)
open("/root/ssl/pkg.key",O_RDONLY,0666) 	 = 5 (0x5)
close(5)					 = 0 (0x0)
write(1,"\n",1) 				 = 1 (0x1)
write(2,"pkg-static: ",12)			 = 12 (0xc)
write(2,"can't load key from /root/ssl/pk"...,37) = 37 (0x25)
write(2,"\n",1) 				 = 1 (0x1)
write(4,"\M-}7zXZ\0\0\^D\M-f\M-V\M-4F\^B"...,76) = 76 (0x4c)
close(4)					 = 0 (0x0)
unlink("/tmp/foo/meta") 			 = 0 (0x0)
ioctl(1,TIOCGETA,0x7fffffffd718)		 = 0 (0x0)
write(1,"\rPacking files for repository: "...,35) = 35 (0x23)
ioctl(1,TIOCGETA,0x7fffffffd718)		 = 0 (0x0)
write(1,"\n",1) 				 = 1 (0x1)
close(3)					 = 0 (0x0)
exit(0x41)					
process exit, rval = 65



root at bob.nyi:/usr/local/poudriere/data/packages/12-amd64-cluster-default # pkg
info pkg
pkg-1.10.5_4
Name	       : pkg
Version        : 1.10.5_4
Installed on   : Sun Oct 14 17:13:09 2018 UTC
Origin	       : ports-mgmt/pkg
Architecture   : FreeBSD:12:amd64
Prefix	       : /usr/local
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : pkg at FreeBSD.org
WWW	       : https://wiki.freebsd.org/pkgng
Comment        : Package manager
Options        :
	DOCS	       : on
Shared Libs provided:
	libpkg.so.4
Annotations    :
	FreeBSD_version: 1200085
Flat size      : 12.7MiB
Description    :
Package management tool

WWW: https://wiki.freebsd.org/pkgng
root at bob.nyi:/usr/local/poudriere/data/packages/12-amd64-cluster-default #
/usr/local/sbin/pkg-static repo /tmp/foo /root/ssl/pkg.key
Creating repository in /tmp/foo: 100%
Packing files for repository:	0%
pkg-static: can't load key from /root/ssl/pkg.key
Packing files for repository: 100%


More information about the freebsd-pkg mailing list