Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] .mask a slot in a virtual ebuild ? (virtual/jdk-9)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
drvolk
n00b
n00b


Joined: 05 Jul 2003
Posts: 70

PostPosted: Tue Jan 02, 2018 10:43 am    Post subject: [SOLVED] .mask a slot in a virtual ebuild ? (virtual/jdk-9) Reply with quote

I am using "oracle-jdk" as my java-VM. Because i got an error with "gentoo-vm" and oracle-jdk-bin:9 (seams currently to be not fully supported on gentoo) i masked oracle-jdk-bin:9.

Now, when i got this error when emerge @world:

Code:
asus ~ # emerge --update --deep --newuse --with-bdeps=y --backtrack=30 @world
Calculating dependencies... done!

!!! All ebuilds that could satisfy "dev-java/oracle-jdk-bin:9[gentoo-vm(+)]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/oracle-jdk-bin-9.0.1::gentoo (masked by: package.mask)
/etc/portage/package.mask:
#mask problems


(dependency required by "virtual/jdk-9::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


But cannot find any dependencies to "virtual/jdk:9":

Code:
asus ~ # equery depends virtual/jdk
 * These packages depend on virtual/jdk:
app-office/libreoffice-5.4.4.2 (java ? >=virtual/jdk-1.6)
dev-java/ant-core-1.9.2 (>=virtual/jdk-1.5)
dev-java/commons-logging-1.2-r1 (>=virtual/jdk-1.6)
dev-java/log4j-1.2.17-r3 (>=virtual/jdk-1.6)
dev-util/android-studio-3.0.1.0.171.4443003 (>=virtual/jdk-1.7)
dev-vcs/subversion-1.9.7 (java ? >=virtual/jdk-1.5)
media-libs/libbluray-1.0.2 (java ? >=virtual/jdk-1.6)
media-libs/libjpeg-turbo-1.5.3 (java ? >=virtual/jdk-1.5)
media-libs/opencv-3.3.0-r4 (java ? >=virtual/jdk-1.6)
net-dns/libidn-1.33-r2 (java ? >=virtual/jdk-1.5)
sys-devel/gettext-0.19.8.1 (java ? >=virtual/jdk-1.4)
sys-libs/db-6.0.35-r1 (java ? >=virtual/jdk-1.5)
virtual/jre-1.8.0-r1 (virtual/jdk:1.8)


This is my current "portage.mask":

Code:
asus ~ # cat /etc/portage/package.mask
# to use the oracle java instead
dev-java/icedtea-bin
dev-java/icedtea-web

#mask problems
=x11-base/xorg-server-1.19.6
>=virtual/jre-9
>=virtual/jdk-9
>=dev-java/oracle-jdk-bin-9


Can anybody explain me from where the dependeny to "virtual/jdk-9::gentoo" come from and how i could resolve that issue ?


Last edited by drvolk on Tue Jan 02, 2018 11:19 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19234
Location: here

PostPosted: Tue Jan 02, 2018 10:59 am    Post subject: Reply with quote

And package.accept_keywords and package.unmask what do they contain?
Portage want install oracle-jdk:9 and it require virtual/jdk:9
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
drvolk
n00b
n00b


Joined: 05 Jul 2003
Posts: 70

PostPosted: Tue Jan 02, 2018 11:13 am    Post subject: Reply with quote

Oh man, shame to me ! For any reason (i gues it has something to do with my age ..) i did not came to the idea to check if there is maybe something defined in "package.unmask" ... :oops:

And i dont not "when" and "why" i created that entries, but these were exactly the ones which causes my problems;
Code:

asus ~ # cat /etc/portage/package.unmask
>=virtual/jdk-1.8
>=virtual/jre-1.8

Thank you very much, you saved my day !

And a happy new Year!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum