Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-190

Syscalls: nrdiff compare scripts/sign-file.c:30:10: fatal error: openssl/engine.h: No such file or directory

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      This issue was originally created at 2024-07-31T10:17:10.848Z as a Gitlab issue:
      https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/1972

      1. Snippet of test failure

      + make prepare
      make[1]: Entering directory '/mnt/testarea/S1CBcVdu/linux.git'
      SYSHDR arch/powerpc/include/generated/uapi/asm/unistd_32.h
      SYSHDR arch/powerpc/include/generated/uapi/asm/unistd_64.h
      SYSTBL arch/powerpc/include/generated/asm/syscall_table_32.h
      SYSTBL arch/powerpc/include/generated/asm/syscall_table_64.h
      SYSTBL arch/powerpc/include/generated/asm/syscall_table_spu.h
      HOSTCC scripts/dtc/dtc.o
      HOSTCC scripts/dtc/flattree.o
      HOSTCC scripts/dtc/fstree.o
      HOSTCC scripts/dtc/data.o
      HOSTCC scripts/dtc/livetree.o
      HOSTCC scripts/dtc/treesource.o
      HOSTCC scripts/dtc/srcpos.o
      HOSTCC scripts/dtc/checks.o
      HOSTCC scripts/dtc/util.o
      LEX scripts/dtc/dtc-lexer.lex.c
      YACC scripts/dtc/dtc-parser.tab.[ch]
      HOSTCC scripts/dtc/dtc-lexer.lex.o
      HOSTCC scripts/dtc/dtc-parser.tab.o
      HOSTLD scripts/dtc/dtc
      HOSTCC scripts/dtc/libfdt/fdt.o
      HOSTCC scripts/dtc/libfdt/fdt_ro.o
      HOSTCC scripts/dtc/libfdt/fdt_wip.o
      HOSTCC scripts/dtc/libfdt/fdt_sw.o
      HOSTCC scripts/dtc/libfdt/fdt_rw.o
      HOSTCC scripts/dtc/libfdt/fdt_strerror.o
      HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o
      HOSTCC scripts/dtc/libfdt/fdt_addresses.o
      HOSTCC scripts/dtc/libfdt/fdt_overlay.o
      HOSTCC scripts/dtc/fdtoverlay.o
      HOSTLD scripts/dtc/fdtoverlay
      HOSTCC scripts/genksyms/genksyms.o
      YACC scripts/genksyms/parse.tab.[ch]
      HOSTCC scripts/genksyms/parse.tab.o
      LEX scripts/genksyms/lex.lex.c
      HOSTCC scripts/genksyms/lex.lex.o
      HOSTLD scripts/genksyms/genksyms
      HOSTCC scripts/selinux/genheaders/genheaders
      HOSTCC scripts/selinux/mdp/mdp
      HOSTCC scripts/kallsyms
      HOSTCC scripts/sorttable
      HOSTCC scripts/asn1_compiler
      HOSTCC scripts/sign-file
      scripts/sign-file.c:30:10: fatal error: openssl/engine.h: No such file or directory
      30 | #include <openssl/engine.h>

      ^~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[3]: *** [scripts/Makefile.host:116: scripts/sign-file] Error 1
      make[2]: *** [/mnt/testarea/S1CBcVdu/linux.git/Makefile:1177: scripts] Error 2
      make[1]: *** [Makefile:224: __sub-make] Error 2
      make[1]: Leaving directory '/mnt/testarea/S1CBcVdu/linux.git'
      + '[' 2 -ne 0 ']'
      + echo 'Failed building kernel headers'
      Failed building kernel headers
      1. Test logs on DataWarehouse

      ppc64le: https://datawarehouse.cki-project.org/kcidb/tests/13640828
      s390x: https://datawarehouse.cki-project.org/kcidb/tests/13641081

      1. DataWarehouse issue

      None that I am aware of.

      1. Additional details

      This has been going on for some time:

      https://datawarehouse.cki-project.org/details/test/1023?result=FAIL&tree=c10s

      This is similar to !1957 but the workaround there of including the `openssl-devel-engine` package does not apply to c10s because that package is a fedora-only item and c10s has no plans to include it.

      In kernel-ark we have a workaround that removes the openssl-engine.h dependency: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3223

      But afaict this test is pulling upstream linus tree and that still has the dependency.

      **In case opening the links above result in a 404 page on DataWarehouse, please
      make sure you are [correctly logged into DataWarehouse via Red Hat SSO](
      https://cki-project.org/l/datawarehouse-404).**

              rhn-support-liwan Li Wang
              rhn-support-ptalbert Patrick Talbert
              Hu Chunyu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: