Re: [gentoo-user] Re: zlib use flag
On Thu, 16 Feb 2012 13:53:45 +0700 Pandu Poluan wrote: > On Feb 16, 2012 1:49 PM, "Graham Murray" > wrote: > > > > walt writes: > > > > > In any case, if you need -zlib in one package and zlib in another > > > you > can > > > set/unset the needed flag for just one package in > /etc/portage/package.use. > > > > The real problems come when you find that one package depends on > > foo[bar] and another on foo[-bar] > > > > Was there ever such an incident? Yes. The topic of the thread did just that -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: zlib use flag
On Feb 16, 2012 1:49 PM, "Graham Murray" wrote: > > walt writes: > > > In any case, if you need -zlib in one package and zlib in another you can > > set/unset the needed flag for just one package in /etc/portage/package.use. > > The real problems come when you find that one package depends on > foo[bar] and another on foo[-bar] > Was there ever such an incident? Rgds,
Re: [gentoo-user] Re: zlib use flag
walt writes: > In any case, if you need -zlib in one package and zlib in another you can > set/unset the needed flag for just one package in /etc/portage/package.use. The real problems come when you find that one package depends on foo[bar] and another on foo[-bar]
Re: [gentoo-user] Re: zlib use flag
On Wednesday, February 15, 2012 08:51:32 walt wrote: > On 02/15/2012 04:23 AM, Daniel D Jones wrote: > > Doing a world upgrade gives me: > > > > root@kushiel / # emerge -uDvatN world > > > > 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 "sys- > > apps/pciutils[-zlib]". > > !!! One of the following packages is required to complete your request: > > - sys-apps/pciutils-3.1.7::gentoo (Change USE: -zlib) > > (dependency required by "sys-fs/udev-171-r5[hwdb]" [ebuild]) > > > > The problem is caused by the hwdb useflag, though I had to read the udev > ebuild file to understand the error message :-/ > > RDEPEND="${COMMON_DEPEND} > hwdb? > ( > > >=sys-apps/usbutils-0.82 > > sys-apps/pciutils[-zlib] << look here > ) > > That syntax means "if you want hwdb support in udev you must disable zlib > for pciutils". I have no idea why the two are incompatible, but it sounds > to me like "an implementation detail" thingy. hwdb is for: sys-fs/udev: read vendor/device string database and add it to udev database Evidently, if zlib is enabled then a file which udev needs to read to pull the vendor/device string will be zipped up and udev can't unzip or read it. > In any case, if you need -zlib in one package and zlib in another you can > set/unset the needed flag for just one package in /etc/portage/package.use. Yeah but this error just occurred and I haven't recently installed anything which should have caused it, so I'm trying to figure out why the change. You can specify use files for one package but it's not usual, at least to my knowledge, just to get common packages to both be installed. I went the other route and disabled hwdb. -- "So far, I haven't heard of anybody who wants to stop living on account of the cost." - Kin Hubbard
[gentoo-user] Re: zlib use flag
On 02/15/2012 04:23 AM, Daniel D Jones wrote: > Doing a world upgrade gives me: > > root@kushiel / # emerge -uDvatN world > > 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 "sys- > apps/pciutils[-zlib]". > !!! One of the following packages is required to complete your request: > - sys-apps/pciutils-3.1.7::gentoo (Change USE: -zlib) > (dependency required by "sys-fs/udev-171-r5[hwdb]" [ebuild]) The problem is caused by the hwdb useflag, though I had to read the udev ebuild file to understand the error message :-/ RDEPEND="${COMMON_DEPEND} hwdb? ( >=sys-apps/usbutils-0.82 sys-apps/pciutils[-zlib] << look here ) That syntax means "if you want hwdb support in udev you must disable zlib for pciutils". I have no idea why the two are incompatible, but it sounds to me like "an implementation detail" thingy. In any case, if you need -zlib in one package and zlib in another you can set/unset the needed flag for just one package in /etc/portage/package.use.