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 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: References: X-Original-To: 982085@bugs.debian.org, Debian Java Liste X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Feb 11 09:21:12 2021 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4.2 Reply-To: Matthias Klose , 982085@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Santiago Vila 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: archive/latest/1650751 List-ID: List-URL: 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" 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: Xref: csiph.com linux.debian.bugs.dist:1047638 linux.debian.maint.java:12055 linux.debian.devel:99560 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 , maven-repo-helper 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] 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