Project

General

Profile

Actions

Bug #14583

closed

developer/opensolaris/osnet requirements cleanup

Added by Marcel Telka 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
packaging
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

The developer/opensolaris/osnet meta-package requires several packages provided by distribution, not by the illumos-gate. Such dependency is problematic for various reasons:
  • it is distro specific; currently it is roughly valid for OpenIndiana, but it is not for OmniOS (the developer/opensolaris/osnet package for OmniOS is completely different - it is mostly empty there),
  • it is outdated; for example it lists developer/java/jdk which was renamed long time ago in OpenIndiana, or it lists developer/versioning/mercurial which is not used for many years now.

The best approach for distributions to make sure the illumos-gate is properly buildable is to provide their own way to solve that. OpenIndiana does so via the build-essential package and OmniOS via the illumos-tools package.

This bug aims to remove all packages not provided by the illumos-gate from the developer/opensolaris/osnet meta-package dependency list.

Here is the list of current developer/opensolaris/osnet dependencies (as used by OpenIndiana) which are not illumos-gate packages:

Package Reason for removal
data/docbook build-essential already depends on it
developer/gnu-binutils build-essential already depends on it
developer/java/jdk renamed to developer/java/openjdk8; build-essential already depends on developer/java/openjdk8
developer/lexer/flex build-essential already depends on it
developer/macro/gnu-m4 build-essential already depends on it
developer/parser/bison renamed to developer/parser/bison-37; build-essential already depends on developer/parser/bison-37
developer/versioning/mercurial obsoleted dependency; we use git, not mercurial
library/glib2 build-essential already depends on it
library/libxml2 build-essential already depends on it
library/libxslt build-essential already depends on it
library/nspr/header-nspr build-essential already depends on it
library/perl-5/xml-parser build-essential already depends on it
library/security/trousers build-essential already depends on it
print/cups build-essential already depends on it
print/filter/ghostscript build-essential already depends on it
runtime/perl$(PERL_PKGVERS) build-essential already depends on runtime/perl-524
system/library/dbus build-essential already depends on it
system/library/libdbus-glib build-essential already depends on it
system/library/libdbus build-essential already depends on it
system/library/mozilla-nss/header-nss build-essential already depends on it
system/management/snmp/net-snmp build-essential already depends on it
text/gnu-gettext build-essential already depends on it

Related issues

Related to illumos gate - Bug #7969: developer/opensolaris/osnet requires renamed packageClosedMarcel Telka2017-03-14

Actions
Actions #1

Updated by Marcel Telka 5 months ago

  • Related to Bug #7969: developer/opensolaris/osnet requires renamed package added
Actions #2

Updated by Marcel Telka 5 months ago

  • Description updated (diff)
Actions #3

Updated by Joshua M. Clulow 5 months ago

The best approach for distributions to make sure the illumos-gate is properly buildable is to provide their own way to solve that

I think there is probably some discussion to be had to work out the best approach. For instance, I agree that having distributions maintain their own list of requirements is probably sensible, as they'll not all have the same name for, say, Java or GCC. But I think we could achieve this with a uniform in-gate metapackage -- it would just need to depend on some metapackage that distributions commit to provide with a stable name. Something like build-essential or illumos-tools.

Actions #4

Updated by Marcel Telka 5 months ago

Joshua M. Clulow wrote in #note-3:

The best approach for distributions to make sure the illumos-gate is properly buildable is to provide their own way to solve that

I think there is probably some discussion to be had to work out the best approach. For instance, I agree that having distributions maintain their own list of requirements is probably sensible, as they'll not all have the same name for, say, Java or GCC. But I think we could achieve this with a uniform in-gate metapackage -- it would just need to depend on some metapackage that distributions commit to provide with a stable name. Something like build-essential or illumos-tools.

Yes, if there is such a package, then developer/opensolaris/osnet could depend on it. Similarly what OmniOS already does: their developer/opensolaris/osnet depends on developer/illumos-tools (and nothing else; IOW, they completely ignore developer/opensolaris/osnet from illumos-gate).

So I think the acceptable solution could be to replace all those out-of-gate packages by metapackages/build-essential. This will perfectly fit OpenIndiana and do not affect OmniOS. I'm not sure if there is any other distro using developer/opensolaris/osnet. If there is, and if it does not provide metapackages/build-essential then it either should start to do so, or we could simply not add metapackages/build-essential to developer/opensolaris/osnet.

For now, just to be safe, I prefer developer/opensolaris/osnet without metapackages/build-essential dependency.

Actions #5

Updated by Marcel Telka 5 months ago

Or maybe we could look at it the other way: distro says what is their "main" package to get the build environment ready to build illumos-gate. Such package could depend on developer/opensolaris/osnet. Actually, OpenIndiana already does exactly this: its metapackages/build-essential depends on developer/opensolaris/osnet.

Actions #6

Updated by Electric Monk 5 months ago

  • Gerrit CR set to 2076
Actions #7

Updated by Marcel Telka 5 months ago

  • Status changed from In Progress to Pending RTI
Actions #8

Updated by Electric Monk 5 months ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 0 to 100

git commit a677d6730e287aadab3cc68d0c46fb01b25d72eb

commit  a677d6730e287aadab3cc68d0c46fb01b25d72eb
Author: Marcel Telka <marcel@telka.sk>
Date:   2022-03-29T17:29:52.000Z

    14583 developer/opensolaris/osnet requirements cleanup
    Reviewed by: Andy Fiddaman <andy@omnios.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF