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

Andreas Wacknitz A.Wacknitz at gmx.de
Sat Aug 17 18:21:35 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20190817/9736ede1/attachment-0004.html>


More information about the oi-dev mailing list