Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12055

Bug#982085: Usage of language specific profiles in build dependencies

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!aioe.org!bofh.it!news.nic.it!robomod
From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.java, linux.debian.devel
Subject Bug#982085: Usage of language specific profiles in build dependencies
Date Thu, 11 Feb 2021 10:30:01 +0100
Message-ID <BHgiK-1Dp-5@gated-at.bofh.it> (permalink)
References <BFuzv-829-1@gated-at.bofh.it>
X-Original-To 982085@bugs.debian.org, Debian Java Liste <debian-java@lists.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Feb 11 09:21:12 2021
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Matthias Klose <doko@debian.org>, 982085@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Santiago Vila <sanvila@debian.org>
X-Debian-Pr-Message followup 982085
X-Debian-Pr-Package src:gettext
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source gettext
X-Spam-Bayes score:0.0000 Tokens: new, 14; hammy, 150; neutral, 51; spammy, 0. spammytokens: hammytokens:0.000-+--armhf, 0.000-+--H*F:U*doko, 0.000-+--mipsel, 0.000-+--H*RU:sk:einhorn, 0.000-+--H*r:sk:einhorn
Old-X-Envelope-From doko@debian.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1650751
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc "debian-devel@lists.debian.org" <debian-devel@lists.debian.org>
X-Original-Date Thu, 11 Feb 2021 10:16:43 +0100
X-Original-Message-ID <8445a01b-6793-00ca-1f66-28751f8b8615@debian.org>
X-Original-References <YB6Fzv6d3MIAl7cU@Jessicas-MacBook.local>
Xref csiph.com linux.debian.bugs.dist:1047638 linux.debian.maint.java:12055 linux.debian.devel:99560

Cross-posted to 3 groups.

Show key headers only | View raw


Please see https://bugs.debian.org/982085

I think it's wrong to encode build dependencies for language stacks that are not
available on some platforms, just using a profile.

Seen in gettext:

  default-jdk <!nojava>, maven-repo-helper <!nojava>

and also in db5.3.

A more cooperative usage of such build dependencies can be seen in brltty
collectd gdcm liblouisutdml link-grammar octave opencv openmpi r-base rjava
swi-prolog ucx vtk7 vtk9 z3 and probably other packages.

These dependencies should look like:

  default-jdk [!hppa !hurd-i386 !kfreebsd-any]

or

  default-jdk [alpha amd64 arm64 armel armhf i386 ia64 m68k mips64el mipsel
powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64 x32]

It's also ok to use something like

  default-jdk [!hppa !hurd-i386 !kfreebsd-any] <!nojava>

to be able to build with the nojava profile.  I also see this used in many mono
related build dependencies.

Having such build dependencies in a package that is a required package for
almost everything isn't helpful.

Matthias

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

Bug#982085: Usage of language specific profiles in build dependencies Matthias Klose <doko@debian.org> - 2021-02-11 10:30 +0100
  Bug#982085: Usage of language specific profiles in build dependencies Paul Gevers <elbrus@debian.org> - 2021-02-11 10:50 +0100
    Bug#982085: Usage of language specific profiles in build dependencies Matthias Klose <doko@debian.org> - 2021-02-11 11:00 +0100
    Bug#982085: Usage of language specific profiles in build dependencies Thorsten Glaser <t.glaser@tarent.de> - 2021-02-11 19:40 +0100

csiph-web