Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701160 - app-emacs/elib-1.0-r1 : cp: cannot stat stack-m.elc : No such file or directory
Summary: app-emacs/elib-1.0-r1 : cp: cannot stat stack-m.elc : No such file or directory
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-25 18:59 UTC by Toralf Förster
Modified: 2019-12-25 12:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.31 KB, text/plain)
2019-11-25 18:59 UTC, Toralf Förster
Details
app-emacs:elib-1.0-r1:20191125-172723.log (app-emacs:elib-1.0-r1:20191125-172723.log,6.05 KB, text/plain)
2019-11-25 18:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,217.19 KB, text/plain)
2019-11-25 18:59 UTC, Toralf Förster
Details
environment (environment,82.61 KB, text/plain)
2019-11-25 18:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.00 KB, application/x-bzip)
2019-11-25 18:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.81 KB, application/x-bzip)
2019-11-25 18:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-11-25 18:59:29 UTC
cp stack-f.el stack-m.el queue-f.el queue-m.el elib-node.el bintree.el avltree.el string.el read.el cookie.el dll.el dll-debug.el /var/tmp/portage/app-emacs/elib-1.0-r1/image//usr/share/emacs/site-lisp/elib
cp stack-f.elc stack-m.elc queue-f.elc queue-m.elc elib-node.elc bintree.elc avltree.elc string.elc read.elc cookie.elc dll.elc dll-debug.elc /var/tmp/portage/app-emacs/elib-1.0-r1/image//usr/share/emacs/site-lisp/elib
cp: cannot stat 'stack-m.elc': No such file or directory
cp: cannot stat 'queue-m.elc': No such file or directory
cp: cannot stat 'elib-node.elc': No such file or directory
cp: cannot stat 'bintree.elc': No such file or directory

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20191121-091537

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 25 Nov 2019 17:06:20 +0000

emerge -qpvO app-emacs/elib
[ebuild  N    ] app-emacs/elib-1.0-r1
Comment 1 Toralf Förster gentoo-dev 2019-11-25 18:59:31 UTC
Created attachment 597518 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-25 18:59:35 UTC
Created attachment 597520 [details]
app-emacs:elib-1.0-r1:20191125-172723.log
Comment 3 Toralf Förster gentoo-dev 2019-11-25 18:59:38 UTC
Created attachment 597522 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-11-25 18:59:40 UTC
Created attachment 597524 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-11-25 18:59:43 UTC
Created attachment 597526 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-25 18:59:46 UTC
Created attachment 597528 [details]
temp.tbz2
Comment 7 Ulrich Müller gentoo-dev 2019-11-26 00:15:43 UTC
Hm, this should already have failed in the compile phase:

> >>> Compiling source in /var/tmp/portage/app-emacs/elib-1.0-r1/work/elib-1.0 ...
> make -j1 
> emacs -batch -l elib-compile-all.el -f compile-elib
> Byte-compiling stack-f.el...
> Byte-compiling stack-m.el...
>
> In toplevel form:
> stack-m.el:52:1:Error: Old-style backquotes detected!

Apparently the upstream build system doesn't do proper error checking. It then fails during the install phase due to missing *.elc files.


https://www.gnu.org/software/elib/ says: "Elib has been decommissioned as a separate package since its useful functions have long since been included in Emacs." So, this looks like a candidate for removal.

There is one reverse dependency, app-emacs/jde-2.4.1, but AFAICS the only thing it requires from elib is avltree, which has been replaced by avl-tree in Emacs proper. Chances are that we can drop elib as a dependency there.
Comment 8 Larry the Git Cow gentoo-dev 2019-11-26 10:39:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b21e4c74285c8dd5fa00243c3ad136085bf9a675

commit b21e4c74285c8dd5fa00243c3ad136085bf9a675
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2019-11-26 10:10:49 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2019-11-26 10:38:59 +0000

    app-emacs/jde: Drop dependency on app-emacs/elib.
    
    avltree.el from elib was only required for compatibility with old
    Emacs versions. All versions >=emacs-23 include avl-tree.el, which
    will be properly detected in jde-parse.el.
    
    Other minor fixes to make repoman happy.
    
    Bug: https://bugs.gentoo.org/701160
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../jde/{jde-2.4.1.ebuild => jde-2.4.1-r1.ebuild}  | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
Comment 9 Ulrich Müller gentoo-dev 2019-11-26 10:43:15 UTC
# Ulrich Müller <ulm@gentoo.org> (2019-11-26)
# Upstream says: "Elib has been decommissioned as a separate package
# since its useful functions have long since been included in Emacs."
# Last release in 1995. Byte-compilation fails with Emacs 27.
# Masked for removal in 30 days. Bug #701160.
app-emacs/elib
Comment 10 Larry the Git Cow gentoo-dev 2019-12-25 12:18:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc1fcf27290493ec5adb14994913fe39da06eb6

commit bdc1fcf27290493ec5adb14994913fe39da06eb6
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2019-12-25 12:15:21 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2019-12-25 12:15:21 +0000

    app-emacs/elib: Remove package.
    
    Bug: https://bugs.gentoo.org/701160
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emacs/elib/Manifest                       |  1 -
 app-emacs/elib/elib-1.0-r1.ebuild             | 33 ---------------------------
 app-emacs/elib/files/50elib-gentoo.el         |  1 -
 app-emacs/elib/files/elib-1.0-texinfo-5.patch | 14 ------------
 app-emacs/elib/metadata.xml                   | 12 ----------
 5 files changed, 61 deletions(-)