From nobody Tue Feb 20 19:17:41 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TfTh01b6dz55ShF for ; Tue, 20 Feb 2024 19:17:52 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from egress.chen.org.nz (egress.chen.org.nz [170.75.172.82]) by mx1.freebsd.org (Postfix) with ESMTP id 4TfTgz0XmPz4X2Y; Tue, 20 Feb 2024 19:17:50 +0000 (UTC) (envelope-from jonc@chen.org.nz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jonc@chen.org.nz designates 170.75.172.82 as permitted sender) smtp.mailfrom=jonc@chen.org.nz; dmarc=none Received: from mail.chen.org.nz (unknown [210.54.37.164]) by egress.chen.org.nz (Postfix) with ESMTP id 1A441111E19; Wed, 21 Feb 2024 08:17:07 +1300 (NZDT) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id 8705C2CB25; Wed, 21 Feb 2024 08:17:42 +1300 (NZDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on ametrine.inside.chen.org.nz Received: from rainloop.jail (rainloop.jail [192.168.1.4]) by mail.chen.org.nz (Postfix) with ESMTP id 6D8A62CA3C; Wed, 21 Feb 2024 08:17:42 +1300 (NZDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Tue, 20 Feb 2024 19:17:41 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.17.0 From: jonc@chen.org.nz Message-ID: <1b27f0f5d3062493151897d85e562740@chen.org.nz> Subject: Re: Installed audio/alsa-plugins and dependencies To: "Jan Beich" Cc: freebsd-ports@freebsd.org In-Reply-To: References: <641ffb1d-1a6a-46bc-81ce-1daba2dec27b@chen.org.nz> X-Rspamd-Queue-Id: 4TfTgz0XmPz4X2Y X-Spamd-Bar: - X-Spamd-Result: default: False [-1.65 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_SPAM_SHORT(0.55)[0.547]; R_SPF_ALLOW(-0.20)[+a:egress.chen.org.nz]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:174, ipnet:170.75.160.0/20, country:US]; ARC_NA(0.00)[]; FROM_NO_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[chen.org.nz]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_DKIM_NA(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] February 17, 2024 1:56 AM, "Jan Beich" wrote: >> But the installed package reports: >> 8:09pm# pkg info --dependencies alsa-plugins >> alsa-plugins-1.2.7.1_3: >> alsa-lib-1.2.10_1 >=20 >=20Check dependencies of subpackages instead e.g., >=20 >=20$ pkg info -xd 'alsa-plugins-[^0-9]' > alsa-plugins-ffmpeg-1.2.7.1_3: > ffmpeg-6.1.1_3,1 > alsa-lib-1.2.10_1 > alsa-plugins-jack-1.2.7.1_3: > jackit-1.9.22_2 > alsa-lib-1.2.10_1 > alsa-plugins-pulseaudio-1.2.7.1_3: > pulseaudio-16.1_2 > alsa-lib-1.2.10_1 > alsa-plugins-samplerate-1.2.7.1_3: > libsamplerate-0.2.2_1 > alsa-lib-1.2.10_1 > alsa-plugins-speex-1.2.7.1_3: > speexdsp-1.2.1 > alsa-lib-1.2.10_1 >=20 >>=20It appears to be missing the SUBPACKAGE dependencies. Is this >> intentional, or a bug? >=20 >=20Intentional. See pkg-message: >=20 >=20Plugins with extra dependencies moved into subpackages: > - alsa-plugins-ffmpeg > - alsa-plugins-jack > - alsa-plugins-pulseaudio > - alsa-plugins-samplerate > - alsa-plugins-speex In my opinion, that's _not_ correct. When we install any non-SUBPACKAGE p= ackage, anything listed in LIB_DEPENDS or USES are automatically listed a= s package dependencies. However, if I install audio/alsa-plugins, the onl= y way I know what dependencies are required is to by consulting /usr/port= s/audio/alsa-plugins/Makefile. And if audio/alsa-plugins was to be compil= ed with non-standard OPTIONS, it's impossible to tell what dependencies a= re _actually_ required. Cheers. -- Jonathan Chen