Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fixed] vlc fails to build, cannot find ncrusesw
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
childc2
n00b
n00b


Joined: 17 Nov 2010
Posts: 33

PostPosted: Mon Jan 14, 2013 3:43 pm    Post subject: [fixed] vlc fails to build, cannot find ncrusesw Reply with quote

Hello,
I'm working on updating media-video/vlc from 2.0.3 to 2.0.5 on an amd64 system.
It looks like compiling failed after this:
Code:
checking for NCURSES... no
configure: error: No package 'ncursesw' found.

Is this an unmet dependency or something that I need to resolve myself or is there a bug I might be running into?

emerge --info:
Code:
Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-2760QM_CPU_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Mon, 14 Jan 2013 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pppd readline session sse sse2 ssl symlink tcpd unicode xinerama zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by childc2 on Mon Jan 14, 2013 6:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5248

PostPosted: Mon Jan 14, 2013 4:19 pm    Post subject: Reply with quote

You could manually emerge sys-libs/ncurses, but use flag dependencies should pull that in if needed. What does emerge -pv vlc say?

I checked my own system and equery depends ncurses gives me media-video/vlc-2.0.5 (ncurses ? >=sys-libs/ncurses-5.9-r2[unicode]) - but there's no unicode use flag for vlc.

Anyway, I'll compare your emerge -pv vlc to mine and see if I spot anything...
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org


Last edited by audiodef on Mon Jan 14, 2013 4:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
childc2
n00b
n00b


Joined: 17 Nov 2010
Posts: 33

PostPosted: Mon Jan 14, 2013 4:22 pm    Post subject: Reply with quote

I already have ncurses installed, but I suppose I could be missing a use flag. I would thing the dependency checks would catch that.

emerge -pv vlc:
Code:
[ebuild     U  ] media-video/vlc-2.0.5 [2.0.3] USE="X a52 aac alsa avcodec avformat dbus dvbpsi dvd encode ffmpeg gcrypt mmx mp3 mpeg ncurses opengl png postproc projectm qt4 sse swscale udev x264 xcb -aalib (-altivec) -atmo (-audioqueue) -avahi -bidi -bluray -cdda -cddb -dc1394 -debug -dirac (-direct2d) -directfb (-directx) (-dshow) -dts -dvb (-dxva2) -egl -fbosd -flac -fluidsynth -fontconfig -gme -gnome -gnutls -growl -httpd -ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libnotify -libproxy -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska (-media-library) -modplug -mtp -musepack (-neon) -ogg -omxil -optimisememory -opus% -oss -portaudio -pulseaudio -pvr -rtsp -run-as-root -samba -schroedinger -sdl -sdl-image -shine -shout -sid -skins -speex -sqlite -svg -switcher -taglib -theora -truetype -twolame -upnp -v4l -vaapi -vcdx -vlm -vorbis (-waveout) (-win32codecs) (-wingdi) -wma-fixed -xml -xosd -xv -zvbi" 0 kB


equery uses ncruses:
Code:
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-libs/ncurses-5.9-r2:
 U I
 - - ada         : Add bindings for the ADA programming language
 + + cxx         : Builds support for C++ (bindings, extra libraries, code generation, ...)
 - - debug       : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc         : Adds extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + gpm         : Adds support for sys-libs/gpm (Console-based mouse driver)
 - - minimal     : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 - - profile     : Adds support for software performance analysis (will likely vary from ebuild to ebuild)
 - - static-libs : Build static libraries
 - - trace       : Enable test trace() support in ncurses calls
 + + unicode     : Adds support for Unicode
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5248

PostPosted: Mon Jan 14, 2013 4:27 pm    Post subject: Reply with quote

Do you need the ncurses use flag?
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
childc2
n00b
n00b


Joined: 17 Nov 2010
Posts: 33

PostPosted: Mon Jan 14, 2013 5:03 pm    Post subject: Reply with quote

Not really, I don't really use vlc from a terminal often.
It will compile without the ncurses flag set.
I was mostly just posting because this seems like a possible bug and I wanted to make sure it wasn't something wrong on my end before I filed a report.
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Mon Jan 14, 2013 5:34 pm    Post subject: Reply with quote

Code:
pkg-config --cflags ncursesw
Back to top
View user's profile Send private message
childc2
n00b
n00b


Joined: 17 Nov 2010
Posts: 33

PostPosted: Mon Jan 14, 2013 6:01 pm    Post subject: Reply with quote

Code:
$pkg-config --cflags ncursesw
Package ncursesw was not found in the pkg-config search path.
Perhaps you should add the directory containing `ncursesw.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ncursesw' found
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Mon Jan 14, 2013 6:05 pm    Post subject: Reply with quote

ncurses broken
Code:
qlist ncurses | grep "\.pc"
or
Code:
equery -C f ncurses | grep "\.pc"
Back to top
View user's profile Send private message
childc2
n00b
n00b


Joined: 17 Nov 2010
Posts: 33

PostPosted: Mon Jan 14, 2013 6:09 pm    Post subject: Reply with quote

That doesn't return any results.
Is there a particular file I should be looking for?
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Mon Jan 14, 2013 6:16 pm    Post subject: Reply with quote

childc2 wrote:
That doesn't return any results.
Is there a particular file I should be looking for?
Code:
[ root@desktop ] megabaks # qlist ncurses | grep "\.pc"
/usr/lib/pkgconfig/panelw.pc
/usr/lib/pkgconfig/ncursesw.pc
/usr/lib/pkgconfig/ncurses++w.pc
/usr/lib/pkgconfig/menuw.pc
/usr/lib/pkgconfig/formw.pc
/usr/lib/pkgconfig/panel.pc
/usr/lib/pkgconfig/ncurses++.pc
/usr/lib/pkgconfig/ncurses.pc
/usr/lib/pkgconfig/menu.pc
/usr/lib/pkgconfig/form.pc
[ root@desktop ] megabaks #
re-emerge ncurses
Back to top
View user's profile Send private message
childc2
n00b
n00b


Joined: 17 Nov 2010
Posts: 33

PostPosted: Mon Jan 14, 2013 6:43 pm    Post subject: Reply with quote

Yup, that seems to have done it.
I also had to re-set the gcc profile, but that's because I updated gcc.

Thanks for the help guys!
Back to top
View user's profile Send private message
Navar
Apprentice
Apprentice


Joined: 20 Aug 2012
Posts: 252

PostPosted: Mon Jan 14, 2013 11:56 pm    Post subject: Reply with quote

It would be nice if a moderator could clean up the 8 or so mixed threads about this issue. :? This in particular seems to affect anything expecting /usr/lib/pkgconfig/ncurse*.pc related files for configure and vlc 2.0.5.

See bug regarding the missing ncurses*.pc related files within the /usr/lib/pkgconfig path.

If you have an older system where ncurses has been updated you'll probably have those files. For others working off a newer stage3 install where ncurses has not been re-emerged yet, those files seem to be missing. Just --oneshot re-emerge ncurses to resolve.
Back to top
View user's profile Send private message
childc2
n00b
n00b


Joined: 17 Nov 2010
Posts: 33

PostPosted: Tue Jan 15, 2013 3:48 pm    Post subject: Reply with quote

I used whatever stage3 was current back in August or September of 2012, so that's probably what I was running into.
That bug is lists vlc 2.0.4 in particular, but it appears to affect 2.0.5 as well. I don't think it would affect 2.0.3; I had that version installed with the ncurses USE flag without realizing my ncurses needed to be rebuilt.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum