Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704594 - net-news/liferea: fails to build with =net-libs/webkit-gtk-2.26.2
Summary: net-news/liferea: fails to build with =net-libs/webkit-gtk-2.26.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-01-02 18:36 UTC by Michał Górny
Modified: 2020-01-06 14:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/net-news:liferea-1.12.7:20200102-180356.log (net-news:liferea-1.12.7:20200102-180356.log,242.33 KB, text/plain)
2020-01-02 18:36 UTC, Michał Górny
Details
emerge-info.txt (emerge-info.txt,10.43 KB, text/plain)
2020-01-02 18:38 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-02 18:36:48 UTC
Created attachment 602334 [details]
/var/log/portage/net-news:liferea-1.12.7:20200102-180356.log

CPPFLAGS="" CFLAGS="-march=x86-64 -mtune=k8 -mcx16 -msahf -msse3 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" CC="x86_64-pc-linux-gnu-gcc-9.2.0" PKG_CONFIG="/usr/bin/x86_64-pc-linux-gnu-pkg-config" GI_HOST_OS="" DLLTOOL="x86_64-pc-linux-gnu-dlltool"  /usr/bin/g-ir-scanner  -I../src --warn-all --accept-unprefixed --identifier-prefix=Liferea --verbose --namespace=Liferea --nsversion=3.0 --libtool="/bin/sh ../libtool"  --include=Gtk-3.0 --include=libxml2-2.0   --program=./liferea   --cflags-begin  --cflags-end  auth.c auth.h auth_activatable.c auth_activatable.h enclosure.h feedlist.c feedlist.h item.h itemlist.c itemlist.h itemset.c itemset.h node.h node.c node_view.h social.c social.h subscription_type.h ui/browser_tabs.c ui/browser_tabs.h ui/icons.c ui/icons.h ui/itemview.c ui/itemview.h ui/item_list_view.c ui/item_list_view.h ui/liferea_htmlview.c ui/liferea_htmlview.h ui/liferea_shell.c ui/liferea_shell.h ui/liferea_shell_activatable.c ui/liferea_shell_activatable.h ui/media_player.c ui/media_player.h ui/media_player_activatable.c ui/media_player_activatable.h fl_sources/node_source.c fl_sources/node_source.h fl_sources/node_source_activatable.c fl_sources/node_source_activatable.h liferea --output Liferea-3.0.gir
x86_64-pc-linux-gnu-gcc-9.2.0 -E -I. -I/tmp/portage/net-news/liferea-1.12.7/work/liferea-1.12.7/src -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o g-ir-cpp-anj1rbn1.i -C /tmp/portage/net-news/liferea-1.12.7/work/liferea-1.12.7/src/g-ir-cpp-anj1rbn1.c
No protocol specified
Command '['./liferea', '--introspect-dump=/tmp/portage/net-news/liferea-1.12.7/temp/tmp-introspect5p2qmfrs/functions.txt,/tmp/portage/net-news/liferea-1.12.7/temp/tmp-introspect5p2qmfrs/dump.xml']' died with <Signals.SIGABRT: 6>.
make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Liferea-3.0.gir] Error 1
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-02 18:38:37 UTC
Created attachment 602336 [details]
emerge-info.txt
Comment 2 Mihai Donțu 2020-01-03 19:14:46 UTC
I encountered the same issue. My quick workaround was:

# cd /var/tmp/portage/net-news/liferea-1.12.7/work/liferea-1.12.7
# make
# cd /usr/portage/net-news/liferea/
# ebuild liferea-1.12.7.ebuild merge
Comment 3 nE0sIghT 2020-01-03 19:49:59 UTC
Looks like newer (>= 1.60?) gobject-introspection issue.
I'm in process of debugging it.
Comment 4 nE0sIghT 2020-01-05 11:39:12 UTC
This problem affect all in-portage liferea versions built against net-libs/webkit-gtk-2.26.2 (>=2.26?) without available X display
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-05 11:52:51 UTC
That sucks.  Do you think virtx could help as a workaround?
Comment 6 nE0sIghT 2020-01-05 11:59:50 UTC
I beleave it's a bug in webkit-gtk or it can be worked around in liferea itself - rebuilding webkit-gtk with splitdebug now to investigate it.
virtualx could help - will try it soon.
Comment 7 Larry the Git Cow gentoo-dev 2020-01-06 14:04:31 UTC
The bug has been closed via the following commit(s):

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

commit 7e70628c28fa4bbd2c43f74920b9a1073dd8f6df
Author:     Yuri Konotopov <ykonotopov@gnome.org>
AuthorDate: 2020-01-06 06:58:12 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-01-06 14:04:25 +0000

    net-news/liferea: fixed build against >=net-libs/webkit-gtk-2.26.2
    
    Closes: https://bugs.gentoo.org/704594
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
    Closes: https://github.com/gentoo/gentoo/pull/14257
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-news/liferea/liferea-1.12.3.ebuild | 7 +++++++
 net-news/liferea/liferea-1.12.7.ebuild | 7 +++++++
 2 files changed, 14 insertions(+)