Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631736 - app-emacs/f-0.19.0 : make[1]: cask: Command not found
Summary: app-emacs/f-0.19.0 : make[1]: cask: Command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Victor Gaydov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-22 18:01 UTC by Toralf Förster
Modified: 2017-10-04 11:51 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.05 KB, text/plain)
2017-09-22 18:01 UTC, Toralf Förster
Details
app-emacs:f-0.19.0:20170922-072456.log (app-emacs:f-0.19.0:20170922-072456.log,2.30 KB, text/plain)
2017-09-22 18:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,263.18 KB, text/plain)
2017-09-22 18:01 UTC, Toralf Förster
Details
environment (environment,24.40 KB, text/plain)
2017-09-22 18:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,45.79 KB, application/x-bzip)
2017-09-22 18:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.98 KB, application/x-bzip)
2017-09-22 18:01 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 2017-09-22 18:01:02 UTC
make[1]: Entering directory '/var/tmp/portage/app-emacs/f-0.19.0/work/f.el-0.19.0'
cask exec ert-runner
make[1]: cask: Command not found
make[1]: *** [Makefile:13: unit] Error 127
make[1]: Leaving directory '/var/tmp/portage/app-emacs/f-0.19.0/work/f.el-0.19.0'
make: *** [Makefile:7: test] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl_20170914-215948

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-emacs/f
[ebuild  N    ] app-emacs/f-0.19.0
Comment 1 Toralf Förster gentoo-dev 2017-09-22 18:01:04 UTC
Created attachment 495984 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-22 18:01:08 UTC
Created attachment 495986 [details]
app-emacs:f-0.19.0:20170922-072456.log
Comment 3 Toralf Förster gentoo-dev 2017-09-22 18:01:11 UTC
Created attachment 495988 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-22 18:01:14 UTC
Created attachment 495990 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-22 18:01:17 UTC
Created attachment 495992 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-22 18:01:20 UTC
Created attachment 495994 [details]
temp.tbz2
Comment 7 Ulrich Müller gentoo-dev 2017-09-22 18:47:04 UTC
This would require Cask from https://github.com/cask/cask as additional dependency, which is not packaged yet. Furthermore, cask itself depends on f, leading to a circular dependency (only with USE=test though).

Adding RESTRICT=test, for the time being.
Comment 8 Larry the Git Cow gentoo-dev 2017-09-22 18:47:57 UTC
The bug has been closed via the following commit(s):

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

commit f8be9a00598a80e06f534e4108c9a8a220e36210
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2017-09-22 18:43:49 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2017-09-22 18:47:18 +0000

    app-emacs/f: RESTRICT=test
    
    Closes: https://bugs.gentoo.org/631736
    Package-Manager: Portage-2.3.10, Repoman-2.3.3

 app-emacs/f/f-0.18.2.ebuild | 3 ++-
 app-emacs/f/f-0.19.0.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 9 Victor Gaydov 2017-10-03 09:56:33 UTC
Do we want to package cask as well, or is current solution OK?
Comment 10 Ulrich Müller gentoo-dev 2017-10-03 10:24:09 UTC
(In reply to Victor Gaydov from comment #9)
> Do we want to package cask as well, or is current solution OK?

I won't want to add an extra dependency only for tests.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-10-03 11:58:09 UTC
It would be preferable to get the tests work, so probably package it.
Comment 12 Victor Gaydov 2017-10-04 10:10:25 UTC
@Ulrich, @Michał,

So do we want something like this?

------------------------------------------------
app-emacs/f:

  IUSE="... test ..."
  DEPEND="... test? ( app-emacs/casc ) ..."

app-emacs/cask:

  DEPEND="... app-emacs/f ..."
------------------------------------------------

Not sure if the benefits outweigh the problem with circular dependency. Or is there a workaround for such cases?

Though, we can package cask and enable tests at least for desktop+[1].

[1] https://bugs.gentoo.org/631742
Comment 13 Ulrich Müller gentoo-dev 2017-10-04 11:51:58 UTC
(In reply to Victor Gaydov from comment #12)
> So do we want something like this?
> 
> ------------------------------------------------
> app-emacs/f:
> 
>   IUSE="... test ..."
>   DEPEND="... test? ( app-emacs/casc ) ..."
> app-emacs/cask:
> 
>   DEPEND="... app-emacs/f ..."
> ------------------------------------------------

As I already said in comment #10, I rather wouldn't.


(In reply to Michał Górny from comment #11)
> It would be preferable to get the tests work, so probably package it.

IMHO not worth the effort for a pure test dependency. I had briefly looked at cask, and it looks somewhat like a foreign body in a distro environment (it seems to be intended as an upstream tool to work with ELPA and MELPA). Also it is not the only dependency needed, at least I've seen a (require 'undercover) in f-init.el.