Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376241 - k9copy 2.3.6 compile failure can't find avformat.h
Summary: k9copy 2.3.6 compile failure can't find avformat.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 16:46 UTC by Eli Venter
Modified: 2011-07-26 22:41 UTC (History)
0 users

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


Attachments
build.log for k9copy 2.3.6 (build.log,93.29 KB, text/plain)
2011-07-24 22:51 UTC, Eli Venter
Details
emerge --info (emerge.info,4.48 KB, text/plain)
2011-07-25 02:31 UTC, Eli Venter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eli Venter 2011-07-24 16:46:53 UTC
k9copy-2.3.6 files to find the avformat.h header file during emerge. This file is installed as part of ffmpeg-0.7_rc1 under /usr/lib/libavformat, k9avidecode.h includes it as <avformat.h>.

Reproducible: Always

Steps to Reproduce:
1.emerge k9copy
2.
3.
Actual Results:  
emerge failure

Expected Results:  
emerge success
Comment 1 Rafał Mużyło 2011-07-24 17:53:17 UTC
media-video/ffmpeg-0.6_p25767 installs it in the same place.
Start with full build log.
Comment 2 Eli Venter 2011-07-24 22:51:46 UTC
Created attachment 280873 [details]
build.log for k9copy 2.3.6

right...attached
Comment 3 Eli Venter 2011-07-25 02:31:04 UTC
Created attachment 280885 [details]
emerge --info
Comment 4 Geoff Madden 2011-07-25 04:03:05 UTC
As a suggestion,resync then remerge ffmpeg and try again
Comment 5 Rafał Mużyło 2011-07-25 11:28:39 UTC
> -- Found include avformat.h: /ffmpeg
OK, that line's interesting.
Did you at some point applied a "fix" that symlinked ffmpeg dir to one of the separate include dirs of ffmpeg components ?
If so, this would be a success of that "fix".
Comment 6 Eli Venter 2011-07-25 23:32:30 UTC
I don't understand what that /ffmpeg line is saying, just looks kinda odd.

Yes, I tried symlink avformat.h straight into /usr/include. It then proceeded to die on an undefined struct found in one of the other two include files in the libavformat dir. I figured I should try and figure out the correct solution instead of just symlink all three files into /usr/include. So here we are. I'm in the middle of an emerge -e world at the moment since I switched from ~ to stable  after not having any updates for 10 months. Of course it hung up while I was at work today with the annoying *** %n in writable segment detected ***. I'll re-report on the k9copy emerge when this finishes.
Comment 7 Rafał Mużyło 2011-07-26 02:51:05 UTC
That path should be /usr/include/libavformat - your symlinks confuse build system.
Comment 8 Pacho Ramos gentoo-dev 2011-07-26 10:43:47 UTC
This is invalid then
Comment 9 Eli Venter 2011-07-26 22:41:56 UTC
So the fix was to remove the old ffmpeg symlink in /usr/include. Not sure where that one came from, but it was over a year old. Hopefully it's removal won't break anything else.