Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DLJ - Sun licensing? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Wed Nov 11, 2009 2:09 pm    Post subject: DLJ - Sun licensing? [SOLVED] Reply with quote

I feel that someplace or other there was some kind of announcement I missed.

I now get the following message with emerge:
Code:
!!! The following installed packages are masked:
- dev-java/sun-jdk-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

- app-emulation/emul-linux-x86-java-1.6.0.17 (masked by: dlj-1.1 license(s))


Um ... I don't see any discussion of this in the forums {there are only 2 posts returned searching "DLJ"} nor did I see anything posted on the Gentoo homepage. I didn't think I had missed anything important in my elogs.

Could someone point me where I can find out more about this?

I was thinking of completely rebuilding my system {because of issues with binutils-2.20}. Before I start, I like to have as much resolved {newly masked packages previously installed etc} as possible before starting. Am I supposed to indicate some kind of license acceptance to unmask this?
_________________
People whom think M$ is mediocre, don't know the half of it.


Last edited by dufeu on Wed Nov 11, 2009 3:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Wed Nov 11, 2009 2:46 pm    Post subject: Reply with quote

add sun-jdk to /etc/portage/package.license
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Wed Nov 11, 2009 3:23 pm    Post subject: Reply with quote

cst wrote:
add sun-jdk to /etc/portage/package.license

OK. I think I understand. However ...

I've tried all the following in /etc/portage/package.license:
Code:
=dev-java/sun-jdk-1.6.0.17
Code:
=dev-java/sun-jdk-1.6.0.17 dlj-1.1
Code:
dev-java/sun-jdk dlj-1.1


i.e. In the absence of the documentation, I'm treating this like a package.use file. Add a valid atom and a license and unmasking should be automagical.

But when I do:
Code:
emerge -puNDv world

I'm still getting:
Code:
!!! The following installed packages are masked:
- app-emulation/emul-linux-x86-java-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

{sigh}

When in doubt, re-read the manual {man emerge}. Viola! After KEYWORDS, there is now a section on LICENSE and PROPERTIES which I hadn't seen before. I guess these are relatively new and have now been activated with the latest versions of portage.

I ended up adding:
Code:
#
#   LICENSE options
#

ACCEPT_LICENSE="dlj-1.1"

to /etc/make.conf and this worked.

I'm guessing that you need both to indicate which package requires which license {/etc/portage/package.license} and that you accept that license {/etc/make.conf}. Anyway, problem resolved. Thanks!!

edit update

For anyone following in my footsteps:

In /etc/portage/package.license, the first atom I show is useless. You need the license type/version. The next two atoms are both valid. Use whichever is appropriate to your needs/desires/beliefs.

The version of portage I'm currently running {from emerge --info}:
Code:
Portage 2.2_rc49 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.30.9 x86_64)


edit update 2

Further information may be found in the original GLEP from http://www.gentoo.org/proj/en/glep/glep-0023.html

The latest version of /usr/portage/profiles/license_groups on my system is:
Code:
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/license_groups,v 1.15 2009/11/09 17:04:03 caster Exp $

# GLEP-0023
# http://www.gentoo.org/proj/en/glep/glep-0023.html
# http://www.fsf.org/licensing/licenses/index_html


Obviously, Sun's new "dlj-1.1" licensing stuff is new and not included in any licensing group.
_________________
People whom think M$ is mediocre, don't know the half of it.


Last edited by dufeu on Wed Nov 11, 2009 3:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Wed Nov 11, 2009 3:32 pm    Post subject: Reply with quote

dufeu wrote:
cst wrote:
add sun-jdk to /etc/portage/package.license

OK. I think I understand. However ...

I've tried all the following in /etc/portage/package.license:
Code:
=dev-java/sun-jdk-1.6.0.17
Code:
=dev-java/sun-jdk-1.6.0.17 dlj-1.1
Code:
dev-java/sun-jdk dlj-1.1


i.e. In the absence of the documentation, I'm treating this like a package.use file. Add a valid atom and a license and unmasking should be automagical.

But when I do:
Code:
emerge -puNDv world

I'm still getting:
Code:
!!! The following installed packages are masked:
- app-emulation/emul-linux-x86-java-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

{sigh}

When in doubt, re-read the manual {man emerge}. Viola! After KEYWORDS, there is now a section on LICENSE and PROPERTIES which I hadn't seen before. I guess these are relatively new and have now been activated with the latest versions of portage.

I ended up adding:
Code:
#
#   LICENSE options
#

ACCEPT_LICENSE="dlj-1.1"

to /etc/make.conf and this worked.

I'm guessing that you need both to indicate which package requires which license {/etc/portage/package.license} and that you accept that license {/etc/make.conf}. Anyway, problem resolved. Thanks!!


just
Code:
sun-jdk
in package.license
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Wed Nov 11, 2009 3:51 pm    Post subject: Reply with quote

cst wrote:

just
Code:
sun-jdk
in package.license

That was actually the first thing I tried and it gave me an "invalid atom" message.

But it's OK. You pointed me in the correct direction enough so that I could resolve the issue.

I'm not certain that /etc/portage/package.license is even needed. Based on what I read in the GLEP, adding ACCEPT_LICENSE="dlj-1.1" to /etc/make.conf may be sufficient. I just haven't checked for certain yet. My assumption about /etc/portage/package.license being about which license applied is probably wrong. i.e. Too logical.

