Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64575 - media-video/vls-0.5.6-r2 fails to compile
Summary: media-video/vls-0.5.6-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 80228 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-18 17:11 UTC by David Brigada
Modified: 2005-03-31 11:36 UTC (History)
1 user (show)

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 David Brigada 2004-09-18 17:11:08 UTC
When vls attempts to compile the first file (right after configure finishes), it fails.

Error message:
Compiling src/core/application.cpp...
g++  -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG  -o obj/core/application.o -c src/core/application.cpp 
In file included from src/core/application.cpp:97:
src/core/hashtable.h:67: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:80: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:93: error: an explicit specialization must be preceded by 'template <>'
In file included from src/core/application.cpp:113:
src/core/library.cpp: In member function `void C_Library<Type, Arg>::Load()':
src/core/library.cpp:82: error: `DL_LAZY' undeclared (first use this function)
src/core/library.cpp:82: error: (Each undeclared identifier is reported only once for each function it appears in.)
src/core/library.cpp:93: error: there are no arguments to `dlsym' that depend on a template parameter, so a declaration of `dlsym' must be available
src/core/library.cpp:93: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
src/core/library.cpp:110: error: there are no arguments to `dlsym' that depend on a template parameter, so a declaration of `dlsym' must be available
src/core/library.cpp: In member function `void C_Library<Type, Arg>::Unload()':
src/core/library.cpp:133: error: there are no arguments to `dlclose' that depend on a template parameter, so a declaration of `dlclose' must be available
src/core/library.cpp: In member function `C_String C_Library<Type, Arg>::GetLoaderError()':
src/core/library.cpp:177: error: there are no arguments to `dlerror' that depend on a template parameter, so a declaration of `dlerror' must be available
make: *** [obj/core/application.o] Error 1

It might be gcc-3.4's increased strictness when handling C++ that has broken this ebuild, as it seems to be various syntax errors, and I am using gcc-3.4.1-r2

phi ~ # emerge info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-g
entoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Pentium II (Deschutes)
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/shar
e/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf
/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env
.d"
CXXFLAGS="-march=pentium2 -O3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"
USE="aalib apache2 berkdb bitmap-fonts cdr crypt cscope cups curl dedicated doc 
encode ethereal fam foomaticdb gd gdbm gif imlib jpeg libg++ libwww mad mbox md5
sum mmx motif mpeg mysql ncurses offensive opengl pam parse-clocks pdflib perl p
ng ppds procmail readline ruby samba slang slp spell ssl svga tcpd tetex threads
 truetype usb x86 xml xml2 xprint zlib"

Setting MAKEOPTS=-j1 FEATURES='-distcc -ccache' doesn't seem to help this ebuild compile correctly.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-31 10:30:14 UTC
*** Bug 80228 has been marked as a duplicate of this bug. ***
Comment 2 Holly 2005-01-31 12:00:18 UTC
is this really a duplicate? there are different errormessages and the error occurs in different files.
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-31 11:36:39 UTC
fixed in cvs, thanks for reporting.