Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-46699

[RHEL10.0] libnvme unit test compiling failed due to "fatal error: openssl/engine.h: No such file or directory"

    • libnvme-1.9-3.el10
    • Yes
    • None
    • rhel-sst-storage-io
    • ssg_filesystems_storage_and_HA
    • 22
    • 24
    • 2
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      libnvme-1.9-2.el10.x86_64
      openssl-3.2.2-6.el10.x86_64

      How reproducible:

      100%

      Steps to reproduce

      Expected results

      Actual results

      The same test pass on rhel9.5

      beaker job: https://beaker.engineering.redhat.com/recipes/16510170#tasks

      [root@storageqe-62 .build]# pwd
      /root/rpmbuild/BUILD/libnvme-1.9/.build
      [root@storageqe-62 .build]# meson test
      ninja: Entering directory `/root/rpmbuild/BUILD/libnvme-1.9/.build'
      [4/27] Compiling C object src/libnvme.so.1.9.0.p/nvme_linux.c.o
      FAILED: src/libnvme.so.1.9.0.p/nvme_linux.c.o
      cc -Isrc/libnvme.so.1.9.0.p -Isrc -I../src -I. -I.. -Iccan -I../ccan -Iinternal -I../internal -I/usr/include/json-c -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -fomit-frame-pointer -D_GNU_SOURCE -include /root/rpmbuild/BUILD/libnvme-1.9/.build/internal/config.h -fPIC -MD -MQ src/libnvme.so.1.9.0.p/nvme_linux.c.o -MF src/libnvme.so.1.9.0.p/nvme_linux.c.o.d -o src/libnvme.so.1.9.0.p/nvme_linux.c.o -c ../src/nvme/linux.c
      ../src/nvme/linux.c:21:10: fatal error: openssl/engine.h: No such file or directory
         21 | #include <openssl/engine.h>
            |          ^~~~~~~~~~~~~~~~~~
      compilation terminated.
      

              mlombard@redhat.com Maurizio Lombardi
              yizhan@redhat.com Yi Zhang
              Maurizio Lombardi Maurizio Lombardi
              Yi Zhang Yi Zhang
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: