Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge -uD world fails at avifile [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
GuntherDW
n00b
n00b
User avatar
Posts: 38
Joined: Thu Nov 20, 2003 7:05 pm
Location: Belgium
Contact:
Contact GuntherDW
Website

emerge -uD world fails at avifile [solved]

  • Quote

Post by GuntherDW » Tue Nov 01, 2005 4:26 am

i've tried some things i've found on this forum, like downgrading my ffmpeg version, but stuff like that didn't work and just sweeped out the same error
Does anyone know how to solve this mess? :)

emerge log

Code: Select all

 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon-xp -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/AviReadStream.pp -c AviReadStream.cpp  -fPIC -DPIC -o .libs/AviReadStream.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon-xp -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/AviReadStream.pp -c AviReadStream.cpp -o AviReadStream.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include    -I./../common -Wall -Wno-unused -I../../include  -O2 -march=athlon-xp -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -c Cache.cpp
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon-xp -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp  -fPIC -DPIC -o .libs/Cache.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon-xp -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp -o Cache.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include    -I./../common -Wall -Wno-unused -I../../include  -O2 -march=athlon-xp -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -c FFReadHandler.cpp
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon-xp -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/FFReadHandler.pp -c FFReadHandler.cpp  -fPIC -DPIC -o .libs/FFReadHandler.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]: 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 144, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
emerge --info =

Code: Select all

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.13.2 i686)
=================================================================
System uname: 2.6.13.2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LC_ALL="C"
LINGUAS="us gb nl be nl_be"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb dos eds emboss encode esd fam flac foomaticdb fortran gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sblive scanner sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev v4l vorbis win32codecs xine xml xml2 xmms xv xvid zlib linguas_us linguas_gb linguas_nl linguas_be linguas_nl_be userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
Thanks in advance, GuntherDW
Last edited by GuntherDW on Tue Nov 01, 2005 7:40 pm, edited 1 time in total.
Top
dasilva
Tux's lil' helper
Tux's lil' helper
Posts: 83
Joined: Wed Oct 20, 2004 12:31 am

  • Quote

Post by dasilva » Tue Nov 01, 2005 6:28 am

that version of avifile you're getting errors with is unstable (~86). I was getting an error compiling avifile too (don't remember if it was the same error). what i did is just add

Code: Select all

>media-video/avifile-0.7.43.20050224-r1
to the end of /etc/portage/packages.mask. that allowed me to merge avifile-0.7.41.20041001-r2. it's an old version, but its a work around. I haven't experienced any problems.

there have been quite a few problems with avifile (search the forums), so i suggest looking those up if you want the newer version badly.
Last edited by dasilva on Thu Nov 03, 2005 7:00 am, edited 2 times in total.
Top
GuntherDW
n00b
n00b
User avatar
Posts: 38
Joined: Thu Nov 20, 2003 7:05 pm
Location: Belgium
Contact:
Contact GuntherDW
Website

  • Quote

Post by GuntherDW » Tue Nov 01, 2005 6:50 am

hmm,
my emerge seems to ignore /etc/portage/package.mask :(
is there any 'update db' type of command or so?
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Tue Nov 01, 2005 7:25 am

There should only be ONE '>' is /etc/portage/package.mask, not '>>'
Top
GuntherDW
n00b
n00b
User avatar
Posts: 38
Joined: Thu Nov 20, 2003 7:05 pm
Location: Belgium
Contact:
Contact GuntherDW
Website

  • Quote

Post by GuntherDW » Tue Nov 01, 2005 7:34 am

thanks, it's working now :)
Top
dasilva
Tux's lil' helper
Tux's lil' helper
Posts: 83
Joined: Wed Oct 20, 2004 12:31 am

  • Quote

Post by dasilva » Thu Nov 03, 2005 7:00 am

mark_alec wrote:There should only be ONE '>' is /etc/portage/package.mask, not '>>'
sorry, typo. edited now. thanks
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic