Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301215 - [emacs-overlay] virtual/emacs-23 forces downgrade to emacs-22
Summary: [emacs-overlay] virtual/emacs-23 forces downgrade to emacs-22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 18:11 UTC by Łukasz Stelmach
Modified: 2010-01-17 17:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Stelmach 2010-01-16 18:11:59 UTC
I've got emacs overlay installed with its unstable virtual/emacs-23 in it. When I try to upgrade my world portege[1] finds it and doesn't try to find the stable one (I've installed it already) from the main portage tree and suggests downgrade to emacs-22.

[1] maybe it is a portage bug. 

Reproducible: Always

Steps to Reproduce:
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-16 18:19:42 UTC
Please provide emerge --info app-editors/emacs and the Portage output for your downgrade with -pvt options.
Comment 2 Łukasz Stelmach 2010-01-16 20:26:28 UTC
kotik ~ # emerge --info
Portage 2.2_rc33 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6-1stl x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-1stl-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 16 Jan 2010 13:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.po.opole.pl"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/amd64"
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/layman/xwing /usr/local/portage/layman/emacs /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 animgif ao aotuv audiofile avahi berkdb bidi bluetooth bzip2 cairo caps cddb cdio cdparanoia cdr cjk cli consolekit cracklib crypt cscope cups curl cvs cxx cyryllic dbus dirac djvu dri dvd dvdr dvdread eds emacs encode equalizer esd evo exif expat faac faad fam fftw firefox flac fontconfig fortran fuse gd gdbm gif gimp glib glitz gmp gnustep gnutls gpg gpgme gpm gps gs gsl gsm gstreamer gtk hal hddtemp iconv icu id3 id3tag idn ieee1394 imagemagick imlib ipod ipv6 irda jabber jpeg jpeg2k kerberos kpathsea ladspa latex lcms ldap libnotify libsamplerate lm_sensors lua lzma lzo mad mbox md5sum midi mikmod mmap mmx mmxext mng modules mp3 mp4 mpeg mtp mudflap multilib musepack ncurses nls nptl nptlonly nsplugin objc objc++ objc-gc offensive ogg openexr opengl openmp pam pcre pdf perl plotutils png policykit ppds pppd pth python qt3 qt3support qt4 quicktime rdesktop readline reflection ruby sasl schroedinger sdl session smp sndfile socks5 soundtouch speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog tcl tcpd theora threads thunar tiff tk truetype unicode usb v4l v4l2 vdpau vim-syntax vorbis wavpack webdav wifi wps wxwindows x264 xattr xcb xft xinerama xml xmp xorg xpm xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="emu10k1x ens1371 hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev nv v4l vesa vga dummy vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


kotik ~ # emerge -puDNavt po-mode
>>> --pretend disables --ask... removing --ask from options.

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge      ] app-emacs/po-mode-0.17 
[ebuild     UD]  virtual/emacs-22 [23] 0 kB
[ebuild  NS   ]   app-editors/emacs-22.3-r3 [23.1-r2] USE="X alsa gif gtk jpeg kerberos png sound tiff toolkit-scroll-bars xpm -Xaw3d -gzip-el -hesiod -motif -source" 38,664 kB

Total: 2 packages (1 downgrade, 1 in new slot), Size of downloads: 38,664 kB

I work it around by adding /usr/portage at the end of PORTDIR_OVERLAY in my make.conf
Comment 3 Ulrich Müller gentoo-dev 2010-01-16 20:50:18 UTC
I've revbumped virtual/emacs to -r1 in the overlay. Please do "layman -s emacs" and try again.
Comment 4 Łukasz Stelmach 2010-01-17 17:07:46 UTC
Looks and works fine. Portage doesn't suggest downgrade any more. Wouldn't -r99 or something like this be better?

kotik ~ # emerge -pvt virtual/emacs

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] virtual/emacs-23  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-17 17:28:51 UTC
A revision bump for a virtual will probably never happen.  Only direct version bumps.