Re: recent update seems to break portupgrade

From: Bryan Drewery <bryan_at_shatow.net>
Date: Mon, 03 Sep 2012 22:45:06 -0500
On 9/4/2012 2:14 AM, AN wrote:
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #18 r240078: Mon Sep  3
> 17:41:46 EDT 2012     root_at_FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
> 
> # cat /etc/make.conf
> OVERRIDE_LINUX_BASE_PORT=f10
> QT4_OPTIONS= QGTKSTYLE
> 
> # added by use.perl 2012-04-04 01:11:13
> PERL_VERSION=5.14.2
> MALLOC_PRODUCTION=yes
> WITH_PKGNG=no


*Defining* WITH_PKGNG enables it. This is very common with ports
infrastructure. Remove this from your make.conf to not use pkgng.

> 
> I just tried to do a portupgrade and received the following on the
> command line.  I compiled my system (world and ports from source). 
> Portupgrade worked earlier today before I upgraded to r240078.
> 
> # portupgrade -va
> --->  Session started at: Mon, 03 Sep 2012 22:51:25 -0400
> "/usr/ports/Mk/bsd.openssl.mk", line 109: warning: "/usr/local/sbin/pkg
> which -qo /usr/local/lib/libcrypto.so" returned non-zero status
> "/usr/ports/Mk/bsd.openssl.mk", line 109: warning: "/usr/local/sbin/pkg
> which -qo /usr/local/lib/libcrypto.so" returned non-zero status
> "/usr/ports/Mk/bsd.openssl.mk", line 109: warning: "/usr/local/sbin/pkg
> which -qo /usr/local/lib/libcrypto.so" returned non-zero status
> "/usr/ports/Mk/bsd.openssl.mk", line 109: warning: "/usr/local/sbin/pkg
> which -qo /usr/local/lib/libcrypto.so" returned non-zero status
> "/usr/ports/Mk/bsd.openssl.mk", line 109: warning: "/usr/local/sbin/pkg
> which -qo /usr/local/lib/libcrypto.so" returned non-zero status
> ** Port directory not found: www/ff_nightly
> "/usr/ports/Mk/bsd.openssl.mk", line 109: warning: "/usr/local/sbin/pkg
> which -qo /usr/local/lib/libcrypto.so" returned non-zero status
> "/usr/ports/Mk/bsd.openssl.mk", line 109: warning: "/usr/local/sbin/pkg
> which -qo /usr/local/lib/libcrypto.so" returned non-zero status

This is not a portupgrade problem.

These errors are a problem with bsd.port.mk. I've been meaning to write
up a patch for a while now and get to bapt for testing. If he doesn't
get to it first, I'll get one submitted soon.

> ^C
> 
> Not sure what is going on, I guess it is related to pkg:
> 
> # whereis pkg
> pkg: /usr/sbin/pkg /usr/local/man/man8/pkg.8.gz /usr/src/usr.sbin/pkg
> [root_at_FBSD10 ~]# ls -l /usr/sbin/pkg
> -r-xr-xr-x  1 root  wheel  16256 Sep  3 13:55 /usr/sbin/pkg
> 
> If I do not want to use pkg do I need an entry in /etc/src.conf?  How do
> you disable pkg?  How do I run portupgrade now?
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


-- 
Regards,
Bryan Drewery
bdrewery_at_freenode/EFNet
Received on Tue Sep 04 2012 - 01:45:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC