* [ptxdist] Clash between busybox bc and GNU bc
@ 2020-07-06 13:09 Mircea Ciocan
2020-07-06 13:13 ` Bruno Thomsen
0 siblings, 1 reply; 8+ messages in thread
From: Mircea Ciocan @ 2020-07-06 13:09 UTC (permalink / raw)
To: ptxdist
Hello everybody,
compiling a a firmware with the latest (2020.07.0) ptxdist I've got the
following package clash error:
* check_data_file_clashes: Package busybox wants to install file
./platform-MCIMX6ULL-EVK/build-target/image-root-tgz/usr/bin/bc
But that file is already provided by package * bc
* opkg_solver_install: Cannot install package busybox.
Best regards,
Mircea
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Clash between busybox bc and GNU bc
2020-07-06 13:09 [ptxdist] Clash between busybox bc and GNU bc Mircea Ciocan
@ 2020-07-06 13:13 ` Bruno Thomsen
2020-07-06 13:19 ` Alexander Dahl
0 siblings, 1 reply; 8+ messages in thread
From: Bruno Thomsen @ 2020-07-06 13:13 UTC (permalink / raw)
To: ptxdist
> compiling a a firmware with the latest (2020.07.0) ptxdist I've got the
> following package clash error:
>
> * check_data_file_clashes: Package busybox wants to install file
>./platform-MCIMX6ULL-EVK/build-target/image-root-tgz/usr/bin/bc
> But that file is already provided by package * bc
> * opkg_solver_install: Cannot install package busybox.
Remove selection from BUSYBOX_BC as it conflicts with bc package.
I just hit the same issue ;)
/Bruno.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Clash between busybox bc and GNU bc
2020-07-06 13:13 ` Bruno Thomsen
@ 2020-07-06 13:19 ` Alexander Dahl
2020-07-06 13:21 ` [ptxdist] [PATCH] bc: prevent file name clash with busybox' bc Roland Hieber
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Dahl @ 2020-07-06 13:19 UTC (permalink / raw)
To: ptxdist; +Cc: Bruno Thomsen, Mircea Ciocan
Hei hei,
Am Montag, 6. Juli 2020, 15:13:04 CEST schrieb Bruno Thomsen:
> > compiling a a firmware with the latest (2020.07.0) ptxdist I've got the
> >
> > following package clash error:
> > * check_data_file_clashes: Package busybox wants to install file
> >./platform-MCIMX6ULL-EVK/build-target/image-root-tgz/usr/bin/bc
> > But that file is already provided by package * bc
> > * opkg_solver_install: Cannot install package busybox.
>
> Remove selection from BUSYBOX_BC as it conflicts with bc package.
>
> I just hit the same issue ;)
Would one of you care to send a patch? There are numerous other packages with
the same problem which come with some kind of guard. See e.g. 'less' or 'tar'.
Greets
Alex
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ptxdist] [PATCH] bc: prevent file name clash with busybox' bc
2020-07-06 13:19 ` Alexander Dahl
@ 2020-07-06 13:21 ` Roland Hieber
2020-07-06 13:26 ` [ptxdist] [PATCH v2] " Roland Hieber
2020-07-06 13:33 ` [ptxdist] [PATCH] " Alexander Dahl
0 siblings, 2 replies; 8+ messages in thread
From: Roland Hieber @ 2020-07-06 13:21 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl, Roland Hieber, Bruno Thomsen, Mircea Ciocan
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
On Mon, Jul 06, 2020 at 03:19:06PM +0200, Alexander Dahl wrote:
> Would one of you care to send a patch?
I was just typing one up... :-)
- Roland
rules/bc.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rules/bc.in b/rules/bc.in
index dabb244b5725..7095adc340b5 100644
--- a/rules/bc.in
+++ b/rules/bc.in
@@ -2,8 +2,12 @@
config BC
tristate
prompt "bc"
+ depends on !BUSYBOX_BC || ALLYES
help
bc is an arbitrary precision numeric processing language. Syntax is
similar to C, but differs in many substantial areas. It supports
interactive execution of statements. bc is a utility included in the
POSIX P1003.2/D11 draft standard.
+
+comment "busybox' bc is selected!"
+ depends on BUSYBOX_BS
--
2.27.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ptxdist] [PATCH v2] bc: prevent file name clash with busybox' bc
2020-07-06 13:21 ` [ptxdist] [PATCH] bc: prevent file name clash with busybox' bc Roland Hieber
@ 2020-07-06 13:26 ` Roland Hieber
2020-07-07 5:45 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-06 13:33 ` [ptxdist] [PATCH] " Alexander Dahl
1 sibling, 1 reply; 8+ messages in thread
From: Roland Hieber @ 2020-07-06 13:26 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
v2: fix typo in comment dependency
rules/bc.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rules/bc.in b/rules/bc.in
index dabb244b5725..e5776610cd34 100644
--- a/rules/bc.in
+++ b/rules/bc.in
@@ -2,8 +2,12 @@
config BC
tristate
prompt "bc"
+ depends on !BUSYBOX_BC || ALLYES
help
bc is an arbitrary precision numeric processing language. Syntax is
similar to C, but differs in many substantial areas. It supports
interactive execution of statements. bc is a utility included in the
POSIX P1003.2/D11 draft standard.
+
+comment "BusyBox' bc is selected!"
+ depends on BUSYBOX_BC
--
2.27.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [APPLIED] bc: prevent file name clash with busybox' bc
2020-07-06 13:26 ` [ptxdist] [PATCH v2] " Roland Hieber
@ 2020-07-07 5:45 ` Michael Olbrich
0 siblings, 0 replies; 8+ messages in thread
From: Michael Olbrich @ 2020-07-07 5:45 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Thanks, applied as f7a1702c3a4ce0c91ff094f3c388cebb1580c355.
Michael
[sent from post-receive hook]
On Tue, 07 Jul 2020 07:45:54 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
>
> Message-Id: <20200706132617.5750-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/bc.in b/rules/bc.in
> index dabb244b5725..e5776610cd34 100644
> --- a/rules/bc.in
> +++ b/rules/bc.in
> @@ -2,8 +2,12 @@
> config BC
> tristate
> prompt "bc"
> + depends on !BUSYBOX_BC || ALLYES
> help
> bc is an arbitrary precision numeric processing language. Syntax is
> similar to C, but differs in many substantial areas. It supports
> interactive execution of statements. bc is a utility included in the
> POSIX P1003.2/D11 draft standard.
> +
> +comment "BusyBox' bc is selected!"
> + depends on BUSYBOX_BC
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] bc: prevent file name clash with busybox' bc
2020-07-06 13:21 ` [ptxdist] [PATCH] bc: prevent file name clash with busybox' bc Roland Hieber
2020-07-06 13:26 ` [ptxdist] [PATCH v2] " Roland Hieber
@ 2020-07-06 13:33 ` Alexander Dahl
2020-07-06 13:50 ` Roland Hieber
1 sibling, 1 reply; 8+ messages in thread
From: Alexander Dahl @ 2020-07-06 13:33 UTC (permalink / raw)
To: Roland Hieber; +Cc: ptxdist, Bruno Thomsen, Mircea Ciocan
Am Montag, 6. Juli 2020, 15:21:02 CEST schrieb Roland Hieber:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>
> On Mon, Jul 06, 2020 at 03:19:06PM +0200, Alexander Dahl wrote:
> > Would one of you care to send a patch?
>
> I was just typing one up... :-)
>
> - Roland
>
> rules/bc.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/rules/bc.in b/rules/bc.in
> index dabb244b5725..7095adc340b5 100644
> --- a/rules/bc.in
> +++ b/rules/bc.in
> @@ -2,8 +2,12 @@
> config BC
> tristate
> prompt "bc"
> + depends on !BUSYBOX_BC || ALLYES
> help
> bc is an arbitrary precision numeric processing language. Syntax is
> similar to C, but differs in many substantial areas. It supports
> interactive execution of statements. bc is a utility included in the
> POSIX P1003.2/D11 draft standard.
> +
> +comment "busybox' bc is selected!"
> + depends on BUSYBOX_BS
I can not find any reference on BUSYBOX_BS … ;-)
Anyways, busybox did not have 'bc' until 1.30 so this problem probably is
present in ptxdist since 08a9a9979d86 ("busybox: version bump 1.29.3 ->
1.31.1") which came with ptxdist-2020.06.0.
Alex
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] bc: prevent file name clash with busybox' bc
2020-07-06 13:33 ` [ptxdist] [PATCH] " Alexander Dahl
@ 2020-07-06 13:50 ` Roland Hieber
0 siblings, 0 replies; 8+ messages in thread
From: Roland Hieber @ 2020-07-06 13:50 UTC (permalink / raw)
To: ptxdist; +Cc: Bruno Thomsen, Mircea Ciocan
On Mon, Jul 06, 2020 at 03:33:54PM +0200, Alexander Dahl wrote:
> Am Montag, 6. Juli 2020, 15:21:02 CEST schrieb Roland Hieber:
> > +comment "busybox' bc is selected!"
> > + depends on BUSYBOX_BS
>
> I can not find any reference on BUSYBOX_BS … ;-)
Yeah, you know the old adage, "commit early, amend often"… See v2, which
didn't have you in the Cc :)
--
Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-07-07 5:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 13:09 [ptxdist] Clash between busybox bc and GNU bc Mircea Ciocan
2020-07-06 13:13 ` Bruno Thomsen
2020-07-06 13:19 ` Alexander Dahl
2020-07-06 13:21 ` [ptxdist] [PATCH] bc: prevent file name clash with busybox' bc Roland Hieber
2020-07-06 13:26 ` [ptxdist] [PATCH v2] " Roland Hieber
2020-07-07 5:45 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-06 13:33 ` [ptxdist] [PATCH] " Alexander Dahl
2020-07-06 13:50 ` Roland Hieber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox