Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574576 - dev-java/oracle-jdk-bin-1.7.0.80 depencies but its obsolate package
Summary: dev-java/oracle-jdk-bin-1.7.0.80 depencies but its obsolate package
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-12 20:51 UTC by tman
Modified: 2016-02-18 10:16 UTC (History)
1 user (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 tman 2016-02-12 20:51:07 UTC
>>> Emerging (10 of 10) dev-java/tomcat-servlet-api-6.0.45::gentoo
>>> Installing (10 of 10) dev-java/tomcat-servlet-api-6.0.45::gentoo

 * Error messages for package dev-java/java-sdk-docs-1.7.0.80:

 * Fetch failed for 'dev-java/java-sdk-docs-1.7.0.80', Log file:
 *  '/mnt/portage/logs/dev-java:java-sdk-docs-1.7.0.80:20160212-203859.log'

 * Error messages for package sys-process/htop-2.0.0:

 *   CONFIG_TASK_XACCT:  is not set when it should be.
 *   CONFIG_TASK_IO_ACCOUNTING:  is not set when it should be.
 * 
 * The following 7 packages have failed to build, install, or execute
 * postinst:
 * 
 *  (dev-java/java-sdk-docs-1.7.0.80:1.7/1.7::gentoo, ebuild scheduled for merge), Log file:
 *   '/mnt/portage/logs/dev-java:java-sdk-docs-1.7.0.80:20160212-203859.log'
 *  (virtual/jdk-1.7.0-r1:1.7/1.7::gentoo, ebuild scheduled for merge)
 *  (virtual/jre-1.7.0-r1:1.7/1.7::gentoo, ebuild scheduled for merge)
 *  (dev-java/batik-1.8-r3:1.8/1.8::gentoo, ebuild scheduled for merge)
 *  (dev-java/jython-2.7.0:2.7/2.7::gentoo, ebuild scheduled for merge)
 *  (dev-java/guava-13.0.1-r3:13/13::gentoo, ebuild scheduled for merge)
 *  (dev-java/oracle-jdk-bin-1.7.0.80:1.7/1.7::gentoo, ebuild scheduled for merge)
 * 



Reproducible: Always



Expected Results:  
i have [I] dev-java/oracle-jdk-bin
     Available versions:  
     (1.7)  1.7.0.80^fs
     (1.8)  1.8.0.72-r1^fs ~*1.8.0.73^fs (~)1.8.0.74^fs
       {+X alsa aqua cups derby doc examples +fontconfig headless-awt javafx jce nsplugin pax_kernel selinux source}
     Installed versions:  1.8.0.74(1.8)^fs(00:36:52 11.02.2016)(alsa cups doc fontconfig javafx jce nsplugin -derby -examples -headless-awt -pax_kernel -selinux -source)
     Homepage:            http://www.oracle.com/technetwork/java/javase/
     Description:         Oracle's Java SE Development Kit



why i alltime tries to install obsolate packe? this is a new error

Portage 2.2.27 (python 3.5.1-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r1, 4.4.1-gentoo x86_64)
=================================================================
System uname: Linux-4.4.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24626696 total,  21802804 free
KiB Swap:   26488828 total,  26488828 free
Timestamp of repository gentoo: Fri, 12 Feb 2016 20:30:01 +0000
Timestamp of repository poly-c: Fri, 12 Feb 2016 14:20:36 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:
Comment 1 Aaron Bauman (RETIRED) gentoo-dev 2016-02-13 05:49:52 UTC
When was the last time you synced your tree?

dev-java/java-sdk-docs is a fetch restricted package [1].  It will have warned you as such:

Fetch instructions for dev-java/java-sdk-docs-1.7.0.80:
 * Please download jdk-7u80-docs-all.zip from 
 * http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html#jdk-7u80-apidocs-oth-JPR
 * (agree to the license) and place it in /usr/portage/distfiles
 * If you find the file on the download page replaced with a higher
 * version, please report to the bug 67266 (link below).
 * If emerge fails because of a checksum error it is possible that
 * the upstream release changed without renaming. Try downloading the file
 * again (or a newer revision if available). Otherwise report this to
 * https://bugs.gentoo.org/67266 and we will make a new revision.



Also, sys-process/htop requires you to reconfigure your kernel appropriately.

*   CONFIG_TASK_XACCT:  is not set when it should be.
*   CONFIG_TASK_IO_ACCOUNTING:  is not set when it should be.

[1] https://wiki.gentoo.org/wiki/Java#Installing_fetch-restricted_virtual_machines
Comment 2 tman 2016-02-13 09:25:27 UTC
the problem is not if it restrict to fetching it manually.

since the last sync to portage tree, something force me to fetch and install it even i dont need this package because dev-java/oracle-jdk-bin-1.8.x and its doc is already installed.

and officially this version dev-java/oracle-jdk-bin-1.7.0.80 is absolate, why it still want to install it?

this problem occur since my last sync, before it works fine and never complains.

could it be a bug in depency setup of any ebuild, which cause this problem?
Comment 3 tman 2016-02-13 09:33:28 UTC
in addition to this:


the package depencies force me also to install the whole obsolate jdk-1.7.x, which is not easy to get.

the download of this obsolate version requires a registry at oracle:

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u80-oth-JPRdepenc

this cant be normal..