ponyfleisch / hid-magictrackpad2

An attempt to get solid Magic Trackpad 2 support on linux.
GNU General Public License v2.0
32 stars 4 forks source link

DKMS package does not install on Ubuntu 18.04 #9

Open CL0SeY opened 6 years ago

CL0SeY commented 6 years ago

I'm getting the following output. /var/lib/dkms/hid/4.4+magictrackpad2/build/make.log attached

> sudo dpkg -i magictrackpad2-dkms_1.0.0_all.deb                                                                  
(Reading database ... 188655 files and directories currently installed.)
Preparing to unpack magictrackpad2-dkms_1.0.0_all.deb ...

-------- Uninstall Beginning --------
Module:  bcm5974
Version: 4.4+magictrackpad2
Kernel:  4.15.0-29-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

bcm5974.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.15.0-29-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

Backing up initrd.img-4.15.0-29-generic to /boot/initrd.img-4.15.0-29-generic.old-dkms
Making new initrd.img-4.15.0-29-generic
(If next boot fails, revert to initrd.img-4.15.0-29-generic.old-dkms image)
update-initramfs...^[[5~^[[5~....

DKMS: uninstall completed.

------------------------------
Deleting module version: 4.4+magictrackpad2
completely from the DKMS tree.
------------------------------
Done.

------------------------------
Deleting module version: 4.4+magictrackpad2
completely from the DKMS tree.
------------------------------
Done.
Unpacking magictrackpad2-dkms (1.0.0) over (1.0.0) ...
Setting up magictrackpad2-dkms (1.0.0) ...

Creating symlink /var/lib/dkms/bcm5974/4.4+magictrackpad2/source ->
                 /usr/src/bcm5974-4.4+magictrackpad2

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=4.15.0-29-generic KERNEL_VERSION=4.15.0-29-generic all...
Signing module:
 - /var/lib/dkms/bcm5974/4.4+magictrackpad2/4.15.0-29-generic/x86_64/module/bcm5974.ko
This system does't support Secure Boot
Secure Boot not enabled on this system.
cleaning build area...

DKMS: build completed.

bcm5974:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/4.15.0-29-generic/updates/dkms/

depmod...

Backing up initrd.img-4.15.0-29-generic to /boot/initrd.img-4.15.0-29-generic.old-dkms
Making new initrd.img-4.15.0-29-generic
(If next boot fails, revert to initrd.img-4.15.0-29-generic.old-dkms image)
update-initramfs.......

DKMS: install completed.

Creating symlink /var/lib/dkms/hid/4.4+magictrackpad2/source ->
                 /usr/src/hid-4.4+magictrackpad2

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=4.15.0-29-generic -C /lib/modules/4.15.0-29-generic/build SUBDIRS=/var/lib/dkms/hid/4.4+magictrackpad2/build modules...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.15.0-29-generic (x86_64)
Consult /var/lib/dkms/hid/4.4+magictrackpad2/build/make.log for more information.
dpkg: error processing package magictrackpad2-dkms (--install):
 installed magictrackpad2-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 magictrackpad2-dkms

make.log

seefood commented 6 years ago

+1 Any chance of helping us getting it up and running for 18.04.1?