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

Andreas Wacknitz A.Wacknitz at gmx.de
Sat Aug 17 20:20:46 UTC 2019


Am 17.08.19 um 23:16 schrieb Aurélien Larcher:
>
>
> On Sat, Aug 17, 2019 at 8:21 PM Andreas Wacknitz <A.Wacknitz at gmx.de
> <mailto: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
Ok, that explains why gmake publish has the dependency.
My main question is regarding ruby. Is our default ruby-2.3 outdated?
Why has the new ruby version runtime/ruby whereas the default is
runtime/ruby-23.
Or, in other words: Why did ruby-2.6 got runtime/ruby and should we
change our default (mediator) to 2.6?
>
>
>     How can this be enhanced?
>
>     Regards,
>     Andreas
>
>     _______________________________________________
>     oi-dev mailing list
>     oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>
>     https://openindiana.org/mailman/listinfo/oi-dev
>
>
>
> --
> ---
> Praise the Caffeine embeddings
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

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


More information about the oi-dev mailing list