Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171748 - media-video/tovid-0.30 has spurious complaint about multiple installs
Summary: media-video/tovid-0.30 has spurious complaint about multiple installs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Dibb (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 06:20 UTC by Brian Tarricone
Modified: 2007-05-12 21:10 UTC (History)
1 user (show)

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


Attachments
tovid-0.30-r1.ebuild (tovid-0.30-r1.ebuild,2.63 KB, text/plain)
2007-05-04 16:06 UTC, Gen2
Details
tovid-0.30-tovid-init.patch (tovid-0.30-tovid-init.patch,6.57 KB, patch)
2007-05-04 16:07 UTC, Gen2
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Tarricone 2007-03-22 06:20:06 UTC
When I run tovid, I get:

$ tovid
Found 2 installations of tovid on your system!
I won't run until there is only one of me :)
Installed versions:
   /usr/bin/tovid
   /usr/X11R6/bin/tovid
Exiting...

Presumably due to the /usr/X11R6 -> /usr symlink.  Removing it fixes the problem, but I don't know if that's safe to do on a permanent basis.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-22 06:52:21 UTC
Please, report this upstream... (and no, killing the symlink is not a solution)

http://tovid.wikia.com/wiki/Report_a_bug
Comment 2 Brian Tarricone 2007-03-23 01:37:22 UTC
Just for posterity, looks like it's already fixed in their SVN:

http://www.createphpbb.com/tovid/viewtopic.php?t=605&mforum=tovid
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-23 12:10:02 UTC
Thanks. I guess we could use the patch until they release a new version.
Comment 4 keith 2007-04-12 05:37:07 UTC
This is what I get

Found 3 installations of tovid on your system!
I won't run until there is only one of me :)
Installed versions:
   /usr/bin/tovid
   /usr/bin/tovid
   /usr/bin/tovid
Exiting...

I just emerged tovid on my machine and two others, I only get this error on my machine for some reason.
Comment 5 Stefan Behte (RETIRED) gentoo-dev Security 2007-04-18 21:26:13 UTC
Strange, I emerged the same version and I don't have it, it runs just fine here!
Comment 6 Brian Tarricone 2007-04-18 21:47:23 UTC
(In reply to comment #4)
> This is what I get
> 
> Found 3 installations of tovid on your system!
> I won't run until there is only one of me :)
> Installed versions:
>    /usr/bin/tovid
>    /usr/bin/tovid
>    /usr/bin/tovid
> Exiting...
> 
> I just emerged tovid on my machine and two others, I only get this error on my
> machine for some reason.

Check $PATH - do you have /usr/bin in there 3 times?

(In reply to comment #5)
> Strange, I emerged the same version and I don't have it, it runs just fine
> here!

Probably you don't have /usr/X11R6/bin in your path.
Comment 7 Gen2 2007-05-04 15:58:46 UTC
After the last ebuild update (the addition of the ffmpeg-fix) i encountered the above mentioned problem again. So i decided that it's time to look into it. I downloaded the current svn-revision, created a patch for the file that was responsible for the bug (tovid-init) and updated the ebuild. 

Both files are attached to this bug. 
Comment 8 Gen2 2007-05-04 16:06:54 UTC
Created attachment 118151 [details]
tovid-0.30-r1.ebuild

Updated ebuild for tovid version 0.30. It applies both the ffmpeg and the new tovid-init patches
Comment 9 Gen2 2007-05-04 16:07:47 UTC
Created attachment 118152 [details, diff]
tovid-0.30-tovid-init.patch

Patch for the multiple versions installed bug of tovid.
Comment 10 Gen2 2007-05-04 16:09:01 UTC
Sorry for the extra noise but somehow my firefox seemed to get confused and thus both files ended up being attached to the wrong bug...
Comment 11 Steve Dibb (RETIRED) gentoo-dev 2007-05-12 21:10:49 UTC
patched in -r2 ebuild, thanks!