I can't speak for poudriere, but it's definitely doing that with Synth.
On Sat, Feb 17, 2024 at 11:03 AM Robert R. Russell
<rob...@rrbrussell.com> wrote:
>
> On Sat, 17 Feb 2024 10:43:33 -0600
> "John Marino (FreeBSD)" <free...@marino.st> wrote:
>
> > Hi Jan,
> > The point Jonathan was trying to make is that the audio/alsa-plugins
> > has many LIB_DEPENDS set, yet they are not reflected in the final
> > manifest.
> >
> > For example:
> > /usr/ports/audio/alsa-plugins # make -V LIB_DEPENDS_ALL | tr ' ' '\n'
> > | sort -u libasound.so:audio/alsa-lib
> > libavcodec.so:multimedia/ffmpeg
> > libjack.so:audio/jack
> > libpulse.so:audio/pulseaudio
> > libsamplerate.so:audio/libsamplerate
> > libspeexdsp.so:audio/speexdsp
> >
> > but as Jonathan mentioned, the package manifest excludes most of
> > these: # pkg query -F
> > /var/synth/live_packages/All/alsa-plugins-1.2.7.1_3.pkg " %do:%dn-%dv"
> > audio/alsa-lib:alsa-lib-1.2.10_1
> >
> > If you view the audio/alsa-plugins Makefile it is clear that it
> > intends to pull in several subpackages. I believe the package manifest
> > is supposed to list them, but it doesn't:
> >
> > # pkg info --raw -F
> > /var/synth/live_packages/All/alsa-plugins-1.2.7.1_3.pkg name:
> > "alsa-plugins" origin: "audio/alsa-plugins"
> > version: "1.2.7.1_3"
> > comment: "ALSA compatibility library plugins"
> > maintainer: "ports@FreeBSD.org"
> > www: "https://www.alsa-project.org/"
> > abi: "FreeBSD:13:amd64"
> > arch: "freebsd:13:x86:64"
> > prefix: "/usr/local"
> > flatsize: 97570
> > licenselogic: "single"
> > licenses: [
> > "LGPL21+"
> > ]
> > desc: "The Advanced Linux Sound Architecture (ALSA) plugins"
> > deps: {
> > alsa-lib: {
> > origin: "audio/alsa-lib",
> > version: "1.2.10_1"
> > }
> > }
> > categories: [
> > "audio"
> > ]
> > shlibs_required: [
> > "libasound.so.2"
> > ]
> > shlibs_provided: [
> > "libasound_module_ctl_arcam_av.so",
> > "libasound_module_ctl_oss.so",
> > "libasound_module_pcm_oss.so",
> > "libasound_module_pcm_upmix.so",
> > "libasound_module_pcm_usb_stream.so",
> > "libasound_module_pcm_vdownmix.so"
> > ]
> > options: {
> > FFMPEG: "on",
> > JACK: "on",
> > PULSEAUDIO: "on",
> > SAMPLERATE: "on",
> > SPEEX: "on"
> > }
> > [etc]
> >
> >
> > Bottom line:
> > I think the subpackage code missed support for the package manifest.
> > Regards,
> > John
> >
>
> Would that missing code cause audio/alsa-plugins to show a need for a
> rebuild with new dependencies every time poudriere runs?
>