Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to dkms {build,install} with 2.8.2 #127

Closed
seblu opened this issue May 21, 2020 · 1 comment
Closed

Unable to dkms {build,install} with 2.8.2 #127

seblu opened this issue May 21, 2020 · 1 comment

Comments

@seblu
Copy link
Contributor

seblu commented May 21, 2020

Hello,

The last release of dkms looks broken. Installation does not work.

# dkms --version
dkms:2.8
# ls /usr/src/acpi_call-1.1.0   
Makefile  acpi_call.c  dkms.conf
# dkms install -m acpi_call/1.1.0
# echo $?
0
# dkms status
# ls /var/lib/dkms 
dkms_dbversion
# dkms add -m acpi_call -v 1.1.0    

Creating symlink /var/lib/dkms/acpi_call/1.1.0/source ->
                 /usr/src/acpi_call-1.1.0

DKMS: add completed.
# dkms build -m acpi_call -v 1.1.0
# dkms status
acpi_call, 1.1.0: added

Here is some verbose output.

# bash -x /usr/bin/dkms install -m acpi_call/1.1.0     
+ shopt -s extglob
+ readonly 'dkms_conf_variables=CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME
   PACKAGE_VERSION POST_ADD POST_BUILD POST_INSTALL POST_REMOVE PRE_BUILD
   PRE_INSTALL BUILD_DEPENDS BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH
   build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
   modules_conf_array PATCH PATCH_MATCH patch_array BUILT_MODULE_NAME
   built_module_name BUILT_MODULE_LOCATION built_module_location
   DEST_MODULE_NAME dest_module_name MODULES_CONF_OBSOLETES
   DEST_MODULE_LOCATION dest_module_location
   modules_conf_obsoletes MODULES_CONF_ALIAS_TYPE
   modules_conf_alias_type STRIP strip MODULES_CONF_OBSOLETE_ONLY
   modules_conf_obsolete_only AUTOINSTALL NO_WEAK_MODULES
   SIGN_TOOL'
+ dkms_conf_variables='CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME
   PACKAGE_VERSION POST_ADD POST_BUILD POST_INSTALL POST_REMOVE PRE_BUILD
   PRE_INSTALL BUILD_DEPENDS BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH
   build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
   modules_conf_array PATCH PATCH_MATCH patch_array BUILT_MODULE_NAME
   built_module_name BUILT_MODULE_LOCATION built_module_location
   DEST_MODULE_NAME dest_module_name MODULES_CONF_OBSOLETES
   DEST_MODULE_LOCATION dest_module_location
   modules_conf_obsoletes MODULES_CONF_ALIAS_TYPE
   modules_conf_alias_type STRIP strip MODULES_CONF_OBSOLETE_ONLY
   modules_conf_obsolete_only AUTOINSTALL NO_WEAK_MODULES
   SIGN_TOOL'
