[oi-dev] Something is weird with oi-userland

Aurélien Larcher aurelien.larcher at gmail.com
Sat Aug 17 21:16:23 UTC 2019


On Sat, Aug 17, 2019 at 8:21 PM Andreas Wacknitz <A.Wacknitz at gmx.de> wrote:

>
> 1.
> ➜  libgweather git:(build) gmake publish
> ...
> pkg list: no packages matching the following patterns are installed:
>   /runtime/ruby
> Adding required packages to build environment...
>
>
> 2.
> ➜  libgweather git:(build) cat Makefile
> ...
> # Build dependencies
> REQUIRED_PACKAGES += developer/vala
>
> # Auto-generated dependencies
> REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
> REQUIRED_PACKAGES += library/desktop/geocode-glib
> REQUIRED_PACKAGES += library/desktop/gtk3
> REQUIRED_PACKAGES += library/glib2
> REQUIRED_PACKAGES += library/libsoup
> REQUIRED_PACKAGES += library/libxml2
> REQUIRED_PACKAGES += system/library
> REQUIRED_PACKAGES += system/library/math
>
>
> 3.
> ➜  ~ git:(build) pkg mediator
> MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
> ...
> ruby                vendor    2.3     vendor
> ...
>
>
> 4.
> ➜  ~ pkg list|grep ruby
> ...
> runtime/ruby
> 2.6-2018.0.0.0             i--
> runtime/ruby-23                                2.3.7-2018.0.0.0
> i--
>
>
>
> Summary: Our default ruby is 2.3 (see 3.) while the more generic
> runtime/ruby is ruby-2.6 (see 4.).
> At least one package (libgweather; see 1.) requires runtime/ruby but that
> is not listed in its Makefile (see 2.).
> Fun fact: "gmake publish" finds a dependency on runtime/ruby while "gmake
> REQUIRED_PACKAGES" does not.
>

https://github.com/OpenIndiana/oi-userland/blob/681a424df01cea4df46a08efa562fa877eba9b04/make-rules/prep-unpack.mk#L65

>
> How can this be enhanced?
>
> Regards,
> Andreas
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>


-- 
---
Praise the Caffeine embeddings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20190817/91442801/attachment-0005.html>


More information about the oi-dev mailing list