Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-6308

The serialsim package does not compile on RHEL 10 / CentOS 10

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 0
    • None
    • None
    • uShift Sprint 279, uShift Sprint 280
    • None
    • None
    • None

      Description of problem:

      The serialsim package fails to compile on kernel 6.12.x

      Version-Release number of selected component (if applicable):

      4.21 / main 

      How reproducible:

      100%

      Actual results:

      The optional bootc images cannot be built on RHEL 10 / CentOS 10

      Expected results:

      The optional bootc image build must work on RHEL 10 / CentOS 10

      Additional info:

      make -C /lib/modules/6.12.0-55.42.1.el10_0.x86_64/build M=/tmp/serialsim modules
      make[1]: Entering directory '/usr/src/kernels/6.12.0-55.42.1.el10_0.x86_64'
        CC [M]  /tmp/serialsim/serialsim.o
      /tmp/serialsim/serialsim.c:101:25: error: field 'buf' has incomplete type
        101 |         struct circ_buf buf;
            |                         ^~~
      /tmp/serialsim/serialsim.c: In function 'serialsim_transfer_data':
      /tmp/serialsim/serialsim.c:392:45: error: 'struct uart_state' has no member named 'xmit'
        392 |         struct circ_buf *cbuf = &port->state->xmit;
            |                                             ^~

              ggiguash@redhat.com Gregory Giguashvili
              ggiguash@redhat.com Gregory Giguashvili
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: