From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3IF9gbS008843 for ; Mon, 18 Apr 2005 15:09:42 GMT Received: from moutng.kundenserver.de ([212.227.126.171]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DNXsN-0003BJ-Bk for gentoo-dev@lists.gentoo.org; Mon, 18 Apr 2005 15:09:27 +0000 Received: from dsl-082-082-138-040.arcor-ip.net[82.82.138.40] (helo=andy.genone.homeip.net) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwh2-1DNXsi2rdi-0007gz; Mon, 18 Apr 2005 17:09:48 +0200 Date: Mon, 18 Apr 2005 17:09:50 +0200 From: Marius Mauch To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] circular moves Message-ID: <20050418170950.1fbb4168@andy.genone.homeip.net> Organization: Gentoo Linux X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: H@&[wkk?l:Zx:8i_5bViK&{Vz{c{~r),^&:v/r#+X5dmfA6qCl)~'Ul{"&06Q1[05.%v&c>je5R{=xLnx^=~lN~rO0xuR~~NY)CX\"Nc4$9CBPwDl-.pYuVeGdir86L@\:j?7@%Ej2?Wi-Y0=1]T14ce0w79Bckk[*ti{;iA"{;I}&E~.msRBsBS)N!CS4Gd|_UR Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:7e6c91d1b14dbccceb2f2166522fa0f6 X-Archives-Salt: cbaef9de-d254-4c54-bd47-e4fbce4089c4 X-Archives-Hash: 89f7f8a4e01fff09412379e6f599e219 Hi, just noticed that there are a number of circular moves in the global update files (PORTDIR/profiles/update/*). This is a bad thing as they cause some issues with etc-update and package.* files, see http://forums.gentoo.org/viewtopic-t-325721.html for an example. Currently the following entries cause problems: 2Q-2003:move sys-apps/lm_sensors sys-apps/lm-sensors 3Q-2003:move dev-lang/mono dev-dotnet/mono 3Q-2004:move app-laptop/wmbatppc x11-plugins/wmbatppc 3Q-2004:move app-xemacs/eterm app-xemacs/xemacs-eterm 4Q-2002:move net-misc/atftp net-ftp/atftp 4Q-2002:move x11-plugins/gkrellmwireless net-wireless/gkrellmwireless 4Q-2004:move dev-java/wsdl4j-bin dev-java/wsdl4j Their conterparts being: 1Q-2003:move net-wireless/gkrellmwireless x11-plugins/gkrellmwireless 1Q-2004:move x11-plugins/wmbatppc app-laptop/wmbatppc 1Q-2005:move dev-dotnet/mono dev-lang/mono 1Q-2005:move sys-apps/lm-sensors sys-apps/lm_sensors 2Q-2003:move app-xemacs/xemacs-eterm app-xemacs/eterm 3Q-2003:move net-ftp/atftp net-misc/atftp 3Q-2004:move dev-java/wsdl4j dev-java/wsdl4j-bin If you maintain one of the mentioned packages please remove the older entry from the update files. The following (horrible) bash command was used to find these: cd profiles/updates; grep ^move * > /tmp/updatelist; for x in $(cut -d\ -f 2 < /tmp/updatelist) ; do cat /tmp/updatelist | cut -d\ -f 3 | grep $x; done > /tmp/indirectlist; l=""; for x in $(< /tmp/indirectlist); do l="$l\n$(grep $x /tmp/updatelist | cut -d\ -f 2-3)"; done; while read x; do y=$(echo $x | grep -E '.+/.+ .+/.+ .+/.+ .+/.+'); a=$(echo $y | cut -d\ -f 1); b=$(echo $y | cut -d\ -f 2); c=$(echo $y | cut -d\ -f 3); d=$(echo $y | cut -d\ -f 4); [ "$a" == "$d" -a "$b" == "$c" ] && echo $a $b; done <<< "$(echo -e $l)"|grep -v '^$'|sort -u | while read x; do grep "$x" *; done Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -- gentoo-dev@gentoo.org mailing list