Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] circular moves
Date: Mon, 18 Apr 2005 15:09:42
Message-Id: 20050418170950.1fbb4168@andy.genone.homeip.net
1 Hi,
2
3 just noticed that there are a number of circular moves in the global
4 update files (PORTDIR/profiles/update/*). This is a bad thing as they
5 cause some issues with etc-update and package.* files, see
6 http://forums.gentoo.org/viewtopic-t-325721.html for an example.
7
8 Currently the following entries cause problems:
9
10 2Q-2003:move sys-apps/lm_sensors sys-apps/lm-sensors
11 3Q-2003:move dev-lang/mono dev-dotnet/mono
12 3Q-2004:move app-laptop/wmbatppc x11-plugins/wmbatppc
13 3Q-2004:move app-xemacs/eterm app-xemacs/xemacs-eterm
14 4Q-2002:move net-misc/atftp net-ftp/atftp
15 4Q-2002:move x11-plugins/gkrellmwireless net-wireless/gkrellmwireless
16 4Q-2004:move dev-java/wsdl4j-bin dev-java/wsdl4j
17
18 Their conterparts being:
19
20 1Q-2003:move net-wireless/gkrellmwireless x11-plugins/gkrellmwireless
21 1Q-2004:move x11-plugins/wmbatppc app-laptop/wmbatppc
22 1Q-2005:move dev-dotnet/mono dev-lang/mono
23 1Q-2005:move sys-apps/lm-sensors sys-apps/lm_sensors
24 2Q-2003:move app-xemacs/xemacs-eterm app-xemacs/eterm
25 3Q-2003:move net-ftp/atftp net-misc/atftp
26 3Q-2004:move dev-java/wsdl4j dev-java/wsdl4j-bin
27
28 If you maintain one of the mentioned packages please remove the older
29 entry from the update files.
30 The following (horrible) bash command was used to find these:
31
32 cd profiles/updates; grep ^move * > /tmp/updatelist; for x in $(cut -d\
33 -f 2 < /tmp/updatelist) ; do cat /tmp/updatelist | cut -d\ -f 3 | grep
34 $x; done > /tmp/indirectlist; l=""; for x in $(< /tmp/indirectlist); do
35 l="$l\n$(grep $x /tmp/updatelist | cut -d\ -f 2-3)"; done; while read
36 x; do y=$(echo $x | grep -E '.+/.+ .+/.+ .+/.+ .+/.+'); a=$(echo $y |
37 cut -d\ -f 1); b=$(echo $y | cut -d\ -f 2); c=$(echo $y | cut -d\ -f
38 3); d=$(echo $y | cut -d\ -f 4); [ "$a" == "$d" -a "$b" == "$c" ] &&
39 echo $a $b; done <<< "$(echo -e $l)"|grep -v '^$'|sort -u | while read
40 x; do grep "$x" *; done
41
42 Marius
43
44 --
45 Public Key at http://www.genone.de/info/gpg-key.pub
46
47 In the beginning, there was nothing. And God said, 'Let there be
48 Light.' And there was still nothing, but you could see a bit better.
49 --
50 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] circular moves Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] circular moves Henrik Brix Andersen <brix@g.o>