I'm getting the following error while compiling transcode-0.6.11: CISION=1 -O3 -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -MT decode_dv.o -MD -MP -MF ".deps/decode_dv.Tpo" \ -c -o decode_dv.o `test -f 'decode_dv.c' || echo './'`decode_dv.c; \ then mv -f ".deps/decode_dv.Tpo" ".deps/decode_dv.Po"; \ else rm -f ".deps/decode_dv.Tpo"; exit 1; \ fi decode_dv.c: In function `decode_dv': decode_dv.c:174: error: `frame_size_625_50' is hier niet gedeclareerd (eerste gebruik in deze functie) decode_dv.c:174: error: (Elke niet-gedeclareerde naam wordt slechts
I'm getting the following error while compiling transcode-0.6.11: CISION=1 -O3 -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -MT decode_dv.o -MD -MP -MF ".deps/decode_dv.Tpo" \ -c -o decode_dv.o `test -f 'decode_dv.c' || echo './'`decode_dv.c; \ then mv -f ".deps/decode_dv.Tpo" ".deps/decode_dv.Po"; \ else rm -f ".deps/decode_dv.Tpo"; exit 1; \ fi decode_dv.c: In function `decode_dv': decode_dv.c:174: error: `frame_size_625_50' is hier niet gedeclareerd (eerste gebruik in deze functie) decode_dv.c:174: error: (Elke niet-gedeclareerde naam wordt slechts één decode_dv.c:174: error: keer vermeld voor elke functie waarin hij staat.) decode_dv.c:207: error: `frame_size_525_60' is hier niet gedeclareerd (eerste gebruik in deze functie) decode_dv.c:247: let op: doorgeven van argument 5 van `dv_decode_full_frame' van incompatibel pointertype decode_dv.c:272: let op: doorgeven van argument 5 van `dv_decode_full_frame' van incompatibel pointertype decode_dv.c:280: let op: doorgeven van argument 5 van `dv_decode_full_frame' van incompatibel pointertype decode_dv.c: In function `probe_dv': decode_dv.c:388: error: `frame_size_625_50' is hier niet gedeclareerd (eerste ge bruik in deze functie) decode_dv.c:395: error: `frame_size_525_60' is hier niet gedeclareerd (eerste gebruik in deze functie) make[3]: *** [decode_dv.o] Fout 1 make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11/import' make[2]: *** [all-recursive] Fout 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11/import' make[1]: *** [all-recursive] Fout 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11' make: *** [all] Fout 2 Reproducible: Always Steps to Reproduce: 1. echo \=media-video/transcode-0.6.11 ~x86 >> /etc/portage/package.keywoards 2. emerge -uv transcode Actual Results: The above error Expected Results: Compile cleanly emerge info: Portage 2.0.51-r10 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-nitro2 i686) ================================================================= System uname: 2.6.10-nitro2 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 24 2004, 18:21:57)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.4, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math" CHOST="i686-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/fax /usr/share/config /var/qmail/alias /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox sfperms" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acl alsa apache2 apm arts audiofile avi bitmap-fonts bzlib calender cdparanoia cdr chroot crypt cups dba divx4linux dvd dvdr encode esd fam filepro flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib insecure-drivers java jpeg jpeg2k junit kde ldap libwww live mad mikmod mime mmx motif mpeg msn mysql ncurses nls nptl odbc offensive oggvorbis ooo-kde opengl pam pdflib perl pic png postgres python qmail qt quicktime readline real rplay samba scanner sdk sdl session sftplogging slang softmmu speex spell sse ssl stroke svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales wmf xine xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib video_cards_nvidia linguas_nl" Unset: LDFLAGS
Created attachment 48295 [details] The full log
confirmed here
I'm unable to install k3b-0.11.18-r1 because of this bug. Why does k3b depend on <transcode-0.6.12 if its no amd64?
Same here with -O2 CFLAG.
Maybe this will work for some users. K3B will do a downgrade of transcode if you have a transcodeversion greater transcode-0.6.11 installed. On my machine the transcode-0.6.14 was installed. After emerge -i media-video/transcode-0.6.11 the K3B update do it for me.
Same bug on: Portage 2.0.51-r11 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-vivid5 i686) ================================================================= System uname: 2.6.9-vivid5 i686 AMD Athlon(tm) Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 16 2004, 18:34:40)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowex X aalib alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr crypt cups dba divx4linux dts dvd dvdr dvdread encode esd f77 faac faad fam fbcon flac font-server foomaticdb fortran gd gd-external gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 iconv imagemagick imlib java javascript jce jit jpeg kde lame libg++ libwww mad matroska mikmod mitm mmx mng motif mozilla moznoxft mozsvg mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl session slang speex spell sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vim-with-x x86 xml2 xmms xv xvid zlib linguas_pl"
Same probs: decode_dv.c: In function `decode_dv': decode_dv.c:174: error: `frame_size_625_50' undeclared (first use in this function) decode_dv.c:174: error: (Each undeclared identifier is reported only once decode_dv.c:174: error: for each function it appears in.) decode_dv.c:207: error: `frame_size_525_60' undeclared (first use in this function) decode_dv.c:247: warning: passing arg 5 of `dv_decode_full_frame' from incompatible pointer type decode_dv.c:272: warning: passing arg 5 of `dv_decode_full_frame' from incompatible pointer type decode_dv.c:280: warning: passing arg 5 of `dv_decode_full_frame' from incompatible pointer type decode_dv.c: In function `probe_dv': decode_dv.c:388: error: `frame_size_625_50' undeclared (first use in this function) decode_dv.c:395: error: `frame_size_525_60' undeclared (first use in this function) make[3]: *** [decode_dv.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11/import' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11' make: *** [all] Error 2 portage info: Portage 2.0.51-r10 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo i686) ================================================================= System uname: 2.6.10-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 14 2005, 02:28:39)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.9.4, 1.8.5-r2, 1.5, 1.7.9, 1.6.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=pentium3 -pipe -Wall " CHOST="i686-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 /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=pentium3 -pipe -Wall " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa apm arts audiofile avi bash-completion berkdb bindist bonobo caps cdr cjk compositor crypt cups curl dga doc dv dvd dvdr dvdread encode esd exif f77 fbcon flac foomaticdb fortran gcji gd gdbm ggi gif glut glx gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imlib ipv6 jabber java jikes jpeg kdexdeltas lcms ldap libg++ libwww mad matroska mikmod mime mjpeg mmap mmx mmx2 motif mozdevelop mozilla moznomail mozsvg mp3 mpeg msn mule mysql nas ncurses network nls nntp nptl nvidia objc odbc offensive oggvorbis opengl oscar oss pam pda pdflib perl png pnp posix python qt quicktime readline rtc samba sdl shared sharedmem slang spell sse sse2 ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts unicode usb v4l x86 xine xml xml2 xmms xv xvid xvid4 yahoo zlib"
I noticed everyone was using gcc-3.4.3. Compiling with 3.3.4 seems to solve it. For the people who do not know how to switch compilers: emerge gcc-config gcc-config -l gcc-config i686-pc-linux-gnu-3.3.4 source /etc/profile emerge transcode I thought nearly all packages in portage were 3.4 compatible. Guess this package is an exeption :P Leaving the bug open to give people the chance to discuss a patch for transcode here. PS the newest version in portage is transcode 0.6.14. That's where I tested this on. Don't know if .11 has the same solution.
>>> Source unpacked. /usr/portage/eclass/flag-o-matic.eclass: line 208: ${#new_math}-2: substring expression < 0 is another error msg in the ebuild. A something related... Why are we forced to use < 0.6.12 when it's only AMD64 that has an issue with that with regards to k3b apparently. 0.6.14 compiles fine on gcc 3.4.x
But this error appears for me on gcc 3.3.5 too and everything is the same
Hello, It's not a problem of gcc version, it's a problem of dependencies. just emerge the libdv-0.99-r1 in place of 0.104 and transcode-0.6.11 build fine. It's due to a remove of some constants in header files of libdv (frame_size_625_50 and frame_size_525_60 in libdv/dv_types.h).
libdv-0.102 works as well.
*** Bug 77601 has been marked as a duplicate of this bug. ***
libdv-0.102 works for me too
Created attachment 49036 [details] New ebuild sorry, I take back what I said in comment 8. This is indeed not a question of compiler version, but of version differences in libdv. I attached an ebuild which makes transcode depend on =<media-libs/lidv-0.102. Please test it. Works for me :P
I still want to know why k3b forces us to use the older transcode, except om AMD64. Will someone on the video herd respond?
I don't know anything at all about ebuilds, but to me the k3b ebuild looks fishy. It doesn't say what to do if the system is non-amd64, so it seems to blindly follow that instruction. I removed the amd stuff from that line and k3b merged fine against transcode 0.6.14. I second the previous post, someone from the video herd really needs to do something; this is irritating.
the attatched ebuild works great for me. I agree the k3b situation is a little strange. perhaps someone can shed some light on a reason for it? Let me know if I can be of any further assistance with this bug thanks, kelly
Have you people tried any video decoding/encoding with k3b and newer transcode? I'm told that upstream k3b says it won't work, hence our lower dep.
i've updated the dependency on libdv, now it points to <=media-video/libdv-0.102. please test it and tell me if we can mark this one as fixed.
*** Bug 79394 has been marked as a duplicate of this bug. ***
Hmm, the ebuild doesn't work exectly as planned... I'm now stuck in a upgrade / downgrade cycle of transcode. Something keeps dragging in the newer version. When issuing another emerge -uDv world -p, it downgrades transcode again. I know there is a simple command to see which package does this, but I forgat the command :P
i'll check that in 1-2 hours, i'm currently at work and have no real access to the internet and also no cvs snapshot available. i havn't had enough time yesterday to check why k3b required a low version of transcode.
The lower transcode actually compiles for me now. However, there is a nice little problem. I've got k3b installing 0.6.11 and then on the next update portage installing 0.6.14. Please fix this before I go nuts.
see comment 22 This will probably require "slotting" the ebuilds, (install both versions simultaniously), but I'm not sure how to do that... Guess we'll need someone from the mediavideo herd for that. Unless one of you guys knows how...
To slot I think you can just change the SLOT variable in the ebuilds (/usr/portage/media-video/transcode /transcode-0.6.11.ebuild and transcode-0.6.14.ebuild) to something like "11" and "14" respectively. But yeah, a dev will have to do that to get it into Portage.
No, slotting is not the answer. If k3b would work with transcode-0.6.14 everything would be fine. In fact, if I'm not mistaken portage behaves as designed, look at the latest stable versions of the ebuilds involved: libdv-0.99-r1 transcode-0.6.11 k3b-0.11.18 Yes, running ~x86 pulls transcode-0.6.14 and k3b will downgrade transcode to 0.6.11. That's why the ebuilds are not marked stable. I'll dig deeper into why k3b won't run with transcode-0.6.14 (and why this seems to be ok for amd64) and report back here. stay tuned and thanks for your patience. Cheers, Marc.
Marc, could you get any news from K3b? --Peter
another bump. Could this please be fixed? I'm in a continues updgrade / downgrade cycle. Which is not fatal, but quite annyoing...
>Could this please be fixed? No, it can't. K3B 0.11.x does not support anything else than <=transcode-0.6.11 (see Bug 54159). You have to mask locally to your liking.
Can someone fix the k3b ebuild to support new tscode versions? In the KDE bugzilla it is said that now k3b should work fine with tscode >= 0.6.12. See the bug mentioned in the above comment for a link. Now 0.6.11 doesn't compile anymore against new libquicktime builds too, so this starts being _quite_ annoying indeed.
I'm not using transcode, but you should be able to change line 31 of k3b-0.11.22.ebuild to this: !amd64? ( media-video/transcode ) And see if that works.
I get the following (not sure if this adds much to the discussion): decode_mov.o(.text+0xdb2): In function `decode_mov': /var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11/import/decode_mov.c:180: undefined reference to `quicktime_read_audio' collect2: ld returned 1 exit status make[3]: *** [tcdecode] Error 1 make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11/import' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.11/work/transcode-0.6.11' make: *** [all] Error 2 !!! ERROR: media-video/transcode-0.6.11 failed. !!! Function src_compile, Line 129, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Don't know if it will help but I got around this by doing the following: emerge --ummerge libquicktime emerge openquicktime emerge k3b Frist compile on the k3b emerge is for transcode and it ran fine after replacing libquicktiem with openquicktime. YMMV
marking this one as fixed, since transcode 0.6.14 is now stable and a newer version of k3b which works with that transcode was also marked stable.