FS#49373 - [pacman] post-transaction hook installing DKMS modules fails to report a build failure

Attached to Project: Arch Linux
Opened by James (thx1138) - Tuesday, 17 May 2016, 16:52 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 17 May 2016, 23:36 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

pacman 5.0.1-3

For example, where the obsolete kdbus-git module no longer builds with the latest linux 4.6-1, we see:

...
:: Running post-transaction hooks...
(1/7) Install DKMS modules
==> dkms -q install -m kdbus -v 3227.245fe93 -k 4.6.0-1-ARCH
(2/7) Compiling GSettings XML schema files...
(3/7) Updating icon theme caches...
...

There is no mention that the kdbus build utterly failed. Of course, if you run the build separately, with "pacaur -S kdbus-git", you see instead:

...
KERNELVER=4.6.0-1-ARCH make....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.6.0-1-ARCH (x86_64)
Consult /var/lib/dkms/kdbus/3227.245fe93/build/make.log for more information.
error: command failed to execute correctly
...

So, the dkms *install* hook needs to know something about a dkms *build* failure, and then report the failure, instead of failing silently.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 17 May 2016, 23:36 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49080 

Loading...