From Fedora Project Wiki
 
(18 intermediate revisions by the same user not shown)
Line 124: Line 124:


==== Workflow ====
==== Workflow ====
=====  new macro =====
* new macro `%{java_arches}` which will be of value : aarch64 ppc64le s390x x86_64
* new macro `%{java_arches}` which will be of value : aarch64 ppc64le s390x x86_64
** will be declared
** will be declared
* Once done,
* Once done:
=====  crucial system pckages =====
** All most crucial affected pkg - [https://github.com/judovana/FedoraSystemJdkBump/blob/1f126a2d7a4235593b1575467f420b185e5ecb13/scritps/listPkgs/recursiveGlue.sh#L142 the blacklist] + few others, eg R,graphviz (suggestions welcomed, bottom of sorted by dependent children [https://jvanek.fedorapeople.org/i686Deps/sortedFilteredRequires list]) will get filled bugzilla -[https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs#crucial_dependences_transitively_depndnding_on_java(s) listing] - eg:
** All most crucial affected pkg - [https://github.com/judovana/FedoraSystemJdkBump/blob/1f126a2d7a4235593b1575467f420b185e5ecb13/scritps/listPkgs/recursiveGlue.sh#L142 the blacklist] + few others, eg R,graphviz (suggestions welcomed, bottom of sorted by dependent children [https://jvanek.fedorapeople.org/i686Deps/sortedFilteredRequires list]) will get filled bugzilla -[https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs#crucial_dependences_transitively_depndnding_on_java(s) listing] - eg:
<pre>
<pre>
cairo is transitively depending on java, please ensure you drop java support on i686
adapt [cairo] to removal of java on i686


Dear maintainer, we are going to drop i686 java packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Dear maintainer, we are going to drop i686 java-openjdk packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Your library is transitively affected by this change:
Your package (maybe jsut some subpakcage) is transitively affected by this change:
 
java-devel <- graphviz <- gcc <- bash <- fontconfig <- cairo
[cairo<-libxcb<-doxygen<-git<-subversion<-java-11-openjdk-devel
java-devel <- graphviz <- gcc <- coreutils <- fontconfig <- cairo
cairo<-libxcb<-graphviz<-ruby<-git<-subversion<-java-11-openjdk-devel
java-devel <- graphviz <- gcc <- freetype <- fontconfig <- cairo
cairo<-libxcb<-graphviz<-R-devel<-R-java-devel<-java-17-openjdk-devel
java-11-openjdk-devel <- subversion <- git <- gettext <- fontconfig <- cairo
...
java-devel <- graphviz <- gcc <- glibc <- fontconfig <- cairo
cairo<-gtk-doc<-docbook-utils<-gawk<-git<-gawk<-git<-subversion<-java-11-openjdk-devel
java-devel <- graphviz <- gcc <- gperf <- fontconfig <- cairo
Shown 50 from 568]
java-devel <- graphviz <- gcc <- grep <- fontconfig <- cairo
 
java-devel <- graphviz <- gcc <- libtool <- fontconfig <- cairo
This package was selected as one of the most crucial, which when missing, will burn distro down.
java-devel <- graphviz <- gcc <- libxml2 <- fontconfig <- cairo
Please take care, and adapt  your package to exclude java on i686. For  your convenience, there was added macro %{java_arches}, including all arches java is available on,  which you can use to ifarch-out java specific features out in i686 (on non-java arches). Although for plain java package, the change is as simple as https://src.fedoraproject.org/rpms/maven/c/520942645bfd1e4721dacd536a6ccbf80495a8ae?branch=rawhide, you can not use it. The ExclusiveArch: %{java_arches} is not going to work for you, because your package is not simple java application, and also non-java world depends on it (even if you are one of dozen noarchs in this set)
java-devel <- graphviz <- gcc <- make <- fontconfig <- cairo
See exemplar PR: https://src.fedoraproject.org/rpms/graphviz/pull-request/9#request_diff
java-devel <- graphviz <- gcc <- bash <- freetype <- cairo
See more details eg in:: https://bugzilla.redhat.com/show_bug.cgi?id=2102298
java-devel <- graphviz <- doxygen <- gcc <- freetype <- cairo
See why in : https://pagure.io/fesco/issue/2772
java-devel <- graphviz <- gcc <- gcc <- freetype <- cairo
Please read carefully proposal: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
java-devel <- libwebp <- graphviz <- gcc <- freetype <- cairo
Please see tracking bug for most up to date informations: https://bugzilla.redhat.com/show_bug.cgi?id=2083750
R-java-devel <- R-devel <- graphviz <- gcc <- freetype <- cairo
(note, that direct dependencies are already work in progress - native reported and worked on, noarch ones autoadjusted)
java-devel <- graphviz <- gcc <- glibc <- freetype <- cairo


Please ensure, you drop i686 java support before branching. You can use new ExclusiveArch: %{java_arches} macro for your convenience
I'm terribly sorry to report this bug so late in f37 lifecycle. If you can, please handle this with priority.
</pre>
</pre>
(only glibc will not have its 15000 depnedent pkg listed),
=====  directly depnding not-noarch (archfull) pkgs =====
** all '''native''' (not noarch) direct dependencies of javas', maven ant (as in [https://github.com/judovana/FedoraSystemJdkBump/blob/main/scritps/listPkgs/recursiveGlue.sh#L54 here] and [https://github.com/judovana/FedoraSystemJdkBump/blob/1f126a2d7a4235593b1575467f420b185e5ecb13/scritps/listPkgs/listJavaDependentPkgs.sh#L19 here] (to be generated)  will get filled bugzilla -[https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs#direct_arch-full_java_dependencies listing] - eg:
** all '''native''' (not noarch) direct dependencies of javas', maven ant (as in [https://github.com/judovana/FedoraSystemJdkBump/blob/main/scritps/listPkgs/recursiveGlue.sh#L54 here] and [https://github.com/judovana/FedoraSystemJdkBump/blob/1f126a2d7a4235593b1575467f420b185e5ecb13/scritps/listPkgs/listJavaDependentPkgs.sh#L19 here] (to be generated)  will get filled bugzilla -[https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs#direct_arch-full_java_dependencies listing] - eg:
<pre>
<pre>
native libreoffice depends on to be removed i686 java packages
native [libreoffice] depends on to be removed i686 java-openjdk packages


Dear maintainer, we are going to drop i686 java packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Dear maintainer, we are going to drop i686 java packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
libreoffice is dependnign on it and is native, please adapt your package so it builds without java support on i686
your package (or maybe jsut some subpackage) is directly depending on java and is native.
You can use new ExclusiveArch: %{java_arches} macro for your convenience
 
Please take care, and adapt your package to exclude java on i686. For  your convenience, there was added macro %{java_arches}, including all arches java is available on,  which you can use to ifarch-out java specific features out in i686 (on non-java arches). Although for plain java package, the change is as simple as https://src.fedoraproject.org/rpms/maven/c/520942645bfd1e4721dacd536a6ccbf80495a8ae?branch=rawhide, you can not use it. The ExclusiveArch: %{java_arches} is not going to work for you, because your package is not simple java application, and also non-java world depends on it.
 
See exemplar PR: https://src.fedoraproject.org/rpms/graphviz/pull-request/9#request_diff
See more details eg in:: https://bugzilla.redhat.com/show_bug.cgi?id=2102298
See why in : https://pagure.io/fesco/issue/2772
Please read carefully proposal: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Please see tracking bug for most up to date informations: https://bugzilla.redhat.com/show_bug.cgi?id=2083750
 
I'm terribly sorry to report this bug so late in f37 lifecycle. If you can, please handle this with priority.
</pre>
</pre>
** all '''noarch''' direct java, amven ant... dependencies will -[https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs#direct_noarch_java_dependencies listing] -  get auto injected `ExclusiveArch: %{java_arches} noarch` if not present, or appended by `%{java_arches} noarch` if ExclusiveArch already  there
=====  directly depnding noarch pkgs =====
** all '''noarch''' direct java, amven ant... dependencies will -[https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs#direct_noarch_java_dependencies listing] -  get auto injected `ExclusiveArch: %{java_arches} noarch` if not present, or appended by `%{java_arches}` if ExclusiveArch already  there
** all bugs will block this feature main bug
** all bugs will block this feature main bug
* if all goes ok, we will simply stop building i686 java pacakges in rawhide
* if all goes ok, we will simply stop building i686 java pacakges in rawhide
* I'm not sure if there is any sense in creating copr for this, as there is no proper i686 there...
* I'm not sure if there is any sense in creating copr for this, as there is no proper i686 there...
=====  deprecated i686 java packages =====
As shcedule did not went as expected, instead of direct removal, which would cause to much packages to FTBFS during mass rebuild, i686 jdk will be derecated in i686, by having bianries repalced by warning, not working shell script: https://src.fedoraproject.org/rpms/java-17-openjdk/c/73fbfeeb34244ac9e1b105d6dea094c1f4d7f1cb?branch=rawhide


==== Other developers ====
==== Other developers ====
* may notice the multilib i686 java missing.  
* may notice the multilib i686 java missing.  
* it is up to them to drop i686 builds or to povide workaround (if possible)
* it is up to them to drop i686/use %{java_arches} in specfiles or to provide reasonable workaround
* all the bugreports should contain precisse instructions what to do:
* '''have to adapt theirs packages according to filled bugs'''
<pre>
If you are using %{ix86} or i686 ExclusiveArch, in the java depending subpkg, you ahve to drop it.
You should declare  ExclusiveArch: %{java_arches} noarch in your noarch java depending subpkgs
You should declare  ExclusiveArch: %{java_arches} in your archdull java depending pkgs
Note that you really have to ifarch the depndece out, so you do not randomly fail because of BR not satisfied if your builder wil be i686, which can happen.
See examples:
https://src.fedoraproject.org/rpms/graphviz/pull-request/9
https://src.fedoraproject.org/rpms/maven/c/520942645bfd1e4721dacd536a6ccbf80495a8ae?branch=rawhide
todo automake once https://bugzilla.redhat.com/show_bug.cgi?id=2102298 is done
</pre>


==== Other ====
==== Other ====
Line 255: Line 259:


== final listings ==
== final listings ==
All those packages vere identified as live, valid rpm top level components - non subpackages, not dead.pcakcage.
=== crucial dependences transitively depndnding on java(s)  ===
=== crucial dependences transitively depndnding on java(s)  ===
manually selected packages which, when in troubles, would cause system to case
<pre>
<pre>
alsa-lib
alsa-lib
alsa-lib-devel
atk
atk
autoconf
automake
bash
bash
boost-devel
boost
cairo
cairo
cargo
cmake
cmake
coreutils
coreutils
coreutils-single
desktop-file-utils
doxygen
doxygen
findutils
findutils
Line 276: Line 276:
gawk
gawk
gcc
gcc
gcc-c++
gdk-pixbuf2
gettext
gettext
ghc-base
ghc
ghc-base-devel
ghc-compiler
git
git
glib2
glib2
glib2-devel
glibc
glibc
gmp
gmp
gnupg2
gnupg2
go-rpm-macros
graphviz
graphviz
gtk2
gtk2
gtk2-devel
gtk3
gtk3
gtk3-devel
gtk-doc
harfbuzz
harfbuzz
hicolor-icon-theme
kf5
kf5-kconfigwidgets
kf5-kio
kf5-kcoreaddons
libglvnd
kf5-kio-core-libs
kf5-kio-widgets-libs
kf5-kxmlgui
libappstream-glib
libcurl
libcurl-minimal
libglvnd-glx
libjpeg-turbo
libstdc++
libtool
libtool
libX11
libX11
libX11-devel
libXext
libXext
libXext-devel
make
make
mesa-libGLU
mesa
meson
ninja-build
ocaml
ocaml
ocaml-runtime
openssl
openssl-devel
openssl-libs
pango
pango
perl-Carp
perl
perl-constant
php
perl-Exporter
pkgconf
perl-generators
qt5-qtbase
perl-interpreter
perl-libs
perl-PathTools
perl-Scalar-List-Utils
php-common
pkgconf-pkg-config
python3
python3-devel
python3-pytest
python3-pyyaml
python3-setuptools
qt
qt
qt5-qtbase
R
qt5-qtbase-devel
rust
qt5-qtbase-gui
rust-web-sys
qt5-qtdeclarative
qt-x11
R-core
R-devel
rubygems
rubypick
rust-packaging
rust-web-sys-devel
sed
sed
shadow-utils
systemd
systemd
systemd-libs
tesseract
tesseract
texlive-base
texlive-kpathsea
texlive-latex
vala
vala
zlib
zlib
zlib-devel
</pre>
</pre>
from those  <pre>autoconf automake meson qt5 rubygems rubypick texlive</pre> are noarch, but am not going to handle it separately.
Automake, and autoconf are  handled individually: https://bugzilla.redhat.com/show_bug.cgi?id=2102298 ,  https://bugzilla.redhat.com/show_bug.cgi?id=2103921
note, that more packages can be added to this basic set, but the number of dependent pkgs was goind down with exponential speed.
==== Second wave ====
Check all top level depndencies of pkg :
for all pkgs, from the
`
p<p1<p2<someJava
p<p3<p4<someJava
`
Select all p2,p4...
No need to spam other secondary transitive deps, maintainers of first wave were not interested


=== direct noarch java dependencies  ===
=== direct noarch java dependencies  ===
<pre>
<pre>
ant-antunit
antlr32
antlr-maven-plugin
antlrworks
ant
ant
aopalliance
apache-commons-beanutils
apache-commons-beanutils
apache-commons-cli
apache-commons-cli
apache-commons-codec
apache-commons-codec
apache-commons-collections4
apache-commons-collections
apache-commons-collections
apache-commons-compress
apache-commons-compress
apache-commons-digester
apache-commons-exec
apache-commons-fileupload
apache-commons-io
apache-commons-io
apache-commons-jxpath
apache-commons-jxpath
apache-commons-lang3
apache-commons-lang3
apache-commons-logging
apache-commons-logging
apache-commons-math
apache-commons-modeler
apache-commons-net
apache-commons-net
apache-commons-parent
apache-commons-parent
apache-commons-pool
apache-ivy
apache-parent
apache-parent
apache-resource-bundles
apache-resource-bundles
apache-sshd
apiguardian
apiguardian
aqute-bnd
aqute-bnd
args4j
assertj-core
assertj-core
atinject
atinject
bcel
automake
beust-jcommander
bsf
byte-buddy
cdi-api
cglib
classpathless-compiler
disruptor
easymock
felix-parent
felix-utils
fusesource-pom
google-guice
guava
hamcrest
httpcomponents-client
httpcomponents-core
httpcomponents-project
jakarta-activation
jakarta-annotations
jakarta-oro
jakarta-servlet
java_cup
javapackages-bootstrap
jctools
jdepend
jdom2
jdom
jflex
jsch
jsr-305
junit5
junit
jzlib
log4j
maven-antrun-plugin
maven-archiver
maven-artifact-transfer
maven-assembly-plugin
maven-common-artifact-filters
maven-compiler-plugin
maven-dependency-analyzer
maven-dependency-plugin
maven-dependency-tree
maven-enforcer
maven-file-management
maven-filtering
maven-jar-plugin
maven
maven-parent
maven-plugin-build-helper
maven-plugin-bundle
maven-plugin-testing
maven-plugin-tools
maven-remote-resources-plugin
maven-resolver
maven-resources-plugin
maven-shared-incremental
maven-shared-io
maven-shared-utils
maven-source-plugin
maven-surefire
maven-verifier
maven-wagon
mockito
modello
mojo-parent
munge-maven-plugin
objectweb-asm
objenesis
opentest4j
osgi-annotation
osgi-compendium
osgi-core
plexus-archiver
plexus-build-api
plexus-cipher
plexus-classworlds
plexus-compiler
plexus-components-pom
plexus-containers
plexus-interpolation
plexus-io
plexus-languages
plexus-pom
plexus-resources
plexus-sec-dispatcher
plexus-utils
qdox
regexp
sisu-mojos
sisu
slf4j
testng
univocity-parsers
velocity
vim-syntastic
xalan-j2
xbean
xerces-j2
xml-commons-apis
xml-commons-resolver
xmlunit
xmvn
xz-java
</pre>
 
=== direct arch-full java dependencies  ===
<pre>
abrt-java-connector
ant-antunit
antlr32
antlr3
antlr4-project
antlr
antlr-maven-plugin
antlrworks
aopalliance
apache-commons-collections4
apache-commons-digester
apache-commons-exec
apache-commons-fileupload
apache-commons-math
apache-commons-modeler
apache-commons-pool
apache-ivy
apache-sshd
apron
arduino-listSerialPortsC
args4j
astyle
AusweisApp2
auto
auto
automake
BareBonesBrowserLaunch
BareBonesBrowserLaunch
batik
batik
bcel
beansbinding
beansbinding
bigloo
beust-jcommander
bolzplatz2006
bouncycastle
bouncycastle
brazil
brazil
brltty
bsf
bsh
bsh
buildnumber-maven-plugin
buildnumber-maven-plugin
byte-buddy
byteman
byteman
cambozola
cambozola
canl-java
canl-java
capstone
CardManager
CardManager
ceph
cdi-api
CFR
CFR
chromium
cglib
classloader-leak-test-framework
classloader-leak-test-framework
clojure
classpathless-compiler
clojure-core-specs-alpha
clojure-core-specs-alpha
clojure-maven-plugin
clojure-maven-plugin
clojure
clojure-spec-alpha
clojure-spec-alpha
cocoalib
codehaus-parent
codehaus-parent
collectd
colossus
colossus
console-image-viewer
console-image-viewer
cortado
cortado
cryptlib
crypto-policies
crypto-policies
csound
cvc4
decentxml
decentxml
DecodeIR
diffoscope
directory-maven-plugin
directory-maven-plugin
dirgra
dirgra
disruptor
ditaa
ditaa
dl_poly
dogtag-pki
dom4j
dom4j
easymock
ecj
ecj
eclipse-swt
ed25519-java
ed25519-java
enjarify
enjarify
erlang
erlang-corba
exec-maven-plugin
exec-maven-plugin
fasterxml-oss-parent
fasterxml-oss-parent
felix-parent
felix-utils
fernflower
fernflower
filedrop
filedrop
Line 575: Line 416:
freemarker
freemarker
freerouting
freerouting
freewrl
fusesource-pom
frysk
gdal
gdl
genders
gnulib
google-gson
google-gson
graphviz
google-guice
guava
hamcrest
hawtjni
hawtjni
hdf5
hdf
healpix
hibernate-jpa-2.0-api
hibernate-jpa-2.0-api
hibernate-jpa-2.1-api
hibernate-jpa-2.1-api
hid4java
hid4java
hyperestraier
httpcomponents-client
icecat
httpcomponents-core
httpcomponents-project
icu4j
icu4j
imagej
imagej
Line 606: Line 442:
jacoco
jacoco
jacop
jacop
jakarta-activation
jakarta-annotations
jakarta-el
jakarta-el
jakarta-interceptors
jakarta-interceptors
jakarta-json
jakarta-json
jakarta-mail
jakarta-mail
jakarta-oro
jakarta-saaj
jakarta-saaj
jakarta-server-pages
jakarta-server-pages
jakarta-servlet
jakarta-xml-ws
jakarta-xml-ws
janino
janino
jansi1
jansi1
jansi
jansi-native
jargs
jargs
java-11-openjdk
javacc-maven-plugin
java-17-openjdk
java-1.8.0-openjdk
javacc
javacc
javacc-maven-plugin
java_cup
java-diff-utils
java-diff-utils
java-dirq
java-dirq
javaewah
javaewah
java-gnome
java-jd-decompiler
java-jd-decompiler
java-mersenne-twister
java-mersenne-twister
javapackages-bootstrap
javapackages-tools
javapackages-tools
javaparser
javaparser
Line 636: Line 472:
javassist
javassist
jaxb-api
jaxb-api
jaxb
jaxb-dtd-parser
jaxb-dtd-parser
jaxb-fi
jaxb-fi
jaxb-istack-commons
jaxb-istack-commons
jaxb
jaxb-stax-ex
jaxb-stax-ex
jaxen
jaxen
jblas
jboss-jaxrs-2.0-api
jboss-jaxrs-2.0-api
jboss-logging
jboss-logging
Line 652: Line 487:
jcommon
jcommon
jcommon-serializer
jcommon-serializer
jctools
jcuber
jcuber
jdeparser
jdeparser
jdependency
jdependency
jdepend
jdom2
jdom
jericho-html
jericho-html
jetty
jetty
jffi
jflex
jFormatString
jFormatString
jfreechart
jfreechart
Line 666: Line 505:
jgoodies-looks
jgoodies-looks
jgrapht
jgrapht
jigawatts
jline2
jline2
jline
jline
jmock
jmock
jmol
jmol
jna
jneuroml-core
jneuroml-core
jni-inchi
jnr-constants
jnr-constants
jnr-ffi
jnr-ffi
Line 685: Line 521:
jorbis
jorbis
jpanoramamaker
jpanoramamaker
jpcap
jpype
jsch-agent-proxy
jsch-agent-proxy
jsch
json_simple
json_simple
jss
jsr-305
jssc
jtidy
jtidy
junit5
junit
juniversalchardet
juniversalchardet
kawa
jzlib
kernel-tools
laf-plugin
laf-plugin
lancer
lancer
ldapjdk
ldapjdk
libbase
libbase
libbluray
libfonts
libfonts
libformula
libformula
libgda
libidn
liblayout
liblayout
libloader
libloader
libphidget
libreoffice
librepository
librepository
libserializer
libserializer
libsvm
libvirt-java
libvirt-java
libwebp
log4j
link-grammar
mapserver
mariadb-java-client
mariadb-java-client
Mars
Mars
maven2
maven2
maven-antrun-plugin
maven-archetype
maven-archetype
maven-archiver
maven-artifact-transfer
maven-assembly-plugin
maven-clean-plugin
maven-clean-plugin
maven-common-artifact-filters
maven-compiler-plugin
maven-dependency-analyzer
maven-dependency-plugin
maven-dependency-tree
maven-doxia
maven-doxia
maven-doxia-sitetools
maven-doxia-sitetools
maven-enforcer
maven-file-management
maven-filtering
maven-invoker
maven-invoker
maven-invoker-plugin
maven-invoker-plugin
maven-jar-plugin
maven-mapping
maven-mapping
maven-native
maven-native
maven
maven-parent
maven-patch-plugin
maven-patch-plugin
maven-plugin-build-helper
maven-plugin-bundle
maven-plugin-testing
maven-plugin-tools
maven-remote-resources-plugin
maven-reporting-api
maven-reporting-api
maven-reporting-impl
maven-reporting-impl
maven-resolver
maven-resources-plugin
maven-scm
maven-scm
maven-script-interpreter
maven-script-interpreter
maven-shade-plugin
maven-shade-plugin
maven-shared-incremental
maven-shared-io
maven-shared-utils
maven-source-plugin
maven-surefire
maven-verifier
maven-verifier-plugin
maven-verifier-plugin
mecab-java
maven-wagon
miglayout
miglayout
mockito
modello
mojo-executor
mojo-executor
mp
mojo-parent
munge-maven-plugin
mxparser
mxparser
mysql-connector-java
mysql-connector-java
naga
naga
nailgun
nekohtml
nekohtml
nom-tam-fits
nom-tam-fits
ocaml-atd
objectweb-asm
octave
objenesis
ongres-scram
ongres-scram
ongres-stringprep
ongres-stringprep
openas2
openas2
opencv
openjdk-asmtools
openjdk-asmtools
openjfx8
openjfx
openmpi
openni
openstack-java-sdk
openstack-java-sdk
OpenStego
OpenStego
opentest4j
options
options
osgi-annotation
osgi-compendium
osgi-core
pcfi
pcfi
pcl
pdfbox
pdfbox
pdftk-java
pdftk-java
Line 765: Line 620:
picocli
picocli
plantuml
plantuml
pl
plexus-active-collections
plexus-active-collections
plexus-archiver
plexus-build-api
plexus-cipher
plexus-classworlds
plexus-compiler
plexus-component-api
plexus-component-api
plexus-components-pom
plexus-containers
plexus-i18n
plexus-i18n
plexus-interpolation
plexus-io
plexus-languages
plexus-pom
plexus-resources
plexus-sec-dispatcher
plexus-utils
plexus-velocity
plexus-velocity
plplot
pomchecker
pomchecker
portlet-2.0-api
portlet-2.0-api
portmidi
postgresql-jdbc
postgresql-jdbc
ppl
procyon
procyon
proguard
proguard
prometheus-jmx-exporter
prometheus-jmx-exporter
prometheus-simpleclient-java
prometheus-simpleclient-java
protobuf
py4j
py4j
python-javabridge
python-javaobj
python-javaobj
python-jep
qdox
python-jnius
qdbm
rachota
rachota
R
reflections
reflections
regexp
replacer
replacer
resteasy
resteasy
rhino
rhino
rstudio
rsyntaxtextarea
rsyntaxtextarea
rundoc
rundoc
Line 800: Line 660:
sblim-cim-client2
sblim-cim-client2
sblim-cim-client
sblim-cim-client
scalacheck
scala
scala
scalacheck
scalpel
scannotation
scannotation
sdljava
seqan2
seqan
sequence-library
sequence-library
serp
serp
shaman
shaman
Singular
sisu-mojos
sisu
slf4j
snakeyaml
snakeyaml
snip
snip
spec-version-maven-plugin
spec-version-maven-plugin
sphinx
spice-parent
spice-parent
sqljet
sqljet
stringtemplate4
stringtemplate4
string-template-maven-plugin
stringtemplate
stringtemplate
string-template-maven-plugin
subversion
svnkit
svnkit
swing-layout
swing-layout
system-rules
system-rules
systemtap
taggle
taggle
tagsoup
tagsoup
t-digest
t-digest
test-interface
test-interface
testng
texlive
texlive
tomcatjss
tomcat
tomcat
tomcatjss
tomcat-native
tomcat-taglibs-parent
tomcat-taglibs-parent
treelayout
treelayout
trilead-ssh2
trilead-ssh2
truth
truth
tuxguitar
univocity-parsers
tzdata
uom-parent
uom-parent
vecmath1.2
vecmath1.2
velocity
vim-syntastic
voms-api-java
voms-api-java
voms-clients-java
voms-clients-java
vtk
weld-parent
weld-parent
will-crash
writer2latex
ws-commons-util
ws-commons-util
wsdl4j
wsdl4j
xalan-j2
xbean
xerces-j2
xjparse
xjparse
xml-commons-apis
xml-commons-resolver
xmlgraphics-commons
xmlgraphics-commons
xml-maven-plugin
xml-maven-plugin
Line 855: Line 713:
xmlstreambuffer
xmlstreambuffer
xmltool
xmltool
xmlunit
xmpcore
xmpcore
xmvn-connector-ivy
xmvn-connector-ivy
xmvn
xstream
xstream
xz-java
yuicompressor
yuicompressor
</pre>
=== direct arch-full java dependencies  ===
<pre>
abrt-java-connector
antlr3
antlr4-project
antlr
apron
arduino-listSerialPortsC
astyle
AusweisApp2
bigloo
bolzplatz2006
brltty
capstone
ceph
chromium
cocoalib
collectd
cryptlib
csound
cvc4
DecodeIR
diffoscope
dl_poly
dogtag-pki
eclipse-swt
erlang
erlang-corba
freewrl
frysk
gdal
gdl
genders
gnulib
graphviz
hdf5
hdf
healpix
hyperestraier
icecat
jansi
jansi-native
java-11-openjdk
java-17-openjdk
java-1.8.0-openjdk
java-gnome
jblas
jffi
jigawatts
jna
jni-inchi
jpcap
jpype
jss
jssc
kawa
kernel-tools
libbluray
libgda
libidn
libphidget
libreoffice
libsvm
libwebp
link-grammar
mapserver
mecab-java
mp
nailgun
ocaml-atd
octave
opencv
openjfx8
openjfx
openmpi
openni
pcl
pl
plplot
portmidi
ppl
protobuf
python-javabridge
python-jep
python-jnius
qdbm
R
rstudio
scalpel
sdljava
seqan2
seqan
Singular
sphinx
subversion
systemtap
tomcat-native
tuxguitar
tzdata
vtk
will-crash
writer2latex
z3
z3
zbar
zbar
</pre>
</pre>
From those, subversion is handled separately: https://bugzilla.redhat.com/show_bug.cgi?id=2103909

Latest revision as of 10:04, 17 July 2022


Drop i686 builds of jdk8,11,17 and latest (18) rpms from f37 onwards

Summary

java-1.8.0-openjdk, java-11-openjdk, java-17-openjdk and java-latest-openjdk packages will no longer build i686 subpackages

Owner

  • Name: Jiri Vanek
  • Email: <jvanek@redhat.com>
  • Product: java and java stack
  • Responsible WG: java-sig (java and java-maint)(which no longer exists)


Current status

Expected schedule

  • during march, drop i686 builds from all jdks in fedora rawhide

Detailed Description

Fedora currently ships:

  • java-1.8.0-openjdk (LTS)
  • java-11-openjdk (LTS)
  • java-17-openjdk (LTS)
  • java-latest-openjdk (STS, jdk18).

All those builds on all architectures except jdk8, where arm32 with jit is built by different package. Unluckily, the i686 bit builds of jdk are rotten in upstream. The recent breakage of i686 JIT just before branching nearly killed jdk17 as system jdk feature. The rotting have main visibility with newer GCCs. If GCC bump, and it does, it always triggers new issues in i686 JIT, and there is less and less people to somehow workaround them. Unluckily, there is probably no longer anyone willing to really fix them

Although there is https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval , this proposal have nothign to do with it, not even inspiration. People about OpenJDK learned about after this jdk one was announced.

Benefit to Fedora

The i686 builds are rotten in usptream, and to patch them localy had become pain. We may be introducing very bugy i686 jdk. Better then to do so, we would rather not ship that at all. This will untie hands of both JDK and GCC developers, who will no longer need to dive into nasty legacy code.

Scope

Change owners

Workflow

new macro
  • new macro %{java_arches} which will be of value : aarch64 ppc64le s390x x86_64
    • will be declared
  • Once done:
crucial system pckages
    • All most crucial affected pkg - the blacklist + few others, eg R,graphviz (suggestions welcomed, bottom of sorted by dependent children list) will get filled bugzilla -listing - eg:
adapt [cairo] to removal of java on i686

Dear maintainer, we are going to drop i686 java-openjdk packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Your package (maybe jsut some subpakcage) is transitively affected by this change:

[cairo<-libxcb<-doxygen<-git<-subversion<-java-11-openjdk-devel
cairo<-libxcb<-graphviz<-ruby<-git<-subversion<-java-11-openjdk-devel
cairo<-libxcb<-graphviz<-R-devel<-R-java-devel<-java-17-openjdk-devel
...
cairo<-gtk-doc<-docbook-utils<-gawk<-git<-gawk<-git<-subversion<-java-11-openjdk-devel
Shown 50 from 568]

This package was selected as one of the most crucial, which when missing, will burn distro down.
Please take care, and adapt  your package to exclude java on i686. For  your convenience, there was added macro %{java_arches}, including all arches java is available on,  which you can use to ifarch-out java specific features out in i686 (on non-java arches). Although for plain java package, the change is as simple as https://src.fedoraproject.org/rpms/maven/c/520942645bfd1e4721dacd536a6ccbf80495a8ae?branch=rawhide, you can not use it. The ExclusiveArch: %{java_arches} is not going to work for you, because your package is not simple java application, and also non-java world depends on it (even if you are one of dozen noarchs in this set)
See exemplar PR: https://src.fedoraproject.org/rpms/graphviz/pull-request/9#request_diff
See more details eg in:: https://bugzilla.redhat.com/show_bug.cgi?id=2102298
See why in : https://pagure.io/fesco/issue/2772
Please read carefully proposal: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Please see tracking bug for most up to date informations: https://bugzilla.redhat.com/show_bug.cgi?id=2083750
(note, that direct dependencies are already work in progress - native reported and worked on, noarch ones autoadjusted)

I'm terribly sorry to report this bug so late in f37 lifecycle. If you can, please handle this with priority.
directly depnding not-noarch (archfull) pkgs
    • all native (not noarch) direct dependencies of javas', maven ant (as in here and here (to be generated) will get filled bugzilla -listing - eg:
native [libreoffice] depends on to be removed i686 java-openjdk packages

Dear maintainer, we are going to drop i686 java packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
your package (or maybe jsut some subpackage)  is directly depending on java and is native.

Please take care, and adapt  your package to exclude java on i686. For  your convenience, there was added macro %{java_arches}, including all arches java is available on,  which you can use to ifarch-out java specific features out in i686 (on non-java arches). Although for plain java package, the change is as simple as https://src.fedoraproject.org/rpms/maven/c/520942645bfd1e4721dacd536a6ccbf80495a8ae?branch=rawhide, you can not use it. The ExclusiveArch: %{java_arches} is not going to work for you, because your package is not simple java application, and also non-java world depends on it.

See exemplar PR: https://src.fedoraproject.org/rpms/graphviz/pull-request/9#request_diff
See more details eg in:: https://bugzilla.redhat.com/show_bug.cgi?id=2102298
See why in : https://pagure.io/fesco/issue/2772
Please read carefully proposal: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Please see tracking bug for most up to date informations: https://bugzilla.redhat.com/show_bug.cgi?id=2083750

I'm terribly sorry to report this bug so late in f37 lifecycle. If you can, please handle this with priority.
directly depnding noarch pkgs
    • all noarch direct java, amven ant... dependencies will -listing - get auto injected ExclusiveArch: %{java_arches} noarch if not present, or appended by %{java_arches} if ExclusiveArch already there
    • all bugs will block this feature main bug
  • if all goes ok, we will simply stop building i686 java pacakges in rawhide
  • I'm not sure if there is any sense in creating copr for this, as there is no proper i686 there...
deprecated i686 java packages

As shcedule did not went as expected, instead of direct removal, which would cause to much packages to FTBFS during mass rebuild, i686 jdk will be derecated in i686, by having bianries repalced by warning, not working shell script: https://src.fedoraproject.org/rpms/java-17-openjdk/c/73fbfeeb34244ac9e1b105d6dea094c1f4d7f1cb?branch=rawhide

Other developers

  • may notice the multilib i686 java missing.
  • it is up to them to drop i686/use %{java_arches} in specfiles or to provide reasonable workaround
  • have to adapt theirs packages according to filled bugs

Other

  • Release engineering: #10686
    • mass rebuild will NOT be required for this change


  • Trademark approval: N/A (not needed for this Change)
  • Bug assignees will need to verify the impact of i686

Upgrade/compatibility impact

  • The upgrade on multilib systems will lead to autoremoval of i686 javastack
  • which should be minimum if above bugzillas are properly handled

How To Test

install i686 java will result to not packages found

User Experience

User experience on multilib systems will be bad. Bad reasonable.

Dependencies

There are is unknown number of multilib java consumers. I expect some of them may rise voice, but that will have to handled one by one.

Contingency Plan

  • Contingency mechanism: return i686 java packages
  • Contingency date: (not provided)

Documentation

Will be needed...

Release Notes

None yet...

final listings

All those packages vere identified as live, valid rpm top level components - non subpackages, not dead.pcakcage.

crucial dependences transitively depndnding on java(s)

manually selected packages which, when in troubles, would cause system to case

alsa-lib
atk
bash
boost
cairo
cmake
coreutils
doxygen
findutils
fontconfig
freetype
gawk
gcc
gettext
ghc
git
glib2
glibc
gmp
gnupg2
graphviz
gtk2
gtk3
harfbuzz
kf5
kf5-kio
libglvnd
libtool
libX11
libXext
make
mesa
ocaml
openssl
pango
perl
php
pkgconf
qt5-qtbase
qt
R
rust
rust-web-sys
sed
systemd
tesseract
vala
zlib

from those

autoconf automake meson qt5 rubygems rubypick texlive

are noarch, but am not going to handle it separately.

Automake, and autoconf are handled individually: https://bugzilla.redhat.com/show_bug.cgi?id=2102298 , https://bugzilla.redhat.com/show_bug.cgi?id=2103921 note, that more packages can be added to this basic set, but the number of dependent pkgs was goind down with exponential speed.

Second wave

Check all top level depndencies of pkg : for all pkgs, from the p<p1<p2<someJava p<p3<p4<someJava Select all p2,p4...

No need to spam other secondary transitive deps, maintainers of first wave were not interested

direct noarch java dependencies

ant-antunit
antlr32
antlr-maven-plugin
antlrworks
ant
aopalliance
apache-commons-beanutils
apache-commons-cli
apache-commons-codec
apache-commons-collections4
apache-commons-collections
apache-commons-compress
apache-commons-digester
apache-commons-exec
apache-commons-fileupload
apache-commons-io
apache-commons-jxpath
apache-commons-lang3
apache-commons-logging
apache-commons-math
apache-commons-modeler
apache-commons-net
apache-commons-parent
apache-commons-pool
apache-ivy
apache-parent
apache-resource-bundles
apache-sshd
apiguardian
aqute-bnd
args4j
assertj-core
atinject
automake
auto
BareBonesBrowserLaunch
batik
bcel
beansbinding
beust-jcommander
bouncycastle
brazil
bsf
bsh
buildnumber-maven-plugin
byte-buddy
byteman
cambozola
canl-java
CardManager
cdi-api
CFR
cglib
classloader-leak-test-framework
classpathless-compiler
clojure-core-specs-alpha
clojure-maven-plugin
clojure
clojure-spec-alpha
codehaus-parent
colossus
console-image-viewer
cortado
crypto-policies
decentxml
directory-maven-plugin
dirgra
disruptor
ditaa
dom4j
easymock
ecj
ed25519-java
enjarify
exec-maven-plugin
fasterxml-oss-parent
felix-parent
felix-utils
fernflower
filedrop
fishbowl
flute
fop
forge-parent
freecol
freemarker
freerouting
fusesource-pom
google-gson
google-guice
guava
hamcrest
hawtjni
hibernate-jpa-2.0-api
hibernate-jpa-2.1-api
hid4java
httpcomponents-client
httpcomponents-core
httpcomponents-project
icu4j
imagej
IPAddress
jackson-annotations
jackson-bom
jackson-core
jackson-databind
jackson-dataformats-binary
jackson-dataformats-text
jackson-jaxrs-providers
jackson-modules-base
jackson-parent
jacoco
jacop
jakarta-activation
jakarta-annotations
jakarta-el
jakarta-interceptors
jakarta-json
jakarta-mail
jakarta-oro
jakarta-saaj
jakarta-server-pages
jakarta-servlet
jakarta-xml-ws
janino
jansi1
jargs
javacc-maven-plugin
javacc
java_cup
java-diff-utils
java-dirq
javaewah
java-jd-decompiler
java-mersenne-twister
javapackages-bootstrap
javapackages-tools
javaparser
javapoet
java-runtime-decompiler
java-scrypt
javassist
jaxb-api
jaxb-dtd-parser
jaxb-fi
jaxb-istack-commons
jaxb
jaxb-stax-ex
jaxen
jboss-jaxrs-2.0-api
jboss-logging
jboss-logging-tools
jboss-parent
jchardet
jcip-annotations
jcodings
jcommon
jcommon-serializer
jctools
jcuber
jdeparser
jdependency
jdepend
jdom2
jdom
jericho-html
jetty
jflex
jFormatString
jfreechart
jgit
jglobus
jgoodies-common
jgoodies-forms
jgoodies-looks
jgrapht
jline2
jline
jmock
jmol
jneuroml-core
jnr-constants
jnr-ffi
jnr-netdb
jnr-posix
jnr-x86asm
jol
jolokia-jvm-agent
joni
jopt-simple
jorbis
jpanoramamaker
jsch-agent-proxy
jsch
json_simple
jsr-305
jtidy
junit5
junit
juniversalchardet
jzlib
laf-plugin
lancer
ldapjdk
libbase
libfonts
libformula
liblayout
libloader
librepository
libserializer
libvirt-java
log4j
mariadb-java-client
Mars
maven2
maven-antrun-plugin
maven-archetype
maven-archiver
maven-artifact-transfer
maven-assembly-plugin
maven-clean-plugin
maven-common-artifact-filters
maven-compiler-plugin
maven-dependency-analyzer
maven-dependency-plugin
maven-dependency-tree
maven-doxia
maven-doxia-sitetools
maven-enforcer
maven-file-management
maven-filtering
maven-invoker
maven-invoker-plugin
maven-jar-plugin
maven-mapping
maven-native
maven
maven-parent
maven-patch-plugin
maven-plugin-build-helper
maven-plugin-bundle
maven-plugin-testing
maven-plugin-tools
maven-remote-resources-plugin
maven-reporting-api
maven-reporting-impl
maven-resolver
maven-resources-plugin
maven-scm
maven-script-interpreter
maven-shade-plugin
maven-shared-incremental
maven-shared-io
maven-shared-utils
maven-source-plugin
maven-surefire
maven-verifier
maven-verifier-plugin
maven-wagon
miglayout
mockito
modello
mojo-executor
mojo-parent
munge-maven-plugin
mxparser
mysql-connector-java
naga
nekohtml
nom-tam-fits
objectweb-asm
objenesis
ongres-scram
ongres-stringprep
openas2
openjdk-asmtools
openstack-java-sdk
OpenStego
opentest4j
options
osgi-annotation
osgi-compendium
osgi-core
pcfi
pdfbox
pdftk-java
pentaho-libxml
pentaho-reporting-flow-engine
picocli
plantuml
plexus-active-collections
plexus-archiver
plexus-build-api
plexus-cipher
plexus-classworlds
plexus-compiler
plexus-component-api
plexus-components-pom
plexus-containers
plexus-i18n
plexus-interpolation
plexus-io
plexus-languages
plexus-pom
plexus-resources
plexus-sec-dispatcher
plexus-utils
plexus-velocity
pomchecker
portlet-2.0-api
postgresql-jdbc
procyon
proguard
prometheus-jmx-exporter
prometheus-simpleclient-java
py4j
python-javaobj
qdox
rachota
reflections
regexp
replacer
resteasy
rhino
rsyntaxtextarea
rundoc
sac
sat4j
sblim-cim-client2
sblim-cim-client
scalacheck
scala
scannotation
sequence-library
serp
shaman
sisu-mojos
sisu
slf4j
snakeyaml
snip
spec-version-maven-plugin
spice-parent
sqljet
stringtemplate4
string-template-maven-plugin
stringtemplate
svnkit
swing-layout
system-rules
taggle
tagsoup
t-digest
test-interface
testng
texlive
tomcatjss
tomcat
tomcat-taglibs-parent
treelayout
trilead-ssh2
truth
univocity-parsers
uom-parent
vecmath1.2
velocity
vim-syntastic
voms-api-java
voms-clients-java
weld-parent
ws-commons-util
wsdl4j
xalan-j2
xbean
xerces-j2
xjparse
xml-commons-apis
xml-commons-resolver
xmlgraphics-commons
xml-maven-plugin
xmlpull
xmlstreambuffer
xmltool
xmlunit
xmpcore
xmvn-connector-ivy
xmvn
xstream
xz-java
yuicompressor

direct arch-full java dependencies

abrt-java-connector
antlr3
antlr4-project
antlr
apron
arduino-listSerialPortsC
astyle
AusweisApp2
bigloo
bolzplatz2006
brltty
capstone
ceph
chromium
cocoalib
collectd
cryptlib
csound
cvc4
DecodeIR
diffoscope
dl_poly
dogtag-pki
eclipse-swt
erlang
erlang-corba
freewrl
frysk
gdal
gdl
genders
gnulib
graphviz
hdf5
hdf
healpix
hyperestraier
icecat
jansi
jansi-native
java-11-openjdk
java-17-openjdk
java-1.8.0-openjdk
java-gnome
jblas
jffi
jigawatts
jna
jni-inchi
jpcap
jpype
jss
jssc
kawa
kernel-tools
libbluray
libgda
libidn
libphidget
libreoffice
libsvm
libwebp
link-grammar
mapserver
mecab-java
mp
nailgun
ocaml-atd
octave
opencv
openjfx8
openjfx
openmpi
openni
pcl
pl
plplot
portmidi
ppl
protobuf
python-javabridge
python-jep
python-jnius
qdbm
R
rstudio
scalpel
sdljava
seqan2
seqan
Singular
sphinx
subversion
systemtap
tomcat-native
tuxguitar
tzdata
vtk
will-crash
writer2latex
z3
zbar

From those, subversion is handled separately: https://bugzilla.redhat.com/show_bug.cgi?id=2103909