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
Created attachment 495984 [details] emerge-info.txt
Created attachment 495986 [details] app-emacs:f-0.19.0:20170922-072456.log
Created attachment 495988 [details] emerge-history.txt
Created attachment 495990 [details] environment
Created attachment 495992 [details] etc.portage.tbz2
Created attachment 495994 [details] temp.tbz2
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.
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(-)
Do we want to package cask as well, or is current solution OK?
(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.
It would be preferable to get the tests work, so probably package it.
@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
(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.