Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] fail to install new package

133 views
Skip to first unread message

Ran Shalit

unread,
Oct 6, 2015, 6:40:04 AM10/6/15
to
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-9999::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

Neil Bothwick

unread,
Oct 6, 2015, 8:10:03 AM10/6/15
to
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-9999::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!

Rich Freeman

unread,
Oct 6, 2015, 8:40:03 AM10/6/15
to
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

walt

unread,
Oct 6, 2015, 8:40:03 AM10/6/15
to
On Tue, 6 Oct 2015 13:31:54 +0300
I'd suggest dealing with the files in /etc that need updating and
reading the 12 news items and making any changes you'll find the gentoo
devs have suggested there. Your system may have some significant
problems and doing those things first could fix the problem you're
having with wine.

Ran Shalit

unread,
Oct 6, 2015, 3:50:05 PM10/6/15
to
Thank you all very much,
Ran
0 new messages