Trying to upgrade pkg(8) from pkg-1.3.7 to pkg-1.3.8. But get this
It looks like an OpenSSL issue, normally i'd remove OpenSSL and just remake it from ports. But apparently I need pkg 1.3.8 to do that now. Any ideas suggestion would be greatly appreciated guys.
Code:
Making all in libpkg
Making all in repo
Making all in binary
CC librepo_binary_la-binary.lo
CC librepo_binary_static_la-binary.lo
CC librepo_binary_la-common.lo
CC librepo_binary_static_la-common.lo
CC librepo_binary_la-fetch.lo
CC librepo_binary_static_la-fetch.lo
CC librepo_binary_la-init.lo
CC librepo_binary_static_la-init.lo
In file included from binary.h:27,
from binary.c:24:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
In file included from binary.h:27,
from binary.c:24:
../../../libpkg/pkg.h:888: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
../../../libpkg/pkg.h:1219: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:1225: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:1243: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:1255: error: expected ')' before '*' token
../../../libpkg/pkg.h:1639: error: expected ')' before '*' token
../../../libpkg/pkg.h:1647: error: expected ')' before '*' token
In file included from binary.h:27,
from binary.c:24:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
In file included from binary.h:27,
from binary.c:24:
../../../libpkg/pkg.h:888: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
../../../libpkg/pkg.h:1219: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:1225: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:1243: error: expected declaration specifiers or '...' before 'FILE'
../../../libpkg/pkg.h:1255: error: expected ')' before '*' token
../../../libpkg/pkg.h:1639: error: expected ')' before '*' token
../../../libpkg/pkg.h:1647: error: expected ')' before '*' token
In file included from common.c:31:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
In file included from fetch.c:46:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
In file included from fetch.c:46:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
In file included from common.c:31:
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from fetch.c:46:
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from fetch.c:46:
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from fetch.c:48:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
../../../libpkg/private/utils.h:39:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/utils.h:40:25: error: openssl/md5.h: No such file or directory
In file included from fetch.c:48:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
In file included from binary.h:28,
from binary.c:24:
../../../libpkg/private/pkg.h:40:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/pkg.h:41:25: error: openssl/md5.h: No such file or directory
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from fetch.c:48:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
In file included from init.c:40:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
../../../libpkg/private/utils.h:39:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/utils.h:40:25: error: openssl/md5.h: No such file or directory
In file included from fetch.c:48:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from init.c:40:
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from binary.h:28,
from binary.c:24:
../../../libpkg/private/pkg.h:40:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/pkg.h:41:25: error: openssl/md5.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from binary.h:28,
from binary.c:24:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from binary.h:28,
from binary.c:24:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
In file included from common.c:33:
../../../libpkg/private/pkg.h:40:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/pkg.h:41:25: error: openssl/md5.h: No such file or directory
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from init.c:40:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
In file included from binary.h:28,
from binary.c:24:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
In file included from ../../../libpkg/private/pkgdb.h:31,
from fetch.c:49:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
In file included from init.c:40:
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from common.c:31:
../../../libpkg/pkg.h:41:25: error: openssl/pem.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from common.c:33:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
*** Error code 1
In file included from ../../../libpkg/private/pkg.h:47,
from common.c:33:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from common.c:31:
../../../libpkg/pkg.h:984: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from common.c:33:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
In file included from ../../../libpkg/private/pkgdb.h:31,
from fetch.c:49:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
In file included from ../../../libpkg/private/pkg.h:47,
from binary.h:28,
from binary.c:24:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from binary.h:28,
from binary.c:24:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
fetch.c: In function 'pkg_repo_binary_try_fetch':
fetch.c:228: error: type of formal parameter 2 is incomplete
fetch.c:136: warning: unused variable 'cksum'
In file included from binary.h:28,
from binary.c:24:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
*** Error code 1
fetch.c: In function 'pkg_repo_binary_try_fetch':
fetch.c:228: error: type of formal parameter 2 is incomplete
fetch.c:136: warning: unused variable 'cksum'
*** Error code 1
*** Error code 1
*** Error code 1
In file included from init.c:42:
../../../libpkg/private/pkg.h:40:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/pkg.h:41:25: error: openssl/md5.h: No such file or directory
In file included from init.c:42:
../../../libpkg/private/pkg.h:40:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/pkg.h:41:25: error: openssl/md5.h: No such file or directory
In file included from common.c:33:
../../../libpkg/private/pkg.h:40:25: error: openssl/sha.h: No such file or directory
../../../libpkg/private/pkg.h:41:25: error: openssl/md5.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from init.c:42:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from init.c:42:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from init.c:42:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
In file included from ../../../libpkg/private/pkg.h:47,
from init.c:42:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from init.c:42:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from init.c:42:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
In file included from ../../../libpkg/private/pkg.h:47,
from common.c:33:
../../../libpkg/private/utils.h:38:25: error: openssl/rsa.h: No such file or directory
In file included from ../../../libpkg/private/pkg.h:47,
from common.c:33:
../../../libpkg/private/utils.h:77: error: expected specifier-qualifier-list before 'pem_password_cb'
../../../libpkg/private/utils.h:98: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:99: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:100: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:101: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:102: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:103: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
../../../libpkg/private/utils.h:105: error: expected declaration specifiers or '...' before 'pem_password_cb'
In file included from common.c:33:
../../../libpkg/private/pkg.h:190: error: 'SHA256_DIGEST_LENGTH' undeclared here (not in a function)
init.c: In function 'sqlite_file_exists':
init.c:64: error: type of formal parameter 2 is incomplete
init.c:54: warning: unused variable 'cksum'
init.c: In function 'sqlite_file_exists':
init.c:64: error: type of formal parameter 2 is incomplete
init.c:54: warning: unused variable 'cksum'
*** Error code 1
*** Error code 1
*** Error code 1
8 errors
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg.
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg