Re: [OS-BUILD PATCH 0/3] redhat/spec: Fix samples/bpf build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jan Stancek on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3738#note_2400152035

```
$ mock -N --resultdir=/home/jstancek/tmp/rpm -r fedora-eln-x86_64 --without
cross_headers --without doc --without kabidw_base --without trace --without
zfcpdump --without arm64_16k --without arm64_64k --without up --without base
--without debug --without realtime /home/jstancek/kernel-
ark/redhat/rpm/SRPMS/kernel-6.14.0-0.rc6.48.test.fc40.src.rpm

...
+ '[' -f /builddir/build/BUILD/kernel-6.14.0-build/BUILDROOT/usr/src/kernels/6
.14.0-0.rc6.48.test.eln146.x86_64/vmlinux.h ']'
+ echo ''
kernel.spec:3162: start build selftests
kernel.spec:3166: install headers for selftests
+ /usr/bin/make -s 'HOSTCFLAGS=-O2  -fexceptions -g -grecord-gcc-switches
-pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-
protection -fcf-protection -mtls-dialect=gnu2   ' 'HOSTLDFLAGS=-Wl,-z,relro
-Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1
-specs=/usr/lib/rpm/redhat/redhat-package-notes ' -j48 headers_install
+ '[' '!' -f include/generated/autoconf.h ']'
kernel.spec:3173: modules_prepare for selftests
+ /usr/bin/make -s 'HOSTCFLAGS=-O2  -fexceptions -g -grecord-gcc-switches
-pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-prot
ector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64
-march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-
protection -fcf-protection -mtls-dialect=gnu2   ' 'HOSTLDFLAGS=-Wl,-z,relro
-Wl,--as-needed  -Wl,
-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-
ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1
-specs=/usr/lib/rpm/redhat/redhat-package-notes ' -j48 modules_prepare
kernel.spec:3177: build samples/bpf
++ pwd
+ /usr/bin/make -s 'HOSTCFLAGS=-O2  -fexceptions -g -grecord-gcc-switches
-pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-prot
ector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64
-march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-
protection -fcf-protection -mtls-dialect=gnu2   ' 'HOSTLDFLAGS=-Wl,-z,relro
-Wl,--as-needed  -Wl,
-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-
ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1
-specs=/usr/lib/rpm/redhat/redhat-package-notes ' -j48 'EXTRA_CXXFLAGS=-O2
-fexceptions
-g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-
security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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-v3 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-
dialect=gnu2  ' 'TPROGS_USER_CFLAGS=-O2  -fexceptions -g -grecord-gcc-switches
-pipe -Wa
ll -Wno-complain-wrong-lang -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-
clash-protection -fcf-protection -mtls-dialect=gnu2  '
'TPROGS_USER_LDFLAGS=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs
-Wl,-z,now -specs=/usr/lib/
rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' BPFTOOL=
/builddir/build/BUILD/kernel-6.14.0-build/kernel-6.14-rc6/linux-6.14.0-0.rc6.4
8.te
st.eln146.x86_64/tools/bpf/bpftool/bootstrap/bpftool ARCH=x86_64 V=1
M=samples/bpf/ VMLINUX_H=
make[3]: *** No rule to make target '/builddir/build/BUILD/kernel-6.14.0-build
/kernel-6.14-rc6/linux-6.14.0-0.rc6.48.test.eln146.x86_64/tools/bpf/bpftool/bo
otstrap/bpftool', needed by 'vmlinux.h'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/builddir/build/BUILD/kernel-6.14.0-build/kernel-6.14-rc6/linux-
6.14.0-0.rc6.48.test.eln146.x86_64/Makefile:2040: .] Error 2
make[1]: *** [/builddir/build/BUILD/kernel-6.14.0-build/kernel-6.14-rc6/linux-
6.14.0-0.rc6.48.test.eln146.x86_64/Makefile:263: __sub-make] Error 2
make: *** [Makefile:263: __sub-make] Error 2
```

-- 
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux