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

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

    Official API - Evok
    2
    3
    1153
    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
          • First post
            Last post