New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make on SPDK fails with meson on RHEL/CentOS8 on 20.07 #1608
Comments
[Bug scrub] @smijolovic Could you please try latest SPDK as well to confirm ? |
Couple of things to note:
This particular build would require That said, I've run the build against latest master ( |
Upgraded to nasm 2.15.05 and still see the same issue: Message: drivers/mempool/ring: Defining dependency "mempool_ring" Code: Compiler stderr: Library IPSec_MB found: YES Code:
IMB_VERSION_STR Compiler stderr: drivers/crypto/aesni_mb/meson.build:13:1: ERROR: Could not get define 'IMB_VERSION_STR' Make command line links to the intel-ipsec-mb directory...which is where the header file is....but still errors out. |
@smijolovic Have you tried to nuke the repo, clone it fresh, update submodules, and then try to compile? Asking since I simply cannot reproduce it on my own setup (testing it against latest master and directly on top of |
[Bug Scrub] I'm going to close this issue, you can reopen it if the issue still exists. |
sudo -E dnf install intel-ipsec-mb.x86_64 intel-ipsec-mb-devel.x86_64 should address it |
./configure --enable-debug --without-isal --with-iscsi-initiator --with-rdma --disable-tests --with-crypto
make
Message: drivers/mempool/ring: Defining dependency "mempool_ring"
Library IPSec_MB found: YES
drivers/crypto/aesni_mb/meson.build:13:1: ERROR: Could not get define 'IMB_VERSION_STR'
A full log can be found at /home/rpmbuild/nimbus8/mayastor-build/mayastor-0.4.0/Mayastor/spdk-sys/spdk/dpdk/build-tmp/meson-logs/meson-log.txt
make[1]: *** [Makefile:149: /home/rpmbuild/nimbus8/mayastor-build/mayastor-0.4.0/Mayastor/spdk-sys/spdk/dpdk/build-tmp] Error 1
make: *** [/home/rpmbuild/nimbus8/mayastor-build/mayastor-0.4.0/Mayastor/spdk-sys/spdk/mk/spdk.subdirs.mk:44: dpdkbuild] Error 2
Log shows:
Library IPSec_MB found: YES
Running compile:
Working directory: /home/rpmbuild/nimbus8/mayastor-build/tmp/tmp9el0bz2b
Command line: cc /home/rpmbuild/nimbus8/mayastor-build/tmp/tmp9el0bz2b/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -E -P -O0
Code:
IMB_VERSION_STR
Compiler stdout:
Compiler stderr:
/home/rpmbuild/nimbus8/mayastor-build/tmp/tmp9el0bz2b/testfile.c:2:17: fatal error: intel-ipsec-mb.h: No such file or directory
#include<intel-ipsec-mb.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
drivers/crypto/aesni_mb/meson.build:13:1: ERROR: Could not get define 'IMB_VERSION_STR'
The file is in the spdk directory:
[rpmbuild@localhost spdk]$ find . -name intel-ipsec-mb.h
./intel-ipsec-mb/intel-ipsec-mb.h
20.04.1 and below makes clean...meson and these build systems aren't exactly making things easier.
The text was updated successfully, but these errors were encountered: