Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error emerging avifile and transcode
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
daly1
n00b
n00b


Joined: 12 Sep 2005
Posts: 8

PostPosted: Mon Sep 12, 2005 2:33 pm    Post subject: Error emerging avifile and transcode Reply with quote

Hello all,

I had a problem emerging: "avifile-0.7.43.20050224-r2" The error was:

Code:
FFReadHandler.cpp:206: error: request for member `codec_type' in `st->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp:209: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp:211: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*'
make[2]: *** [FFReadHandler.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -march=athlon64 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp -o Cache.o >/dev/null 2>&1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib/aviread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


I was able to emerge 0.7.41.20041001-r1 successfully though.

I also have this error:
Code:
export_ffmpeg.c:760: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:763: error: structure has no member named `frame_rate'
export_ffmpeg.c:764: error: structure has no member named `frame_rate_base'
make[2]: *** [export_ffmpeg.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14/export'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.14-r2 failed.
!!! Function src_compile, Line 132, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Does anyone know how to fix those 2 errors? I will post any needed info upon request (I am a total gentoo noob)

Thanks.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Sep 12, 2005 2:36 pm    Post subject: Reply with quote

Okay, start with posting the output of "emerge info".
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
daly1
n00b
n00b


Joined: 12 Sep 2005
Posts: 8

PostPosted: Mon Sep 12, 2005 2:39 pm    Post subject: Reply with quote

OK, here you go:

Code:
Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4-hardenednopie, glibc-2.3.5-r1, 2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="amd64 X aac acl acpi alsa arts audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 cdb cdparanoia cdr crypt cups curl dbus dvd dvdr dvdread eds emboss encode exif fam ffmpeg foomaticdb fortran ftp gif gpm gstreamer gtk gtk2 hal hardened ieee1394 imap imlib ipv6 java javascript jpeg kde kdeenablefinal lm_sensors lzw lzw-tiff mad mime motif mozilla mp3 mpeg mpi msn ncurses nls nptl nsplugin nvidia ogg opengl pam pda pdflib perl png posix python qt quicktime readline samba sasl scanner sdl spell ssl symlink sysvipc tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd videos vorbis wifi xine xinerama xml xml2 xmms xosd xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Sep 12, 2005 3:04 pm    Post subject: Reply with quote

The only thing I see questionable there is ~amd64 in ACCEPT_KEYWORDS. (kudos on not being a ricer your first out, btw :wink: )

Although this is fairly common practice in amd64, it's better to add each package you want from the ~amd64 tree to /etc/portage/package.keywords.
That way you'll at least know you have a stable toolchain, even if every desktop app you have is ~arch.

Could you post the output of "emerge -pvuDN avifile transcode"?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
daly1
n00b
n00b


Joined: 12 Sep 2005
Posts: 8

PostPosted: Mon Sep 12, 2005 3:23 pm    Post subject: Reply with quote

Code:
emerge -pvuDN avifile transcode

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-video/avifile-0.7.43.20050224-r2 [0.7.41.20041001-r1] (-3dnow) +X -a52 +alsa -debug (-divx4linux) -dmalloc -dpms +encode -esd +mad -matrox (-mmx) -oss +qt -sblive +sdl (-sse) +truetype +v4l (-vidix) +vorbis (-win32codecs) +xinerama +xv +xvid +zlib 0 kB
[ebuild   R   ] media-libs/libquicktime-0.9.7  -dv +gtk* +ieee1394 +jpeg (-mmx) -oggvorbis +png 0 kB
[ebuild  N    ] media-video/transcode-0.6.14-r2  (-3dnow) +X -a52 (-altivec) +avi (-divx4linux) -dv +dvdread +encode -fame +gtk -imagemagick +jpeg -lzo -mjpeg (-mmx) +mpeg -network +ogg (-pvm) +quicktime +sdl (-sse) (-sse2) -theora +truetype +v4l +vorbis +xml2 +xvid 0 kB

Total size of downloads: 0 kB


I need some translation LOL :)
What does ricer mean?
Are you recommending that i remove ~amd64 from ACCEPT_KEYWORDS? Do I then do some emerge rebuild to make sure that all is from the stable toolchain?
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Sep 12, 2005 11:25 pm    Post subject: Reply with quote

daly1 wrote:
I need some translation LOL :)
What does ricer mean?
Are you recommending that i remove ~amd64 from ACCEPT_KEYWORDS? Do I then do some emerge rebuild to make sure that all is from the stable toolchain?

-p = pretend emerge
-v = verbose (lists use flags available and enabled, download sizes, etc)
-u = check for updates for related packages
-D = deep. self-explanatory?
-N = newuse, recompiles any package were the use flags have been changed.

I strongly suggest reading this.

ricer = http://funroll-loops.org/

About your error, maybe try re-emerging ffmpeg, and trying those two again?

AFAIK moving from ~arch to arch is problematic, I wouldn't try doing it all in one go.
Have a look around the forum for similar threads on this.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
tarzan420
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2003
Posts: 81
Location: Fairbanks AK

PostPosted: Tue Sep 13, 2005 2:55 am    Post subject: Reply with quote

no idea on avifile.

i was getting the same error with transcode, and tried several things, including stepping backwards through 4 versions or so. I ended up emerging the 1.0.0 version that's masked - it built just fine and seems to work.
_________________
The power of Unix coupled with a pleasing interface and scores of usable desktop applications is a disgusting perversion of everything Unix stands for.
Back to top
View user's profile Send private message
daly1
n00b
n00b


Joined: 12 Sep 2005
Posts: 8

PostPosted: Tue Sep 13, 2005 3:19 pm    Post subject: Reply with quote

Hopeless,

So how would you recommend that I move from ~arch to arch?

I was looking at the transcode website, and it seems that the problem that I am having is something that they know of. They have posted a patch for it, but I was wondering, if I compile the package on my own, would emerge know that I have it, or would it try to download it and compile it when I try to emerge k3b?

BTW, I did unmerge ffmpeg and reemrged it, but that did not help.

Thanks!
Back to top
View user's profile Send private message
blubb
Retired Dev
Retired Dev


Joined: 16 Feb 2004
Posts: 51
Location: Switzerland

PostPosted: Tue Sep 13, 2005 4:14 pm    Post subject: Reply with quote

compilation errors are bugs which should be reported on https://bugs.gentoo.org/ if there's not already a bug report for it.
about the self-compile-issue: portage would try to merge it, but you can inject it if you want. see man portage for an explanation
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Tue Sep 13, 2005 4:57 pm    Post subject: Reply with quote

daly1 wrote:
Hopeless,

So how would you recommend that I move from ~arch to arch?

I've never needed to do this, so asking others who have done so might be a better idea.

However, rather than actually recompiling everything, what I'd suggest is removing ~amd64 from make.conf, run "emerge -pvuDN system", and add every package you see that is marked as a downgrade to /etc/portage/packe.keywords (specifing the precise version number, eg; "=app-misc/emelfm2-0.0.9-r1 ~amd64").
That way, you can continue using what you have installed, and when an later version is marked amd64 you can upgrade to that.
After the above step, run "emerge -pvuDN system" again to make sure nothing would be downgraded, then run "emerge -pvuDN world", and add these packages to package.keywords. With this however, you can chose to downgrade immediately or simply add the package "app-misc/emelfm2 ~amd64" to accept all ~amd64 versions of this packge in future if you wish to do so. Having these as ~amd64 shouldn't have as big an affect as the "system" packages.

On a side note, while having ACCEPT_KEYWORDS="~arch" is considered a bad idea, many users do so and don't seem to experience (m)any problems.
Anybody have any comments on this issue or the above precedure?


As for the transcode patch, you could actually get portage to apply the patch when you emerge transcode.
It's a bit of work, but if you're up for it, here's the procedure;
    Add the following to /etc/make.conf;
    Code:
    PORTDIR_OVERLAY="/usr/local/portage"

    Then do the following;
    Code:
    mkdir /usr/local/portage
    mkdir /usr/local/portage/media-video
    cp -r /usr/portage/media-video/transcode /usr/local/portage/media-video

    Now decide which version of transcode you're going to use (take a look at which version the patch can be applied to), and delete the other .ebuild files from /usr/local/portage/media-video/transcode.
    Copy the patch into /usr/local/portage/media-video/transcode/files
    Now open the remaining .ebuild file in your editor of choice, and add the following to the end of the "src_unpack()" code block;
    Code:
    epatch ${FILESDIR}/patchname

    Now run
    Code:
    ebuild /usr/local/portage/media-video/transcode/transcode.[VERSION].ebuild digest

    Where [VERSION] is the version number, obviously (be grateful for tab completion when doing this :wink: )
    Then "emerge -pv transcode" should indicate it's from the overlay, and try emerging it.

So, who wants to be the first to tell me how terrible an idea this is? :P
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
butters
Guru
Guru


Joined: 13 May 2002
Posts: 427
Location: Poughkeepsie, NY

PostPosted: Sat Sep 17, 2005 3:19 am    Post subject: Reply with quote

I' also running into this bug in media-video/avifile-0.7.43.20050224-r2. It doesn't appear to be due to any USE flags, and it doesn't appear to be due to the patch added between -r1 and -r2. Both ebuilds are keyworded ~x86. Has anyone been successful compiling this version of avifile?
_________________
If tugboats were bigger, they'd be the ones getting tugged.
Back to top
View user's profile Send private message
Taily
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 115

PostPosted: Sat Sep 17, 2005 2:00 pm    Post subject: Reply with quote

butters wrote:
I' also running into this bug in media-video/avifile-0.7.43.20050224-r2. It doesn't appear to be due to any USE flags, and it doesn't appear to be due to the patch added between -r1 and -r2. Both ebuilds are keyworded ~x86. Has anyone been successful compiling this version of avifile?


As a matter of fact, this version HAS compiled perfectly on my system
> emerge avifile -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] media-video/avifile-0.7.43.20050224-r2

However, if i try to compile it again, or doing a emerge -e world for that matter it fails, same with transcode (transcode complains about some ffmpeg stuff, i think ffmpeg might be the source of the problems)

You could try maskin the latest version of ffmpeg (if you run ~x86 atleast..) and make sure you install 0.4.9_p20050226, then compile avifile and transcode.. If you still want the latest ffmpeg emerge it afterwards and don't recompile avifile and/or transcode
Back to top
View user's profile Send private message
gyaresu
n00b
n00b


Joined: 18 Sep 2005
Posts: 4

PostPosted: Sun Sep 18, 2005 11:47 pm    Post subject: Reply with quote

Anyone had any luck? I came across this whilst 'emerge k3b'.

Code:

SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp  -fPIC -DPIC -o .libs/Cache.o
FFReadHandler.cpp: In member function `int avm::FFReadHandler::Init(const char*)':
FFReadHandler.cpp:69: error: cannot convert `AVCodecContext**' to `AVCodecContext*' in initialization
FFReadHandler.cpp:72: error: 'struct AVCodecContext' has no member named 'frame_rate'
FFReadHandler.cpp: In member function `virtual avm::IMediaReadStream* avm::FFReadHandler::GetStream(uint_t, avm::IStream::StreamType)':
FFReadHandler.cpp:109: error: request for member `codec_type' in `((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp: In member function `virtual uint_t avm::FFReadHandler::GetStreamCount(avm::IStream::StreamType)':
FFReadHandler.cpp:133: error: request for member `codec_type' in `((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp: In member function `int avm::FFReadHandler::readPacket()':
FFReadHandler.cpp:206: error: request for member `codec_type' in `st->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp:209: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp:211: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*'
make[2]: *** [FFReadHandler.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -march=athlon64 -pipe -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp -o Cache.o >/dev/null 2>&1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib/aviread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Code:

Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-2005-09-17 x86_64)
=================================================================
System uname: 2.6.12-2005-09-17 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups dts dvd dvdread eds emboss encode fam flac foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde live lzw lzw-tiff mad matroska mp3 mpeg ncurses nls ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba sdl spell ssl tcpd theora tiff truetype-fonts type1-fonts usb userlocales vorbis xanim xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
theDreamer
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 118

PostPosted: Mon Sep 19, 2005 7:12 am    Post subject: Reply with quote

same problem with me... any solution?
_________________
Cheers,
Nir Dremer
www.dremer.org
Back to top
View user's profile Send private message
mattia
n00b
n00b


Joined: 19 Sep 2005
Posts: 5

PostPosted: Mon Sep 19, 2005 9:32 am    Post subject: Reply with quote

reemerging ffmpeg to the latest version (with ~amd64 Keyword) worked fine for me...
Back to top
View user's profile Send private message
gyaresu
n00b
n00b


Joined: 18 Sep 2005
Posts: 4

PostPosted: Mon Sep 19, 2005 4:09 pm    Post subject: Reply with quote

mattia wrote:
reemerging ffmpeg to the latest version (with ~amd64 Keyword) worked fine for me...


Nope. avifile-0.7..43.20050224-r2 still fails
I'm going back to Tank Girl.
48hrs of installing Gentoo on my specs and I've got the Nvidia 100% cpu usage bug as well.
Frag that. Someone post when you've figured it out.
Stupid linux.

I'll get back on the case when I've finished my zine.
Back to top
View user's profile Send private message
theDreamer
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 118

PostPosted: Mon Sep 19, 2005 4:13 pm    Post subject: Reply with quote

this solution just worked for me..
_________________
Cheers,
Nir Dremer
www.dremer.org
Back to top
View user's profile Send private message
daly1
n00b
n00b


Joined: 12 Sep 2005
Posts: 8

PostPosted: Mon Sep 19, 2005 7:40 pm    Post subject: Reply with quote

I am dreaming of the linux distro that "just works". Tried them all, but they all need fudging to work. I am now stuck cause I really love Linux and can never imagine going back to some proprietary closed-source crap especially that other one.

Guess I will have to keep looking and waiting for that "perfect" distro.
Back to top
View user's profile Send private message
adr
n00b
n00b


Joined: 24 May 2005
Posts: 8

PostPosted: Mon Sep 19, 2005 9:02 pm    Post subject: Reply with quote

Not to feed the trolls or anything, but you do realize that this is a bug in an software package, marked unstable, and not developed by Gentoo, right?
Back to top
View user's profile Send private message
gyaresu
n00b
n00b


Joined: 18 Sep 2005
Posts: 4

PostPosted: Tue Sep 20, 2005 1:42 pm    Post subject: Reply with quote

adr wrote:
Not to feed the trolls or anything, but you do realize that this is a bug in an software package, marked unstable, and not developed by Gentoo, right?


Unstable just means 'latest patched version' :)
Anyway.
This works for now:
https://bugs.gentoo.org/show_bug.cgi?id=105597#c3

Love the bugzilla.
Back to top
View user's profile Send private message
Taily
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 115

PostPosted: Tue Sep 20, 2005 2:12 pm    Post subject: Reply with quote

gyaresu wrote:
adr wrote:
Not to feed the trolls or anything, but you do realize that this is a bug in an software package, marked unstable, and not developed by Gentoo, right?


Unstable just means 'latest patched version' :)
Anyway.
This works for now:
https://bugs.gentoo.org/show_bug.cgi?id=105597#c3

Love the bugzilla.


Haha, that bugzilla links says basically the same as i did in my post, sadly no-one seemed to notice it :/
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Tue Sep 20, 2005 4:32 pm    Post subject: Reply with quote

gyaresu wrote:

Unstable just means 'latest patched version' :)


Unstable is the latest version but it's marked unstable as it may break other things and cause problems with other packages. Simply ignoring the ~ mark means you have a less stable system. Blaming a distro for being unstable when you don't use the packages marked stable is...

Well, you figure it out.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
daly1
n00b
n00b


Joined: 12 Sep 2005
Posts: 8

PostPosted: Tue Sep 20, 2005 8:30 pm    Post subject: Reply with quote

I am not blaming anything. I am just saying that although I love Linux, and that although I have not used any other O/S for the past 2 years (desktop and server), I would really love the day when one could install it and it just works. No need for trying to do this or trying to do that.

I'm sure that there are many people out there, as geeky as I am, and still wish for that. I am very happy with gentoo and love that I have control over what gets installed and that everything is compiled just for my system. I am still to see that "perfect" uneventful installation :)
Back to top
View user's profile Send private message
Taily
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 115

PostPosted: Wed Sep 21, 2005 2:22 pm    Post subject: Reply with quote

So either you want windows, and may i remind you that it's installation not always perfect and uneventful ;)
Or perhaps you should stop updating your system :)?
Back to top
View user's profile Send private message
zuzubu
n00b
n00b


Joined: 02 Apr 2005
Posts: 11
Location: Detroit

PostPosted: Thu Sep 22, 2005 1:38 am    Post subject: Reply with quote

I also had your transcode error described in your original post.

Here is the error I experienced:

Code:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I.. -I../src -I../libac3 -I../avilib -I/usr/include -I../libvo -I../libioaux -I../libxio -I/usr/include/avifile-0.7 -I/usr/include -I/usr/include/lqt -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=k8 -O2 -pipe -DDCT_YUV_PRECISION=1 -MT export_ffmpeg.lo -MD -MP -MF .deps/export_ffmpeg.Tpo -c export_ffmpeg.c  -fPIC -DPIC -o .libs/export_ffmpeg.o
export_ffmpeg.c: In function `export_ffmpeg_init':
export_ffmpeg.c:677: error: structure has no member named `frame_rate'
export_ffmpeg.c:678: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:681: error: structure has no member named `frame_rate'
export_ffmpeg.c:682: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:685: error: structure has no member named `frame_rate'
export_ffmpeg.c:686: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:689: error: structure has no member named `frame_rate'
export_ffmpeg.c:690: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:693: error: structure has no member named `frame_rate'
export_ffmpeg.c:694: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:697: error: structure has no member named `frame_rate'
export_ffmpeg.c:698: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:701: error: structure has no member named `frame_rate'
export_ffmpeg.c:702: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:705: error: structure has no member named `frame_rate'
export_ffmpeg.c:706: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:712: error: structure has no member named `frame_rate'
export_ffmpeg.c:713: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:717: error: structure has no member named `frame_rate'
export_ffmpeg.c:718: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:735: error: structure has no member named `frame_rate'
export_ffmpeg.c:736: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:739: error: structure has no member named `frame_rate'
export_ffmpeg.c:740: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:743: error: structure has no member named `frame_rate'
export_ffmpeg.c:744: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:747: error: structure has no member named `frame_rate'
export_ffmpeg.c:748: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:751: error: structure has no member named `frame_rate'
export_ffmpeg.c:752: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:755: error: structure has no member named `frame_rate'
export_ffmpeg.c:756: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:759: error: structure has no member named `frame_rate'
export_ffmpeg.c:760: error: structure has no member named `frame_rate_base'
export_ffmpeg.c:763: error: structure has no member named `frame_rate'
export_ffmpeg.c:764: error: structure has no member named `frame_rate_base'
make[2]: *** [export_ffmpeg.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14/export'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.14-r2 failed.


Here is how i fixed it (based on some google searching and code digging for hints):

It appears the AVCodecContext structure is missing some definitions, so...

edit the file /usr/include/ffmpeg/avcodec.h and add the following lines:
int frame_rate;
int frame_rate_base;
at the end of the AVCodecContext definition (line 1849 in my file).

Here is what the modified file looks like:
Code:

.
.
.
   /**
     *
     * - encoding: unused
     * - decoding: set by user.
     */
    enum AVDiscard skip_frame;

    /** ADDED TO CLEAR AN ERROR IN TRANSCODE **/
    int frame_rate;
    int frame_rate_base;
} AVCodecContext;


/**
 * AVOption.
 */
.
.
.


I'm not sure if this really fixes the program, but it did allow it to compile successfully.

I did not experience your first posted error, so can't comment on it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum