Ask Your Question
0

Building and installing wl-kmod failed

asked 2018-02-17 15:18:42 -0500

Samurai gravatar image

Upgraded to kernel 4.15.3-300 and wireless stopped working. Tried akmods --force and no success

[root@localhost samurai]# akmods --force
Checking kmods exist for 4.15.3-300.fc27.x86_64            [  OK  ]
Building and installing wl-kmod                            [FAILED]
Building rpms failed; see /var/cache/akmods/wl/6.30.223.271-14-for-4.15.3-300.fc27.x86_64.failed.log for details

It happens once every few kernel upgrades and had the same problem in the last couple of releases of Fedora as well. Normally use a USB wireless when that happens. Would appreciate any help and will provide further information if needed.

Here's the log:

2018/02/18 00:07:35 akmods: Building RPM using the command '/sbin/akmodsbuild --target x86_64 --kernels 4.15.3-300.fc27.x86_64 /usr/src/akmods/wl-kmod.latest'
make: *** [Makefile:1512: _module_/tmp/akmodsbuild.eRN6jHH2/BUILD/wl-kmod-6.30.223.271/_kmod_build_4.15.3-300.fc27.x86_64] Error 2
make: Leaving directory '/usr/src/kernels/4.15.3-300.fc27.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.4jFzbK (%build)


RPM build errors:
    user mockbuild does not exist - using root
    group mock does not exist - using root
    ...
    Bad exit status from /var/tmp/rpm-tmp.4jFzbK (%build)
akmodsbuild: * Rebuilding /usr/src/akmods/wl-kmod.latest for kernel(s) 4.15.3-300.fc27.x86_64: warning: user mockbuild does not exist - using root
akmodsbuild: warning: group mock does not exist - using root
akmodsbuild: warning: user mockbuild does not exist - using root
akmodsbuild: warning: group mock does not exist - using root
...
akmodsbuild: Installing /usr/src/akmods/wl-kmod.latest
akmodsbuild: Building target platforms: x86_64
akmodsbuild: Building for target x86_64
akmodsbuild: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2rbHGt
akmodsbuild: + umask 022
akmodsbuild: + cd /tmp/akmodsbuild.eRN6jHH2//BUILD
akmodsbuild: + kmodtool --target x86_64 --repo rpmfusion --kmodname wl-kmod --filterfile /tmp/akmodsbuild.eRN6jHH2/SOURCES/wl-kmod-kmodtool-excludekernel-filterfile --akmod --for-kernels 4.15.3-300.fc27.x86_64
akmodsbuild: %package       -n kmod-wl-4.15.3-300.fc27.x86_64
akmodsbuild: Summary:          wl kernel module(s) for 4.15.3-300.fc27.x86_64
akmodsbuild: Group:            System Environment/Kernel
akmodsbuild: Provides:         kernel-modules-for-kernel = 4.15.3-300.fc27.x86_64
akmodsbuild: Provides:         wl-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
akmodsbuild: Requires:         wl-kmod-common >= %{?epoch:%{epoch}:}%{version}
akmodsbuild: Requires(post):   /usr/sbin/depmod
akmodsbuild: Requires(postun): /usr/sbin/depmod
akmodsbuild: Requires:         kernel-uname-r = 4.15.3-300.fc27.x86_64
akmodsbuild: BuildRequires:   kernel-devel-uname-r = 4.15.3-300.fc27.x86_64
akmodsbuild: %post          -n kmod-wl-4.15.3-300.fc27.x86_64
akmodsbuild: /usr/sbin/depmod -aeF /boot/System.map-4.15.3-300.fc27.x86_64 4.15.3-300.fc27.x86_64 > /dev/null || :
akmodsbuild: %postun        -n kmod-wl-4.15.3-300.fc27.x86_64
akmodsbuild: /usr/sbin/depmod  -aF /boot/System.map-4.15.3-300.fc27.x86_64 4.15.3-300.fc27.x86_64 &> /dev/null || :
akmodsbuild: 
akmodsbuild: %description  -n kmod-wl-4.15.3-300.fc27.x86_64
akmodsbuild: This package provides the wl kernel modules built for the Linux
akmodsbuild: kernel 4.15.3-300.fc27.x86_64 for the %{_target_cpu} family of processors.
akmodsbuild: %files        -n kmod-wl-4.15.3-300.fc27.x86_64
akmodsbuild: %defattr(644,root,root,755)
akmodsbuild: %dir /usr/lib/modules/4.15.3-300.fc27.x86_64/extra
akmodsbuild: /usr/lib/modules/4.15.3-300.fc27.x86_64/extra/wl/
akmodsbuild ...
(more)
edit retag flag offensive close merge delete

Comments

I'm having the same issue

suvretta gravatar imagesuvretta ( 2018-02-17 17:45:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-17 17:56:14 -0500

vvvvvvvvvv gravatar image

The problem is fixed on the latest version wl-mod

For more info see https://bugzilla.rpmfusion.org/show_bug.cgi?id=4798

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-02-17 15:18:42 -0500

Seen: 332 times

Last updated: Feb 17