[OE-core] Duplicate package names, was Re: [PATCH v1] glide: Add 0.13.1 version

Böszörményi Zoltán zboszor at pr.hu
Thu Feb 1 11:32:23 UTC 2018


Of course, this package should not be confused with the old
3D library from Voodoo Graphics.

But, this and another case that popped up today for me out of
the blue makes it necessary to talk about the issue duplicate
package names from completely different software.

My case is a Node.js module, one that is called nanomsg that
depends on the real nanomsg library.

You can see where this leads, two different software would be
using the same recipe name and we cannot add the second one,
because the name conflict would not cause the one with the
smaller version not built.

The node modules that are built with the help of "inherit npm"
may want to use a "node-" prefix in their names but it would not
work as is because npm.bbclass is using ${PN}.

I have a patch against npm.bbclass that I am testing at the moment
but it may be necessary to talk about this issue in general.

Best regards,
Zoltán Böszörményi

2018-02-01 11:28 keltezéssel, Otavio Salvador írta:
> Glide is a widely used Vendor Package Management for Golang,
> especially in private projects as it allows for internal repositories
> clone and other fancy things.
> 
> This recipe has been originally done as part of updatehub development.
> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> 
> Changes in v2:
>   - Add bash runtime dependency on ${PN}-ptest
> 
>   meta/recipes-devtools/glide/glide_0.13.1.bb | 15 +++++++++++++++
>   1 file changed, 15 insertions(+)
>   create mode 100644 meta/recipes-devtools/glide/glide_0.13.1.bb
> 
> diff --git a/meta/recipes-devtools/glide/glide_0.13.1.bb b/meta/recipes-devtools/glide/glide_0.13.1.bb
> new file mode 100644
> index 00000000000..1a5b145cf36
> --- /dev/null
> +++ b/meta/recipes-devtools/glide/glide_0.13.1.bb
> @@ -0,0 +1,15 @@
> +SUMMARY = "Vendor Package Management for Golang"
> +HOMEPAGE = "https://glide.sh"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=54905cf894f8cc416a92f4fc350c35b2"
> +
> +GO_IMPORT = "github.com/Masterminds/glide"
> +SRC_URI = "git://${GO_IMPORT}"
> +SRCREV = "67790b3dbede72cfdc54aa53be4706322c9499e0"
> +
> +inherit go
> +
> +RDEPENDS_${PN}-dev += "bash"
> +RDEPENDS_${PN}-ptest += "bash"
> +
> +BBCLASSEXTEND = "native nativesdk"
> 




More information about the Openembedded-core mailing list