Forums

Skip to content

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

Avifile Build Fails

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Kenji Miyamoto
Veteran
Veteran
User avatar
Posts: 1452
Joined: Sat May 28, 2005 6:11 pm
Location: Looking over your shoulder.
Contact:
Contact Kenji Miyamoto
Website

Avifile Build Fails

  • Quote

Post by Kenji Miyamoto » Sat Sep 24, 2005 2:05 am

Whilst avifile builds, an error is returned:

Code: Select all

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 145, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
I've attempted merging older versions, but the same error occurs. What is the cause of this error?
Top
dadodrake
n00b
n00b
Posts: 55
Joined: Sat Mar 19, 2005 11:10 am
Location: Slovakia

  • Quote

Post by dadodrake » Tue Sep 27, 2005 2:01 pm

same problem here
Top
dadodrake
n00b
n00b
Posts: 55
Joined: Sat Mar 19, 2005 11:10 am
Location: Slovakia

  • Quote

Post by dadodrake » Tue Sep 27, 2005 2:30 pm

Try:
emerge =media-video/ffmpeg-0.4.9_p20050226-r5 && emerge avifile && emerge ffmpeg
Top
papabean
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 130
Joined: Sat Oct 26, 2002 5:28 pm
Location: Sacramento, California
Contact:
Contact papabean
Website

  • Quote

Post by papabean » Tue Sep 27, 2005 4:05 pm

That seems to work. Any known repercussions or problems with avifile afterward?
-- The world is full of tough guys. It doesn't need me to be one too.
Top
bibleman
n00b
n00b
Posts: 43
Joined: Tue Apr 26, 2005 9:55 pm

  • Quote

Post by bibleman » Sat Jan 07, 2006 5:34 pm

I was having the same problem and this has seemed to work. How did you figure out that it was a problem with the ffmpeg package?
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting Life
John 3:16
Top
rhill
Retired Dev
Retired Dev
User avatar
Posts: 1629
Joined: Fri Oct 22, 2004 9:58 am
Location: sk.ca

  • Quote

Post by rhill » Sat Jan 07, 2006 9:40 pm

emerge -C avifile. :P

avifile is being removed from portage due to mass suckage. ffmpeg should be able to provide the same functionality.
by design, by neglect
for a fact or just for effect
Top
TheDot
n00b
n00b
User avatar
Posts: 31
Joined: Wed Oct 12, 2005 5:14 am
Location: somewhere out there...

  • Quote

Post by TheDot » Sun Jan 08, 2006 10:36 am

dadodrake wrote:Try:
emerge =media-video/ffmpeg-0.4.9_p20050226-r5 && emerge avifile && emerge ffmpeg
I just wanted to jump in and say that this solution worked for me as well.

Thanks! :D
Top
Adrien
Advocate
Advocate
User avatar
Posts: 2326
Joined: Tue Jul 13, 2004 7:04 pm
Location: Bretagne

  • Quote

Post by Adrien » Thu Jan 12, 2006 8:20 am

dirtyepic wrote:avifile is being removed from portage due to mass suckage.
Glad to read this! :D
Top
pavkb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 90
Joined: Tue Jan 20, 2004 9:05 pm
Location: USA

  • Quote

Post by pavkb » Mon Jan 16, 2006 6:05 pm

So which way to go.

-C avifile ??

when i do

Code: Select all

emerge -s ffmpeg
Searching...
*  media-video/ffmpeg
      Latest version available: 0.4.9_p20051216
      Latest version installed: 0.4.9_p20051216
      Size of downloaded files: 1,679 kB
      Homepage:    http://ffmpeg.sourceforge.net/
      Description: Complete solution to record, convert and stream audio and video. Includes libavcodec.
      License:     GPL-2
why am i downgrading ffmpeg to remerge avifile below??
Try:
emerge =media-video/ffmpeg-0.4.9_p20050226-r5 && emerge avifile && emerge ffmpeg
Can i just -C avifile & have same functionality as before?
Top
HydroSan
l33t
l33t
User avatar
Posts: 764
Joined: Thu Mar 04, 2004 5:43 pm
Location: The Kremlin (aka Canada)
Contact:
Contact HydroSan
Website

  • Quote

Post by HydroSan » Mon Jan 16, 2006 9:13 pm

Re-emerging ffmpeg afterwards may cause linking breakage. If it wont compile against the newest ffmpeg, it probably doesn't conform to the new API changes in the newest ffmpeg's. I'd recommend masking the latest version of ffmpeg, and keep going back until avifile compiles with ffmpeg. Once you're done, do the following:

Code: Select all

emerge gentoolkit gentoolkit-dev
revdep-rebuild -pv
It'll tell you what other applications may have linked against a library or piece of software in which the API has changed.
I was a Gangster for Capitalism, by Major General Smedley Butler.

Server status: Currently down, being replaced with fresh install - 20% completed.
Top
Post Reply

10 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