Transition to the devkit build by not defining pkgos
- Exempt x86_64 from the static libs debuginfo test until portable uses an older DWARF version Resolves: RHEL-74404
This commit is contained in:
		
							parent
							
								
									a4b4e8e081
								
							
						
					
					
						commit
						57b81b63ec
					
				| @ -356,7 +356,7 @@ | ||||
| # Define the OS the portable JDK is built on | ||||
| # This is undefined for CentOS & openjdk-portable-rhel-8 builds and | ||||
| # equals 'rhel7' for openjdk-portable-rhel-7 builds | ||||
| %if 0%{?centos} == 0 | ||||
| %if 0 | ||||
| %global pkgos rhel7 | ||||
| %endif | ||||
| 
 | ||||
| @ -366,9 +366,9 @@ | ||||
| %global top_level_dir_name   %{vcstag} | ||||
| %global top_level_dir_name_backup %{top_level_dir_name}-backup | ||||
| %global buildver        11 | ||||
| %global rpmrelease      2 | ||||
| %global rpmrelease      3 | ||||
| # Settings used by the portable build | ||||
| %global portablerelease 1 | ||||
| %global portablerelease 2 | ||||
| # Portable suffix differs between RHEL and CentOS | ||||
| %if 0%{?centos} == 0 | ||||
| %global portablesuffix %{?pkgos:el7_9}%{!?pkgos:el8} | ||||
| @ -2098,10 +2098,13 @@ if ! nm ${alt_java_binary} | grep prctl ; then true ; else false; fi | ||||
| 
 | ||||
| %if %{include_staticlibs} | ||||
| # Check debug symbols in static libraries (smoke test) | ||||
| # Temporary workaround for debuginfo failure on x86_64 with devkit build | ||||
| %ifnarch x86_64 | ||||
| export STATIC_LIBS_HOME=${JAVA_HOME}/lib/static/linux-%{archinstall}/glibc | ||||
| readelf --debug-dump $STATIC_LIBS_HOME/libnet.a | grep Inet4AddressImpl.c | ||||
| readelf --debug-dump $STATIC_LIBS_HOME/libnet.a | grep Inet6AddressImpl.c | ||||
| %endif | ||||
| %endif | ||||
| 
 | ||||
| so_suffix="so" | ||||
| # Check debug symbols are present and can identify code | ||||
| @ -2531,6 +2534,11 @@ require "copy_jdk_configs.lua" | ||||
| %endif | ||||
| 
 | ||||
| %changelog | ||||
| * Fri Jan 17 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.5.0.11-3 | ||||
| - Transition to the devkit build by not defining pkgos | ||||
| - Exempt x86_64 from the static libs debuginfo test until portable uses an older DWARF version | ||||
| - Resolves: RHEL-74404 | ||||
| 
 | ||||
| * Wed Oct 16 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.5.0.11-2 | ||||
| - Update to jdk-21.0.5+11 (GA) | ||||
| - Update release notes to 21.0.5+11 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user