Rather, /etc/portage/package.license may be to override which license your accepting for a given package {for those packages with multiple possible licenses}. In either case, just "sun-jdk" did not work for me.

update edit

If you look at @EULA in /usr/portage/profiles/license_groups, you'll see the following licenses for Sun: "sun-bcla-java-vm sun-prerelease-jdk6 sun-prerelease-jdk7". sun-bcla-java-vm is going away as java-1.4 is EOL and being removed. Sun license "dlj-1.1" is not included in this list. Whether is should be or Sun's changed licensing scheme requires the end user to set a flag indicating acceptance is an open question I have not one clue about. This whole thing may "fix" itself during my next emerge --sync.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
bolt
n00b
n00b


Joined: 10 Aug 2007
Posts: 14

PostPosted: Fri Nov 13, 2009 9:16 am    Post subject: Reply with quote

I have been seeing this dlj-message as well. After reading this thread I ended up adding
Code:
dev-java/sun-jdk dlj-1.1

to /etc/portage/package.license, which seems to do the trick.

Hope this helps,

bolt
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Fri Nov 13, 2009 4:18 pm    Post subject: Reply with quote

bolt wrote:
I have been seeing this dlj-message as well. After reading this thread I ended up adding
Code:
dev-java/sun-jdk dlj-1.1

to /etc/portage/package.license, which seems to do the trick.

Hope this helps,

bolt

that is what I had i just thought it was only sun-jdk:)
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
HRH_H_Crab
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2003
Posts: 115
Location: Sarf East Lahndahn

PostPosted: Wed Nov 18, 2009 3:19 pm    Post subject: Reply with quote

adding
Code:
dev-java/sun-jdk dlj-1.1
to /etc/portage/package.license had no visible effect on my system.
adding
Code:
ACCEPT_LICENSE="dlj-1.1"
to /etc/make.conf worked.
Back to top
View user's profile Send private message
bernd_b
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 148

PostPosted: Wed Nov 18, 2009 8:13 pm    Post subject: Reply with quote

Strange

My package.license (actually /etc/portage/package.license/monolithic)



Code:
dev-java/sun-jdk dlj-1.1
app-emulation/emul-linux-x86-java dlj-1.1


Without appending dlj-1.1 I get complains again.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Thu Nov 19, 2009 1:47 pm    Post subject: Reply with quote

If you don´t want to bother with licenses at all, just add
Code:

ACCEPT_LICENSE="*"

to make.conf.
I fully agree, that there should have been a big, fat hint while emerging, or at least a thread in "Porage & Programming". :roll:
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
DigitalCorpus
Apprentice
Apprentice


Joined: 30 Jul 2007
Posts: 283

PostPosted: Sat Nov 21, 2009 1:13 am    Post subject: Reply with quote

Yeah, this was fairly annoying the track down how to fix. It's nice to know the devs have our backs :roll:
_________________
Atlas (HDTV PVR, HTTP & Media server)
http://mobrienphotography.com/
Back to top
View user's profile Send private message
Old School
Apprentice
Apprentice


Joined: 20 Nov 2004
Posts: 252
Location: West Bank of the Coast Fork

PostPosted: Thu Nov 26, 2009 4:13 pm    Post subject: Reply with quote

Martux wrote:
If you don´t want to bother with licenses at all, just add
Code:

ACCEPT_LICENSE="*"

to make.conf.
I fully agree, that there should have been a big, fat hint while emerging, or at least a thread in "Porage & Programming". :roll:

I agree.
_________________
www.otw20.com

The further a society drifts from truth, the more it will hate those who speak it.
George Orwell
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Sun Nov 29, 2009 5:16 pm    Post subject: Reply with quote

bernd_b wrote:

My package.license ...

Code:
dev-java/sun-jdk dlj-1.1
app-emulation/emul-linux-x86-java dlj-1.1

Without appending dlj-1.1 I get complains again.

Ah-HAH!!
If you set licensing permissions in /etc/portage/package.license, those of you who run 'x86' probably only need:
Code:
dev-java/sun-jdk dlj-1.1

Those of you who run 'amd64' will probably need:
Code:
dev-java/sun-jdk dlj-1.1
app-emulation/emul-linux-x86-java dlj-1.1

I keep forgetting that on 64 bit {amd64/x86_64} systems, emul-linux-x86* needs to be considered.

Regardless of what type system you run, licensing can be set in /etc/make.conf with:
Code:
ACCEPT_LICENSE="dlj-1.1"

or for accepting all licenses:
Code:
ACCEPT_LICENSE="*"

as indicted by @Martux earlier in the thread.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1607
Location: indiana

PostPosted: Tue Dec 22, 2009 11:24 am    Post subject: Reply with quote

thx for the hints !
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1740

PostPosted: Tue Jan 26, 2010 10:21 pm    Post subject: Reply with quote

I just got this for the first time today (I usually sync and check for updates every day):

Code:

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

!!! The following installed packages are masked:
- dev-java/sun-jdk-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


I found possible solutions in this thread, but I would still like to know the rationale for this, or details about what changed. I second the notion that someone should have made an announcement about this (a perfect news item in portage).
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sun Mar 21, 2010 9:10 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, refer to "Masked by: * license(s) [SOLVED]".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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