Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727878 - net-im/pidgin-2.14.0: missing dependency on libgnt
Summary: net-im/pidgin-2.14.0: missing dependency on libgnt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 727940 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-10 19:45 UTC by Kobboi
Modified: 2020-06-11 19:21 UTC (History)
5 users (show)

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


Attachments
libgnt build.log (build.log,37.58 KB, text/plain)
2020-06-11 13:36 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2020-06-10 19:45:18 UTC
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for gtk+-2.0 >= 2.10.0... yes
checking for pango >= 1.4.0... yes
checking for x11... yes
checking for XScreenSaverRegister in -lXext... no
checking for XScreenSaverRegister in -lXss... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for gtkspell-2.0 >= 2.0.2... yes
checking for libebook-1.2 libedata-book-1.2 evolution-data-server-1.2 >= 3.6... yes
checking for sqlite3 >= 3.3... yes
checking for gnt >= 2.14.0... no
configure: error: 

Finch will not be built. You must have libgnt >= 2.14.0 development headers installed to build.



!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-im/pidgin-2.14.0/work/pidgin-2.14.0/config.log
 * ERROR: net-im/pidgin-2.14.0::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 3866:  Called econf '--disable-mono' '--with-dynamic-prpls=irc,jabber,oscar,simple,novell,sametime,bonjour' '--with-system-ssl-certs=/etc/ssl/certs/' '--x-includes=/usr/include/X11' '--enable-consoleui' '--enable-gtkui' '--enable-sm' '--enable-nls' '--enable-screensaver' '--enable-cap' '--enable-gevolution' '--enable-gtkspell' '--disable-perl' '--disable-tk' '--disable-tcl' '--disable-debug' '--enable-dbus' '--enable-meanwhile' '--enable-gstreamer' '--with-gstreamer=1.0' '--enable-farstream' '--enable-vv' '--enable-cyrus-sasl' '--disable-doxygen' '--disable-nm' '--enable-avahi' '--disable-idn' '--enable-nss=no' '--enable-gnutls=yes' '--with-gnutls-includes=/usr/include/gnutls' '--with-gnutls-libs=/usr/lib64' '--with-python=/usr/bin/python3.7'
 *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-im/pidgin-2.14.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-im/pidgin-2.14.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-im/pidgin-2.14.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/pidgin-2.14.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-im/pidgin-2.14.0/work/pidgin-2.14.0'
 * S: '/var/tmp/portage/net-im/pidgin-2.14.0/work/pidgin-2.14.0'


Reproducible: Always
Comment 1 Marcin Deranek 2020-06-11 07:28:42 UTC
Disabling ncurses (USE=-ncurses) works around the problem. This library seems to be only needed by finch.
Comment 2 Ulrich Müller gentoo-dev 2020-06-11 09:02:06 UTC
libgnt was bundled (directory finch/libgnt/) in version 2.13.0, but not longer is in 2.14.0. See the following upstream commit:
https://bitbucket.org/pidgin/main/commits/ee8abde66038

Also here:
https://bitbucket.org/pidgin/libgnt/src/default/
"Beginning with version 2.14.0, the code has been moved to a separate repository and so the tag and the version will remain in sync."
Comment 3 Joakim Tjernlund 2020-06-11 09:48:41 UTC
(In reply to Marcin Deranek from comment #1)
> Disabling ncurses (USE=-ncurses) works around the problem. This library
> seems to be only needed by finch.

Or one can add --disable-consoleui to configure
Comment 4 Joakim Tjernlund 2020-06-11 10:23:20 UTC
Maybe add append-cflags -Wno-deprecated-declarations ?
These warning just hides any other warnings that might need attention.
Comment 5 Joakim Tjernlund 2020-06-11 10:26:08 UTC
Can I also ask, what is the ${PN}-eds-3.6.patch ?
It has been Gentoo pidgin for a long time and there is no explanation
what it does.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-06-11 12:05:53 UTC
So I haven't found official libgnt source tarballs yet. Trying to compile a hg "release-2.x.y" branch checkout results in ncurses linking issues. Compiling the default branch does not fails but I have yet to find out if we can use that branch for pidgin-2.14.x.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-06-11 13:36:03 UTC
Created attachment 644370 [details]
libgnt build.log

This is the current build issue (ncurses linking fails). Patches are welcome.
Comment 8 Joakim Tjernlund 2020-06-11 14:20:11 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #7)
> Created attachment 644370 [details]
> libgnt build.log
> 
> This is the current build issue (ncurses linking fails). Patches are welcome.

-ltinfo needed ?
Comment 9 Joakim Tjernlund 2020-06-11 14:23:36 UTC
(In reply to Joakim Tjernlund from comment #8)
> (In reply to Lars Wendler (Polynomial-C) from comment #7)
> > Created attachment 644370 [details]
> > libgnt build.log
> > 
> > This is the current build issue (ncurses linking fails). Patches are welcome.
> 
> -ltinfo needed ?

pkg-config ncurses --libs
-lncurses -ltinfo
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-06-11 19:09:02 UTC
*** Bug 727940 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2020-06-11 19:21:34 UTC
The bug has been closed via the following commit(s):

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

commit 678f122863495280c9596d6762b14c849fc54203
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-06-11 19:21:08 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-06-11 19:21:28 +0000

    net-im/pidgin: Bump to version 2.14.1. Removed old
    
    Fixed build issue with USE="ncurses" by introducing dev-libs/libgnt
    
    Closes: https://bugs.gentoo.org/727878
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-im/pidgin/Manifest                                       | 2 +-
 net-im/pidgin/{pidgin-2.14.0.ebuild => pidgin-2.14.1.ebuild} | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit caf07e799877ea3e933b35b7402bc916c246132d
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-06-11 18:58:18 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-06-11 19:21:28 +0000

    dev-libs/libgnt: Initial commit
    
    Use same KEYWORDS like in pidgin as this is an outsourced pidgin plugin
    
    Bug: https://bugs.gentoo.org/727878
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 dev-libs/libgnt/Manifest                           |  1 +
 .../libgnt/files/libgnt-2.14.0-optional_docs.patch | 15 +++++++++
 dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch    | 18 +++++++++++
 dev-libs/libgnt/libgnt-2.14.0.ebuild               | 37 ++++++++++++++++++++++
 dev-libs/libgnt/metadata.xml                       |  8 +++++
 5 files changed, 79 insertions(+)