Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159224 - repoman has inconsistent output and is flat wrong
Summary: repoman has inconsistent output and is flat wrong
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-12-27 09:13 UTC by William L. Thomson Jr. (RETIRED)
Modified: 2006-12-31 09:07 UTC (History)
0 users

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


Attachments
use separate xmatch caches for each value of ACCEPT_KEYWORDS (accept_keywords_xcache.patch,1.32 KB, patch)
2006-12-31 07:39 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William L. Thomson Jr. (RETIRED) gentoo-dev 2006-12-27 09:13:11 UTC
With Portage 2.1.2_rc4-r1, repoman's output is incorrect

wlt wlt # emerge --info
Portage 2.1.2_rc4-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Turion(tm) 64 Mobile Technology ML-40
Gentoo Base System version 1.12.8
Last Sync: Wed, 27 Dec 2006 15:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
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
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -msse -mfpmath=sse -msse2 -msse3 -march=k8 -mtune=k8 -minline-all-stringops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -msse -mfpmath=sse -msse2 -msse3 -march=k8 -mtune=k8 -minline-all-stringops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.noved.org/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.ccccom.com http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/ http://128.213.5.34/gentoo/ http://lug.mtu.edu/gentoo/"
LDFLAGS="-Wl,-O1 "
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/wlt/my_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib ac97 acpi aiglx aim 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 aqua_theme asf avahi avi bash-completion berkdb bitmap-fonts bluetooth bonobo branding browserplugin bzip2 bzlib cairo cdda cddb cdparanoia cdr cdrom cis cpudetection cracklib crypt ctrlmenu cups custom-cflags dbus dhcp directfb divx divx4linux dlloader dri drm dvd dvdr dvdread eds elibc_glibc encode esd ethereal evo expat fam ffmpeg firebird firefox flac flash fontconfig gb gdbm gedit gif gimp glsa gmedia gnome gnomedb gnutls gphoto2 graphviz gsm gstreamer gtk gtk2 gtkhtml hal iconv icq imagemagick inkjar input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 jabber java java5 javamail javascript john jpeg jpeg2k kernel_linux keyring kqemu lcms libg++ libnotify linguas_en lm_sensors logrotate mad mbrola moznocompose moznoirc moznomail mozsvg mp3 mpeg msn nautilus ncurses nfs nls nptl nptlonly nsplugin offensive ogg opengl openntpd oscar pam pam_console password pcmcia pcre pdf perl png pnp ppds pppd python qa qt quicktime readline rtc samba scanner sdk sdl server session sound spell ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fglrx video_cards_radeon video_cards_v4l video_cards_vesa vl2 vorbis widescreen wmf wmp x11vnc xcomposite xine xinerama xml xml2 xorg xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS



wlt@wlt ~/gentoo/gentoo-x86/www-servers/tomcat $ repoman -v scan

Setting paths:
PORTDIR = "/wlt/gentoo/gentoo-x86"
PORTDIR_OVERLAY = ""

RepoMan scours the neighborhood...
checking package www-servers/tomcat

  DEPEND.bad                     10
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~amd64(default-linux/amd64/2006.1) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~amd64(default-linux/amd64/2006.1/desktop) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~amd64(default-linux/amd64/2006.1/no-multilib) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~amd64(hardened/amd64) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~amd64(hardened/amd64/multilib) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86(default-linux/x86/2006.1) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86(default-linux/x86/no-nptl) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86(default-linux/x86/no-nptl/2.4) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86(default-linux/x86/2006.1/desktop) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86(hardened/x86/2.6) ['>=dev-java/java-config-2.0.31']
  DEPEND.badindev                3
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~amd64(default-linux/amd64/2006.0/no-symlinks) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~amd64(selinux/amd64/2006.1) ['>=dev-java/java-config-2.0.31']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86(selinux/x86/2006.1) ['>=dev-java/java-config-2.0.31']
  digest.assumed                 2
   digest-tomcat-5.0.27-r6::jakarta-tomcat-5.0.27.tar.gz
   digest-tomcat-5.0.28-r14::jakarta-tomcat-5.0.28-src.tar.gz

When the output should have been

wlt@wlt ~/Desktop/gentoo-x86/www-servers/tomcat $ repoman scan       

Setting paths:
PORTDIR = "/wlt/Desktop/gentoo-x86"
PORTDIR_OVERLAY = ""

RepoMan scours the neighborhood...

  DEPEND.badindev                2
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86-fbsd(default-bsd/fbsd/6.1/x86) ['=virtual/jdk-1.4*', '=dev-java/commons-httpclient-2.0*', '=virtual/jre-1.4*']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86-fbsd(default-bsd/fbsd/6.2/x86) ['=virtual/jdk-1.4*', '=dev-java/commons-httpclient-2.0*', '=virtual/jre-1.4*']
  RDEPEND.badindev               2
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86-fbsd(default-bsd/fbsd/6.1/x86) ['=virtual/jre-1.4*', '=dev-java/commons-httpclient-2.0*']
   www-servers/tomcat/tomcat-5.5.20-r5.ebuild: ~x86-fbsd(default-bsd/fbsd/6.2/x86) ['=virtual/jre-1.4*', '=dev-java/commons-httpclient-2.0*']
  digest.assumed                 2
   digest-tomcat-5.0.27-r6::jakarta-tomcat-5.0.27.tar.gz
   digest-tomcat-5.0.28-r14::jakarta-tomcat-5.0.28-src.tar.gz
RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."

This prevented me from being able to make a commit. At the time I had java-config-2.0.31 in my CVS snapshot, in my local copy of portage,  and installed. Yet repoman kept complaining about it. Quite annoying and took some time to track down to differences in portage/repoman versions.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-27 10:01:08 UTC
The ~x86-fbsd failures are due by an old repoman not parsing use.force and package.use.force.
Comment 2 Zac Medico gentoo-dev 2006-12-28 17:33:41 UTC
Is this still an issue?  I've just run repoman on www-servers/tomcat using a cvs checkout from last night (after this bug was filed) and repoman doesn't have any complaints now.
Comment 3 Zac Medico gentoo-dev 2006-12-30 11:47:35 UTC
Please reopen if this happens again.
Comment 4 Zac Medico gentoo-dev 2006-12-31 07:39:02 UTC
Created attachment 105049 [details, diff]
use separate xmatch caches for each value of ACCEPT_KEYWORDS

I hit this myself today.  I'm surprised that it doesn't trigger wacky results more often than it seems to.
Comment 5 Zac Medico gentoo-dev 2006-12-31 07:45:38 UTC
This is fixed in svn r5438.
Comment 6 Zac Medico gentoo-dev 2006-12-31 09:07:36 UTC
This has been released in 2.1.2_rc4-r4.