You are not logged in.

#1 2015-12-25 06:56:06

nishantvarma
Member
From: Bangalore
Registered: 2015-09-04
Posts: 27

[SOLVED] linux-intel-drm-nightly fails

I am trying to install https://aur.archlinux.org/packages/linu … l-nightly/ however it fails with following error message.

error: failed to commit transaction (conflicting files)
/usr/lib/modules/4.4.0-1-drm-intel-nightly/build/Documentation/kbuild/Kconfig.recursion-issue-01 exists in both 'linux-drm-intel-nightly-headers' and 'linux-drm-intel-nightly-docs'
/usr/lib/modules/4.4.0-1-drm-intel-nightly/build/Documentation/kbuild/Kconfig.recursion-issue-02 exists in both 'linux-drm-intel-nightly-headers' and 'linux-drm-intel-nightly-docs'
/usr/lib/modules/4.4.0-1-drm-intel-nightly/build/Documentation/kbuild/Kconfig.select-break exists in both 'linux-drm-intel-nightly-headers' and 'linux-drm-intel-nightly-docs'
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s)

https://aur.archlinux.org/packages/linux-git/ also discusses this error with a hack which doesn't work for me.

I had an error where a package conflict occurred because the following files were included in both the -doc and -header package:

/usr/lib/modules/4.4.0-rc1-g34258a3/build/Documentation/kbuild/Kconfig.recursion-issue-01
/usr/lib/modules/4.4.0-rc1-g34258a3/build/Documentation/kbuild/Kconfig.recursion-issue-02
/usr/lib/modules/4.4.0-rc1-g34258a3/build/Documentation/kbuild/Kconfig.select-break

This is due to line 226 copying any file with Kconfig in its name.
A workaround is just to add right after that the following line:

rm "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild"/Kconfig.*-*

This removes the extraneous files that look like Kconfig files but are actually just documentation.

The above hack works, you need to do a make -srif to ensure its forcefully build from scratch.

Last edited by nishantvarma (2015-12-25 14:39:37)

Offline

Board footer

Powered by FluxBB