From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Sc4Uu-0006CC-JZ for garchives@archives.gentoo.org; Wed, 06 Jun 2012 00:53:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65A3DE05FA; Wed, 6 Jun 2012 00:53:02 +0000 (UTC) Received: from spot.xmw.de (spot.xmw.de [176.9.87.236]) by pigeon.gentoo.org (Postfix) with ESMTP id 00978E05E4 for ; Wed, 6 Jun 2012 00:52:16 +0000 (UTC) Received: from [IPv6:2001:6f8:1cd1:0:221:5cff:fe97:1a8f] (unknown [IPv6:2001:6f8:1cd1:0:221:5cff:fe97:1a8f]) by spot.xmw.de (Postfix) with ESMTPSA id A685D20E420A6 for ; Wed, 6 Jun 2012 02:50:50 +0200 (CEST) Message-ID: <4FCEA99E.4090700@gentoo.org> Date: Wed, 06 Jun 2012 02:51:42 +0200 From: Michael Weber User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120529 Thunderbird/12.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [gentoo-portage-dev] About forcing rebuilds of other packages issue References: <1338845178.23212.1.camel@belkin4> <4FCDFF18.3080600@gentoo.org> In-Reply-To: <4FCDFF18.3080600@gentoo.org> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 2def57ac-c85d-490c-bd68-4a0c6310652b X-Archives-Hash: 4cf13398bd4f431399b6958df5e5f52d -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 06/05/2012 02:44 PM, Aaron W. Swenson wrote: > "There's never anything important in all that text." - Anonymous > Gentoo User The bad part is, that even reading of these messages can result in a breakage. I update a bunch of machines with these steps (maybe we should place instructions like these on a prominent place). (this is multi user, multi session). #preparations eix-sync cd /etc/portage git pull ; [ git stash ; git pull ; git stash pop ; git commit -a ; git push ] #on kernel updates emerge -av1 --nodeps gentoo-sources cd /usr/src/linux ; zcat /proc/config.gz > .config make oldconfig time ( make -j8 && make install_modules && make install && module-rebuild -X rebuild && eclean-kernel -n 2 -x config && grub2-config -o /boot/grub2/grub2.cfg ) #regular packages emerge -avuND world dispatch-conf/etc-update emerge -a --depclean revdep-rebuild --ignore -- -av revdep-rebuild --ignore -- -av (second run) #on xorg-server updates emerge -av1 $(qlist -IC x11-drivers) Nice, isn't it? [1] if you forget the -X on module-rebuild, you might no longer have the virtualbox-modules version installed in the tree (no packages satisfy ...). virtualbox does remove old versions real quick. The fun part comes with non-root users trying to log in: [2] You've updated nvidia-drivers (kernel module providers in general) userland and kernel modules, but forget to `rmmod nvidia`, or you can't without terminating user sessions, it impossible to start new X servers due to version mismatch between userland and kernel (applies for virtualbox as well) [3] You've updated zlib, but failed to recognize it in the emerge -av output. You get angry reports about broken luatex and inkscape (imagemagik) because of some nasty zlib abi version mismatch, hidden from revdep-rebuild. [5] lafilefixer (funny) [4] python-updater (rare) [6] ocaml gets broken after update w/o lablgl rebuild https://bugs.gentoo.org/385869 Well, I'm lazy, and do this in the backgound, half asleep. And I admit that [1] and [2] are my faults, but [3] is very annoying (just like libdl related stuff) and esp. kernel+module updates take a lot more than just a few 'REBUILD' packages. Is there any chance to detect this ZLIB_VERSION problem with revdep-rebuild (worst case: add a list of possibly broken packages with tests)? ===== I understand the urge for `eupdate` but that needs an agreement on the implementation, and I see some rought edges here, where unattended script magic most likely fails. Michael -- half asleep - -- Gentoo Dev http://xmw.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF0EAREIAAYFAk/OqZ4ACgkQknrdDGLu8JCZTgD2MXNld64l2D9jdko5sDQ1RedO hDDGT1frS210sIkG5AD+M0N08Ru0FrVmqarkxec6N71egAmrmRUmcMMhtWCcUK0= =0Xwl -----END PGP SIGNATURE-----