Skip to contentSkip to conversation

build failure of next-20220715 due to "No rule to make target"

DISCUSSION Sudip Mukherjee (Codethink) 4 participants 4 messages Jul 15, 2022 – Jul 18, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi All,

Not sure if it has been reported, builds of arm and arm64 allmodconfig have failed to build next-20220715 with the error:

make[3]: *** No rule to make target 'drivers/pinctrl/sunxi/pinctrl-sun20i-d1.o', needed by 'drivers/pinctrl/sunxi/built-in.a'. Stop.

--
Regards
Sudip

#1 lore raw
Quoted 6 lines · Sudip Mukherjee (Codethink)

Hi All,

Not sure if it has been reported, builds of arm and arm64 allmodconfig have failed to build next-20220715 with the error:

make[3]: *** No rule to make target 'drivers/pinctrl/sunxi/pinctrl-sun20i-d1.o', needed by 'drivers/pinctrl/sunxi/built-in.a'. Stop.

Caused by f6e42a0fce98b85380df8cdfb081d75c48e4fee1 ("pinctrl: sunxi: Add driver for Allwinner D1/D1s") adding CONFIG_PINCTRL_SUN20I_D1 a build rule in drivers/pinctrl/sunxi/Makefile to build pinctrl-sun20i-d1.o but ... there was no drivers/pinctrl/sunxi/pinctrl-sun20i-d1.c file added to the commit, missing git add presumably?

Signature · 1 line
Florian
maintainer
#2 lore raw
Quoted 8 lines · Florian Fainelli
Quoted 6 lines · Sudip Mukherjee (Codethink)

Not sure if it has been reported, builds of arm and arm64 allmodconfig have failed to build next-20220715 with the error:

make[3]: *** No rule to make target 'drivers/pinctrl/sunxi/pinctrl-sun20i-d1.o', needed by 'drivers/pinctrl/sunxi/built-in.a'.  Stop.

Quoted 5 lines

Caused by f6e42a0fce98b85380df8cdfb081d75c48e4fee1 ("pinctrl: sunxi: Add driver for Allwinner D1/D1s") adding CONFIG_PINCTRL_SUN20I_D1 a build rule in drivers/pinctrl/sunxi/Makefile to build pinctrl-sun20i-d1.o but ... there was no drivers/pinctrl/sunxi/pinctrl-sun20i-d1.c file added to the commit, missing git add presumably?

The patch in question[0] contains the new file, so something must have gone wrong when applying it[1]. I wasn't sure what to do, so I resent the whole series[2], in case the index hashes in the v1 patches were causing the problem.

Regards,
Samuel

[0]: https://lore.kernel.org/linux-gpio/[email protected]/
[1]:
https://lore.kernel.org/linux-gpio/[email protected]/
[2]: https://lore.kernel.org/linux-gpio/[email protected]/

#3 lore raw
Quoted 2 lines · Samuel Holland

The patch in question[0] contains the new file, so something must have gone wrong when applying it[1].

Patch 6/6 didn't apply cleanly so was applied with patch -p1 < patch.patch and then I missed to git add the .c file.

Quoted 2 lines

I wasn't sure what to do, so I resent the whole
series[2], in case the index hashes in the v1 patches were causing the problem.

Fixed up by applying v2 now!

Linus Walleij