Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768984 - vim-plugin: vim-plugin_src_install breaks ebuild command semantics
Summary: vim-plugin: vim-plugin_src_install breaks ebuild command semantics
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 14:56 UTC by Daniel M. Weeks
Modified: 2021-02-07 12:34 UTC (History)
1 user (show)

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 Daniel M. Weeks 2021-02-06 14:56:18 UTC
By moving and removing files in ${S}, it is possible to be left with no ${S} at all once the install phase is complete. When passing multiple commands to ebuild that depend on the completion of the install phase, commands after the first will fail.

ebuild easytags-3.11-r2.ebuild clean package merge

[... package phase - invoking install phase - has completed. Beginning of merge...]

>>> Checking easytags-3.11.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'pretend' has already executed for 'easytags-3.11-r2'; skipping.
>>> Remove '/tmp/portage/app-vim/easytags-3.11-r2/.pretended' to force pretend.
>>> It appears that 'setup' has already executed for 'easytags-3.11-r2'; skipping.
>>> Remove '/tmp/portage/app-vim/easytags-3.11-r2/.setuped' to force setup.
>>> It appears that 'unpack' has already executed for 'easytags-3.11-r2'; skipping.
>>> Remove '/tmp/portage/app-vim/easytags-3.11-r2/.unpacked' to force unpack.
>>> It appears that 'prepare' has already executed for 'easytags-3.11-r2'; skipping.
>>> Remove '/tmp/portage/app-vim/easytags-3.11-r2/.prepared' to force prepare.
>>> It appears that 'configure' has already executed for 'easytags-3.11-r2'; skipping.
>>> Remove '/tmp/portage/app-vim/easytags-3.11-r2/.configured' to force configure.
>>> It appears that 'compile' has already executed for 'easytags-3.11-r2'; skipping.
>>> Remove '/tmp/portage/app-vim/easytags-3.11-r2/.compiled' to force compile.
 * ERROR: app-vim/easytags-3.11-r2::junkdrawer failed (test phase):
 *   The source directory '/tmp/portage/app-vim/easytags-3.11-r2/work/vim-easytags-3.11' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line  762:  Called __ebuild_main 'test'
 *   phase-functions.sh, line 1050:  Called __dyn_test
 *   phase-functions.sh, line  489:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of `emerge --info '=app-vim/easytags-3.11-r2::junkdrawer'`,
 * the complete build log and the output of `emerge -pqv '=app-vim/easytags-3.11-r2::junkdrawer'`.
 * The complete build log is located at '/tmp/portage/app-vim/easytags-3.11-r2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/app-vim/easytags-3.11-r2/temp/environment'.
 * Working directory: '/tmp/portage/app-vim/easytags-3.11-r2/homedir'
 * S: '/tmp/portage/app-vim/easytags-3.11-r2/work/vim-easytags-3.11'


Reproducible: Always