Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742242 - dev-db/gqlplus-1.16::gentoo incomplete build
Summary: dev-db/gqlplus-1.16::gentoo incomplete build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-09-13 02:54 UTC by Uzi Erdenebileg
Modified: 2020-09-13 13:30 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,5.38 KB, text/plain)
2020-09-13 02:54 UTC, Uzi Erdenebileg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uzi Erdenebileg 2020-09-13 02:54:46 UTC
Created attachment 659892 [details]
emerge --info

./configure script in the dev-db/gqlplus package fails during emerge but it's incompletely built and installed. Here is a summarized emerged output:

% emerge -v dev-db/gqlplus
...
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for tgetnum in -lncurses... no
The required library ncurses not found - aborting.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-db/gqlplus-1.16/work/gqlplus-1.16 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-db/gqlplus-1.16

>>> Install dev-db/gqlplus-1.16 into /var/tmp/portage/dev-db/gqlplus-1.16/image/
>>> Completed installing dev-db/gqlplus-1.16 into /var/tmp/portage/dev-db/gqlplus-1.16/image/

 * Final size of build directory: 812 KiB
 * Final size of installed tree:   12 KiB


>>> Installing (1 of 1) dev-db/gqlplus-1.16::gentoo
 * checking 2 files for package collisions
>>> Merging dev-db/gqlplus-1.16 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/gqlplus-1.16/
>>> /usr/share/doc/gqlplus-1.16/ChangeLog.bz2
>>> /usr/share/doc/gqlplus-1.16/README.bz2
>>> dev-db/gqlplus-1.16 merged.

>>> Recording dev-db/gqlplus in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Comment 1 Ionen Wolkens gentoo-dev 2020-09-13 06:28:36 UTC
Looks like the test it's doing for tgetnum needs -ltinfo to work (doesn't use pkg-config), and thus fails even if ncurses is installed.

I'd guess been broken since USE=tinfo got profile forced on ncurses.

Upstream looks pretty dead, hosted on gitlab now but no real activity.
https://gitlab.com/jessp011/gqlplus
Comment 2 Ionen Wolkens gentoo-dev 2020-09-13 06:59:54 UTC
Seems it also tests tputs() in readline despite being from tinfo, and will also fail.

If just want it to work until proper fix, here's a dirty hack:
LIBS=-ltinfo emerge gqlplus

Not that I know anything about this software, hope it works as expected.
Comment 3 Larry the Git Cow gentoo-dev 2020-09-13 13:30:05 UTC
The bug has been closed via the following commit(s):

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

commit 8a9e9a2a6cdda4d42822599fef759d83672b1a10
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-09-13 13:29:41 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2020-09-13 13:29:57 +0000

    dev-db/gqlplus-1.16: fix configure with ncurses[tinfo], bug #742242
    
    Closes: https://bugs.gentoo.org/742242
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 dev-db/gqlplus/files/gqlplus-1.16-ncurses-tinfo.patch | 19 +++++++++++++++++++
 dev-db/gqlplus/gqlplus-1.16.ebuild                    | 11 ++++++++---
 2 files changed, 27 insertions(+), 3 deletions(-)