Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795489 - =x11-misc/picom-9999 fails to emerge because no "test" use flag
Summary: =x11-misc/picom-9999 fails to emerge because no "test" use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-12 05:43 UTC by zaheen.jamil
Modified: 2021-06-12 06:04 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 zaheen.jamil 2021-06-12 05:43:44 UTC
Output of emerge:
 * Package:    x11-misc/picom-9999
 * Repository: gentoo
 * Maintainer: voyageur@gentoo.org
 * USE:        abi_x86_64 amd64 config-file dbus doc drm elibc_glibc kernel_linux opengl userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * ERROR: x11-misc/picom-9999::gentoo failed (setup phase):
 *   USE Flag 'test' not in IUSE for x11-misc/picom-9999
 *
 * Call stack:
 *           ebuild.sh, line 127:  Called pkg_setup
 *   picom-9999.ebuild, line  45:  Called use 'test'
 *    phase-helpers.sh, line 252:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=x11-misc/picom-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/picom-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/picom-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/picom-9999/temp/die.env'.
 * Working directory: '/var/tmp/portage/x11-misc/picom-9999/homedir'
 * S: '/var/tmp/portage/x11-misc/picom-9999/work/picom-9999'

 * Messages for package x11-misc/picom-9999:

 * ERROR: x11-misc/picom-9999::gentoo failed (setup phase):
 *   USE Flag 'test' not in IUSE for x11-misc/picom-9999
 *
 * Call stack:
 *           ebuild.sh, line 127:  Called pkg_setup
 *   picom-9999.ebuild, line  45:  Called use 'test'
 *    phase-helpers.sh, line 252:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=x11-misc/picom-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/picom-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/picom-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/picom-9999/temp/die.env'.
 * Working directory: '/var/tmp/portage/x11-misc/picom-9999/homedir'
 * S: '/var/tmp/portage/x11-misc/picom-9999/work/picom-9999'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (x11-misc/picom-9999:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/x11-misc/picom-9999/temp/build.log'
 *
/var/tmp/portage/x11-misc/picom-9999/temp/build.log:
* Package:    x11-misc/picom-9999
 * Repository: gentoo
 * Maintainer: voyageur@gentoo.org
 * USE:        abi_x86_64 amd64 config-file dbus doc drm elibc_glibc kernel_linux opengl userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * ERROR: x11-misc/picom-9999::gentoo failed (setup phase):
 *   USE Flag 'test' not in IUSE for x11-misc/picom-9999
 * 
 * Call stack:
 *           ebuild.sh, line 127:  Called pkg_setup
 *   picom-9999.ebuild, line  45:  Called use 'test'
 *    phase-helpers.sh, line 252:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 * 
 * If you need support, post the output of `emerge --info '=x11-misc/picom-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/picom-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/picom-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/picom-9999/temp/die.env'.
 * Working directory: '/var/tmp/portage/x11-misc/picom-9999/homedir'
 * S: '/var/tmp/portage/x11-misc/picom-9999/work/picom-9999'
I fixed it by adding "test" in IUSE:
IUSE="+config-file dbus +doc +drm opengl pcre test"
or removing "use test" from pkg_setup():
pkg_setup() {
	python-any-r1_pkg_setup
}
The problem seems to have been introduced in this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6eba06a367ef5d8d2ac6787caad768fa2b713a6
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-12 05:44:37 UTC
oh, I see. Thanks.
Comment 2 Larry the Git Cow gentoo-dev 2021-06-12 05:47:24 UTC
The bug has been closed via the following commit(s):

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

commit f7603f093ba039f10009ec1142a7a31fee523a36
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-12 05:47:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-12 05:47:06 +0000

    x11-misc/picom: sync live ebuild, fix tests
    
    Closes: https://bugs.gentoo.org/795489
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/picom/picom-9999.ebuild | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2021-06-12 05:50:26 UTC
The bug has been referenced in the following commit(s):

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

commit 159e3d0215755de6bad62e5f94e4d4f33bdc8150
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-12 05:50:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-12 05:50:06 +0000

    x11-misc/picom: sync extra RESTRICT for tests
    
    Bug: https://bugs.gentoo.org/795489
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/picom/picom-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 4 zaheen.jamil 2021-06-12 05:59:07 UTC
Wow, that was fast! And I just tested the new ebuild and it works. Thanks!
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-12 06:04:37 UTC
(In reply to zaheen.jamil from comment #4)
> Wow, that was fast! And I just tested the new ebuild and it works. Thanks!

I try to give good service! Thanks for reporting the bug and for flying Gentoo. :)