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
media-video/ffmpeg-0.6_p25767 installs it in the same place. Start with full build log.
Created attachment 280873 [details] build.log for k9copy 2.3.6 right...attached
Created attachment 280885 [details] emerge --info
As a suggestion,resync then remerge ffmpeg and try again
> -- 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".
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.
That path should be /usr/include/libavformat - your symlinks confuse build system.
This is invalid then
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.