Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648896 - x11-wm/enlightenment-0.21.7 - src_configure(): The ebuild needs to be kept in sync. Add these modules: policy-mobile
Summary: x11-wm/enlightenment-0.21.7 - src_configure(): The ebuild needs to be kept in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: enlightenment+disabled
URL:
Whiteboard:
Keywords:
: 654068 (view as bug list)
Depends on: 633754
Blocks:
  Show dependency tree
 
Reported: 2018-02-26 18:45 UTC by MickKi
Modified: 2018-05-11 08:44 UTC (History)
7 users (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 MickKi 2018-02-26 18:45:47 UTC
enlightenment-0.21.7 now comes up with USE="-policy-mobile%" which fails the configuration stage.

This is what I get on my systems:

>>> Unpacking source...
>>> Unpacking enlightenment-0.21.7.tar.xz to /data/tmp_var/portage/x11-wm/enlightenment-0.21.7/work
>>> Source unpacked in /data/tmp_var/portage/x11-wm/enlightenment-0.21.7/work
>>> Preparing source in /data/tmp_var/portage/x11-wm/enlightenment-0.21.7/work/enlightenment-0.21.7 ...
 * Applying quickstart.diff ...                                                   [ ok ]
 * Removing useless C++ checks ...
 * epunt_cxx called unnecessarily (no C++ checks to punt).                        [ ok ]
 * Running elibtoolize in: enlightenment-0.21.7/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 *   Applying ppc64le/2.4.4 patch ...
>>> Source prepared.
>>> Configuring source in /data/tmp_var/portage/x11-wm/enlightenment-0.21.7/work/enlightenment-0.21.7 ...
 * The ebuild needs to be kept in sync.
 * Add these modules: policy-mobile
 * Drop these modules: 
 * ERROR: x11-wm/enlightenment-0.21.7::gentoo failed (configure phase):
 *   please update the ebuild
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 1970:  Called check_modules
 *   environment, line  349:  Called die
 * The specific snippet of code:
 *           die "please update the ebuild";

PS. I know there's no active maintainer, but the ebuild needs updating.  Could someone please chime in to get this desktop environment going?  It's really useful (for me) on systems low on resources.
-- 
Regards,
Mick
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-27 08:45:53 UTC
commit e25cf18ca19463a7d05519aa843cc76a189ab75c
Author: Michał Górny <mgorny@gentoo.org>
Date:   Mon Feb 26 11:15:38 2018 +0100

    x11-wm/enlightenment: [QA] Remove undescribed policy-mobile module

    Patch-by: Vadim Efimov <evadim@evadim.ru>
    Closes: https://bugs.gentoo.org/633754
Comment 2 Joonas Niilola gentoo-dev 2018-02-28 08:29:40 UTC
Ok, so, upstream removed policy-mobile from E but that change is only affected in the future version. If you want to get 0.21.7 working, you need to either revise changes done with commit https://github.com/gentoo/gentoo/commit/e25cf18ca19463a7d05519aa843cc76a189ab75c or add two (dirty) lines of sed in your local ebuild. 

You can get it to build when you add these under src_prepare()

----------
sed -i '/policy_mobile/d' configure.ac
sed -i '/policy_mobile/d' src/modules/Makefile.mk
----------

1st line is to get past sanity check in the ebuild, and the 2nd is fixing E's module dependency in source files or something. You could also apply the patch mentioned in https://bugs.gentoo.org/640762#c1 but I dont think its necessary. 

I dont know whats the official fix for this, and when its going to arrive, but these will make it build for you (locally).

(For E's maintainers, theres also QA notices about missing xdg_desktop_database_update and xdg_mimeinfo_database_update)
Comment 3 yesi 2018-03-23 11:10:28 UTC
Hi,

The compilation's error is still present.
No update.
Comment 4 Joonas Niilola gentoo-dev 2018-03-24 15:33:59 UTC
(In reply to yesi from comment #3)
> Hi,
> 
> The compilation's error is still present.
> No update.

There's a PR open about it, 
https://github.com/gentoo/gentoo/pull/7566

but I feel like its waiting a review from Gentoo-enlightenment team... Im hoping this post pings the right people!
Comment 5 Larry the Git Cow gentoo-dev 2018-03-25 10:28:13 UTC
The bug has been closed via the following commit(s):

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

commit 79e90bd4d746a4afcd73edd8ec19c184eb4192ab
Author:     juippis <juippis@gmail.com>
AuthorDate: 2018-03-23 14:49:53 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-03-25 10:28:09 +0000

    x11-wm/enlightenment-0.21.7: Disable module_check
    
    Closes: https://bugs.gentoo.org/648896
    Closes: https://github.com/gentoo/gentoo/pull/7566

 x11-wm/enlightenment/enlightenment-0.21.7.ebuild | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
Comment 6 Xiami 2018-04-10 05:31:15 UTC
From IRC talking, the latest stable version 0.20.5 is also affected by commit
https://github.com/gentoo/gentoo/commit/e25cf18ca19463a7d05519aa843cc76a189ab75c

Suggest disable check_modules also on this ebuild.

13:17 < Th3Z0h4n> build log here ... https://pastebin.com/Ly3cGG6d
Comment 7 Joonas Niilola gentoo-dev 2018-04-13 14:34:44 UTC
(In reply to Xiami from comment #6)
> From IRC talking, the latest stable version 0.20.5 is also affected by commit
> https://github.com/gentoo/gentoo/commit/
> e25cf18ca19463a7d05519aa843cc76a189ab75c
> 
> Suggest disable check_modules also on this ebuild.
> 
> 13:17 < Th3Z0h4n> build log here ... https://pastebin.com/Ly3cGG6d

Yeah, was well aware of older releases not working. I was kind of wishing this to be resolved soon, 
https://bugs.gentoo.org/648816

to get the latest releases in to the tree and drop older ones. But I guess meanwhile I could make PRs to fix 20.5 and 20.6, although theres no one to review them so it takes a while to get it fixed anyway :)
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-26 17:59:21 UTC
*** Bug 654068 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2018-05-11 08:44:24 UTC
The bug has been referenced in the following commit(s):

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

commit c13587cb8abbb4c75a5dd457b43cb52b29c3e2d7
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-04-13 15:11:36 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-05-11 08:44:20 +0000

    x11-wm/enlightenment: disable module_check from 0.20.5 & 0.20.6
    
    Bug: https://bugs.gentoo.org/648896
    Package-Manager: Portage[mgorny]-2.3.26.1
    Closes: https://github.com/gentoo/gentoo/pull/7970

 x11-wm/enlightenment/enlightenment-0.20.5.ebuild | 23 +++++++++++++++++++----
 x11-wm/enlightenment/enlightenment-0.20.6.ebuild | 23 +++++++++++++++++++----
 2 files changed, 38 insertions(+), 8 deletions(-)