Re: [gentoo-user] fail to install new package

2015-10-06 Thread Ran Shalit
On Tue, Oct 6, 2015 at 3:34 PM, Rich Freeman  wrote:
> On Tue, Oct 6, 2015 at 8:01 AM, Neil Bothwick  wrote:
>> On Tue, 6 Oct 2015 13:31:54 +0300, Ran Shalit wrote:
>>
>>> >=virtual/libudev-215-r1 abi_x86_32
>>> Would you like to add these changes to your config files? [Yes/No] Y
>>> Autounmask changes successfully written.
>>> * IMPORTANT: 8 config files in '/etc/portage' need updating.
>>
>> This is the important line
>>
>>> * See the CONFIGURATION FILES section of the emerge
>>> * man page to learn how to update config files.
>>> !!! All ebuilds that could satisfy
>>> ">=sys-libs/zlib-1.2.8-r1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]"
>>> have been masked.
>>> !!! One of the following masked packages is required to complete your
>>> request:
>>> - sys-libs/zlib-1.2.8-r1::gentoo (masked by: )
>>> (dependency required by "media-libs/lcms-2.6-r1::gentoo" [ebuild])
>>> (dependency required by
>>> "app-emulation/wine-::gentoo[abi_x86_32,lcms]" [ebuild])
>>> (dependency required by "wine" [argument])
>>> For more information, see the MASKED PACKAGES section in the emerge
>>> man page or refer to the Gentoo Handbook.
>>> gentoo ~ #
>>
>> You need to run etc-update, or your preferred alternative config manager,
>> to merge the changes into /etc/portage/package.use. Portage only puts
>> them in a temporary ._cfg00* files, it doesn't apply them directly, you
>> are expected to manage that.
>>
>
> Correct.  In addition to accepting the auto-unmask which will set the
> 32-bit abi use flag on zlib, you should undo the changes you
> inadvertently made:
> Edit  /etc/portage/package.keywords to remove the zlib line you added
> Edit /var/lib/portage/world to remove zlib (which was added when you
> ran emerge zlib without a -1 option).  If you don't do this you might
> run into trouble in a few years if somebody comes out with libREz and
> it gets virtualized.  In general you always want to run emerge -1 when
> you're just rebuilding things to try to troubleshoot.
>
> --
> Rich
>

Thank you all very much,
Ran



[gentoo-user] fail to install new package

2015-10-06 Thread Ran Shalit
Hello,

I am trying to install wine on gentoo but I encounter strange things.

I do :
emerge -va wine

=
..

>=virtual/libudev-215-r1 abi_x86_32
Would you like to add these changes to your config files? [Yes/No] Y
Autounmask changes successfully written.
* IMPORTANT: 8 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
!!! All ebuilds that could satisfy
">=sys-libs/zlib-1.2.8-r1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]"
have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/zlib-1.2.8-r1::gentoo (masked by: )
(dependency required by "media-libs/lcms-2.6-r1::gentoo" [ebuild])
(dependency required by
"app-emulation/wine-::gentoo[abi_x86_32,lcms]" [ebuild])
(dependency required by "wine" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
gentoo ~ #

==

So I than installed zlib with:


echo "sys-libs/zlib **" >> /etc/portage/package.keywords
&
emerge -va zlib


===

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-libs/zlib-1.2.8-r1::gentoo USE="minizip -static-libs"
ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] Y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-libs/zlib-1.2.8-r1::gentoo
* zlib-1.2.8.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...

...
--- replaced sym /lib64/libz.so.1
--- replaced dir /lib64
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> sys-libs/zlib-1.2.8-r1 merged.
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.

* IMPORTANT: 8 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

* IMPORTANT: 12 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.



It seems to install OK, without errors, but on doing again


emerge -va wine
I get the same failures and still complians about zlib.
I am doing it all as root.


Does anyone have any idea ?

Regards,
Ran



Re: [gentoo-user] fail to install new package

2015-10-06 Thread Rich Freeman
On Tue, Oct 6, 2015 at 8:01 AM, Neil Bothwick  wrote:
> On Tue, 6 Oct 2015 13:31:54 +0300, Ran Shalit wrote:
>
>> >=virtual/libudev-215-r1 abi_x86_32
>> Would you like to add these changes to your config files? [Yes/No] Y
>> Autounmask changes successfully written.
>> * IMPORTANT: 8 config files in '/etc/portage' need updating.
>
> This is the important line
>
>> * See the CONFIGURATION FILES section of the emerge
>> * man page to learn how to update config files.
>> !!! All ebuilds that could satisfy
>> ">=sys-libs/zlib-1.2.8-r1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]"
>> have been masked.
>> !!! One of the following masked packages is required to complete your
>> request:
>> - sys-libs/zlib-1.2.8-r1::gentoo (masked by: )
>> (dependency required by "media-libs/lcms-2.6-r1::gentoo" [ebuild])
>> (dependency required by
>> "app-emulation/wine-::gentoo[abi_x86_32,lcms]" [ebuild])
>> (dependency required by "wine" [argument])
>> For more information, see the MASKED PACKAGES section in the emerge
>> man page or refer to the Gentoo Handbook.
>> gentoo ~ #
>
> You need to run etc-update, or your preferred alternative config manager,
> to merge the changes into /etc/portage/package.use. Portage only puts
> them in a temporary ._cfg00* files, it doesn't apply them directly, you
> are expected to manage that.
>

Correct.  In addition to accepting the auto-unmask which will set the
32-bit abi use flag on zlib, you should undo the changes you
inadvertently made:
Edit  /etc/portage/package.keywords to remove the zlib line you added
Edit /var/lib/portage/world to remove zlib (which was added when you
ran emerge zlib without a -1 option).  If you don't do this you might
run into trouble in a few years if somebody comes out with libREz and
it gets virtualized.  In general you always want to run emerge -1 when
you're just rebuilding things to try to troubleshoot.

-- 
Rich



Re: [gentoo-user] fail to install new package

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 13:31:54 +0300, Ran Shalit wrote:

> >=virtual/libudev-215-r1 abi_x86_32  
> Would you like to add these changes to your config files? [Yes/No] Y
> Autounmask changes successfully written.
> * IMPORTANT: 8 config files in '/etc/portage' need updating.

This is the important line

> * See the CONFIGURATION FILES section of the emerge
> * man page to learn how to update config files.
> !!! All ebuilds that could satisfy
> ">=sys-libs/zlib-1.2.8-r1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]"
>   
> have been masked.
> !!! One of the following masked packages is required to complete your
> request:
> - sys-libs/zlib-1.2.8-r1::gentoo (masked by: )
> (dependency required by "media-libs/lcms-2.6-r1::gentoo" [ebuild])
> (dependency required by
> "app-emulation/wine-::gentoo[abi_x86_32,lcms]" [ebuild])
> (dependency required by "wine" [argument])
> For more information, see the MASKED PACKAGES section in the emerge
> man page or refer to the Gentoo Handbook.
> gentoo ~ #

You need to run etc-update, or your preferred alternative config manager,
to merge the changes into /etc/portage/package.use. Portage only puts
them in a temporary ._cfg00* files, it doesn't apply them directly, you
are expected to manage that.


-- 
Neil Bothwick

Runtime Error: Out of funny taglines!


pgprfM8eF1dLI.pgp
Description: OpenPGP digital signature