Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 515118

Summary: media-video/ffmpeg-9999 - missing dodoc for doc/RELEASE_NOTES (was: install: cannot stat ‘doc/RELEASE_NOTES’: No such file or directory)
Product: Gentoo Linux Reporter: Joe Kappus <joe>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: codyopel, gerion.entrup
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to fix the problem

Description Joe Kappus 2014-06-25 18:17:10 UTC
Commit removed this file around a week ago, fails with the below:

install: cannot stat ‘doc/RELEASE_NOTES’: No such file or directory
!!! dodoc: doc/RELEASE_NOTES does not exist


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-26 22:36:19 UTC
*** Bug 515252 has been marked as a duplicate of this bug. ***
Comment 2 Cody Opel 2014-07-01 04:42:37 UTC
I just ran into this issue, the solution I used was to edit line 363 of ffmpeg-9999.ebuild and remove " doc/RELEASE_NOTES" and then run

"ebuild /usr/portage/distfiles/media-video/ffmpeg/ffmpeg-9999.ebuild manifest"

Apparently it was an unused file that was removed.

http://git.videolan.org/?p=ffmpeg.git;a=commit;h=6fdd19cbb26c94ff6ae0033114fa77c9a33f790b
Comment 3 gerion 2014-07-03 12:50:25 UTC
Here is the (half-line) patch you need.
Comment 4 gerion 2014-07-03 12:51:23 UTC
Created attachment 380098 [details, diff]
patch to fix the problem
Comment 5 Alexis Ballier gentoo-dev 2014-07-06 06:49:57 UTC
hadnt seen this bug, but fixed : 
 05 Jul 2014; Alexis Ballier <aballier@gentoo.org> ffmpeg-9999.ebuild:
  stop intalling release notes
Comment 6 gerion 2014-07-14 18:57:26 UTC
Upstream has created RELEASE_NOTES again…

commit 2a9b4c0f05c2c1b3938e57c477268f1ed68aa096
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-07-14 19:00:39 UTC
(In reply to gerion from comment #6)
> Upstream has created RELEASE_NOTES again…
> 
> commit 2a9b4c0f05c2c1b3938e57c477268f1ed68aa096

reopening the bug then.  ebuild should get something like,

[[ -e doc/RELEASE_NOTES ]] && dodoc doc/RELEASE_NOTES
Comment 8 Alexis Ballier gentoo-dev 2014-07-27 08:06:26 UTC
+  27 Jul 2014; Alexis Ballier <aballier@gentoo.org> ffmpeg-9999.ebuild:
+  handle existing release notes, bug #515118
+


@samuli: feel free to directly commit such fixes :p