linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* build failure of next-20220715 due to "No rule to make target"
@ 2022-07-15 23:35 Sudip Mukherjee (Codethink)
  2022-07-16  1:59 ` Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee (Codethink) @ 2022-07-15 23:35 UTC (permalink / raw)
  To: Linus Walleij, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-gpio, linux-arm-kernel, linux-sunxi, linux-kernel,
	linux-next

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build failure of next-20220715 due to "No rule to make target"
  2022-07-15 23:35 build failure of next-20220715 due to "No rule to make target" Sudip Mukherjee (Codethink)
@ 2022-07-16  1:59 ` Florian Fainelli
  2022-07-16  2:15   ` Samuel Holland
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2022-07-16  1:59 UTC (permalink / raw)
  To: Sudip Mukherjee (Codethink), Linus Walleij, Chen-Yu Tsai,
	Jernej Skrabec, Samuel Holland
  Cc: linux-gpio, linux-arm-kernel, linux-sunxi, linux-kernel,
	linux-next



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build failure of next-20220715 due to "No rule to make target"
  2022-07-16  1:59 ` Florian Fainelli
@ 2022-07-16  2:15   ` Samuel Holland
  2022-07-18  9:41     ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Holland @ 2022-07-16  2:15 UTC (permalink / raw)
  To: Florian Fainelli, Sudip Mukherjee (Codethink), Linus Walleij,
	Chen-Yu Tsai, Jernej Skrabec
  Cc: linux-gpio, linux-arm-kernel, linux-sunxi, linux-kernel,
	linux-next

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/20220626021148.56740-7-samuel@sholland.org/
[1]:
https://lore.kernel.org/linux-gpio/879fb3b2-4bcb-82d6-e186-e845d62c9843@sholland.org/
[2]: https://lore.kernel.org/linux-gpio/20220713025233.27248-1-samuel@sholland.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build failure of next-20220715 due to "No rule to make target"
  2022-07-16  2:15   ` Samuel Holland
@ 2022-07-18  9:41     ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2022-07-18  9:41 UTC (permalink / raw)
  To: Samuel Holland
  Cc: Florian Fainelli, Sudip Mukherjee (Codethink), Chen-Yu Tsai,
	Jernej Skrabec, linux-gpio, linux-arm-kernel, linux-sunxi,
	linux-kernel, linux-next

On Sat, Jul 16, 2022 at 4:15 AM Samuel Holland <samuel@sholland.org> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-18  9:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-15 23:35 build failure of next-20220715 due to "No rule to make target" Sudip Mukherjee (Codethink)
2022-07-16  1:59 ` Florian Fainelli
2022-07-16  2:15   ` Samuel Holland
2022-07-18  9:41     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).