Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41496 - media-video/vlms-0.2.2 fails to compile
Summary: media-video/vlms-0.2.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 13:15 UTC by Sven Wegener
Modified: 2005-03-27 16:14 UTC (History)
1 user (show)

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


Attachments
vlms-0.2.2-1.patch (for solution #1) (vlms-0.2.2-1.patch,254 bytes, patch)
2004-02-13 13:18 UTC, Sven Wegener
Details | Diff
vlms-0.2.2-2.patch (for solution #2) (vlms-0.2.2-2.patch,428 bytes, patch)
2004-02-13 13:18 UTC, Sven Wegener
Details | Diff
0.2.2-vlf-cr-fix.patch (for FILESDIR solution #2) (0.2.2-vlf-cr-fix.patch,523 bytes, patch)
2004-02-13 13:19 UTC, Sven Wegener
Details | Diff
vlms-0.2.2-2.patch (for solution #2) (vlms-0.2.2-2.patch,798 bytes, patch)
2004-02-13 13:23 UTC, Sven Wegener
Details | Diff
vlms-0.2.2-2.patch (for solution #2) (vlms-0.2.2-2.patch,797 bytes, patch)
2004-02-13 13:43 UTC, Sven Wegener
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Wegener gentoo-dev 2004-02-13 13:15:33 UTC
Hi,

media-video/vlms fails to compile with following error:

vlf.c:86:52: missing terminating " character
vlf.c: In function `main':
vlf.c:87: error: `Li' undeclared (first use in this function)
vlf.c:87: error: (Each undeclared identifier is reported only once
vlf.c:87: error: for each function it appears in.)
vlf.c:87: error: syntax error before "packets"
vlf.c:87: error: `packets' undeclared (first use in this function)
vlf.c:87:33: missing terminating " character
make: *** [vlf] Error 1

There are two solutions for this problem.

1. The Makefile only installs vlms. The install of vlf is commented out.
   So, the first solution is, to modify the ebuild to only compile vlms.
2. Patch vlf.c to compile without error and maybe modify the ebuild to
   install vlf too

I'll attach patches for both solutions. I would go for #2

Sven



Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-G)
=================================================================
System uname: 2.6.2-G i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -fforce-addr -fmove-all-movables -march=athlon-tbird -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/OpenOffice.org1.1.1b/help/de/ /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_FILES=""
CONFIG_PROTECT_FILES_MASK=""
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -fforce-addr -fmove-all-movables -march=athlon-tbird -mmmx -m3dnow -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs digest sandbox usersandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.mirror.at.stealer.net/gentoo-portage"
USE="3dnow 3ds X X509 aalib acl alsa apache2 avi berkdb bonobo cdr cjk crypt cups curl directfb doc encode esd evms2 exiscan exiscan-acl fbcon ffmpeg firebird flash foomaticdb freetds gd gd-external gdbm ggi gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib informix innodb ipv6 java jpeg ldap libg++ libwww lmtp mad maildir mbox mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mysql nas ncurses nls nntp nptl odbc offensive oggvorbis opengl oss pam pdflib perl php png postgres python qt quicktime readline ruby samba sasl scanner slang slp socks5 spell sqlite sse ssl tcltk tcpd tetex tiff truetype usb wmf x86 xchattext xfs xml xml2 xmms zlib"
Comment 1 Sven Wegener gentoo-dev 2004-02-13 13:18:11 UTC
Created attachment 25554 [details, diff]
vlms-0.2.2-1.patch (for solution #1)
Comment 2 Sven Wegener gentoo-dev 2004-02-13 13:18:48 UTC
Created attachment 25555 [details, diff]
vlms-0.2.2-2.patch (for solution #2)
Comment 3 Sven Wegener gentoo-dev 2004-02-13 13:19:53 UTC
Created attachment 25556 [details, diff]
0.2.2-vlf-cr-fix.patch (for FILESDIR solution #2)
Comment 4 Sven Wegener gentoo-dev 2004-02-13 13:23:51 UTC
Created attachment 25557 [details, diff]
vlms-0.2.2-2.patch (for solution #2)

when using epatch, eutils should be inherited :)
Comment 5 Sven Wegener gentoo-dev 2004-02-13 13:43:39 UTC
Created attachment 25558 [details, diff]
vlms-0.2.2-2.patch (for solution #2)

damn typos, it's too late :\
Comment 6 Martin Mokrejš 2004-07-11 10:22:10 UTC
Hi,
  I have this problem too. Which patch should one use?
Comment 7 Chris White (RETIRED) gentoo-dev 2005-03-27 16:14:38 UTC
Fixed in cvs.  Thanks for reporting!