Skip to contentSkip to conversation

linux-next: build failure after merge of the hid tree

DISCUSSION Stephen Rothwell 4 participants 5 messages May 27, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the hid tree, today's linux-next build (x86_64 modules_install (on an allmodconfig build)) failed like this:

depmod: ERROR: Cycle detected: hid -> usbhid -> hid
depmod: ERROR: Found 2 modules in dependency cycles!

I could not easily figure out what caused this (it may not be the hid tree, but probably is), so all I could do was leave it broken.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 8 lines · Stephen Rothwell

After merging the hid tree, today's linux-next build (x86_64 modules_install (on an allmodconfig build)) failed like this:

depmod: ERROR: Cycle detected: hid -> usbhid -> hid
depmod: ERROR: Found 2 modules in dependency cycles!

I could not easily figure out what caused this (it may not be the hid tree, but probably is), so all I could do was leave it broken.

This is caused by Hans' patches (CCed). I will be dropping those today, as the proper fix needs a bit more of rework.

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw

Hi,

Quoted 5 lines · Jiri Kosina
Quoted 3 lines · Stephen Rothwell

After merging the hid tree, today's linux-next build (x86_64 modules_install (on an allmodconfig build)) failed like this:

Quoted 8 lines
Quoted 5 lines

depmod: ERROR: Cycle detected: hid -> usbhid -> hid
depmod: ERROR: Found 2 modules in dependency cycles!

I could not easily figure out what caused this (it may not be the hid tree, but probably is), so all I could do was leave it broken.

This is caused by Hans' patches (CCed). I will be dropping those today, as the proper fix needs a bit more of rework.

Ack, sorry about the trouble these patches are causing.

Regards,

Hans

#3 lore raw

FYI,

Quoted 11 lines · Hans de Goede

Hi,

Quoted 7 lines · Jiri Kosina
Quoted 5 lines · Stephen Rothwell

After merging the hid tree, today's linux-next build (x86_64 modules_install (on an allmodconfig build)) failed like this:

depmod: ERROR: Cycle detected: hid -> usbhid -> hid
depmod: ERROR: Found 2 modules in dependency cycles!

LKFT build system also found two types of build errors while building for arm on today's Linux next-20210527 tag.

1)
arm-linux-gnueabihf-ld: drivers/hid/hid-core.o: in function `hid_is_usb_device':
hid-core.c:(.text+0x1f4): undefined reference to `usb_hid_driver' make[1]: *** [/builds/linux/Makefile:1252: vmlinux] Error 1

2) INSTALL_MOD_PATH=/home/tuxbuild/.cache/tuxmake/builds/current/modinstall
depmod: ERROR: Cycle detected: hid -> usbhid -> hid
depmod: ERROR: Found 2 modules in dependency cycles! make[1]: *** [/builds/linux/Makefile:1875: modules_install] Error 1

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I could not easily figure out what caused this (it may not be the hid tree, but probably is), so all I could do was leave it broken.

This is caused by Hans' patches (CCed). I will be dropping those today, as the proper fix needs a bit more of rework.

Ack, sorry about the trouble these patches are causing.

Thanks for investigating the root cause.

- Naresh

#4 lore raw
In reply to Hans de Goede
Quoted 6 lines · Hans de Goede
Quoted 6 lines
Quoted 6 lines

After merging the hid tree, today's linux-next build (x86_64 modules_install (on an allmodconfig build)) failed like this:

depmod: ERROR: Cycle detected: hid -> usbhid -> hid
depmod: ERROR: Found 2 modules in dependency cycles!

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

I could not easily figure out what caused this (it may not be the hid tree, but probably is), so all I could do was leave it broken.

This is caused by Hans' patches (CCed). I will be dropping those today, as the proper fix needs a bit more of rework.

Ack, sorry about the trouble these patches are causing.

for-next has now been rebased with the three relevant commits removed.

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs