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

Bug 593758

Summary: media-video/rtmpdump-2.4_p20131018-r1 src_unpack broken
Product: Gentoo Linux Reporter: Alex <alex>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to restore custom src_unpack

Description Alex 2016-09-14 14:24:28 UTC
Created attachment 445694 [details, diff]
Patch to restore custom src_unpack

Emerging media-video/rtmpdump-2.4_p20131018-r1 fails with

>  The source directory '/var/tmp/portage/media-video/rtmpdump-2.4_p20131018-r1/work/rtmpdump-2.4_p20131018' doesn't exist

This appears to be because the source tarball contains the source files at the top level, rather than contained inside a rtmpdump-2.4_p20131018 directory. Thus the source files end up in

> /var/tmp/portage/media-video/rtmpdump-2.4_p20131018-r1/work

instead of

> /var/tmp/portage/media-video/rtmpdump-2.4_p20131018-r1/work/rtmpdump-2.4_p20131018

The previous ebuild, media-video/rtmpdump-2.4_p20131018 handled this with the following src_unpack:

> src_unpack() {
>   mkdir -p "${S}" || die
>   cd "${S}" || die
>   unpack ${A}
> }

but this was removed with media-video/rtmpdump-2.4_p20131018-r1 (I am not sure why). As far as I can see, the custom src_unpack is necessary unless the tarball is repackaged.
Comment 1 Coacher 2016-09-15 13:23:38 UTC

*** This bug has been marked as a duplicate of bug 593796 ***