Discussion:
anyone have an explanation for this? pkg 10.5.1
Julian Elischer
2018-07-25 16:01:15 UTC
Permalink
This one has me stumped.


sudo /usr/local/sbin/pkg -o IGNORE_OSVERSION=yes -c
/usr/build/buildroot/build/cloudcc/build_x86_64/root add -M -f
/pkg/All/curl-7.60.0.txz
Installing curl-7.60.0...
package curl is already installed, forced install
pkg: Missing dependency 'ca_root_nss'
pkg: Missing dependency 'libnghttp2'
Extracting curl-7.60.0: 100%


yet the packages for ca_root_nss and libnghttp2 are sitting there
right next to the package for curl.

They were all compiled together.

-rw-r--r--  1 julian  wheel    111632 Jul 25 06:50 libnghttp2-1.32.0.txz
-rw-r--r--  1 julian  wheel    293912 Jul 25 06:50 ca_root_nss-3.38.txz
-rw-r--r--  1 julian  wheel    942624 Jul 25 06:50 curl-7.60.0.txz


Am I doing something wrong?


Julian
Franco Fichtner
2018-07-25 16:07:37 UTC
Permalink
Post by Julian Elischer
This one has me stumped.
I've seen this when ca_root_nss was rebuilt but not curl, causing
curl not to find ca_root_nss anymore. Never looked further, but
it's definitely an odd curl thing, not a general issue.


Cheers,
Franco
Julian Elischer
2018-07-25 16:17:13 UTC
Permalink
Post by Franco Fichtner
Post by Julian Elischer
This one has me stumped.
I've seen this when ca_root_nss was rebuilt but not curl, causing
curl not to find ca_root_nss anymore. Never looked further, but
it's definitely an odd curl thing, not a general issue.
May be related to the -c option
Post by Franco Fichtner
Cheers,
Franco
Julian Elischer
2018-07-26 04:35:58 UTC
Permalink
oops of course that is 1.10.5 not 10.5.1
Post by Julian Elischer
This one has me stumped.
sudo /usr/local/sbin/pkg -o IGNORE_OSVERSION=yes -c
/usr/build/buildroot/build/cloudcc/build_x86_64/root add -M -f
/pkg/All/curl-7.60.0.txz
Installing curl-7.60.0...
package curl is already installed, forced install
pkg: Missing dependency 'ca_root_nss'
pkg: Missing dependency 'libnghttp2'
Extracting curl-7.60.0: 100%
yet the packages for ca_root_nss and libnghttp2 are sitting there
right next to the package for curl.
They were all compiled together.
-rw-r--r--  1 julian  wheel    111632 Jul 25 06:50
libnghttp2-1.32.0.txz
-rw-r--r--  1 julian  wheel    293912 Jul 25 06:50 ca_root_nss-3.38.txz
-rw-r--r--  1 julian  wheel    942624 Jul 25 06:50 curl-7.60.0.txz
Am I doing something wrong?
Julian
Julian Elischer
2018-07-30 13:27:45 UTC
Permalink
Post by Julian Elischer
oops of course that is 1.10.5 not 10.5.1
I'm still seeing this regresssion in pkg1.10.5.

bapt told me how to get debug output
so it is at:
http://people.freebsd.org/~julian/pkg-debug.txt

command is:

sudo /usr/local/sbin/pkg -o DEBUG_LEVEL=4 -o IGNORE_OSVERSION=yes -c /usr/build/buildroot/build/cloudcc/build_x86_64/root add -M -f /pkg/All/glib-2.50.3_4,1.txz


It would appear that pkg is deciding whether the dependencies are
present OUTSIDE the chroot instead of inside it...
Post by Julian Elischer
Post by Julian Elischer
This one has me stumped.
sudo /usr/local/sbin/pkg -o IGNORE_OSVERSION=yes -c
/usr/build/buildroot/build/cloudcc/build_x86_64/root add -M -f
/pkg/All/curl-7.60.0.txz
Installing curl-7.60.0...
package curl is already installed, forced install
pkg: Missing dependency 'ca_root_nss'
pkg: Missing dependency 'libnghttp2'
Extracting curl-7.60.0: 100%
yet the packages for ca_root_nss and libnghttp2 are sitting there
right next to the package for curl.
They were all compiled together.
-rw-r--r--  1 julian  wheel    111632 Jul 25 06:50
libnghttp2-1.32.0.txz
-rw-r--r--  1 julian  wheel    293912 Jul 25 06:50
ca_root_nss-3.38.txz
-rw-r--r--  1 julian  wheel    942624 Jul 25 06:50 curl-7.60.0.txz
Am I doing something wrong?
Julian
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-pkg
Loading...