Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518680 - media-video/get_flash_videos-1.24-r1 should provide a USE flag for pulling dev-perl/XML-Simple
Summary: media-video/get_flash_videos-1.24-r1 should provide a USE flag for pulling de...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-31 15:39 UTC by Attila Stehr
Modified: 2014-07-31 23:17 UTC (History)
1 user (show)

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


Attachments
emerge --info get_flash_videos (emerge--info--get_flash_videos.out,17.29 KB, text/plain)
2014-07-31 15:39 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2014-07-31 15:39:35 UTC
Created attachment 381946 [details]
emerge --info get_flash_videos

I tried to d/l a video from vimeo with get_flash_videos. It complains that XML::Simple is missing.

***
$> get_flash_videos http://vimeo.com/26818646          
Downloading http://vimeo.com/26818646
Using method 'vimeo' for http://vimeo.com/26818646
Must have XML::Simple to download 1 videos
***

The ebuild file states that the XML lib is an "optional dependency" - see below.
What does "optional dependency" mean? Did I forget to set a certain USE flag somewhere?

I tried
#> revdep-rebuild -vip 
#> emerge -p get_flash_videos
but none of the commands take any action here.

After manually emerging I get a different error message but -IMO - thats no matter here.

***
src_prepare() {
        DISABLE_AUTOFORMATTING="yes"
        DOC_CONTENTS="Downloading videos from RTMP server requires the following packages:
- media-video/rtmpdump
- dev-perl/Tie-IxHash
Other optional dependencies:
- dev-perl/XML-Simple
- dev-perl/Crypt-Rijndael
- dev-perl/Data-AMF
- virtual/perl-IO-Compress"

        # 405761
        epatch "${FILESDIR}"/${PN}-youtubefix.patch
        perl-module_src_prepare
}
***
Comment 1 Alex Xu (Hello71) 2014-07-31 23:17:25 UTC
"optional dependency" means "runtime dependency" means "you need to install it yourself".

portage does not yet have runtime use deps to handle this case, and adding use flags means unnecessary rebuilding.