Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462334 - app-editors/emacs-24.3 - Package assoc is obsolete!
Summary: app-editors/emacs-24.3 - Package assoc is obsolete!
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 16:33 UTC by Juergen Rose
Modified: 2013-05-03 09:06 UTC (History)
0 users

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


Attachments
~/.xemacs/init.el (file_462334.txt,4.24 KB, text/plain)
2013-03-19 16:36 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2013-03-19 16:33:41 UTC
If I start emacs (even without parameters) it complains "Package assoc is obsolete!".  I tried already to use a minimal .xemacs/init.el, but it still complains.
Comment 1 Juergen Rose 2013-03-19 16:36:05 UTC
Created attachment 342652 [details]
~/.xemacs/init.el
Comment 2 Ulrich Müller gentoo-dev 2013-03-20 20:42:39 UTC
What happens if you start Emacs with "emacs -q" or "emacs -Q"?
Comment 3 Juergen Rose 2013-03-28 11:22:33 UTC
If I start emacs with 'emacs -q', it complains "Package assoc is obsolete!".
If I start emacs with 'emacs -Q', it does not complain.
Comment 4 Ulrich Müller gentoo-dev 2013-03-28 14:42:10 UTC
(In reply to comment #3)
> If I start emacs with 'emacs -q', it complains "Package assoc is obsolete!".
> If I start emacs with 'emacs -Q', it does not complain.

Looks like it's caused by some package in site-lisp then. Can you post the list of such packages output by "emacs-updater -a all -p"?
Comment 5 Juergen Rose 2013-03-28 19:07:15 UTC
root@lynx:/root(7)# emacs-updater  -p
...
Skipping ipython.elc (compiled by Emacs 24.3.1)

* No files to update, quitting.
root@lynx:/root(8)#  emacs-updater -a all -p
...
Found ipython.elc (compiled by Emacs 24.3.1)

* Assigning 525 files to packages ...
* 43 packages to remerge:
app-emacs/auctex:0
app-emacs/autoconf-mode:0
app-emacs/bbdb:0
app-emacs/cedet:0
app-emacs/csharp-mode:0
app-emacs/css-mode:0
app-emacs/emacs-w3m:0
app-emacs/ess:0
app-emacs/gentoo-syntax:0
app-emacs/gnuserv:0
app-emacs/imaxima:0
app-emacs/lua-mode:0
app-emacs/mmm-mode:0
app-emacs/ocaml-mode:0
app-emacs/php-mode:0
app-emacs/po-mode:0
app-emacs/pymacs:0
app-emacs/python-mode:0
app-emacs/quilt-el:0
app-emacs/redo:0
app-emacs/scala-mode:0
app-emacs/vm:0
app-text/a2ps:0
app-text/xdvik:0
dev-cpp/ctemplate:0
dev-lang/erlang:0
dev-libs/protobuf:0/8
dev-python/ipython:0
dev-scheme/guile:12
dev-util/cmake:0
dev-util/cscope:0
dev-util/desktop-file-utils:0
dev-util/gtk-doc:0
dev-util/ninja:0
dev-vcs/git:0
dev-vcs/mercurial:0
gnome-extra/zeitgeist-datasources:0
media-gfx/asymptote:0
net-dns/libidn:0
sci-mathematics/geomview:0
sci-physics/root:0
sci-visualization/epix:0
sci-visualization/gnuplot:0
root@lynx:/root(9)# 




And on the next system:

root@leopard:/root(17)# emacs-updater -a all -p
...
Found ess-dde.elc (compiled by Emacs 24.3.1)
Found ess-toolbar.elc (compiled by Emacs 24.3.1)

* Assigning 431 files to packages ...
* 38 packages to remerge:
app-admin/puppet:0
app-emacs/auctex:0
app-emacs/autoconf-mode:0
app-emacs/cedet:0
app-emacs/csharp-mode:0
app-emacs/emacs-w3m:0
app-emacs/ess:0
app-emacs/gnuserv:0
app-emacs/imaxima:0
app-emacs/lua-mode:0
app-emacs/ocaml-mode:0
app-emacs/php-mode:0
app-emacs/po-mode:0
app-emacs/pymacs:0
app-emacs/python-mode:0
app-emacs/redo:0
app-emacs/scala-mode:0
app-text/a2ps:0
app-text/xdvik:0
dev-cpp/ctemplate:0
dev-lang/erlang:0
dev-libs/protobuf:0/8
dev-python/ipython:0
dev-scheme/guile:12
dev-util/cmake:0
dev-util/desktop-file-utils:0
dev-util/gtk-doc:0
dev-util/ninja:0
dev-vcs/git:0
dev-vcs/mercurial:0
gnome-extra/zeitgeist-datasources:0
media-gfx/asymptote:0
net-dns/libidn:0
sci-mathematics/geomview:0
sci-mathematics/reduce:0
sci-physics/root:0
sci-visualization/epix:0
sci-visualization/gnuplot:0
Comment 6 Juergen Rose 2013-03-28 19:11:51 UTC
I tried to perform a 'emacs-updater -a all' but this hangs due to Bug 463646.
Comment 7 Juergen Rose 2013-03-28 19:29:19 UTC
To skip 'emerge root' I tried 'emacs-updater -a all -- --resume --skipfirst'.
But 'emacs' still complains "Package assoc is obsolete!".
Comment 8 Ulrich Müller gentoo-dev 2013-03-28 21:55:52 UTC
(In reply to comment #5)
> app-emacs/cedet:0

I guess that this is the package to blame. To verify, you could temporarily unmerge it and start Emacs again.

OTOH, the "obsolete" message is only a warning and doesn't have any negative consequences. If it annoys you too much, then adding the following code to /etc/emacs/site-start.el would be a workaround:

(defadvice do-after-load-evaluation (before no-obsolete activate)
  (let ((file (ad-get-arg 0)))
    (if (string-match-p "/assoc\\.el" file)
	(ad-set-arg 0 (replace-regexp-in-string "/obsolete/" "/" file)))))