[kernel-bugs] [Bug 1179015] New: [rpm4.16] kernel-source build fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1179015 Bug ID: 1179015 Summary: [rpm4.16] kernel-source build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- RPM 4.16 has an implicit rm -f %{buildroot} as first command when the %install section starts. This means that any adjustments to $RPM_BUILD_ROOT during the %prep phase are reverted (build was never supposed to touch RPM_BUILD_ROOT) Kernel-source falls into this trap, as it contains: %build mkdir -p $RPM_BUILD_ROOT/usr/src cd $RPM_BUILD_ROOT/usr/src # Unpack the vanilla kernel sources tar -xf %{S:0} %install This leads to this error in the end: [ 686s] + ln -s /usr/share/doc/packages/kernel-source-5.9.1-7/README.SUSE /home/abuild/rpmbuild/BUILDROOT/kernel-source-5.9.1-7.2.x86_64/usr/src/linux-5.9.1-7/ [ 686s] ln: failed to create symbolic link '/home/abuild/rpmbuild/BUILDROOT/kernel-source-5.9.1-7.2.x86_64/usr/src/linux-5.9.1-7/': No such file or directory [ 686s] error: Bad exit status from /var/tmp/rpm-tmp.pP48cR (%install) -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com