View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001423 | channel: kernel/el9 | kernel-ml | public | 2024-01-26 03:55 | 2024-03-20 14:05 |
Reporter | faramirza | Assigned To | toracat | ||
Priority | low | Severity | major | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Summary | 0001423: Compiling src rpm for EL9 fails to locate .package_note-kernel-ml-6.7.1-1.amzn2023.x86_64.ld on Amazon Linux AL2023 | ||||
Description | I tried to compile the latest kernel 6.7.1 ml from the Source RPM on Amazon Linux 2023. The .package_note-kernel-ml-6.7.1-1.amzn2023.x86_64.ld files is looked for in /home/danie/rpmbuild/BUILD/ by the linker but the file is actually in /home/danie/rpmbuild/BUILD/kernel-ml-6.7.1/ I copied to linker script to /home/danie/rpmbuild/BUILD/ and tried again. It failed as can be seen here: + cd kernel-ml-6.7.1 + pushd linux-6.7.1-1.amzn2023.x86_64 + cp config-6.7.1-x86_64 .config + /usr/bin/make -s ARCH=x86_64 oldconfig + /usr/bin/make -s 'HOSTCFLAGS=-O2 -ftree-vectorize -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/home/danie/rpmbuild/BUILD/.package_note-kernel-ml-6.7.1-1.amzn2023.x86_64.ld' -j4 ARCH=x86_64 bzImage /usr/bin/ld: cannot open linker script file /home/danie/rpmbuild/BUILD/.package_note-kernel-ml-6.7.1-1.amzn2023.x86_64.ld: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [scripts/Makefile.host:116: scripts/basic/fixdep] Error 1 make[1]: *** [/home/danie/rpmbuild/BUILD/kernel-ml-6.7.1/linux-6.7.1-1.amzn2023.x86_64/Makefile:621: scripts_basic] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:234: __sub-make] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.dawpDT (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dawpDT (%build) | ||||
Steps To Reproduce | 1. install all dependencies. 2. run rpmbuild -ba SPECS/kernel-ml-6.7.spec | ||||
Additional Information | I fully understand that AL2023 is not supported and if this gets closed. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-26 03:55 | faramirza | New Issue | |
2024-01-26 03:55 | faramirza | Status | new => assigned |
2024-01-26 03:55 | faramirza | Assigned To | => toracat |
2024-03-20 14:05 | toracat | Status | assigned => closed |
2024-03-20 14:05 | toracat | Resolution | open => won't fix |
2024-03-20 14:05 | toracat | Note Added: 0009616 |