Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 811075

Summary: app-editors/gedit-40.1 requires x11-libs/gtksourceview[vala]
Product: Gentoo Linux Reporter: Ryoto Yayame <kanito.tasoga>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: bogdan.pylypenko107, gentoo.cart9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Gedit ebuild patch

Description Ryoto Yayame 2021-08-30 05:17:39 UTC
If app-editors/gedit-40.1 (which now apparently requires Vala) is emerged with x11-libs/gtksourceview[-vala]:

[146/147] /usr/bin/vapigen-0.48 --quiet --library=gedit --directory=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit --pkg=gio-2.0 --pkg=atk --pkg=gdk-3.0 --pkg=gtk+-3.0 --pkg=gtksourceview-4 --metadatadir=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1/gedit /var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit/Gedit-3.0.gir
^[[31mFAILED: ^[[0mgedit/gedit.vapi
/usr/bin/vapigen-0.48 --quiet --library=gedit --directory=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit --pkg=gio-2.0 --pkg=atk --pkg=gdk-3.0 --pkg=gtk+-3.0 --pkg=gtksourceview-4 --metadatadir=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1/gedit /var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit/Gedit-3.0.gir
error: Package `gtksourceview-4' not found in specified Vala API directories or GObject-Introspection GIR directories
[147/147] /usr/bin/g-ir-compiler gedit/Gedit-3.0.gir --output gedit/Gedit-3.0.typelib --includedir=/usr/share/gir-1.0
ninja: build stopped: subcommand failed.
* ERROR: app-editors/gedit-40.1::gentoo failed (compile phase):
*   compile failed


x11-libs/gtksourceview-4.8.1 ebuild has IUSE="+vala", but that's of course not enough.

app-editors/gedit-40.1 ebuild must have:

DEPEND=">=x11-libs/gtksourceview-4.0.2:4[introspection,vala]"

Reproducible: Always
Comment 1 Ryoto Yayame 2021-08-30 05:18:16 UTC
Created attachment 736753 [details, diff]
Gedit ebuild patch
Comment 2 Larry the Git Cow gentoo-dev 2022-05-27 10:22:11 UTC
The bug has been closed via the following commit(s):

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

commit 6fcaaed4a4ccd45ad18ba07b15f9958451f70ce1
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2022-05-27 10:20:59 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2022-05-27 10:21:02 +0000

    app-editors/gedit: add 42.1
    
    It also needs gtksourceview with vala support to build
    
    Thanks-to: Ryoto Yayame
    Closes: https://bugs.gentoo.org/811075
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-editors/gedit/Manifest          |  1 +
 app-editors/gedit/gedit-42.1.ebuild | 93 +++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)
Comment 3 Matt Turner gentoo-dev 2022-06-14 17:23:35 UTC
*** Bug 851690 has been marked as a duplicate of this bug. ***