The ChangeLog is not displayed although the File exists. It works with "normal" ebuilds. Reproducible: Always Steps to Reproduce: 1.emerge --changelog --verbose --pretend nvi 2. 3. Actual Results: discofish root # emerge --changelog --verbose --pretend nvi These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] app-editors/nvi-1.81.5-r3 [1.81.5-r2] 0 kB [2] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/portage [2] /usr/local/portage-local--main--1.0 Expected Results: discofish root # emerge --changelog --verbose --pretend nvi These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] app-editors/nvi-1.81.5-r3 [1.81.5-r2] 0 kB [2] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/portage [2] /usr/local/portage-local--main--1.0 *nvi-1.81.5-r3 (05 Mar 2005) 05 Mar 2005; Sascha Silbe <sascha-gentoo-portage@silbe.org> nvi-1.81.5-r3.ebuild: Use "alternatives" eclass to support installing vim and nvi in parallel. discofish root # emerge info Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.10-infra-r2-discofish i686) ================================================================= System uname: 2.6.10-infra-r2-discofish i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 21:13:15)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" MAKEOPTS="-j5 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-local--main--1.0" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apache2 avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr emboss encode f77 fam flac font-server foomaticdb fortran gd gdbm gif gphoto2 gpm gtk2 imagemagick imlib ipv6 jpeg kde kdeenablefinal kerberos libcaca libg++ libwww mad mikmod mmx mozilla mp3 mpeg mysql nas ncurses nls nogcj oggvorbis opengl pam pda pdflib perl png python qt quicktime readline samba sdl slang spell sqlite sse ssl tcltk tcpdtetex tiff truetype truetype-fonts type1-fonts xface xinerama xml xml2 xmms xv zlib linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Its invalid ... current version > next version, thats why you arent getting any text from changelog
The currently installed version is app-editors/nvi-1.81.5-r3, it's going to get upgraded to app-editors/nvi-1.81.5-r2. 100% ordinary upgrade procedure. If it were a downgrade, it would also have been marked as such by the "emerge -p" output. The package was released after the changes so the ChangeLog format is correct, too.
broken Changelog?
Created attachment 53258 [details] ChangeLog from Portage overlay
Sorry for my misunderstood.... I dont know much python but it seems it doesnt handle suffixes and revision numbers... is it actually trying to do it or isnt it a feature at all?
is this bug valid anymore? if not please close this bug
(In reply to comment #4) > Created an attachment (id=53258) [edit] > ChangeLog from Portage overlay It doesn't work because there's no ChangeLog entry for nvi-1.81.5-r2. There has to be entries for both the old version that's installed and the new one that will replace it. Also, your changelog is missing an asterisk (*) before "nvi-1.81.5-r3 (05 Mar 2005)". The asterisk is required. Bascally, you'd need two entries similar to these: *nvi-1.81.5-r3 (05 Mar 2005) 05 Mar 2005; Sascha Silbe <sascha-gentoo-portage@silbe.org> nvi-1.81.5-r3.ebuild: Use "alternatives" eclass to support installing vim and nvi in parallel. *nvi-1.81.5-r2 (04 Mar 2005) 04 Mar 2005; Sascha Silbe <sascha-gentoo-portage@silbe.org> nvi-1.81.5-r2.ebuild: Add older entry so emerge --changelog works.
Please reopen if there's still a problem.