public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ncurses / tinfo problem
@ 2018-03-30 10:07 Helmut Jarausch
  2018-03-30 10:26 ` Daniel Pielmeier
  2018-03-30 10:32 ` Daniel Pielmeier
  0 siblings, 2 replies; 5+ messages in thread
From: Helmut Jarausch @ 2018-03-30 10:07 UTC (permalink / raw
  To: gentoo-user

Hi,
there are several packages which fail to link since they are missing  
'-ltinfo' - recently
app-antivirus/clamav-0.99.4-r1

For a temporary fix I have edited the config.status file by changing

S["CURSES_LIBS"]="-lncurses"
to
S["CURSES_LIBS"]="-lncurses -ltinfo"

and using

ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild merge

But I think that this is a more general problem.

Has anybody found a fix which works for several such packages?

Many thanks for a hint,
Helmut

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ncurses / tinfo problem
  2018-03-30 10:07 [gentoo-user] ncurses / tinfo problem Helmut Jarausch
@ 2018-03-30 10:26 ` Daniel Pielmeier
  2018-03-30 11:12   ` Helmut Jarausch
  2018-03-30 10:32 ` Daniel Pielmeier
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Pielmeier @ 2018-03-30 10:26 UTC (permalink / raw
  To: gentoo-user

Am March 30, 2018 10:07:41 AM UTC schrieb Helmut Jarausch <jarausch@skynet.be>:
>Hi,
>there are several packages which fail to link since they are missing  
>'-ltinfo' - recently
>app-antivirus/clamav-0.99.4-r1
>
>For a temporary fix I have edited the config.status file by changing
>
>S["CURSES_LIBS"]="-lncurses"
>to
>S["CURSES_LIBS"]="-lncurses -ltinfo"
>
>and using
>
>ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild merge
>
>But I think that this is a more general problem.
>
>Has anybody found a fix which works for several such packages?
>
>Many thanks for a hint,
>Helmut

This are bugs in the build system of the package which is not detecting the separate library. You should file a bug about it.

Is there a special requirement for building ncurses with tinfo? If not the easy fix is disabling the tinfo USE flag for ncurses.

-- 
Best Regards
Daniel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ncurses / tinfo problem
  2018-03-30 10:07 [gentoo-user] ncurses / tinfo problem Helmut Jarausch
  2018-03-30 10:26 ` Daniel Pielmeier
@ 2018-03-30 10:32 ` Daniel Pielmeier
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Pielmeier @ 2018-03-30 10:32 UTC (permalink / raw
  To: gentoo-user

Am March 30, 2018 10:07:41 AM UTC schrieb Helmut Jarausch <jarausch@skynet.be>:
>Hi,
>there are several packages which fail to link since they are missing  
>'-ltinfo' - recently
>app-antivirus/clamav-0.99.4-r1
>
>For a temporary fix I have edited the config.status file by changing
>
>S["CURSES_LIBS"]="-lncurses"
>to
>S["CURSES_LIBS"]="-lncurses -ltinfo"
>
>and using
>
>ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild merge
>
>But I think that this is a more general problem.
>
>Has anybody found a fix which works for several such packages?
>
>Many thanks for a hint,
>Helmut

https://bugs.gentoo.org/457530 tracks all packages having the same problem.

-- 
Regards
Daniel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ncurses / tinfo problem
  2018-03-30 10:26 ` Daniel Pielmeier
@ 2018-03-30 11:12   ` Helmut Jarausch
  2018-03-30 11:41     ` Vadim A. Misbakh-Soloviov
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Jarausch @ 2018-03-30 11:12 UTC (permalink / raw
  To: gentoo-user

On 03/30/2018 12:26:33 PM, Daniel Pielmeier wrote:
> Am March 30, 2018 10:07:41 AM UTC schrieb Helmut Jarausch  
> <jarausch@skynet.be>:
> >Hi,
> >there are several packages which fail to link since they are missing
> >'-ltinfo' - recently
> >app-antivirus/clamav-0.99.4-r1
> >
> >For a temporary fix I have edited the config.status file by changing
> >
> >S["CURSES_LIBS"]="-lncurses"
> >to
> >S["CURSES_LIBS"]="-lncurses -ltinfo"
> >
> >and using
> >
> >ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild  
> merge
> >
> >But I think that this is a more general problem.
> >
> >Has anybody found a fix which works for several such packages?
> >
> >Many thanks for a hint,
> >Helmut
> 
> This are bugs in the build system of the package which is not  
> detecting the separate library. You should file a bug about it.
> 
> Is there a special requirement for building ncurses with tinfo? If  
> not the easy fix is disabling the tinfo USE flag for ncurses.
> 

Many thanks, Daniel.
I can't remember why I HAD TO add the tinfo USE flag to ncurses.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ncurses / tinfo problem
  2018-03-30 11:12   ` Helmut Jarausch
@ 2018-03-30 11:41     ` Vadim A. Misbakh-Soloviov
  0 siblings, 0 replies; 5+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2018-03-30 11:41 UTC (permalink / raw
  To: gentoo-user

> I can't remember why I HAD TO add the tinfo USE flag to ncurses.

AFAIRC, android-related things required that, for example.







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-30 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-30 10:07 [gentoo-user] ncurses / tinfo problem Helmut Jarausch
2018-03-30 10:26 ` Daniel Pielmeier
2018-03-30 11:12   ` Helmut Jarausch
2018-03-30 11:41     ` Vadim A. Misbakh-Soloviov
2018-03-30 10:32 ` Daniel Pielmeier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox