From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 12830138247 for ; Mon, 16 Dec 2013 04:04:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44BD5E0B7C; Mon, 16 Dec 2013 04:04:49 +0000 (UTC) Received: from faith.eroen.eu (faith.eroen.eu [178.79.147.241]) by pigeon.gentoo.org (Postfix) with ESMTP id 2CBB7E0B13 for ; Mon, 16 Dec 2013 04:04:47 +0000 (UTC) Received: from falcon.eroen.eu (unknown [10.10.0.26]) by faith.eroen.eu (Postfix) with ESMTP id 08DE62402E for ; Mon, 16 Dec 2013 04:09:02 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=falcon.eroen.eu; s=faith; t=1387166943; bh=DI+ztXF0TigvUZarZGDR87yerMtlDbSbnWIsyr/xhpw=; h=Date:From:To:Subject:In-Reply-To:References; b=qaOmys62McWzHVRBRJgLi6A2vAJfsN0Sl9Xzv0ibCjkvgk1OIsZGjrKwwmUHleC1P fPmeIdjWPAEJK6NFYkBSWRGERxfNYIp54WmrCl/Cnf5r2qS1LNEr4s1OuyMC80vflB BuKeMlF/+DZmkLEU1v71qDXbS8pqL+br2mD2I3PE= Date: Mon, 16 Dec 2013 05:04:34 +0100 From: eroen To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: @preserved-rebuild gone in a loop Message-ID: <20131216050434.31f370c7@falcon.eroen.eu> In-Reply-To: <20131215163753.GB9737@zlug.org> References: <201312150952.00386.michaelkintzios@gmail.com> <20131215163753.GB9737@zlug.org> X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.22; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/1OAL7FO543s0g2hO.=AO36e"; protocol="application/pgp-signature" X-Archives-Salt: bd059693-2383-48c1-8b78-837c8f6b2526 X-Archives-Hash: ab462033823924a374fc37e2f1c6735c --Sig_/1OAL7FO543s0g2hO.=AO36e Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 15 Dec 2013 17:37:53 +0100 Benjamin Block wrote: > Most of the times, when some binary packages on my systems do cause > something like this, then I just unemerge the package that keeps > recompiling and emerge it again afterwards. This will cause the > portage to drop the library-references in question and add new ones. >=20 > So, this should do the trick: >=20 > emerge -C app-antivirus/avast4workstation > emerge -1 app-antivirus/avast4workstation This will make the message from portage and the old library version go away, yes. It will also cause the program that used the library (/opt/avast4workstation/bin/avastgui in OP's case) crash when you try to run it, due to the old library version not being installed. The correct solution to this is to add the specific (old) version of the library to the dependencies (in the ebuild) of the (binary) package that uses it. This will prevent an upgrade that uninstalls the old library version. Sometimes the maintainer of the library will add a slotted version of it, so that non-binary users of it do not have to use the outdated version. If the binary package is not an ebuild, you can manually add the newer library version to package.mask, or make sure that the slot for the older version is installed if the library is slotted. Better yet (in all cases), get a more recent version of the binary package that is built against the newer version of the library. Complain to the vendor if none is available :-) The preserve-libs feature in portage is intended to let things keep on working short-term for source-distributed packages. In that case, the currently installed program is linked against the old library version, and when the program is rebuilt (with @preserved-rebuild) it will be linked against the newer version. --=20 eroen --Sig_/1OAL7FO543s0g2hO.=AO36e Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJSrnvaAAoJELSISlJWmwxLrWoH/AmdLHLenfD4aM6xfgycdN/z yGFnazYnH3cnLPy8NO1rapC/iRNrA0Ra7682JHm1ErdTIort2CQNOo0M4wgpKFK9 zUpfQz1FUXDf1gT0cC6c44oZw8hFBNFKNYKZF5S9yU0TTlgTCBiDFH2lcOo9jq/k 9Uv+QIaOqkU9d7EZHfRwps2JqFM68PBgJBoyHlXvnMru0QNY4ljE+FMNiN7hAwS2 VB5OP9AmFZNX0s8iwcae8parTWwil1JEzVTVeuQZqcScvYw8x7k3xIj6WaRsPnVv bphD1UkkP65ITatsdEK5G9ciDLNlFb1iNOp+vsZs6kIHGtQaEhRS7NMt0emIl4Y= =FiUq -----END PGP SIGNATURE----- --Sig_/1OAL7FO543s0g2hO.=AO36e--