+ readonly 'y_re=^(Y|y)'
+ y_re='^(Y|y)'
+ readonly 'mv_re=^([^/]*)/(.*)$'
+ mv_re='^([^/]*)/(.*)$'
+ readonly 'rh_kernels=(debug|summit|smp|enterprise|bigmem|hugemem|BOOT|vmnix)'
+ rh_kernels='(debug|summit|smp|enterprise|bigmem|hugemem|BOOT|vmnix)'
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib/dkms
+ umask 022
+ unset CC CXX CFLAGS CXXFLAGS LDFLAGS
++ uname -r
+ current_kernel=5.6.13-arch1-1
++ uname -s
+ current_os=Linux
+ dkms_tree=/var/lib/dkms
+ source_tree=/usr/src
+ install_tree=/usr/lib/modules
+ tmp_location=/tmp
+ verbose=
+ symlink_modules=
+ dkms_frameworkconf=/etc/dkms/framework.conf
+ [[ ! -n '' ]]
+ [[ -e /etc/sysconfig/module-init-tools ]]
+ addon_modules_dir=
+ [[ ! -n '' ]]
++ distro_version
++ local LSB_DESCRIPTION DISTRIB_ID DISTRIB_RELEASE ver
++ '[' -r /etc/lsb-release ']'
++ type lsb_release
++ case ${DISTRIB_ID} in
++ [[ -n '' ]]
++ distro_version_rpm
++ which rpm
++ echo unknown
++ return
+ running_distribution=unknown
+ weak_modules=
+ '[' -e /etc/dkms/framework.conf ']'
+ . /etc/dkms/framework.conf
+ module=
+ module_version=
+ template_kernel=
+ distro=
+ media=
+ release=
+ conf=
+ kernel_config=
+ archive_location=
+ kernel_source_dir=
+ ksourcedir_fromcli=
+ action=
+ force=
+ force_version_override=
+ no_prepare_kernel=
+ no_clean_kernel=
+ binaries_only=
+ source_only=
+ all=
+ module_suffix=
+ module_uncompressed_suffix=
+ module_compressed_suffix=
+ rpm_safe_upgrade=
+ size=1440
+ specfile=
+ legacy_postinst=1
+ directive_array=()
+ kernelver=()
+ arch=()
+ declare -a directive_array kernelver arch
+ weak_modules=
+ last_mvka=
+ last_mvka_conf=
+ try_source_tree=
+ die_is_fatal=yes
+ '[' -x /sbin/weak-modules ']'
+ '[' -x /usr/lib/module-init-tools/weak-modules ']'
+ no_depmod=
+ action_re='^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|bmdeb|dsc|kmp)|(un)?build|add|status|ldtarball)$'
+ (( 3 > 0 ))
+ case $1 in
+ [[ install =~ ^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|bmdeb|dsc|kmp)|(un)?build|add|status|ldtarball)$ ]]
+ action=' install'
+ shift
+ (( 2 > 0 ))
+ case $1 in
+ read_arg _mv -m acpi_call/1.1.0
+ local 'rematch=^[^=]*=(.*)$'
+ [[ -m =~ ^[^=]*=(.*)$ ]]
+ read _mv
+ return 1
+ shift
+ parse_moduleversion acpi_call/1.1.0
+ [[ acpi_call/1.1.0 =~ ^([^/]*)/(.*)$ ]]
+ module=acpi_call
+ module_version=1.1.0
+ shift
+ (( 0 > 0 ))
+ [[ -n '' ]]
+ ((  0 != 0 &&     0 > 1  ))
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ get_num_cpus
++ '[' -x /usr/bin/nproc ']'
++ nproc
+ parallel_jobs=1
+ [[ 1 = 0 ]]
+ '[' -z ' install' ']'
+ for action_to_run in $action
+ setup_kernels_arches install
+ [[ -n '' ]]
+ [[ install != status ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
++ uname -r
+ kernelver[0]=5.6.13-arch1-1
+ [[ ! -n '' ]]
++ head -n 1
++ grep kernel
++ grep -v 'not owned by any package'
++ rpm -qf /usr/lib/modules/5.6.13-arch1-1
+ kernelver_rpm=
++ rpm -q --queryformat '%{ARCH}' ''
+ arch[0]=
++ uname -m
+ arch[0]=x86_64
+ [[ x86_64 = x86_64 ]]
+ grep -q Intel /proc/cpuinfo
+ grep -q ia32e
+ ls /usr/lib/modules/5.6.13-arch1-1/build/configs
+ (( 1 == 1 && 1 > 1 ))
+ multi_arch=
+ local i=0
+ (( i=0 ))
+ (( 0 < 1 ))
+ [[ x86_64 != x86_64 ]]
+ (( i++ ))
+ (( 1 < 1 ))
+ case "$action_to_run" in
+ check_root
+ (( UID == 0 ))
+ return
+ check_all_is_banned install
+ [[ -n '' ]]
+ install_modules
+ local i=0
+ (( i=0 ))
+ (( i < 1 ))
+ maybe_install_module acpi_call 1.1.0 5.6.13-arch1-1 x86_64
+ is_module_installed acpi_call 1.1.0 5.6.13-arch1-1 x86_64
+ is_module_built acpi_call 1.1.0 5.6.13-arch1-1 x86_64
+ [[ -n acpi_call ]]
+ [[ -n 1.1.0 ]]
+ [[ -n 5.6.13-arch1-1 ]]
+ [[ -n x86_64 ]]
+ local d=/var/lib/dkms/acpi_call/1.1.0/5.6.13-arch1-1/x86_64 m=
+ [[ -d /var/lib/dkms/acpi_call/1.1.0/5.6.13-arch1-1/x86_64/module ]]
+ return 1
+ module=acpi_call
+ module_version=1.1.0
+ kernelver=5.6.13-arch1-1
+ arch=x86_64
+ install_module
+ is_module_built acpi_call 1.1.0 5.6.13-arch1-1 x86_64
+ [[ -n acpi_call ]]
+ [[ -n 1.1.0 ]]
+ [[ -n 5.6.13-arch1-1 ]]
+ [[ -n x86_64 ]]
+ local d=/var/lib/dkms/acpi_call/1.1.0/5.6.13-arch1-1/x86_64 m=
+ [[ -d /var/lib/dkms/acpi_call/1.1.0/5.6.13-arch1-1/x86_64/module ]]
+ return 1
+ build_module
+ local buildable=0
+ (( count=0 ))
+ (( count < 0 ))
+ (( buildable!=0 ))
+ exit 0
+ (( i++ ))
+ (( i < 1 ))
@seblu seblu changed the title Unable to build/install with 2.8.2 Unable to dkms {build,install} with 2.8.2 May 27, 2020
abenson added a commit to abenson/void-packages that referenced this issue Jun 24, 2020
This reverts commit 8420fd2.

dell/dkms#127

Verified by me for nvidia and @ahesford for zfs.
abenson added a commit to void-linux/void-packages that referenced this issue Jun 24, 2020
This reverts commit 8420fd2.

Possibly related: dell/dkms#127

Verified by me for nvidia and @ahesford for zfs.
@scaronni
Copy link
Collaborator

Should be fixed with version 2.8.3. I will update Fedora/EPEL release immediately.

ahesford added a commit to ahesford/void-packages that referenced this issue Jul 28, 2020
According to https://github.com/dell/dkms/releases, this fixes the issue
dell/dkms#127 that led to reverting 2.8.2.
ahesford added a commit to void-linux/void-packages that referenced this issue Jul 30, 2020
According to https://github.com/dell/dkms/releases, this fixes the issue
dell/dkms#127 that led to reverting 2.8.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants