Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30592 - rte-0.5.1 doesn't compile with divx4linux-20030428-r1 installed
Summary: rte-0.5.1 doesn't compile with divx4linux-20030428-r1 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 30296
Blocks:
  Show dependency tree
 
Reported: 2003-10-07 11:57 UTC by Jules Gagnon
Modified: 2004-08-28 04:58 UTC (History)
2 users (show)

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


Attachments
Corrected ebuild for 0.5.1 (rte-0.5.1-r1.ebuild,710 bytes, text/plain)
2004-07-07 13:07 UTC, Jules Gagnon
Details
Ebuild for 0.5.2 (rte-0.5.2.ebuild,699 bytes, application/octet-stream)
2004-07-07 15:59 UTC, Jules Gagnon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jules Gagnon 2003-10-07 11:57:39 UTC
But it compile with no problem when divx4linux-20020418-r2.ebuild is installed.


Reproducible: Always
Steps to Reproduce:
1. divx4linux was updated to 20030428 by emerge -u world (It's a dependency of
mplayer)
2. emerge -u zapping


Actual Results:  
The emerge stop because of a lot of compilation errors.


Expected Results:  
I suppose it should have downgraded divx4linux to 20020418-r2 because I have
nothing which depend specifically on 20030428.

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.4.20-gentoo-r7)=================================================================
System uname: 2.4.20-gentoo-r7 i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline java guile mysql X sdl tcpd pam libwww ssl python imlib
oggvorbis gnome gtk opengl -3dnow acpi alsa -arts bonobo cdr dga dvd esd evo
fbcon gtk2 gtkhtml -kde maildir matrox -motif mozilla perl pic -qt sse -svga
tcltk tetex tiff usb xml transcode"
Comment 1 simon 2003-10-19 08:42:22 UTC
same problem, cannot emerge rte, which I need for zapping.
Comment 2 Denny Schierz 2003-12-06 11:43:18 UTC
Only workaround i found, is to remove divx4linux, emerge rte and installing divx4linux again.
Comment 3 Martin Klaffenboeck 2003-12-08 11:29:38 UTC
same problem here.

Maybe someone should disable the divx4linux support until it works?

Martin
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-01-07 16:35:40 UTC
i've added a bug upstream
http://sourceforge.net/tracker/index.php?func=detail&aid=872742&group_id=2599&atid=102599
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2004-05-01 09:10:13 UTC
Bug fixed upstream :)
http://cvs.sourceforge.net/viewcvs.py/zapping/rte/ChangeLog?view=markup

