Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585480 - Revdep-rebuild is finding breakage since installing icedtea-3.0.1
Summary: Revdep-rebuild is finding breakage since installing icedtea-3.0.1
Status: RESOLVED DUPLICATE of bug 568902
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 16:12 UTC by Mike Lothian
Modified: 2016-06-09 18:31 UTC (History)
0 users

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 Mike Lothian 2016-06-09 16:12:27 UTC
I have tried rebuilding the packages multiple times but to no avail

I'm not sure if this is a bug in icedtea or revdep-rebuild but I didn't see it with icedtea:7


quark distfiles # revdep-rebuild -i -v -p
 * This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Collecting system binaries and libraries
 * Collecting dynamic linking informations
 * Scanning files
 * Checking dynamic linking consistency
 * Broken files that requires: libjawt.so (64 bits)
        * /usr/lib64/libreoffice/program/libofficebean.so
        * /usr/lib64/libswt-awt-gtk-3740.so
 * Broken files that requires: libjava.so (64 bits)
        * /usr/lib64/icedtea8/jre/lib/amd64/libattach.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libawt.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libawt_headless.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libawt_xawt.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libfontmanager.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libjavajpeg.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libjavalcms.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libmanagement.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libnet.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libnio.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libsctp.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libunpack.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libzip.so
 * Broken files that requires: libjvm.so (64 bits)
        * /usr/lib64/icedtea8/jre/lib/amd64/libawt_xawt.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libmanagement.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libnet.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libunpack.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libverify.so
        * /usr/lib64/icedtea8/jre/lib/amd64/libzip.so
 * Assign files to packages
        * /usr/lib64/libreoffice/program/libofficebean.so -> app-office/libreoffice-5.1.3.2
        * /usr/lib64/icedtea8/jre/lib/amd64/libattach.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libmanagement.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libzip.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libjavalcms.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libverify.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libawt.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libawt_xawt.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libfontmanager.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libawt_headless.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libjavajpeg.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libnet.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libnio.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libsctp.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/icedtea8/jre/lib/amd64/libunpack.so -> dev-java/icedtea-3.0.1
        * /usr/lib64/libswt-awt-gtk-3740.so -> dev-java/swt-3.7.2-r1
Comment 1 Andrew John Hughes 2016-06-09 18:27:08 UTC
Smells like a revdep issue to me, though it's saying my system is consistent.

libjava.so, libjvm.so, libjawt.so are all private libraries which are resolved when the libraries are loaded into the JVM process, and which one is used depends on which JVM is used. Not sure how these were exempted before, but that needs to be brought back if it's gone.
Comment 2 Andrew John Hughes 2016-06-09 18:28:48 UTC
$ cat /etc/revdep-rebuild/60-java 
# The VM dynamically loads these at runtime so they will end up as missing
# but actually work just fine. See for example
# https://bugs.gentoo.org/show_bug.cgi?id=152039
#
# This file should only have files the are used by things like swt. If there
# are "broken" links inside the jre itself, the jre should install it's own
# control file.

LD_LIBRARY_MASK="libjvm.so libjawt.so"

$ cat /etc/revdep-rebuild/99revdep-rebuild 
# Default revdep-rebuild configuration file
#
# revdep-rebuild no longer uses hardcoded paths. To change the default 
# behavior the following variables can be changed:
#
# LD_LIBRARY_MASK - Mask of specially evaluated libraries
#
# SEARCH_DIRS - List of directories to search for executables and libraries
#	Use this for directories that are not included in PATH or ld.so.conf.
#	An application should normally not have to set this variable
#
# SEARCH_DIRS_MASK - List of directories to not search
#	Use this for directories that should not be searched by revdep-rebuild
#	This is normally used by binary packages such as openoffice-bin
#
# Note: This file is sourced using bash by the revdep-rebuild script

LD_LIBRARY_MASK="libodbcinst.so libodbc.so libjava.so libjvm.so"
SEARCH_DIRS="/bin /sbin /usr/bin /usr/sbin /lib* /usr/lib*"
SEARCH_DIRS_MASK="/lib*/modules"
Comment 3 James Le Cuirot gentoo-dev 2016-06-09 18:31:13 UTC

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