From nobody Tue Feb 20 20:23:44 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 4TfW8F1nV8z55b1B for ; Tue, 20 Feb 2024 20:23:57 +0000 (UTC) (envelope-from john@marino.st) Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TfW8D573rz4gH9 for ; Tue, 20 Feb 2024 20:23:56 +0000 (UTC) (envelope-from john@marino.st) Authentication-Results: mx1.freebsd.org; none Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3bb9b28acb4so4009554b6e.2 for ; Tue, 20 Feb 2024 12:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marino-st.20230601.gappssmtp.com; s=20230601; t=1708460635; x=1709065435; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4IqgjoZwJvC8qlNxURXa7uJVaoesh+DED9kTD1gSv30=; b=A9J1VgjYYyXqHXqAlCObzuDUtp90Ob/pI4ow6dclEn+hgdSP6Fc/n/OZG4+zyBNcs7 l7C1h/leHXpgwzMsgWFlMho4kHQPrXg6gP/Kqq4HIvKxvxZG0xkMwx7kRWED4HQbjLK/ YOOyW9gy/325byy6wXO7WMtuuTbv+oaLL8upuJK8Mwmr3WmXdYWiC0Pp430MahNKM1Cu iEFqYp3/1JOWY8HuyoTXcQyqF2Ked6sxV7O8Dsv7OYScvdUKEcuiLfYIfmnvM5gWrftF DBFL6G5jnZYXFsTXGh+oKAh0RjerhAOccYS3K9jacUtzlKdSY0qp7y7rHTTuE59IUtf1 SKZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708460635; x=1709065435; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4IqgjoZwJvC8qlNxURXa7uJVaoesh+DED9kTD1gSv30=; b=AvjRjslMM6B6OIo8oM6O6e2RaLwfBjh19IVJXK5uP76AfwOI7sMgDrPN+dzZsN/CNp UXQM0atU/gtwP5zwol6VMRyxB+x+jyzayKaPEnGMELYc0OvlcPZyRd12fsZqt0VwT399 uOyxvSDcphq437eo+KUxW+2WTbF3Q3w7A3IrufxRhAvPSHlWuIg27RwoR+0SkOHxBeBH qv7vLvHc373NqrbO9Vukg8MyGbtH2MmHShv3NpQ1TmoToVDGWvMzekKfZ6+0tTpC+EFP a0RmsohWxewj8qngavApv3GTLPXduy8ut2+b3nU1WO1d/Mq50HDlWSNyooeDALqX/MqF 2tJA== X-Forwarded-Encrypted: i=1; AJvYcCUuyTC9mPo55McfIu7E5lJQBz9eGnwfs82VTrUkaSP2TFz3aJhwQ5Ca87OkIWyrAneDXhNEPhAk6IBcSb0krCtj8Sfn34HyBK+d X-Gm-Message-State: AOJu0YzqstMUrbtN+YHIp//lwWVqaqctLlUV/YDFlAPU19VnqQCb5Htk X+rgOTelRXsTjhp05GJoGs1DUDG79o/RryzuagdCWkhcQQzWo9g0dWabd6FGBru/8niL/cwsdtX dAbMQyf6INAM/V9j13fgbFDT7SsLWAeCb5M6hC4w267lrmSQ7uaI= X-Google-Smtp-Source: AGHT+IHgtzjYQicTXgyQu4inS5niZ+7R8FqB0c3NL9zVZYsaUHou18Ec45SlzxwkCOQuX1yo1M9B3PiDdPwIVJZeDDs= X-Received: by 2002:a05:6808:220f:b0:3bf:fdb2:ca5b with SMTP id bd15-20020a056808220f00b003bffdb2ca5bmr20060395oib.3.1708460635547; Tue, 20 Feb 2024 12:23:55 -0800 (PST) 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 References: <641ffb1d-1a6a-46bc-81ce-1daba2dec27b@chen.org.nz> <1b27f0f5d3062493151897d85e562740@chen.org.nz> In-Reply-To: From: "John Marino (FreeBSD)" Date: Tue, 20 Feb 2024 14:23:44 -0600 Message-ID: Subject: Re: Installed audio/alsa-plugins and dependencies To: Jan Beich Cc: jonc@chen.org.nz, freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4TfW8D573rz4gH9 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] I get it now. e.g LIB_DEPENDS.speex=3D ${LIB_DEPENDS} libspeexdsp.so:audio/speexdsp This is saying the speex subpackage needs speexdsp. Let me look at this more in depth. On Tue, Feb 20, 2024 at 1:57=E2=80=AFPM Jan Beich wrot= e: > > jonc@chen.org.nz writes: > > >>> It appears to be missing the SUBPACKAGE dependencies. Is this > >>> intentional, or a bug? > >> > >> Intentional. See pkg-message: > >> > >> Plugins 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 package, anything listed in LIB_DEPENDS or USES are > > automatically listed as package dependencies. However, if I install > > audio/alsa-plugins, the only way I know what dependencies are required > > is to by consulting /usr/ports/audio/alsa-plugins/Makefile. And if > > audio/alsa-plugins was to be compiled with non-standard OPTIONS, it's > > impossible to tell what dependencies are _actually_ required. > > Port dependencies are not package dependencies. With subpackages a > single port can build multiple packages. As such, runtime dependencies[1] > and files are split between multiple packages. However, all build-only > dependencies are shared and not recorded in binary packages. When you > build from ports you build every subpackage[2], so you need to use > options to limit dependencies. > > If you want to install only "alsa-plugins" (aka "main" subpackage) > without extra plugins/dependencies just do it like before with all port > options unset. > > [1] what "make run-depends-list" shows > [2] until https://reviews.freebsd.org/D43789 >