oss4-dkms fails to build on Focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oss4 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
New
|
Undecided
|
Unassigned |
Bug Description
ubuntu@dryden:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
ubuntu@dryden:~$ uname -a
Linux dryden 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:22:04 UTC 2020 ppc64le ppc64le ppc64le GNU/Linux
ubuntu@dryden:~$ sudo apt install oss4-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
oss4-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/651 kB of archives.
After this operation, 4920 kB of additional disk space will be used.
Selecting previously unselected package oss4-dkms.
(Reading database ... 100504 files and directories currently installed.)
Preparing to unpack .../oss4-
Unpacking oss4-dkms (4.2-build2010-
Setting up oss4-dkms (4.2-build2010-
Loading new oss4-4.2-build2010 DKMS files...
Building for 5.4.0-42-generic
Building initial module for 5.4.0-42-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 5.4.0-42-generic (ppc64le)
Consult /var/lib/
dpkg: error processing package oss4-dkms (--configure):
installed oss4-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
oss4-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
buntu@dryden:~$ cat /var/lib/
DKMS make.log for oss4-4.2-build2010 for kernel 5.4.0-42-generic (ppc64le)
Fri Aug 14 09:15:43 UTC 2020
make: Entering directory '/usr/src/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
In file included from /var/lib/
/var/lib/
/var/lib/
175 | #define INB(osdev,a) __inb(a)
| ^~~~~
/var/lib/
31 | return INB (devc->osdev, STATPORT);
| ^~~
/var/lib/
/var/lib/
179 | #define OUTB(osdev, d, a) __outb(d, a)
| ^~~~~~
/var/lib/
39 | OUTB (devc->osdev, cmd, COMDPORT);
| ^~~~
/var/lib/
/var/lib/
89 | msg[2] = 64;
| ~~~~~~~^~~~
/var/lib/
91 | case 0x80:
| ^~~~
/var/lib/
/var/lib/
162 | devpath = oss_pci_
| ^
cc1: some warnings being treated as errors
make[1]: *** [scripts/
make[1]: *** Waiting for unfinished jobs....
/var/lib/
/var/lib/
118 | return virt_to_bus (addr);
| ^~~~~~~~~~~
| virt_to_phys
/var/lib/
/var/lib/
519 | unsigned long id = tmout->id;
| ^~~~~~~~
/var/lib/
/var/lib/
1161 | struct DIstruct s;
| ^
/var/lib/
/var/lib/
1331 | count_leading_zeros (bm, d0);
| ^~~~~~~~~~~~~~~~~~~
/var/lib/
1434 | sub_ddmmss (n1, n0, n1, n0, d1, d0);
| ^~~~~~~~~~
/var/lib/
1462 | umul_ppmm (m1, m0, q0, d0);
| ^~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/
make: *** [Makefile:1731: /var/lib/
make: Leaving directory '/usr/src/