All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot - make again - wants to reapply a patch
@ 2021-03-23 14:57 Laurentiu-Cristian Duca
  2021-03-23 19:51 ` Peter Seiderer
  0 siblings, 1 reply; 2+ messages in thread
From: Laurentiu-Cristian Duca @ 2021-03-23 14:57 UTC (permalink / raw)
  To: buildroot

Hello buildroot community,

  I am looking for an answer which I hope it will save a lot of time for me.

  At time moment t0, I have successfully built buildroot for rpi0w.
At time moment t1, I have made some configuration changes (new additions only),
and when I want to build (preferably only the changes), I get the error [1].
Does anybody know how to avoid such errors?
Why does buildroot try to reapply the patch?

Thanks a lot,
L-C

[1]
$ make
>>> host-util-linux 2.33 Patching

Applying 0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch using patch:
Error: duplicate filename
'0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch'
Conflicting files are:
  already applied:
/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.02.rpi/package/util-linux/0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch
  to be applied  :
/home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.02.rpi/package/util-linux/0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch

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

* [Buildroot] Buildroot - make again - wants to reapply a patch
  2021-03-23 14:57 [Buildroot] Buildroot - make again - wants to reapply a patch Laurentiu-Cristian Duca
@ 2021-03-23 19:51 ` Peter Seiderer
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Seiderer @ 2021-03-23 19:51 UTC (permalink / raw)
  To: buildroot

Hello Laurentiu-Cristian,

On Tue, 23 Mar 2021 16:57:13 +0200, Laurentiu-Cristian Duca <laurentiu.duca@gmail.com> wrote:

> Hello buildroot community,
>
>   I am looking for an answer which I hope it will save a lot of time for me.
>
>   At time moment t0, I have successfully built buildroot for rpi0w.
> At time moment t1, I have made some configuration changes (new additions only),
> and when I want to build (preferably only the changes), I get the error [1].
> Does anybody know how to avoid such errors?
> Why does buildroot try to reapply the patch?
>
> Thanks a lot,
> L-C
>
> [1]
> $ make
> >>> host-util-linux 2.33 Patching
>
> Applying 0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch using patch:
> Error: duplicate filename
> '0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch'
> Conflicting files are:
>   already applied:
> /home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.02.rpi/package/util-linux/0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch
>   to be applied  :
> /home/laur/lucru/raspberry-pi/buildroot/buildroot-2019.02.rpi/package/util-linux/0001-rtcwake-use-poweroff-if-shutdown-is-not-found.patch

Not sure why this happens in your case, but generally only a full rebuild is supported
after configuration changes (see [1] and [2])...., but a build can succeed (sometimes)
after configuration changes, but for this case you need a good understanding of the
dependencies...

Regards,
Peter


[1] http://nightly.buildroot.org/manual.html#full-rebuild
[2] http://nightly.buildroot.org/manual.html#rebuild-pkg

> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-03-23 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 14:57 [Buildroot] Buildroot - make again - wants to reapply a patch Laurentiu-Cristian Duca
2021-03-23 19:51 ` Peter Seiderer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.