Mailinglist Archive: opensuse-support (71 mails)

< Previous Next >
Re: [opensuse-support] dkms-acpi_call %posttrans script failed
  • From: H Zeng <zhx@xxxxxxxxx>
  • Date: Fri, 06 Jul 2018 20:15:58 +0800
  • Message-id: <5612944.Na9oPvF1b7@ostp>
On Friday, 6 July 2018 10:01:52 HKT Simon Lees wrote:
On 06/07/18 11:18, H Zeng wrote:
Dear all,

My openSUSE Tumbleweed installation keeps getting warning message like
following when upgrade the system,
```
dkms-acpi_call-1.1.0-6.210.noarch.rpm %posttrans script failed (returned
10) ```
Does anyone know what is the status?

Best regards,
ZHX

Thank you, Simon,

Its hard to know, because atleast software.opensuse.org doesn't show
this as an official package, but if I was to guess just by looking at
the first unofficial package i picked on obs, which is using the
%posttrans section to build a new kernel module with dkms i'd say that
something in some part of the build is failing, this might give you more
details, rpm -qi the package name should give you the release and
version numbers.


The package is `dkms-acpi_call` from a user repository named "revealed"
(http://download.opensuse.org/repositories/home:/revealed/
openSUSE_Tumbleweed/)

The detailed information is,
```
# rpm -qi dkms-acpi_call
Name : dkms-acpi_call
Version : 1.1.0
Release : 6.210
Architecture: noarch
Install Date: Tue 03 Jul 2018 22:34:41 HKT
Group : System/Kernel
Size : 31969
License : GPL-3.0+
Signature : RSA/SHA256, Tue 03 Jul 2018 01:08:58 HKT, Key ID
27f8fd18648a2450
Source RPM : dkms-acpi_call-1.1.0-6.210.src.rpm
Build Date : Tue 03 Jul 2018 01:08:49 HKT
Build Host : cloud120
Relocations : (not relocatable)
Vendor : The Bumblebee Project
URL : https://github.com/mkottman/acpi_call
Summary : Kernel module to call ACPI methods
Description :
A kernel module that enables you to call ACPI methods by writing the method
name followed by arguments to /proc/acpi/call, for example to turn off
discrete
graphics card in a dual graphics environment (like NVIDIA Optimus). This
version is intended for setting battery of ThinkPad notebook.

tpacpi-bat supports ThinkPad T420(s)/T520/W520/X220 and newer models only.
Distribution: home:revealed / openSUSE_Tumbleweed
```

/usr/sbin/dkms build -m acpi_call -v %{version}-%{release}

I am not sure what the last command you gave should look like. I got the
following message,
```
# /usr/sbin/dkms build -m acpi_call -v 1.1.0-6.210

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.17.3-1-default -C /lib/modules/4.17.3-1-default/build
SUBDIRS=/var/lib/dkms/acpi_call/1.1.0-6.210/build modules...(bad exit status:
2)
Error! Bad return status for module build on kernel: 4.17.3-1-default (x86_64)
Consult /var/lib/dkms/acpi_call/1.1.0-6.210/build/make.log for more
information.
```


Best regards,
ZHX


--
To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References