Using 'equery changes iptables' to inspect the changelog for the package produces an error message. I assume this to be a problem with the iptables package, as 'equery changes' seems to work with other packages. This is almost too trivial to mention, but here it is. :) Thanks. Reproducible: Always Steps to Reproduce: Execute the command: ~ # equery changes iptables Actual Results: !!! Invalid CPV: 'iptables-1.2.7.ebuild' Expected Results: Proper display of changelog for the package. twister ~ # emerge --info Portage 2.1.10.3 (hardened/linux/x86, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-hardened-r6 i686) ================================================================= System uname: Linux-2.6.38-hardened-r6-i686-Pentium_III_-Coppermine-with-gentoo-2.0.3 Timestamp of tree: Fri, 12 Aug 2011 07:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo local-portage ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,--hash-style=gnu,-O1 -Wl,--as-needed" LINGUAS="en_US en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 caps cli cracklib crypt cxx dri gdbm gpm hardened iconv mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic python readline samba session sse ssl sysfs threads unicode urandom userlocales x86 xorg zlib" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en_US en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v retrieving revision 1.245 diff -u -B -r1.245 ChangeLog --- ChangeLog 13 Aug 2011 17:21:16 -0000 1.245 +++ ChangeLog 15 Aug 2011 01:05:30 -0000 @@ -1134,13 +1134,13 @@ adding support for IMQ (intermediate queueing device.) See http://luxik.cdi.cz/~patrick/imq/ for more information. -*iptables-1.2.7.ebuild (17 Aug 2002) +*iptables-1.2.7 (17 Aug 2002) 17 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> iptables-1.2.7.ebuild : Version bump. Christian Parpart <cparpart@surakware.net> brought this to our attention. -*iptables-1.2.6a-r1.ebuild (14 July 2002) +*iptables-1.2.6a-r1 (14 July 2002) 14 Jul 2002; phoen][x <phoenix@gentoo.org> iptables-1.2.6a.ebuild : Added KEYWORDS. @@ -1148,7 +1148,7 @@ 14 Jul 2002; phoen][x <phoenix@gentoo.org> iptables-1.2.6a-r1.ebuild : Added KEYWORDS. -*iptables-1.2.4-r1.ebuild (14 July 2002) +*iptables-1.2.4-r1 (14 July 2002) 14 Jul 2002; phoen][x <phoenix@gentoo.org> iptables-1.2.4-r1.ebuild : Added KEYWORDS, SLOT. equery is absolutely correct, although it should perhaps carry on regardless or with a better error message.
What version of gentoolkit are you having this problem in? gentoolkit-0.3.0.4 should not have this problem. Same for the -9999 brian@big_daddy ~ $ equery changes iptables *iptables-1.4.12 (22 Jul 2011) 22 Jul 2011; Peter Volkov <pva@gentoo.org> +iptables-1.4.12.ebuild: Version bump. brian@big_daddy ~ $ equery --version equery (9999-af81292035e8d3559b11ab16fc54ccd921cb3587) - Gentoo package query tool brian@big_daddy ~ $
(In reply to comment #2) > What version of gentoolkit are you having this problem in? > > gentoolkit-0.3.0.4 should not have this problem. Same for the -9999 > > brian@big_daddy ~ $ equery changes iptables > *iptables-1.4.12 (22 Jul 2011) > > 22 Jul 2011; Peter Volkov <pva@gentoo.org> +iptables-1.4.12.ebuild: > Version bump. > brian@big_daddy ~ $ equery --version > equery (9999-af81292035e8d3559b11ab16fc54ccd921cb3587) - Gentoo package query > tool > brian@big_daddy ~ $ Well, it appears to: ---------------------------------------------------------------------------- ~ # equery list gentoolkit * Searching for gentoolkit ... [IP-] [ ] app-portage/gentoolkit-0.3.0.4:0 ~ # equery --version equery (0.3.0.4) - Gentoo package query tool ~ # equery changes portage *portage-2.1.10.3 (14 Jun 2011) 14 Jun 2011; Zac Medico <zmedico@gentoo.org> +portage-2.1.10.3.ebuild: 2.1.10.3 version bump.This fixes bug #371423 (InvalidDependString triggered by changes in IUSE for installed packages). Bug #358927 tracks all bugs fixed since portage-2.1.9.42. 12 Jun 2011; Zac Medico <zmedico@gentoo.org> -portage-2.1.10.1.ebuild, -portage-2.2.0_alpha37.ebuild, -portage-2.2.0_alpha39.ebuild: Remove old versions. ~ # equery changes iptables !!! Invalid CPV: 'iptables-1.2.7.ebuild' -----------------------------------------------------------------------------
bah!, my mistake. I knew we fixed it. I was sure it was in one of the releases. I just checked and it didn't get in 03.04-r1 either. In that case -9999 is the only one it is fixed in for now. So it can be marked IN_VCS, also a duplicate of bug 375293 git commit: 0382df255affced93b59322611a58bf98aec6c64 (Fri Jul 15 12:59:23 2011) Do not index ChangeLog entries with an invalid CPV. (Bug 375293) Some of the ChangeLogs had non-standard version entries that caused the problems.
(In reply to comment #4) Cool. Like I said, it's trivial. Just figured I ought to mention it so it could get cleaned up some time. Thanks, Brian.
http://sources.gentoo.org/net-firewall/iptables/ChangeLog?r1=1.245&r2=1.246