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

2019-08-17 Thread Andreas Wacknitz
Am 17.08.19 um 23:16 schrieb Aurélien Larcher:
>
>
> On Sat, Aug 17, 2019 at 8:21 PM Andreas Wacknitz  > 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@openindiana.org 
> https://openindiana.org/mailman/listinfo/oi-dev
>
>
>
> --
> ---
> Praise the Caffeine embeddings
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


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

2019-08-17 Thread Aurélien Larcher
On Sat, Aug 17, 2019 at 8:21 PM Andreas Wacknitz  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
> MEDIATORVER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
> ...
> rubyvendor2.3 vendor
> ...
>
>
> 4.
> ➜  ~ pkg list|grep ruby
> ...
> runtime/ruby
> 2.6-2018.0.0.0 i--
> runtime/ruby-232.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@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>


-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


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

2019-08-17 Thread Andreas Wacknitz

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.

How can this be enhanced?

Regards,
Andreas

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev