• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    unipi-kernel-modules-dkms (2.76~bookworm) fails to build rtc-unipi.ko

    Scheduled Pinned Locked Moved Official API - Evok
    3 Posts 2 Posters 2.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Achilleas Kotsis
      last edited by

      Setting up unipi-kernel-modules-dkms (2.76~bookworm) ...
      locale: Cannot set LC_MESSAGES to default locale: No such file or directory
      locale: Cannot set LC_ALL to default locale: No such file or directory
      Loading new unipi-2.76~bookworm DKMS files...
      Building for 6.6.51+rpt-rpi-v8
      Building initial module for 6.6.51+rpt-rpi-v8
      Error!  Build of rtc-unipi.ko failed for: 6.6.51+rpt-rpi-v8 (aarch64)
      Make sure the name of the generated module is correct and at the root of the
      build directory, or consult make.log in the build directory
      /var/lib/dkms/unipi/2.76~bookworm/build for more information.
      dpkg: error processing package unipi-kernel-modules-dkms (--configure):
       installed unipi-kernel-modules-dkms package post-installation script subprocess returned error exit status 7
      Errors were encountered while processing:
       unipi-kernel-modules-dkms
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      
      make: Entering directory '/usr/src/linux-headers-6.6.51+rpt-rpi-v8'
      make[2]: *** No rule to make target '/var/lib/dkms/unipi/2.76~bookworm/build/rtc-unipi/src/rtc
      -unipi.o', needed by '/var/lib/dkms/unipi/2.76~bookworm/build/rtc-unipi/rtc-unipi.o'.  Stop.
      make[1]: *** [/usr/src/linux-headers-6.6.51+rpt-common-rpi/Makefile:1946: /var/lib/dkms/unipi/
      2.76~bookworm/build/rtc-unipi] Error 2
      make: *** [/usr/src/linux-headers-6.6.51+rpt-common-rpi/Makefile:246: __sub-make] Error 2
      
      
      1 Reply Last reply
      Reply Quote 0
      • C
        cleve administrators
        last edited by

        Hello @Achilleas-Kotsis,
        why do you use the dkms and not the pre-compiled modules? What is your setup?

        Best regards,
        Kryštof Černý - Unipi engineer

        A 1 Reply Last reply
        Reply Quote 0
        • A
          Achilleas Kotsis @cleve
          last edited by

          @cleve Because I never use precompiled modules on debian based systems if I can help it since dkms was introduced in the '00s, I like the flexibility of not having to match kernels with specific precompiled modules.
          For example, right now on one of my systems:
          unipi-kernel-modules : Depends: linux-image-rpi-v8 (= 1:6.12.20-1+rpt1~bpo12+1) but 1:6.6.74-1+rpt1 is to be installed

          I have multiple rpi3 and rpi4 based neuron systems that I maintain, most are runing raspberry pi os bookworm aarch64. BTW unipi-kernel-modules-dkms=2.70~bookworm builds just fine until at least linux-image-6.6.74+rpt-rpi-v8

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post