Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2012 22:45:06 -0500
From:      Bryan Drewery <bryan@shatow.net>
To:        AN <andy@neu.net>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, freebsd-current@freebsd.org, Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: recent update seems to break portupgrade
Message-ID:  <50457942.90909@shatow.net>
In-Reply-To: <alpine.BSF.2.00.1209040252210.57775@mail.neu.net>
References:  <alpine.BSF.2.00.1209040252210.57775@mail.neu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


-- 
Regards,
Bryan Drewery
bdrewery@freenode/EFNet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50457942.90909>