2022-07-15 23:58:05

by Sudip Mukherjee

[permalink] [raw]
Subject: build failure of next-20220715 due to "No rule to make target"

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


2022-07-16 02:29:10

by Florian Fainelli

[permalink] [raw]
Subject: Re: build failure of next-20220715 due to "No rule to make target"



On 7/15/2022 4:35 PM, Sudip Mukherjee (Codethink) wrote:
> 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?
--
Florian

2022-07-16 03:01:20

by Samuel Holland

[permalink] [raw]
Subject: Re: build failure of next-20220715 due to "No rule to make target"

On 7/15/22 8:59 PM, Florian Fainelli wrote:
> On 7/15/2022 4:35 PM, Sudip Mukherjee (Codethink) wrote:
>> 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?

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]/

2022-07-18 09:55:24

by Linus Walleij

[permalink] [raw]
Subject: Re: build failure of next-20220715 due to "No rule to make target"

On Sat, Jul 16, 2022 at 4:15 AM Samuel Holland <[email protected]> wrote:

> 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.

> 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