public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: trupanka@gmail.com
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Need clear semantics for packages with binary entities
Date: Mon, 28 Dec 2015 21:24:14 +0300	[thread overview]
Message-ID: <20151228182414.GB4303@web> (raw)

I’m suffering from the fact that users can distinguish packages containing
binaries just by eye. There is no mechanism to allow/ignore such packages.
For license restrictions we have ‘package.license/’ whitelist.

I figure out the following binary entities in portage’s packages
that (to my point of view) need to be clearly defined as BINARY:
1. *-bin packages (maven-bin, icedtea-bin)
2. firmware packages (linux-firmware)
3. purely binary packages that are installed without any notion
they are binary or source packages just like Ubuntu’s ones
(app-office/upwork)
4. packages with pre-compiled bytecode/objectcode that are installed
like packages in #3.
(geogebra, many packages with .jar files in dev-java/*)
5. packages with ‘-binary’ USE-flag. Semantics of ‘-binary’ differs:
(seabios) binary     : Use official upstream pre-built binaries
(ghc) binary        : Install the binary version directly, rather than
using it to build the source version.
(scala) binary : Install from (Gentoo-compiled) binary instead of
building from sources. Set this when you run out of memory during build.
(etc...)
6. packages that need binaries to compile/bootstrap (sbcl)
7. to be continued... I guess

#1 semantics has no control. Such packages may be installed as a
dependency
without warnings they are binaries.
#5 semantics are not clear (defined in manifest.xml)

The only binary entities under users’ control are:
1. packages from “PKGDIR” installed with ‘emerge --usepkg’
2. packages with -binary USE-flag

I wonder if Gentoo’s devs can do something with the problem.
I think it’s problem in source-based Linux distribution.


             reply	other threads:[~2015-12-28 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-28 18:24 trupanka [this message]
2015-12-28 18:33 ` [gentoo-dev] Need clear semantics for packages with binary entities Michał Górny
2015-12-30 12:13   ` Kristian Fiskerstrand
2015-12-30 16:28 ` Zac Medico
2015-12-31  0:14 ` Chí-Thanh Christopher Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151228182414.GB4303@web \
    --to=trupanka@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox