| View previous topic :: View next topic |
| Author |
Message |
[n00b@localhost] Apprentice


Joined: 30 Aug 2004 Posts: 185 Location: London, UK
|
Posted: Thu Jan 24, 2013 4:14 pm Post subject: Packages depending on sys-libs/ncurses fail with USE=tinfo |
|
|
dev-util/nvidia-cuda-toolkit-5.0.35-r1 and dev-util/nvidia-cuda-sdk-5.0.35-r1 were pulled in as part of my system updates earlier this week. Both require that sys-libs/ncurses is built with the tinfo USE flag set which separates the ncurses library into two parts: libncurses.so and libtinfo.so. This is causing most of my other packages that depend on ncurses to fail to compile as they can't find symbols from the other library.
The packages that fail are:
=sys-libs/readline-6.2_p1
=sys-apps/texinfo-4.13
=media-sound/lame-3.99.5
=dev-util/cmake-2.8.9
=sys-apps/openrc-0.11.8
=net-misc/telnet-bsd-1.2-r1
=app-misc/screen-4.0.3-r6
=dev-lang/ocaml-3.12.1
The symbols that they are looking for begin with "tget" (such as tgetent, etc.). These symbols are in libtinfo.so but not libncurses.so if it is built with the tinfo USE flag set.
Is there any way to get the packages to look for the symbols in the other library? |
|
| Back to top |
|
 |
ulenrich Guru

Joined: 10 Oct 2010 Posts: 463
|
Posted: Thu Jan 24, 2013 8:36 pm Post subject: |
|
|
Probably if you /etc/portage/package.use
media-libs/opencv -cuda
after a rebuild you could
emerge --depclean dev-util/nvidia-cuda-toolkit
It is just (not yet functoning) face recognition of digikam which will succeed some seconds earlier with this binary cuda package .... _________________ fun2gen2 |
|
| Back to top |
|
 |
[n00b@localhost] Apprentice


Joined: 30 Aug 2004 Posts: 185 Location: London, UK
|
Posted: Fri Jan 25, 2013 11:59 am Post subject: |
|
|
I don't have media-libs/opencv installed. I need nvidia-cuda-toolkit for work so it's in my world file.
After looking at the ebuild it seems that the CUDA debugger needs ncurses with the tinfo flag set. If I disable the debugger then I could fix the problem, but, again, I need the debugger for work. |
|
| Back to top |
|
 |
AranHase n00b

Joined: 15 Feb 2013 Posts: 1
|
Posted: Fri Feb 15, 2013 12:19 am Post subject: |
|
|
I'm facing the same problem here. After compiling "ncurses" with "timfo" flag, lots of others packages failed compilation as mentioned.
Any suggestion to fix it instead of removing the "debugger" flag from the "nvidia-cuda-toolkit" package? |
|
| Back to top |
|
 |
zirgo n00b

Joined: 20 Nov 2006 Posts: 3
|
Posted: Thu Mar 14, 2013 11:36 am Post subject: |
|
|
| Just a report: I'm succesfully using the nvidia debugger 5.0.35 using the opensuse 12.1 package and didn't need to set tinfo useflag on ncurses. Distro is sabayon, all I needed to do is run the installer. |
|
| Back to top |
|
 |
khayyam Veteran


Joined: 07 Jun 2012 Posts: 1253
|
Posted: Fri Mar 15, 2013 1:32 pm Post subject: |
|
|
| zirgo wrote: | | Just a report: I'm succesfully using the nvidia debugger 5.0.35 using the opensuse 12.1 package and didn't need to set tinfo useflag on ncurses. Distro is sabayon, all I needed to do is run the installer. |
zirgo ... yes, it works on *other* distributions, amazing that. Anyhow, there is a tracker for this, see bug #457530.
best ... khay |
|
| Back to top |
|
 |
|