Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295359 - media-video/miro fails with USE=-gstreamer
Summary: media-video/miro fails with USE=-gstreamer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Highest major (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-01 19:53 UTC by Stephen Bridges
Modified: 2010-03-05 18:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bridges 2009-12-01 19:53:49 UTC
If the gstreamer use flag is not enabled, the src_prepare() fails due to the code:

        # set xine as the default renderer if gstreamer is disabled
        if ! use gstreamer; then
                sed -i -e "s:default=u\"gstreamer\":default=u\"xine\":" \
                        || die "sed failed"
        fi

which calls sed without a file.  Sed fails with "no input files"

Reproducible: Always

Steps to Reproduce:
1. Turn off gstreamer use flag
2. Emerge miro (2.5.3)
3.

Actual Results:  
 * Applying miro-2.5.3-fix-locale.patch ...                                                           [ ok ]
 * Applying miro-2.5.3-fix-debug.patch ...                                                            [ ok ]
 * Applying miro-2.5.3-disable-xine-hack.patch ...                                                    [ ok ]
 * Applying miro-2.5.3-dont-install-test-files.patch ...                                              [ ok ]
 * Applying miro-2.5.3-remove-unittest-option.patch ...                                               [ ok ]
 * Applying miro-2.5.3-remove-pkg-config-list-all.patch ...                                           [ ok ]
sed: no input files                                                                                         
 * ERROR: media-video/miro-2.5.3 failed:                                                                    
 *   sed failed                                                                                             
 *                                                                                                          
 * Call stack:                                                                                              
 *     ebuild.sh, line  49:  Called src_prepare                                                             
 *   environment, line 3474:  Called die                                                                    
 * The specific snippet of code:                                                                            
 *           sed -i -e "s:default=u\"gstreamer\":default=u\"xine\":" || die "sed failed";                   
 *                                                                                                          
 * If you need support, post the output of 'emerge --info =media-video/miro-2.5.3',                         
 * the complete build log and the output of 'emerge -pqv =media-video/miro-2.5.3'.                          
 * The complete build log is located at '/var/tmp/portage/media-video/miro-2.5.3/temp/build.log'.           
 * The ebuild environment file is located at '/var/tmp/portage/media-video/miro-2.5.3/temp/environment'.    
 * S: '/var/tmp/portage/media-video/miro-2.5.3/work/miro-2.5.3/platform/gtk-x11' 

Expected Results:  
Successful emerge
Comment 1 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-02-23 14:50:02 UTC
Sorry for the delay. I have been very busy for a while.
Will fix that ASAP.

And thank you for reporting.
Comment 2 Peter D 2010-02-28 03:15:40 UTC
Just confirming the same issue.

Thanks for your work volkmar.
Comment 3 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-03-05 18:08:12 UTC
It is now resolved, re-emerge miro in a few hours.
Please, excuse me for the time I took to fix this issue.