Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91603 - vlc-0.8.1-r2 fails on emerge in ncurses, SearchPlayList
Summary: vlc-0.8.1-r2 fails on emerge in ncurses, SearchPlayList
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-05 13:03 UTC by Graeme Humphries
Modified: 2005-05-07 05:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Humphries 2005-05-05 13:03:57 UTC
 
Comment 1 Graeme Humphries 2005-05-05 13:04:57 UTC
When I attempt to emerge vlc, I get the following error:

Making all in gui
make[3]: Entering directory `/var/tmp/portage/vlc-0.8.1-r2/work/vlc-0.8.1/modules/gui'
make[4]: Entering directory `/var/tmp/portage/vlc-0.8.1-r2/work/vlc-0.8.1/modules/gui'
source='ncurses.c' object='libncurses_plugin_a-ncurses.o' libtool=no \
depfile='.deps/libncurses_plugin_a-ncurses.Po' tmpdepfile='.deps/libncurses_plugin_a-ncurses.TPo' \
depmode=gcc3 /bin/sh ../../autotools/depcomp \
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin ncurses` -Wsign-compare -Wall -march=k8 -Os -mfpmath=sse -pipe -pipe -c -o libncurses_plugin_a-ncurses.o `test -f 'ncurses.c' || echo './'`ncurses.c
ncurses.c: In function `SearchPlaylist':
ncurses.c:878: error: `false' undeclared (first use in this function)
ncurses.c:878: error: (Each undeclared identifier is reported only once
ncurses.c:878: error: for each function it appears in.)
ncurses.c:903: error: `true' undeclared (first use in this function)
make[4]: *** [libncurses_plugin_a-ncurses.o] Error 1

Here's my emerge info:
emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-vanilla, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, May  3 2005, 16:19:17)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -Os -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -Os -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit 3ds S3TC X a52 aac aalib accessibility acl acpi acpi4linux aim alsa apache2 apm artworkextra asterisk audiofile avi bash-completion bdf beepmp bitmap-fonts blender-game bmp bootsplash bzip2 bzlib cacheemu cairo calendar canna caps ccache cdda cddb cdf cdinstall cdio cdparanoia cdr cdrom clamav codecs cpulimit cracklib crypt css csv ctype cups curl curlwrappers dar64 dba dbx devfs26 devmap dga dhcp dict dio disk-cache distribution djbfft dnd dpms droproot dts dv dvb dvd dvdr dvdread ecc editor edl eds elf emoticon emul-linux encode enscript erandom escreen esd ethereal evms2 evo evo2 exif exim faad fam fame fb fbcon festival ffmpeg fftw figlet flac flash fmod foomaticdb fpx freetds freetts freetype freewnn ftp gd gdbm geoip gg gif gimp gimpprint glgd glitz glut gmail gmp gmtfull gmthigh gmtsuppl gmttria gnokii gnome gnomedb gnuplot gphoto2 gps graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal howl html http icq icu idea idn ieee1394 imagemagick imap imlib imlib2 irc irda jabber jack java javacomm javadoc javascript jbig jce jit joystick jp2 jpeg jpeg2k kcal kdeenablefinal kdepim kerberos ladcca ladspa largeterminal ldap libcaca libclamav libgd libsamplerate live lm_sensors logrotate ltsp lua lufsusermount lzo lzw lzw-tiff m17n-lib maildir math matroska md5sum mdb mem-cache memlimit mew mikmod mime mimencode ming mixer mjpeg mmap mng monkey mozcalendar mozdevelop mozilla mozsvg mp3 mpeg mpeg4 mpi mplayer msn msql mssql multiprocess mysql mysqli native ncurses net netbeans network neural nfsv4 nis nls nntp nptl ntlm oav odbc ofx ogg oggvorbis openal openexr opengl opie oscar oss pam pda pdf pdfkit pdflib pear-db perl php physfs pic pie playlist png pnp portaudio posix postgres povray ppds pri print priority qemu-fast qt quicktime quotas quotes rdesktop readline real recode remix remote rpm rrdtool rss rtc samba sasl sblive scanner screenshot sdk sdl sharedmem silc silverxp skey smime smtp sndfile snmp sockets softmmu softquota sox spamassassin speex spell sql sqlite sqlite3 ssl startup-notification stencil-buffer stream subject-rewrite subversion svg svgz symlink szip tga theora threads thumbnail tiff timidity tokenizer tools tos transcode translator truetype truetype-fonts type1 type1-fonts underscores unicode urandom usb userland utf8 v4l v4l2 vcd vcdimager vhosts videos vidix vnc voice winbind wmf wxwindows x11vnc xanim xattr xfs xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yp yv12 zaptel zeroconf zlib zvbi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-05 13:12:28 UTC
it's maybe not really related, but -Os breaks things on amd64. please dont use it.
Comment 3 Graeme Humphries 2005-05-05 13:19:55 UTC
Really? Hmmm... that might explain some other weird problems I've been having. Is that just a problem with GCC targetting AMD64? I'll try rebuilding with -O3, and if that still breaks, with -O2. We'll see what happens.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-05 13:29:51 UTC
Which ncurses version do you have?
Comment 5 Graeme Humphries 2005-05-05 13:32:58 UTC
sys-libs/ncurses-5.4-r6
Comment 6 Graeme Humphries 2005-05-06 11:59:55 UTC
Using -O2 and -O3 didn't help anything.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-06 17:08:39 UTC
Does it works with -r1?
Comment 8 Graeme Humphries 2005-05-06 17:47:53 UTC
Failed in exactly the same place in -r1 with -Os. I guess I could try -O2 and -O3, but I don't expect any better results.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-06 17:54:26 UTC
Seems like an API problem, I'll see that more deeply soon.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-07 04:57:07 UTC
More than an API problem seems like vlc is screwed up and tries to use booleans in a C source file.
I've prepared a patch and I'm compiling to see if it works.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-07 05:22:23 UTC
Fixed in CVS, thanks for reporting.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-07 05:22:42 UTC
Fixed in CVS, thanks for reporting.