Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 10:08:40 -0600
From:      Bryan Drewery <bdrewery@freebsd.org>
To:        AN <andy@neu.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: need help with pkg - failed portupgrade
Message-ID:  <50C8AC08.9020005@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1212112310510.33217@mail.neu.net>
References:  <mailman.6206.1355255343.1793.freebsd-ports@freebsd.org> <alpine.BSF.2.00.1212112310510.33217@mail.neu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8946610C44616B1FC01421CA
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 12/11/2012 10:24 PM, AN wrote:
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r244122: Tue Dec 11=

> 15:24:02 EST 2012     root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
>=20
> While running portupgrade due to (The pcre library has been updated to
> version 8.32.  Please rebuild all ports that depend on it.) I had the
> following failure:
>=20
> The command I ran was :portupgrade -vfr devel/pcre
>=20
> and it failed with:
> =3D=3D=3D>  Cleaning for gnome-screensaver-2.30.2_3
> --->  Removing temporary files and directories
> --->  Removing old package'
> --->  Installation of x11/gnome-screensaver ended at: Tue, 11 Dec 2012
> 23:01:06 -0500 (consumed 00:00:15)
> --->  Cleaning out obsolete shared libraries
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... USING PKGNG
> - 798 packages found (-0 +1) . done]
> --->  Reinstallation of x11/gnome-screensaver ended at: Tue, 11 Dec 201=
2
> 23:01:08 -0500 (consumed 00:01:40)
> --->  ** Upgrade tasks 278: 200 done, 0 ignored, 7 skipped and 2 failed=

> ** No origin recorded: libreoffice-3.5.7
> ** Specify one with -o option, or run 'pkgdb -F' to interactively fix i=
t.
> --->  Session ended at: Tue, 11 Dec 2012 23:01:08 -0500 (consumed 04:51=
:07)
> /usr/local/lib/ruby/site_ruby/1.8/pkgtools/pkgtools.rb:964:in
> `initialize': ArgumentError (ArgumentError)
>     from /usr/local/sbin/portupgrade:1060:in `new'
>     from /usr/local/sbin/portupgrade:1060:in `do_upgrade'
>     from /usr/local/sbin/portupgrade:855:in `main'
>     from /usr/local/sbin/portupgrade:850:in `each'
>     from /usr/local/sbin/portupgrade:850:in `main'
>     from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
>     from /usr/local/sbin/portupgrade:237:in `new'
>     from /usr/local/sbin/portupgrade:237:in `main'
>     from /usr/local/sbin/portupgrade:2371
>=20
>=20
> I deleted Libreoffice with:
> pkg -d delete libreoffice-3.5.7
>=20
> # pkgdb -vF
> USING PKGNG
> pkgdb -F not supported with PKGNG yet. Use 'pkg check' directly.
> [root@FBSD10 ~]# pkg check
> usage: pkg check [-Bdsr] [-vy] [-a | -gxX <pattern>]

Sorry for the bad direction here. 'pkg check' only works on binary
packages. I need to update 'pkg check' to support sending a list of
problems back to stdout, so portupgrade can recompile/install the
missing deps.


>=20
> For more information see 'pkg help check'.
>=20
> Not sure how to proceed now, any help is appreciated.
>=20
> Once I get this fixed, how can I restart portupgrade from where it ende=
d
> and not recompile the ports that were already updated?

I'm not aware of a good way to do this. If you know which have already
been rebuilt you can specify them with -x

portupgrade -vfr devel/pcre -x 'pkg' -x 'pkg2'

This might work to recompile anything touched not on yesterday, but I'm
not confident:

portupgrade -vfr devel/pcre -x '<2012-12-11'

Try with -n to see what is listed.

If you enable ccache, this becomes less of a problem. In your
/etc/make.conf: WITH_CCACHE_BUILD=3Dyes, and install devel/ccache


--=20
Regards,
Bryan Drewery
bdrewery@freenode/EFNet


--------------enig8946610C44616B1FC01421CA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJQyKwMAAoJEG54KsA8mwz5GWUP/1HjS+dnEobeIQ9WTk3KYdHI
+f9rvWDDIkb0f0+qzc8YBe7oxkKevjBiATKktPJbf44ZzA0x0hYQ6SdIALCQYfvw
dw4PfHAM32+7D45wyhHNgIqt8Oom6d0ktoxCla10ce6M27nPCSQ13B7gLm/L6ha9
uCvDh1NiYi3wXxu5uV2SX8rPFjVdKPAT3BrBAKDOvtyUxraM3azdzhpL6yH1v4Gk
xz6IVCyvw3qox6vdgGS5j9o2nOFnoiCv40DBr19/3xWQUsPMMtlotWxm2+iQNLeV
D3BRlihhAx5fs5VNRo//7mPf7ZLFEn/GODcBDFnb2rJFeBZIltD/yl0AnXOAg1K1
LJ0qBhDqbDp9COd7tHf5B1wKT9151g53F8tYnTNi6IznXmhLYB9bhVNpm9WhWkbQ
VJkyltLmAQo4+8xhIlmG1kmt0EA4qRl7z/Z1eI2BEauVmzNdwrylOH8yxqsx4neg
tlvskaBSHF0yk3lAQyjl3Vrbg4lZj6cp43ZJL1r9ODvrtTm8He9hdeVj37N9lygJ
N/MsS3NVLfJgRsuZgRlZm/HtA8MrRxqtLB27lm+DAEfiOlO7wirGTfAXtElzSPhG
ah6UC20PNGyunmvBoa/VebUiGLcv59BjOLBgvSOs82XsVeUrjtBtIajjAD8YWvn7
s3qepB9MNzaNu5W2PzrQ
=yATb
-----END PGP SIGNATURE-----

--------------enig8946610C44616B1FC01421CA--



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