Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159682 - Portage 2.1.2_rc3-r6 fails with invalid atom: '>=media-sound/madplay\x01.14.2b-r1'
Summary: Portage 2.1.2_rc3-r6 fails with invalid atom: '>=media-sound/madplay\x01.14.2...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-01-02 00:11 UTC by Sascha Wuestemann
Modified: 2007-01-02 03:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Wuestemann 2007-01-02 00:11:19 UTC
Portage 2.1.2_rc3-r6 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.15-vs2.0.1-gentoo-r5-killerghost i586)
System uname: 2.6.15-vs2.0.1-gentoo-r5-killerghost i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.12.6
Last Sync: Thu, 28 Dec 2006 16:50:01 +0000
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.0-r2, 2.0.26-r4
dev-lang/python:     2.2.3-r1, 2.3.4, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
CFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/kde/3.3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv"
LINGUAS="de en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="x86 3dnow X X509 Xaw3d aalib acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 audiofile avi berkdb bindist bitmap-fonts chroot cli cracklib crypt cscope cups curl curlwrappers dedicated dlloader dri dvd dvdr elibc_glibc encode esd ethereal fastcgi flac flash foomaticdb fortran freetds gcj gd gdbm ggi gif gmp gphoto2 gpm gstreamer gtk gtk2 hardened icc iconv imagemagick imap imlib innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog java jikes jpeg kde kernel_linux lcms ldap lesstif libg++ linguas_de linguas_en mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mysql nas ncurses nhc98 nls nocd nptl nptlonly odbc offensive oggvorbis oss pam pcre pda pdf perl png postgres ppds pppd prelude python qt quicktime readline reflection samba sasl sdl serial session skey slang slp snmp socks5 speex spell spl ssl svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_vesa videos wmf wxwindows xml xml2 xorg xosd xv zlib"


I looked up the search about "invalid atom" but could not find a specific hit for my case, neither I have found an ebuild file at /usr/portage with the content ">=media-sound/madplay" on my system which also contains "14.2b-r1" nor any file at /usr/portage/profiles with the same contents. I was (still) using default-linux/x86/2006.0 and switched to default-linux/x86/2006.1 and did an 'emerge --metadata' which hasn't changed anything.

All emerge <packagename> give the same error. I am totally lost and don't know what to do.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 01:02:44 UTC
Run `grep -Rni \>=media-sound/madplay /var/db/pkg` and fix it; we can't fix locally malformed VDB entries...
Comment 2 Sascha Wuestemann 2007-01-02 02:08:50 UTC
(I reopened the bug, because I believe that additional comments at closed bugs arren't read. If this assumption is wrong, please tell me.)

Ah, I see, I didn't know I have to look there, too:
/var/db/pkg/media-sound/normalize-0.7.6/RDEPEND and
/var/db/pkg/media-video/avifile- contain a non ascci character which appears as "^A" at vim and should be "-0", I assume.

I can't imagine, how this has happened. My system is up for 60 days, memory is fine, no partition had run full and no other strange error had occured. Do you have a clue?

I fixed both errors at the files and ran an 'emerge portage' with another error, now:

# emerge portage
Calculating dependencies |

Error occurred while processing sys-kernel/xfs-sources-2.4.20-r2
"Conditional without parenthesis: 'tcltk?'"

which is exactly this:
/var/db/pkg/sys-kernel/xfs-sources-2.4.20-r2/RDEPEND:5:                    tcltk? dev-lang/tk

grepping "tcltk? dev-lang" gives 4 hits, fixed at:
to "tcltk? ( dev-lang/tk )

Now emerge portage gives this error:

Error occurred while processing net-misc/mknbi-1.4.0
"invalid atom: '>=perl-5.6.1'"

I found
and now I am stuck because I don't know how to fix that. On the other hand, what if this error correction has no end? What about and how to rebuild all the files at /var/db/pkg instead?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 02:46:38 UTC
Please, stop reopening this bug. As already said, we can't fix your local cruft in VDB. Fix the broken atoms there, and then upgrade to latest portage version.
Comment 4 Sascha Wuestemann 2007-01-02 03:02:53 UTC
Ok, understood.

So there is no way to rebuild all the files at /var/db/pkg, right?
And you can't give any reasons how that happened, I assume?
Is there a readme how to fix the files at /var/db/pkg?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 03:15:11 UTC
(In reply to comment #4)
> Is there a readme how to fix the files at /var/db/pkg?

Open them in $EDITOR and fix the wrong dependency atoms portage is complaining about.