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

Reply via email to