However rte should be compiled with --with-divx4linux=no until a new version
comes out, and then it should have a conditional dep on divx4linux
Comment 6 Martin Nowack 2004-07-01 07:04:11 UTC
new rte-0.5.2 ist out and compiles perfectly with divx4linux-20030428 but i can't make working ebuild.
fails after configure
Comment 7 Andre 2004-07-05 08:10:50 UTC
Same for me :I need it for zapping!This the output
##########################
Making all in divx4linux
make[2]: Entering directory `/var/tmp/portage/rte-0.5.1/work/rte-0.5.1/divx4linux'
source='b_divx4linux.c' object='b_divx4linux.lo' libtool=yes \
depfile='.deps/b_divx4linux.Plo' tmpdepfile='.deps/b_divx4linux.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -D_GNU_SOURCE -include ../config.h -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations    -O2 -O3 -mcpu=pentium3 -march=pentium3 -fomit-frame-pointer -pipe -I/var/tmp/portage/rte-0.5.1/work/rte-0.5.1/src -c -o b_divx4linux.lo `test -f 'b_divx4linux.c' || echo './'`b_divx4linux.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -D_GNU_SOURCE -include ../config.h -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -O2 -O3 -mcpu=pentium3 -march=pentium3 -fomit-frame-pointer -pipe -I/var/tmp/portage/rte-0.5.1/work/rte-0.5.1/src -c b_divx4linux.c -MT b_divx4linux.lo -MD -MP -MF .deps/b_divx4linux.TPlo  -fPIC -DPIC -o .libs/b_divx4linux.lo
In file included from b_divx4linux.c:26:
b_divx4linux.h:60: error: syntax error before "ENC_PARAM"
b_divx4linux.h:60: warning: no semicolon at end of struct or union
b_divx4linux.h:78: error: syntax error before '}' token
b_divx4linux.h:78: warning: type defaults to `int' in declaration of `d4l_context'
b_divx4linux.h:78: warning: data definition has no type or storage class
b_divx4linux.h:80: error: syntax error before '*' token
b_divx4linux.h:80: warning: return type defaults to `int'
b_divx4linux.h:80: warning: no previous prototype for `DX'
b_divx4linux.h: In function `DX':
b_divx4linux.h:80: error: syntax error before ')' token
b_divx4linux.h:80: error: syntax error before ')' token
b_divx4linux.c: At top level:
b_divx4linux.c:49: error: syntax error before '*' token
b_divx4linux.c: In function `encore_init5':
b_divx4linux.c:51: error: `param' undeclared (first use in this function)
b_divx4linux.c:51: error: (Each undeclared identifier is reported only once
b_divx4linux.c:51: error: for each function it appears in.)
b_divx4linux.c: At top level:
b_divx4linux.c:75: error: syntax error before '*' token
b_divx4linux.c: In function `status':
b_divx4linux.c:85: error: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:127: error: syntax error before '*' token
b_divx4linux.c: In function `avi_write_header':
b_divx4linux.c:132: error: `p0' undeclared (first use in this function)
b_divx4linux.c:143: error: `dx' undeclared (first use in this function)
b_divx4linux.c:143: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:145: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:155: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:156: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:176: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:183: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:188: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:189: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:194: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:195: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:199: warning: left-hand operand of comma expression has no effect
b_divx4linux.c: At top level:
b_divx4linux.c:218: error: syntax error before '*' token
b_divx4linux.c: In function `avi_write_trailer':
b_divx4linux.c:222: error: `p' undeclared (first use in this function)
b_divx4linux.c:222: error: `movi_bytes' undeclared (first use in this function)
b_divx4linux.c:223: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `mainloop':
b_divx4linux.c:232: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `stop':
b_divx4linux.c:349: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `start':
b_divx4linux.c:382: error: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:441: error: syntax error before '*' token
b_divx4linux.c:442: warning: `reset_output' was used with no prototype before its definition
b_divx4linux.c: In function `reset_output':
b_divx4linux.c:443: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `set_output':
b_divx4linux.c:454: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `set_input':
b_divx4linux.c:511: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `parameters_set':
b_divx4linux.c:574: error: `dx' undeclared (first use in this function)
b_divx4linux.c:597: error: `ENC_CSP_RGB24' undeclared (first use in this function)
b_divx4linux.c:605: error: `ENC_CSP_YV12' undeclared (first use in this function)
b_divx4linux.c:609: error: `ENC_CSP_I420' undeclared (first use in this function)
b_divx4linux.c:618: error: `ENC_CSP_YUY2' undeclared (first use in this function)
b_divx4linux.c:623: error: `ENC_CSP_UYVY' undeclared (first use in this function)
b_divx4linux.c: In function `option_get':
b_divx4linux.c:734: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `option_set':
b_divx4linux.c:762: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `codec_get':
b_divx4linux.c:804: error: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:828: error: `codec_set' redeclared as different kind of symbol
b_divx4linux.h:66: error: previous declaration of `codec_set'
b_divx4linux.c: In function `codec_set':
b_divx4linux.c:829: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `context_delete':
b_divx4linux.c:895: error: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `context_new':
b_divx4linux.c:925: error: `dx' undeclared (first use in this function)
make[2]: *** [b_divx4linux.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/rte-0.5.1/work/rte-0.5.1/divx4linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rte-0.5.1/work/rte-0.5.1'
make: *** [all] Error 2

!!! ERROR: media-libs/rte-0.5.1 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
#########################
Comment 8 Jules Gagnon 2004-07-07 13:07:22 UTC
Created attachment 34941 [details]
Corrected ebuild for 0.5.1

Please test and comment.
Comment 9 Jules Gagnon 2004-07-07 15:59:03 UTC
Created attachment 34958 [details]
Ebuild for 0.5.2
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2004-08-28 04:57:46 UTC
both are now in cvs

thx
Comment 11 Martin Holzer (RETIRED) gentoo-dev 2004-08-28 04:58:23 UTC
forgot to close