Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618194 - =media-video/vlc-9999 does not run vlc-cache-gen (but says it does)
Summary: =media-video/vlc-9999 does not run vlc-cache-gen (but says it does)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nick Andrade
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-11 12:00 UTC by Adam Feldman
Modified: 2017-07-08 06:58 UTC (History)
2 users (show)

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 Adam Feldman gentoo-dev 2017-05-11 12:00:34 UTC
All VLC ebuilds run vlc-cache-gen in pkg_postinst, but vlc-9999 only has an einfo saying it will be run (and no actual command)

--- vlc-2.2.9999.ebuild	2017-04-21 01:54:33.763812829 -0400
+++ vlc-9999.ebuild	2017-04-21 01:54:33.763812829 -0400
@@ -500,7 +478,6 @@
 pkg_postinst() {
 	if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
 		einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
-		"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
 	else
 		ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
 		ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-06-11 09:11:34 UTC
It was removed here https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4324c1643ddd0385eb674c1356642f74a2110a by you!
Comment 2 Adam Feldman gentoo-dev 2017-06-11 09:26:26 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> It was removed here
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=1b4324c1643ddd0385eb674c1356642f74a2110a by you!

Well, that's pretty funny :P

I'm gonna re-add it, as I have no idea why it was removed in the first place.
Comment 3 Adam Feldman gentoo-dev 2017-06-11 09:35:00 UTC
Resolved in 49c0588f265c6af2a7d156b984d77b0b84d7e10f
Comment 4 jospezial 2017-07-08 06:58:26 UTC
(In reply to NP-Hardass from comment #2)
> (In reply to Michael Palimaka (kensington) from comment #1)
> > It was removed here
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > ?id=1b4324c1643ddd0385eb674c1356642f74a2110a by you!
> 
> Well, that's pretty funny :P
> 
> I'm gonna re-add it, as I have no idea why it was removed in the first place.

https://bugs.gentoo.org/show_bug.cgi?id=571568#c1

The -f option of cachegen was removed