Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614604 - dev-java/icedtea-3.3.0 should be rebuild when dev-libs/nss is updated
Summary: dev-java/icedtea-3.3.0 should be rebuild when dev-libs/nss is updated
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-04 07:56 UTC by Dennis Schridde
Modified: 2017-04-08 11:32 UTC (History)
3 users (show)

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


Attachments
stacktrace (stacktrace.log,10.83 KB, text/x-log)
2017-04-04 07:56 UTC, Dennis Schridde
Details
emerge --info icedtea nss (emerge.info,7.91 KB, application/x-info)
2017-04-04 07:56 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2017-04-04 07:56:13 UTC
Created attachment 469132 [details]
stacktrace

I'll present you with the solution / request first -- the explanation for how I arrived there is given below.

dev-libs/nss should probably be sub-slotted, so that dev-java/icedtea can be rebuild if dev-libs/nss is being updated:
  "The issue is that NSS has been updated since you last built IcedTea. If you re-emerge IcedTea, the problem should be fixed." --- Andrew John Hughes <gnu.andrew@redhat.com>


The full report, as reported upstream, is replicated here:


When I run http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.0/swagger-codegen-cli-2.2.0.jar to fetch from https://raw.githubusercontent.com/... I get attached stacktrace.


The full command-line is:
# java -jar swagger-codegen-cli-2.2.0.jar generate -i https://raw.githubusercontent.com/kubernetes/kubernetes/v1.5.5/api/swagger-spec/v1.json -l clojure --additional-properties 'projectName=kubernetes,projectVersion=1.5.5-0.0.1,projectDescription="Clojure API bindings for Kubernetes",projectUrl=https://github.com/devurandom/clj-kubernetes,projectLicenseName="Apache
 License, Version 2.0",projectLicenseUrl=http://www.apache.org/licenses/LICENSE-2.0.html'


The full script I am executing is available at: https://github.com/devurandom/clj-kubernetes/blob/master/update.sh


I am using IcedTea 3.3.0:
# java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (IcedTea 3.3.0) (Gentoo icedtea-3.3.0)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)


See-Also: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3344
See-Also: https://bugs.gentoo.org/show_bug.cgi?id=605430
Comment 1 Dennis Schridde 2017-04-04 07:56:48 UTC
Created attachment 469134 [details]
emerge --info icedtea nss
Comment 2 James Le Cuirot gentoo-dev 2017-04-08 10:55:14 UTC
I've already said in bug #605430 that subslotting NSS isn't an option. Think of the bigger picture. This will inconvenience almost everybody just for the few that build IcedTea from source. It only affects IcedTea because of the weird way it uses the library and NSS upstream have already said they will try and get IcedTea to do it the right way. They also said that the first breakage that happened in 3.28 was unintended and it only broke again in 3.29 because they put it back the way it was before. They will try not to break it again before a formal ABI change when a subslot would be necessary.
Comment 3 Dennis Schridde 2017-04-08 11:32:04 UTC
(In reply to James Le Cuirot from comment #2)

Thanks for the explanation. From #605430 it was not entirely clear what exactly is wrong and how it shall be fixed.