View previous topic :: View next topic |
Author |
Message |
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 937 Location: Romania
|
Posted: Thu Mar 23, 2023 7:24 pm Post subject: package.mask for libressl |
|
|
I have this in my package.mask:
Code: | # use libressl
dev-libs/libevent::gentoo
dev-lang/python::gentoo
dev-lang/ruby::gentoo
dev-lang/rust::gentoo
dev-lang/rust-bin
dev-perl/Net-SSLeay::gentoo
dev-libs/openssl::gentoo
|
These packages won't compile with libressl, and I use the packages from ::libressl.
I also have rust-bin in this mask.
I get this kind of warning from portage:
Code: | !!! The following update has been skipped due to unsatisfied dependencies:
virtual/rust:0
selected: (virtual/rust-1.67.1:0/llvm-15::gentoo, installed)
skipped: (virtual/rust-1.68.0:0/llvm-15::gentoo, ebuild scheduled for merge) (see unsatisfied dependency below)
!!! All ebuilds that could satisfy "~dev-lang/rust-1.68.0[rustfmt?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-lang/rust-1.68.0::gentoo (masked by: package.mask)
/etc/portage/package.mask:
# use libressl
(dependency required by "virtual/rust-1.68.0::gentoo" [ebuild])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
How can I get rid of it? _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1777 Location: South America
|
Posted: Thu Mar 23, 2023 8:05 pm Post subject: Re: package.mask for libressl |
|
|
Do you have, or want to install, something that depends on virtual/rust (i. e. basically any package that is written in the Rust language)?
Code: | $ emerge --pretend --verbose --depclean virtual/rust |
_________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 937 Location: Romania
|
Posted: Thu Mar 23, 2023 9:09 pm Post subject: Re: package.mask for libressl |
|
|
GDH-gentoo wrote: | Do you have, or want to install, something that depends on virtual/rust (i. e. basically any package that is written in the Rust language)?
Code: | $ emerge --pretend --verbose --depclean virtual/rust |
|
I use librewolf, so it is needed. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1777 Location: South America
|
Posted: Thu Mar 23, 2023 11:15 pm Post subject: Re: package.mask for libressl |
|
|
stefan11111 wrote: | I use librewolf, so it is needed. |
Then you have to allow Portage to install either dev-lang/rust or dev-lang/rust-bin. If you block both in package.mask, this is what happens. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 937 Location: Romania
|
Posted: Thu Mar 23, 2023 11:25 pm Post subject: Re: package.mask for libressl |
|
|
GDH-gentoo wrote: | stefan11111 wrote: | I use librewolf, so it is needed. |
Then you have to allow Portage to install either dev-lang/rust or dev-lang/rust-bin. If you block both in package.mask, this is what happens. |
I masked the ::gentoo packages, but I use the ::libressl versions, which also satisfy virtual/rust.
The ::gentoo versions don't even compile with libressl. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1777 Location: South America
|
Posted: Thu Mar 23, 2023 11:56 pm Post subject: Re: package.mask for libressl |
|
|
stefan11111 wrote: | I masked the ::gentoo packages, but I use the ::libressl versions, which also satisfy virtual/rust. |
Ah, I see. The libressl repository doesn't have an alternative ebuild for dev-lang/rust-1.68.1, only for 1.67.1. Therefore, nothing satisfies virtual/rust-1.68.1::gentoo; Portage is just telling you it can't upgrade to it, and keeps virtual/rust-1.67.1: _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22867
|
Posted: Fri Mar 24, 2023 12:26 am Post subject: |
|
|
If the libressl overlay provides virtual/rust, you could try masking virtual/rust::gentoo on the expectation that the virtual in the overlay will align well with the rust ebuilds in the overlay. Masking the rust ebuilds in Gentoo and not masking the virtual that consumes them leads to this type of problem. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1777 Location: South America
|
Posted: Fri Mar 24, 2023 12:33 am Post subject: |
|
|
Hu wrote: | If the libressl overlay provides virtual/rust, [...] |
It doesn't. Probably its maintainers were planning to keep their dev-lang/rust ebuilds in sync with Gentoo's repository. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 937 Location: Romania
|
Posted: Fri Mar 24, 2023 12:36 am Post subject: |
|
|
Hu wrote: | If the libressl overlay provides virtual/rust, you could try masking virtual/rust::gentoo on the expectation that the virtual in the overlay will align well with the rust ebuilds in the overlay. Masking the rust ebuilds in Gentoo and not masking the virtual that consumes them leads to this type of problem. |
The libressl overlay does not provide that package.
Code: | # emerge -q virtual/rust::libressl
emerge: there are no ebuilds to satisfy "virtual/rust::libressl". |
_________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 937 Location: Romania
|
Posted: Fri Mar 24, 2023 12:39 am Post subject: |
|
|
GDH-gentoo wrote: | Hu wrote: | If the libressl overlay provides virtual/rust, [...] |
It doesn't. Probably its maintainers were planning to keep their dev-lang/rust ebuilds in sync with Gentoo's repository. |
The ebuilds are usually synced after a week or so. Guess I'll have to wait.
At least this doesn't happen with out of sync ebuilds, like ruby. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
Pipeartist n00b
Joined: 12 Feb 2023 Posts: 12
|
Posted: Tue Apr 04, 2023 8:35 pm Post subject: |
|
|
I'm guessing your problem is resolved by now but I have something to add since I think it will happen again. I suspect this happened because you are unmasking using ~<keyword>. It takes longer for new dev-lang/rust packages to appear in libressl overlay. I use it too and have had the same issue. Switching virtual/rust and dev-lang/rust back to stable will likely prevent this in the future. |
|
Back to top |
|
|
|