PDA

View Full Version : SLES 12 SP4 wrong BuildRequire name in glibc.spec (glibc srcpackage)



zrlw
12-Apr-2019, 01:46
glibc.spec (glibc srcpackage) has a wrong buildrequire name: systemtap-headers (not exists in all repositories), it should be systemtap-sdt-devel.

Version: glibc-2.22-15.3.x86_64

malcolmlewis
12-Apr-2019, 03:06
Hi
I see both here for SLE 12 and 15;
https://download.suse.com/Download?buildid=9pOnrWLWUmQ~

In SLES 15 it's in the SLE-Module-DevTools15-Updates for x86_64 repository

zrlw
19-Apr-2019, 05:59
In /etc/SuSE-released:
Versions=12
PATCHLEVEL=4

# zypper repos
show both SDK and Sever repositories of SLES12-SP4 enabled.

# zypper search systemtap-headers
No matching items found.

I thought systemtap-headers*.rpm should be in SDK1 or SDK2.iso, but i searched all 12-SP4 iso files and found nothing:
SLE-12-SP4-Server-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-Server-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-SDK-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-SDK-DVD-x86_64-GM-DVD2.iso

Do you means i had to manully download systemtap-headers-3.2-7.3.2.x86_64.rpm from SuSE? why?

zrlw
19-Apr-2019, 10:12
SLE-12-SP4-Server-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-Server-DVD-x86_64-GM-DVD2.iso <==== correct name
SLE-12-SP4-SDK-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-SDK-DVD-x86_64-GM-DVD2.iso

malcolmlewis
19-Apr-2019, 13:32
In /etc/SuSE-released:
Versions=12
PATCHLEVEL=4

# zypper repos
show both SDK and Sever repositories of SLES12-SP4 enabled.

# zypper search systemtap-headers
No matching items found.

I thought systemtap-headers*.rpm should be in SDK1 or SDK2.iso, but i searched all 12-SP4 iso files and found nothing:
SLE-12-SP4-Server-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-Server-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-SDK-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-SDK-DVD-x86_64-GM-DVD2.iso

Do you means i had to manully download systemtap-headers-3.2-7.3.2.x86_64.rpm from SuSE? why?
Hi
Can you register the server to get to the online repositories, else yes it will be quicker to download manually.

zrlw
19-Apr-2019, 15:54
i can't because these server are isolated in internal network.
i modified glibc.spec file by replace the BuildRequire name 'systemtap-headers' with 'systemtap-sdt-devel' and rpmbuild it, all samed ok now.