Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292502 - sys-apps/portage-2.2* should give a warning if installed package does not match list of licences in ACCEPT_LICENSE. dev-java/sun-jdk as an example
Summary: sys-apps/portage-2.2* should give a warning if installed package does not mat...
Status: RESOLVED DUPLICATE of bug 288083
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 292639 293153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-09 11:49 UTC by Anton Bolshakov
Modified: 2009-11-17 19:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2009-11-09 11:49:12 UTC
Not sure how to fix that. The problem could be with portage 2.2 related.
Here is more details:

# emerge -pv sun-jdk

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy "dev-java/sun-jdk" have been masked.
!!! One of the following masked packages is required to complete your request:
- 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'.

- dev-java/sun-jdk-1.6.0.16 (masked by: dlj-1.1 license(s), ~x86 keyword)
- dev-java/sun-jdk-1.6.0.15 (masked by: dlj-1.1 license(s))
- dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s))
- dev-java/sun-jdk-1.5.0.21 (masked by: dlj-1.1 license(s), ~x86 keyword)
- dev-java/sun-jdk-1.5.0.20 (masked by: dlj-1.1 license(s))
- dev-java/sun-jdk-1.4.2.19 (masked by: sun-bcla-java-vm license(s))
A copy of the 'sun-bcla-java-vm' license is located at '/usr/portage/licenses/sun-bcla-java-vm'.


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

kde4 ~ # emerge -DNupv world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy "dev-java/icedtea6-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/icedtea6-bin-1.6.1 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "virtual/jdk-1.6.0" [installed])
(dependency required by "dev-libs/soprano-2.3.1" [installed])
(dependency required by "kde-base/kdelibs-4.3.3" [installed])
(dependency required by "kde-base/keditfiletype-4.3.3" [installed])
(dependency required by "@world" [argument])

emerge --info                                                                                           
Portage 2.2_rc49 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r5 i686)      
=================================================================                                                
System uname: Linux-2.6.31-gentoo-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1           
Timestamp of tree: Mon, 09 Nov 2009 11:30:01 +0000                                                               
app-shells/bash:     4.0_p28                                                                                     
dev-java/java-config: 2.1.9-r1                                                                                   
dev-lang/python:     2.6.2-r1                                                                                    
dev-util/cmake:      2.6.4-r3                                                                                    
sys-apps/baselayout: 2.0.1                                                                                       
sys-apps/openrc:     0.5.2-r1                                                                                    
sys-apps/sandbox:    2.2                                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                                               
sys-devel/automake:  1.9.6-r2, 1.10.2                                                                            
sys-devel/binutils:  2.18-r3                                                                                     
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.27-r2                                                                                   
ACCEPT_KEYWORDS="x86"                                                                                            
CBUILD="i686-pc-linux-gnu"                                                                                       
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                            
CHOST="i686-pc-linux-gnu"                                                                                        
CONFIG_PROTECT="/etc /usr/share/config"                                                                          
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.channelx.biz/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sectools /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt dbus dri dts dvd dvdr eds emboss encode evo firefox flac fortran gdbm gif gpm hal iconv ipv6 java jpeg kde libnotify mad mikmod modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" LIRC_DEVICES="sir" USERLAND="GNU" VIDEO_CARDS="intel vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-09 14:30:39 UTC
Yes, you need to accept the license, it's the new thing in portage 2.2 - see the man page section as it suggests.
The gentoo handbook is indeed not yet updated, so duping the bug.

*** This bug has been marked as a duplicate of bug 292445 ***
Comment 2 Steffen Bergner 2009-11-10 09:47:52 UTC
# Accept any license
ACCEPT_LICENSE="*"

into /etc/make.conf
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-10 19:40:39 UTC
*** Bug 292639 has been marked as a duplicate of this bug. ***
Comment 4 Martin Väth 2009-11-10 22:23:59 UTC
May I please suggest that portage should print a warning concerning the
license if it "forgets" that a package is installed because the license
does not match?

In the above command the warning was printed, but if you had just installed
sun-jdk before as in bug 292639, just an (actually unneeded) dependency is
pulled in, and the user cannot see why this is happening, even worse: He might
not even notice that something is wrong.

I do not understand anyway why a masking of an *installed* package *tacitly*
modifies the dependency tree as if it has not been installed. At least,
a big fat warning should be printed in such a case, generally.
Comment 5 Anton Bolshakov 2009-11-11 00:35:47 UTC
Something is not write here ;-) It has nothing to do with java team.
Guys, this bug is closed, please submit your suggestions in the bug #292445.

(In reply to comment #3)
> *** Bug 292639 has been marked as a duplicate of this bug. ***

Please mark further bugs as a duplicate of bug #292445 as well. 

Thanks.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-17 10:32:59 UTC
*** Bug 293153 has been marked as a duplicate of this bug. ***
Comment 7 Anton Bolshakov 2009-11-17 16:03:44 UTC
Ok, bug #292639 is about a handbook, so I'm reopening this one for portage team.
See Comment #4 for a better description of the problem.
Comment 8 Anton Bolshakov 2009-11-17 16:06:35 UTC
(In reply to comment #7)
> Ok, bug #292639 is about a handbook, so I'm reopening this one for portage
> team.
> See Comment #4 for a better description of the problem.
> 

bug #292445 I instead to say.
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-17 19:13:15 UTC

*** This bug has been marked as a duplicate of bug 288083 ***