Summary: | net-im/pidgin[ncurses] fails to build with ncurses[tinfo] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bkohler, Daniel.Savard, gentoo-bugs, jerome.revillard, jlec, justin.t.riley, net-im, renegart, robink, vivo75 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | build.log |
Description
Justin Lecher (RETIRED)
2013-03-12 07:52:09 UTC
Created attachment 341776 [details]
build.log
build.log
*** Bug 501980 has been marked as a duplicate of this bug. *** *** Bug 519360 has been marked as a duplicate of this bug. *** I ran into this problem with version 2.10.9-r1 and I managed to make pidgin to compile by hacking the Makefile left in the ebuild tree after failure. cd into directory /var/tmp/portage/net-im/pidgin-2.10.9-r1/work/pidgin-2.10.9/finch Edit Makefile Find the line: LIBS = -lutil -lpthread -lm -lnsl -lresolv Add -ltinfow after -lresolv ebuild pidgin-2.10.9-r1.ebuild compile ebuild pidgin-2.10.9-r1.ebuild merge However, since it is failing without this library, it appears the software may not have been tested with this library and my fix may introduce bugs in the software. *** Bug 528098 has been marked as a duplicate of this bug. *** Same problem in pidgin-2.10.10 fixed with my own patch I applied to pidgin-2.10.9-r1. files/pidgin-2.10.9-tinfow_fix.patch --- configure.ac 2014-02-02 16:29:16.000000000 -0500 +++ /tmp/configure.ac 2014-09-11 14:49:38.331020652 -0400 @@ -634,6 +634,8 @@ [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""]) if test "x$enable_consoleui" = "xyes"; then AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no]) + AC_CHECK_LIB(tinfow, termname, [GNT_LIBS="$GNT_LIBS -ltinfow"], + [enable_consoleui=no], [$GNT_LIBS]) AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_consoleui=no], [$GNT_LIBS]) With a modification to the ebuild: diff -Naur /usr/portage/net-im/pidgin/pidgin-2.10.10.ebuild pidgin-2.10.10.ebuild --- /usr/portage/net-im/pidgin/pidgin-2.10.10.ebuild 2014-10-30 17:01:14.000000000 -0400 +++ pidgin-2.10.10.ebuild 2014-11-02 17:04:50.978395093 -0500 @@ -140,6 +140,7 @@ epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" \ "${WORKDIR}/${PN}-eds-3.6.patch" \ "${FILESDIR}/${PN}-2.10.9-fix-gtkmedia.patch" \ + "${FILESDIR}/${PN}-2.10.9-tinfow_fix.patch" \ "${FILESDIR}/${PN}-2.10.10-eds-3.6-configure.ac.patch" epatch_user I wonder why this bug isn't still resolved in pidgin-2.10.11? The solution is known. Why it hasn't been implemented in the ebuild? + 28 Jun 2015; Justin Lecher <jlec@gentoo.org> + +files/pidgin-2.10.11-tinfo.patch, pidgin-2.10.11.ebuild: + Add fix for ncurses[tinfo], bug #461482 + |