Summary: | media-libs/realcodecs-11.0.1.1056 tries to pull in media-libs/win32codecs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Nowiasz <mark+gentoobugs> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bbutscheidt, chad.simmons, che, dsdale24, ec5983, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96, gent_bz, jdaluz, junk_siu, patrizio.bassi, robbyjo, tetromino, voyageur, zmedico |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark Nowiasz
2008-10-30 05:38:07 UTC
win32codecs is keyworded ~amd64; how about enabling USE=real and giving it a try? real USE flag is masked on amd64: enterprise bernard # emerge -av win32codecs These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/win32codecs-20071007-r4 USE="(-real*)" 0 kB And so portage complains it cannot find the needed USE=+real win32codecs (In reply to comment #1) > win32codecs is keyworded ~amd64; how about enabling USE=real and giving it a > try? I would love to, but as Bernard stated - it's not possible to give it a try. *** Bug 244982 has been marked as a duplicate of this bug. *** (In reply to comment #2) > [ebuild R ] media-libs/win32codecs-20071007-r4 USE="(-real*)" 0 kB > > And so portage complains it cannot find the needed USE=+real win32codecs > You can unmask the flag like this: mkdir -p /etc/portage/profile echo media-libs/win32codecs -real >> /etc/portage/package.use.mask (In reply to comment #5) > You can unmask the flag like this: > > mkdir -p /etc/portage/profile > echo media-libs/win32codecs -real >> /etc/portage/package.use.mask Oops, forgot the "profile" dir, so that shoud be: echo media-libs/win32codecs -real >> /etc/portage/profile/package.use.mask (In reply to comment #6) > (In reply to comment #5) > > You can unmask the flag like this: > > > > mkdir -p /etc/portage/profile > > echo media-libs/win32codecs -real >> /etc/portage/package.use.mask > > Oops, forgot the "profile" dir, so that shoud be: > > echo media-libs/win32codecs -real >> /etc/portage/profile/package.use.mask > Shouldn't amd64 use media-libs/amd64codecs? Moreover, my mplayer is able to play real media(video) until this change. That means without win32codecs. But it cannot now. FWIW, the next release of portage (2.2_rc13) will include repoman support for detecting USE deps, such as this "real" flag, that are masked on a given profile (currently in svn r11762). (In reply to comment #7) > Shouldn't amd64 use media-libs/amd64codecs? Well, not yet because media-libs/amd64codecs doesn't currently have a "real" flag and it's not currently pulled in as a dependency of media-libs/realcodecs. (In reply to comment #6) > (In reply to comment #5) > > You can unmask the flag like this: > > > > mkdir -p /etc/portage/profile > > echo media-libs/win32codecs -real >> /etc/portage/package.use.mask > > Oops, forgot the "profile" dir, so that shoud be: > > echo media-libs/win32codecs -real >> /etc/portage/profile/package.use.mask > Doesn't work for me. # cat /etc/portage/profile/package.use.mask media-libs/win32codecs -real # emerge -pv world --update --deep --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/win32codecs-20071007-r4[real]". !!! One of the following packages is required to complete your request: - media-libs/win32codecs-20071007-r4 (Change USE: +real) (dependency required by "media-libs/realcodecs-11.0.1.1056" [ebuild]) In addition to unmasking the flag, you also have to explicitly enable it. So, all together, here's everything you'll have to do: mkdir -p /etc/portage/profile echo media-libs/win32codecs -real >> /etc/portage/profile/package.use.mask echo media-libs/win32codecs real >> /etc/portage/package.use works for me, can you please apply to portage? (In reply to comment #10) > In addition to unmasking the flag, you also have to explicitly enable it. So, > all together, here's everything you'll have to do: > > mkdir -p /etc/portage/profile > echo media-libs/win32codecs -real >> /etc/portage/profile/package.use.mask > echo media-libs/win32codecs real >> /etc/portage/package.use > This doesn't work with paludis -- there is a /etc/paludis/use.conf but no use.mask. How is this supposed to work with non portage package managers? For that matter it's been a while since I used portage -- when did portage start requiring disabling a disabled USE flag explicitly in a profile in addition to package.use? To expand on the last point -- the real USE flag is apparently masked in the profile. Yet there is an extra step here to enable it in the profile. Presumably, if it can be enabled safely, it will actually work. Which begs the question, why is it profile masked in the first place? Wouldn't the correct approach be to allow this USE flag without any extra steps? (In reply to comment #11) > works for me, can you please apply to portage? I've added the necessary media-libs/win32codecs[real] unmasks to the following files in the profiles: arch/amd64/package.use.mask default-linux/amd64/package.use.mask hardened/amd64/package.use.mask (In reply to comment #8) > FWIW, the next release of portage (2.2_rc13) will include repoman support for > detecting USE deps, such as this "real" flag, that are masked on a given > profile (currently in svn r11762). This repoman support has been released in sys-apps/portage-2.2_rc13. zac, it seems mplayer still reports disabled real flag... I only unmasked the "real" flag for media-libs/win32codecs because it's a local USE flag (listed in /usr/portage/profiles/use.local.desc) and I only wanted to unmask the local flag which was reported to work. You can test it for mplayer too: mkdir -p /etc/portage/profile echo media-video/mplayer -real >> /etc/portage/profile/package.use.mask echo media-video/mplayer real >> /etc/portage/package.use.mask If you rebuild mplayer with that flag enabled and it works then we can unmask that flag for mplayer in the official profiles. (In reply to comment #13) > To expand on the last point -- the real USE flag is apparently masked in the > profile. Yet there is an extra step here to enable it in the profile. > Presumably, if it can be enabled safely, it will actually work. Which begs the > question, why is it profile masked in the first place? Wouldn't the correct > approach be to allow this USE flag without any extra steps? > No. They were use.masked for security reasons. Simply put (summarizing from other bugs and forum posts) it's either doing this or removing realplayer support completely. Zac, I'm gonna undo your changes, assuming I'm doing it right on the profiles. I guess I didn't make it clear last time the reason. http://forums.gentoo.org/viewtopic-t-713051-highlight-.html Opened a new bug to track realplayer masking status, bug 245662 *** This bug has been marked as a duplicate of bug 245662 *** (In reply to comment #18) > Zac, I'm gonna undo your changes, assuming I'm doing it right on the profiles. > I guess I didn't make it clear last time the reason. > > http://forums.gentoo.org/viewtopic-t-713051-highlight-.html > I've checked your changes and they seem reasonable. I was confused because the flag was masked on amd64 yet unmasked on x86, so it seemed like a mistake. I've just checked and it seems that the flag is still unmasked, at least in default-linux/x86/use.mask and arch/x86/use.mask. It doesn't really matter too much now though, since the relevant packages are masked in the global package.mask now. FWIW, here's an exhaustive list of the places the "real" flag is still unmasked: $ find /usr/portage/profiles -name use.mask -o -name package.use.mask | \ xargs grep \\-real | sed 's:^/usr/portage/profiles/::' default-linux/amd64/package.use.mask:media-libs/xine-lib -real default-linux/x86/use.mask:-real hardened/ia64/use.mask:-real hardened/x86/use.mask:-real hardened/x86/2.6/use.mask:-real arch/amd64/package.use.mask:media-libs/xine-lib -real arch/x86/use.mask:-real |