proeprly filing debugsources pkg by addedd symlinks restructuring the structure for original build sources
according to logs, some are still missing probably generated during the build, and thus not existing in prep, when the sources subpkg is created after patching DWARF-compressing 219 files sepdebugcrcfix: Updated 219 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/java-latest-openjdk-21.0.1.0.12-2.rolling.fc39.x86_64 cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_clone.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_expand.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_format.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_gen.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_misc.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_peephole.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_pipeline.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/adfiles/dfa_x86.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventControl.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventIds.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrPeriodic.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmti.h: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnter.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnterTrace.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnv.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/support/headers/java.base/java_net_Inet4AddressImpl.h: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/support/headers/java.base/java_net_InetAddress.h: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/support/modules_include/java.base/classfile_constants.h: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/support/modules_include/java.base/jni.h: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/support/modules_include/java.base/jvmti.h: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/support/modules_include/java.base/jvmticmlr.h: Cannot stat: No such file or directory cpio: build/jdk21.build-fastdebug/support/modules_include/java.base/linux/jni_md.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_clone.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_expand.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_format.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_gen.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_misc.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_peephole.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/ad_x86_pipeline.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/adfiles/dfa_x86.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventControl.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventIds.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrPeriodic.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmti.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnter.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnterTrace.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnv.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/support/headers/java.base/java_net_Inet4AddressImpl.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/support/headers/java.base/java_net_InetAddress.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/support/modules_include/java.base/classfile_constants.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/support/modules_include/java.base/jni.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/support/modules_include/java.base/jvmti.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/support/modules_include/java.base/jvmticmlr.h: Cannot stat: No such file or directory cpio: build/jdk21.build-slowdebug/support/modules_include/java.base/linux/jni_md.h: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86_clone.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86_expand.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86_format.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86_gen.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86_misc.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86_peephole.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/ad_x86_pipeline.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/adfiles/dfa_x86.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jfrfiles/jfrEventControl.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jfrfiles/jfrEventIds.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jfrfiles/jfrPeriodic.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jvmtifiles/jvmti.h: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnter.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnterTrace.cpp: Cannot stat: No such file or directory cpio: build/jdk21.build/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnv.hpp: Cannot stat: No such file or directory cpio: build/jdk21.build/support/headers/java.base/java_net_Inet4AddressImpl.h: Cannot stat: No such file or directory cpio: build/jdk21.build/support/headers/java.base/java_net_InetAddress.h: Cannot stat: No such file or directory cpio: build/jdk21.build/support/modules_include/java.base/classfile_constants.h: Cannot stat: No such file or directory cpio: build/jdk21.build/support/modules_include/java.base/jni.h: Cannot stat: No such file or directory cpio: build/jdk21.build/support/modules_include/java.base/jvmti.h: Cannot stat: No such file or directory cpio: build/jdk21.build/support/modules_include/java.base/jvmticmlr.h: Cannot stat: No such file or directory cpio: build/jdk21.build/support/modules_include/java.base/linux/jni_md.h: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/NONE: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-buffer-deserialize-json.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-buffer-deserialize-json.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-buffer-deserialize-text-glyphs.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-buffer-deserialize-text-glyphs.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-buffer-deserialize-text-unicode.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-buffer-deserialize-text-unicode.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-number-parser.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-number-parser.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-indic-machine.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-indic-machine.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-khmer-machine.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-khmer-machine.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-myanmar-machine.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-myanmar-machine.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-use-machine.hh: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hb-ot-shaper-use-machine.rl: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/adGlobals_x86.hpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86.hpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86_clone.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86_expand.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86_format.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86_gen.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86_misc.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86_peephole.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/ad_x86_pipeline.cpp: Cannot stat: No such file or directory cpio: jdk-21.0.1+12/make/hotspot/dfa_x86.cpp: Cannot stat: No such file or directory 133442 blocks find-debuginfo: done
This commit is contained in:
parent
416e642906
commit
8814c049fe
@ -328,7 +328,7 @@
|
||||
%global top_level_dir_name %{vcstag}
|
||||
%global top_level_dir_name_backup %{top_level_dir_name}-backup
|
||||
%global buildver 12
|
||||
%global rpmrelease 2
|
||||
%global rpmrelease 3
|
||||
# Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit
|
||||
%if %is_system_jdk
|
||||
# Using 10 digits may overflow the int used for priority, so we combine the patch and build versions
|
||||
@ -1781,6 +1781,16 @@ done
|
||||
done
|
||||
|
||||
%build
|
||||
# we need to symlink sources to expected lcoation, so debuginfo strip can locate debugsources
|
||||
src_image=`ls -d %{compatiblename}*%{version}*portable.sources.noarch`
|
||||
ln -s $src_image/%{vcstag} %{vcstag} # this one shpuld be enoug
|
||||
# cpio is complaining baout several files from build dir. Attempt here, but seems not to be correct
|
||||
# as those sources are generated during build and so it have to be fixed in portables first
|
||||
mkdir build
|
||||
cd build
|
||||
ln -s ../$src_image/%{vcstag}/src jdk21.build
|
||||
ln -s ../$src_image/%{vcstag}/src jdk21.build-fastdebug
|
||||
ln -s ../$src_image/%{vcstag}/src jdk21.build-slowdebug
|
||||
|
||||
%install
|
||||
function installjdk() {
|
||||
@ -2392,6 +2402,13 @@ cjc.mainProgram(args)
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Nov 22 2023 Jiri Vanek <jvanek@redhat.com> - 1:21.0.1.0.12-3.rolling
|
||||
- proeprly filing debugsources pkg
|
||||
by addedd symlinks restructuring the structure for original build sources
|
||||
- according to logs, some are still missing
|
||||
probably generated during the build, and thus not existing in prep,
|
||||
when the sources subpkg is created after patching
|
||||
|
||||
* Wed Nov 22 2023 Jiri Vanek <jvanek@redhat.com> - 1:21.0.1.0.12-2.rolling
|
||||
- added setup and thus enabled debuginfo strip
|
||||
- note, that debugsources are now empty. Symlink from full sourcess to build/jdk21.build or build/vcstag is needed
|
||||
|
Loading…
Reference in New Issue
Block a user