[DRBD-user] Building DRBD9 on RHEL8
Shriya Prajapati
prjpshriya12 at gmail.com
Mon Apr 10 14:42:21 CEST 2023
I am trying to build DRBD 9 on RHEL 8. But I am getting errors related to
kernel_module_package.
* GENPATCHNAMES 4.18.0-425.3.1.el8.x86_64*
* SPATCH eefa15f87ca6481caa94489fb6dcb74e 4.18.0-425.3.1.el8.x86_64*
*patching file ./drbd_int.h*
*patching file drbd_dax_pmem.c*
*patching file drbd_bitmap.c*
*patching file drbd_sender.c*
*patching file drbd_transport.c*
*patching file drbd_transport_tcp.c*
*patching file drbd_receiver.c*
*patching file drbd_transport_rdma.c*
*patching file drbd_main.c*
*patching file drbd_nla.c*
*patching file drbd_interval.c*
*patching file drbd_kref_debug.c*
*patching file drbd_actlog.c*
*patching file kref_debug.c*
*patching file drbd_nl.c*
*patching file drbd_req.c*
*patching file drbd_proc.c*
*patching file drbd_state.c*
*patching file drbd_transport_template.c*
*patching file drbd_debugfs.c*
*At main.c:160:*
*- SSL error:02001002:system library:fopen:No such file or directory:
crypto/bio/bss_file.c:69*
*- SSL error:2006D080:BIO routines:BIO_new_file:no such file:
crypto/bio/bss_file.c:76*
*sign-file: certs/signing_key.pem: No such file or directory*
*At main.c:160:*
*- SSL error:02001002:system library:fopen:No such file or directory:
crypto/bio/bss_file.c:69*
*- SSL error:2006D080:BIO routines:BIO_new_file:no such file:
crypto/bio/bss_file.c:76*
*sign-file: certs/signing_key.pem: No such file or directory*
*At main.c:160:*
*- SSL error:02001002:system library:fopen:No such file or directory:
crypto/bio/bss_file.c:69*
*- SSL error:2006D080:BIO routines:BIO_new_file:no such file:
crypto/bio/bss_file.c:76*
*sign-file: certs/signing_key.pem: No such file or directory*
*depmod: WARNING: could not open
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/modules.order:
No such file or directory*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol __ib_alloc_pd*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_resolve_addr*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_reject*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_disconnect*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol __rdma_create_kernel_id*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_resolve_route*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_bind_addr*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_create_qp*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_listen*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_destroy_qp*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol __ib_create_cq*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol ib_destroy_cq_user*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_connect*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol ib_modify_qp*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_destroy_id*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_accept*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol ib_dealloc_pd_user*
*depmod: WARNING:
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd.ko
needs unknown symbol crc32c*
*depmod: WARNING: could not open
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/modules.builtin:
No such file or directory*
*+ '[' '!' -z '' ']'*
*+ :*
*+ popd*
*/scratchpad/workdirs/rapraja/build/RPM/BUILD/drbd-9.23.1*
*+ /usr/lib/rpm/redhat/brp-ldconfig*
*/sbin/ldconfig: Warning: ignoring configuration file that cannot be
opened: /etc/ld.so.conf: No such file or directory*
*+ /usr/lib/rpm/brp-compress*
*+ /usr/lib/rpm/brp-strip /usr/bin/strip*
*+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump*
*+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip*
*+ /usr/lib/rpm/brp-python-bytecompile '' 1*
*+ /usr/lib/rpm/brp-python-hardlink*
*+ PYTHON3=/usr/libexec/platform-python*
*+ /usr/lib/rpm/redhat/brp-mangle-shebangs*
*Processing files: drbd-9.23.1-1prerel0.69450.x86_64*
*error: File must begin with "/": %kernel_module_package*
*error: File must begin with "/": %kernel_module_package*
*Executing(%doc): /bin/sh -e
/scratchpad/workdirs/rapraja/tmp/rpm-tmp.N8Jl3X*
*+ umask 022*
*+ cd /scratchpad/workdirs/rapraja/build/RPM/BUILD*
*+ cd drbd-9.23.1*
*+
DOCDIR=/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/usr/share/doc/drbd*
*+ export LC_ALL=C*
*+ LC_ALL=C*
*+ export DOCDIR*
*+ /usr/bin/mkdir -p
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/usr/share/doc/drbd*
*+ cp -pr drbd-9.23.1/COPYING
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/usr/share/doc/drbd*
*+ cp -pr drbd-9.23.1/ChangeLog
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/usr/share/doc/drbd*
*+ cp -pr drbd-9.23.1/README.md
/scratchpad/workdirs/rapraja/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/usr/share/doc/drbd*
*+ exit 0*
*RPM build errors:*
* Macro expanded in comment on line 36: %{?lb_flavors}*
* Macro expanded in comment on line 65: %{?lb_flavors}*
* File must begin with "/": %kernel_module_package*
* File must begin with "/": %kernel_module_package*
*make[1]: *** [/usr/TKLC/build/make/rpm.core.make:198: build_rpm] Error 1*
*make: *** [/usr/TKLC/build/make/rpm.core.make:154: rpm] Error 2*
*ERROR: Make failed!*
*ERROR: RC: 2*
*ERROR: CMD: /usr/bin/make -s -f pkg-Linux.make rpm*
*ERROR: MAKEFILE: pkg-Linux.make*
*[root at hostname7bbd38e47520 drbd(x86_64)]$*
I couldn't find any solution for this issue. Could you please provide your
inputs on how to proceed from here as we are stuck.
Thanks & Regards
Shriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20230410/ba78fae2/attachment.htm>
More information about the drbd-user
mailing list