Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674514 - [gnome overlay] x11-libs/gtk+-9999 wrong dependencies string
Summary: [gnome overlay] x11-libs/gtk+-9999 wrong dependencies string
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-04 15:12 UTC by Fabio Rossi
Modified: 2019-01-18 21:07 UTC (History)
0 users

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 Fabio Rossi 2019-01-04 15:12:58 UTC
ebuild /var/lib/layman/gnome/x11-libs/gtk+/gtk+-9999.ebuild manifest
Error(s) in metadata for 'x11-libs/gtk+-9999':
  DEPEND: no matching '(' for ')', token 62

the issue is causing problems to equery tool 

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/equery", line 38, in <module>
    equery.main(sys.argv)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/__init__.py", line 357, in main
    loaded_module.main(module_args)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/depends.py", line 201, in main
    printer_fn=dep_print
  File "/usr/lib64/python2.7/site-packages/gentoolkit/dependencies.py", line 244, in graph_reverse_depends
    all_depends = uniqify(pkgdep.get_all_depends())
  File "/usr/lib64/python2.7/site-packages/gentoolkit/dependencies.py", line 110, in get_all_depends
    return self.parser(' '.join(self.environment(env_vars)))
  File "/usr/lib64/python2.7/site-packages/gentoolkit/dependencies.py", line 294, in _parser
    deps = paren_reduce(deps)
  File "/usr/lib64/python2.7/site-packages/portage/dep/__init__.py", line 321, in paren_reduce
    _("malformed syntax: '%s'") % mystr)

the fix is quite easy:

--- /var/lib/layman/gnome/x11-libs/gtk+/gtk+-9999.ebuild        2019-01-04 16:07:41.130692944 +0100
+++ /tmp/gtk+-9999.ebuild       2019-01-04 16:10:31.747706220 +0100
@@ -77,7 +77,6 @@
        >=sys-devel/gettext-0.18.3[${MULTILIB_USEDEP}]
        virtual/pkgconfig[${MULTILIB_USEDEP}]
        X? ( x11-base/xorg-proto )
-       )
        test? (
                media-fonts/font-misc-misc
                media-fonts/font-cursor-misc )

please fix as soon as possible
Comment 1 Larry the Git Cow gentoo-dev 2019-01-18 21:07:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/gnome.git/commit/?id=7a029594c850603a417d3575fd43132377f541f3

commit 7a029594c850603a417d3575fd43132377f541f3
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-01-18 21:05:54 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-01-18 21:05:54 +0000

    x11-libs/gtk+: Remove very outdated live ebuild
    
    It's gtk4 into SLOT=3, tries to build with autotools (isn't a thing
    for gtk4 git), and hasn't been synced with other changes for over
    3 years, it seems. On top of that, later blind fixes broke the
    dependency string.
    
    Closes: https://bugs.gentoo.org/674514
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../gtk+-3.16.2-remove_update-icon-cache.patch     |  24 --
 x11-libs/gtk+/files/gtk+-non-bash-support.patch    |  56 -----
 x11-libs/gtk+/files/settings.ini                   |   4 -
 x11-libs/gtk+/gtk+-9999.ebuild                     | 265 ---------------------
 x11-libs/gtk+/metadata.xml                         |  23 --
 5 files changed, 372 deletions(-)