Date: Thu, 19 Feb 2026 23:43:35 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Cc: dev-commits-ports-main@freebsd.org, bdrewery@freebsd.org, kbowling@freebsd.org, ashafer@freebsd.org Subject: Re: git: ef6d1e8204f6 - main - ports-mgmt/poudriere-devel: Update to 3.3.0-2517-g1ee69405b Message-ID: <CAFDf7U%2BSp3rmycpWnYxUVLk28vCvGbiPo9mwWKSQWGgph_u_Dw@mail.gmail.com> In-Reply-To: <20260220073120.462cbd934d0e976500d30851@dec.sakura.ne.jp> References: <20260219214630.29ae3ce962b14894920cbeca@dec.sakura.ne.jp> <CAFDf7UKA%2BjQ3WZK=%2BL=CtMQEUdpwXWkrvEr8PVruQKYV6-WBaA@mail.gmail.com> <20260220073120.462cbd934d0e976500d30851@dec.sakura.ne.jp>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Just as a side note, this error only happens
with PKG_NO_VERSION_FOR_DEPS=yes.
Without that config, testport Q/A check don't report missing lib.
Thanks,
Tomoaki AOKI <junchoon@dec.sakura.ne.jp> escreveu (quinta, 19/02/2026 à(s)
22:31):
> Hi.
>
> On Thu, 19 Feb 2026 19:25:59 +0000
> Nuno Teixeira <eduardo@freebsd.org> wrote:
>
> > Hello,
> >
> > Also, I found that testport complains about it:
> >
> > ```
> > ====> Running Q/A tests (stage-qa)
> > Error: /usr/local/lib/libnvidia-egl-wayland.so.1.1.20 is linked to
> > /usr/local/lib/libdrm.so.2 from graphics/libdrm but it is not declared
> as a
> > dependency
> > Warning: you need LIB_DEPENDS+=libdrm.so:graphics/libdrm
> > Warning: you might not need LIB_DEPENDS on libEGL.so
> > ```
> >
> > I've did add missing lib depend:
> >
> > ```diff
> > --- a/graphics/egl-wayland/Makefile
> > +++ b/graphics/egl-wayland/Makefile
> > @@ -1,5 +1,6 @@
> > PORTNAME= egl-wayland
> > DISTVERSION= 1.1.20
> > +PORTREVISION= 1
> > CATEGORIES= graphics
> >
> > MAINTAINER= ports@FreeBSD.org
> > @@ -12,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
> > BUILD_DEPENDS= eglexternalplatform>=1.1:graphics/eglexternalplatform \
> > ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm
> \
> > wayland-protocols>=1.8:graphics/wayland-protocols
> > -LIB_DEPENDS= libwayland-server.so:graphics/wayland
> > +LIB_DEPENDS= libdrm.so:graphics/libdrm \
> > + libwayland-server.so:graphics/wayland
> > ```
> >
> > And it fixed poudriere warning and it does not recompile each time I do a
> > bulk on my ports.
>
> Not yet tried on poudriere, but mostly same change (not bumping
> PORTREVISION and the order of LIB_DEPENDS differs as it's casual
> test) went fine on `make` and `make package` without harm.
> (My poudriere is still busy building www/chromium...)
>
> But...see below.
>
>
> > graphics/egl-wayland is unmaintained but I think is a safe change to
> commit.
> >
> > Thoughts?
>
> This port is maintained in conjunction with x11/linux-nvidia-libs
> to keep in sync with Linux counterpart.
>
>
> CC'ing kbowling and ashafer:
>
> There is already 1.1.21 tagged upstream, but currently staying
> 1.1.20 as Linux counterpart in x11/linux-nvidia-libs extracted
> from upstream tarball is still at 1.1.20.
>
> Note that the upstream of this port seems to be 1.1.22 now but
> not yet tagged for it (the latest tag is 1.1.21).
>
> Do you think it's worth upgrading instead of bumping
> PORTREVISION? Or should this still keep in sync with
> Linux counterpart?
>
> If it's worth upgrading, I'll file a PR / open review for it
> hopefully tonight (JST) or tomorrow.
>
> And should this port (also graphics/egl-x11 and
> graphics/eglexternalplatform, too) be under the umbrella of x11
> group maintainer as other nvidia things?
>
> Thoughts?
>
> Regards.
>
>
> > Thanks,
> >
> >
> > Tomoaki AOKI <junchoon@dec.sakura.ne.jp> escreveu (quinta, 19/02/2026
> à(s)
> > 12:46):
> >
> > > Hi.
> > >
> > > I've never encountered maintaining this, but does adding
> > >
> > > libdrm.so:graphics/libdrm
> > >
> > > line (with adding line continuation " \" at previous line) in
> > > LIB_DEPENDS of graphics/egl-wayland help?
> > >
> > >
> > > Anyway, this is strange on build time, as graphics/egl-wayland has
> > > ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \
> > > in its Makefile.
> > >
> > >
> > >
> https://github.com/freebsd/freebsd-ports/blob/main/graphics/egl-wayland/Makefile#L13
> > >
> > >
> > > Note that graphics/egl-wayland is dependended upon by
> > > x11/nvidia-driver{-470|-devel} only, and all these
> > > depends on x11-servers/xorg-server, which depends on
> > > graphics/libdrm.
> > >
> > > So in actual use-cases, it shouldn't be broken on runtime.
> > >
> > > Regards.
> > >
> > >
> > > > Hello Bryan,
> > > >
> > > > In my local package builder (around 1000 pkgs), I still see:
> > > >
> > > > ```
> > > > 00:00:53] [01] [00:00:00] Inspecting graphics/egl-wayland |
> > > > egl-wayland-1.1.20: determining shlib requirements
> > > > [00:00:53] [01] [00:00:00] Warning: egl-wayland-1.1.20 will be
> rebuilt
> > > as
> > > > it misses libdrm.so.2 which no dependency provides. It is likely
> > > (silently)
> > > > failing testport/stage-qa. Report to maintainer.
> > > > [00:00:53] [01] [00:00:00] Building graphics/egl-wayland |
> > > > egl-wayland-1.1.20: misses undeclared shlib libdrm.so.2
> > > > ```
> > > > using poudriere.conf `PKG_NO_VERSION_FOR_DEPS=yes`
> > > >
> > > > Any clues on this one?
> > > >
> > > > Thanks!
> > > >
> > > > ports-mgmt/poudriere-devel: Update to 3.3.0-2517-g1ee69405b
> > > >>
> > > >> Changes:
> > > >> - bulk shlib tracking: Don't consider base libprivate*.so as
> > > missing.
> > > >> - bulk shlib tracking: Remove the 'misses all libraries' case;
> > > >> always print a specific library that is missing.
> > > >
> > > >
> > > >
> > > > --
> > > > Nuno Teixeira
> > > > FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org
> > >
> > >
> > > --
> > > Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
> > >
> >
> >
> > --
> > Nuno Teixeira
> > FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org
>
>
> --
> Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
>
--
Nuno Teixeira
FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org
[-- Attachment #2 --]
<div dir="ltr"><div><div>Just as a side note, this error only happens with PKG_NO_VERSION_FOR_DEPS=yes.<br></div>Without that config, testport Q/A check don't report missing lib.<br><br></div><div>Thanks,</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Tomoaki AOKI <<a href="mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp</a>> escreveu (quinta, 19/02/2026 à(s) 22:31):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi.<br>
<br>
On Thu, 19 Feb 2026 19:25:59 +0000<br>
Nuno Teixeira <<a href="mailto:eduardo@freebsd.org" target="_blank">eduardo@freebsd.org</a>> wrote:<br>
<br>
> Hello,<br>
> <br>
> Also, I found that testport complains about it:<br>
> <br>
> ```<br>
> ====> Running Q/A tests (stage-qa)<br>
> Error: /usr/local/lib/libnvidia-egl-wayland.so.1.1.20 is linked to<br>
> /usr/local/lib/libdrm.so.2 from graphics/libdrm but it is not declared as a<br>
> dependency<br>
> Warning: you need LIB_DEPENDS+=libdrm.so:graphics/libdrm<br>
> Warning: you might not need LIB_DEPENDS on libEGL.so<br>
> ```<br>
> <br>
> I've did add missing lib depend:<br>
> <br>
> ```diff<br>
> --- a/graphics/egl-wayland/Makefile<br>
> +++ b/graphics/egl-wayland/Makefile<br>
> @@ -1,5 +1,6 @@<br>
> PORTNAME= egl-wayland<br>
> DISTVERSION= 1.1.20<br>
> +PORTREVISION= 1<br>
> CATEGORIES= graphics<br>
> <br>
> MAINTAINER= ports@FreeBSD.org<br>
> @@ -12,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING<br>
> BUILD_DEPENDS= eglexternalplatform>=1.1:graphics/eglexternalplatform \<br>
> ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \<br>
> wayland-protocols>=1.8:graphics/wayland-protocols<br>
> -LIB_DEPENDS= libwayland-server.so:graphics/wayland<br>
> +LIB_DEPENDS= libdrm.so:graphics/libdrm \<br>
> + libwayland-server.so:graphics/wayland<br>
> ```<br>
> <br>
> And it fixed poudriere warning and it does not recompile each time I do a<br>
> bulk on my ports.<br>
<br>
Not yet tried on poudriere, but mostly same change (not bumping<br>
PORTREVISION and the order of LIB_DEPENDS differs as it's casual<br>
test) went fine on `make` and `make package` without harm.<br>
(My poudriere is still busy building www/chromium...)<br>
<br>
But...see below.<br>
<br>
<br>
> graphics/egl-wayland is unmaintained but I think is a safe change to commit.<br>
> <br>
> Thoughts?<br>
<br>
This port is maintained in conjunction with x11/linux-nvidia-libs<br>
to keep in sync with Linux counterpart.<br>
<br>
<br>
CC'ing kbowling and ashafer:<br>
<br>
There is already 1.1.21 tagged upstream, but currently staying<br>
1.1.20 as Linux counterpart in x11/linux-nvidia-libs extracted<br>
from upstream tarball is still at 1.1.20.<br>
<br>
Note that the upstream of this port seems to be 1.1.22 now but<br>
not yet tagged for it (the latest tag is 1.1.21).<br>
<br>
Do you think it's worth upgrading instead of bumping<br>
PORTREVISION? Or should this still keep in sync with<br>
Linux counterpart?<br>
<br>
If it's worth upgrading, I'll file a PR / open review for it<br>
hopefully tonight (JST) or tomorrow.<br>
<br>
And should this port (also graphics/egl-x11 and<br>
graphics/eglexternalplatform, too) be under the umbrella of x11<br>
group maintainer as other nvidia things?<br>
<br>
Thoughts?<br>
<br>
Regards.<br>
<br>
<br>
> Thanks,<br>
> <br>
> <br>
> Tomoaki AOKI <<a href="mailto:junchoon@dec.sakura.ne.jp" target="_blank">junchoon@dec.sakura.ne.jp</a>> escreveu (quinta, 19/02/2026 à(s)<br>
> 12:46):<br>
> <br>
> > Hi.<br>
> ><br>
> > I've never encountered maintaining this, but does adding<br>
> ><br>
> > libdrm.so:graphics/libdrm<br>
> ><br>
> > line (with adding line continuation " \" at previous line) in<br>
> > LIB_DEPENDS of graphics/egl-wayland help?<br>
> ><br>
> ><br>
> > Anyway, this is strange on build time, as graphics/egl-wayland has<br>
> > ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \<br>
> > in its Makefile.<br>
> ><br>
> ><br>
> > <a href="https://github.com/freebsd/freebsd-ports/blob/main/graphics/egl-wayland/Makefile#L13" rel="noreferrer" target="_blank">https://github.com/freebsd/freebsd-ports/blob/main/graphics/egl-wayland/Makefile#L13</a><br>
> ><br>
> ><br>
> > Note that graphics/egl-wayland is dependended upon by<br>
> > x11/nvidia-driver{-470|-devel} only, and all these<br>
> > depends on x11-servers/xorg-server, which depends on<br>
> > graphics/libdrm.<br>
> ><br>
> > So in actual use-cases, it shouldn't be broken on runtime.<br>
> ><br>
> > Regards.<br>
> ><br>
> ><br>
> > > Hello Bryan,<br>
> > ><br>
> > > In my local package builder (around 1000 pkgs), I still see:<br>
> > ><br>
> > > ```<br>
> > > 00:00:53] [01] [00:00:00] Inspecting graphics/egl-wayland |<br>
> > > egl-wayland-1.1.20: determining shlib requirements<br>
> > > [00:00:53] [01] [00:00:00] Warning: egl-wayland-1.1.20 will be rebuilt<br>
> > as<br>
> > > it misses libdrm.so.2 which no dependency provides. It is likely<br>
> > (silently)<br>
> > > failing testport/stage-qa. Report to maintainer.<br>
> > > [00:00:53] [01] [00:00:00] Building graphics/egl-wayland |<br>
> > > egl-wayland-1.1.20: misses undeclared shlib libdrm.so.2<br>
> > > ```<br>
> > > using poudriere.conf `PKG_NO_VERSION_FOR_DEPS=yes`<br>
> > ><br>
> > > Any clues on this one?<br>
> > ><br>
> > > Thanks!<br>
> > ><br>
> > > ports-mgmt/poudriere-devel: Update to 3.3.0-2517-g1ee69405b<br>
> > >><br>
> > >> Changes:<br>
> > >> - bulk shlib tracking: Don't consider base libprivate*.so as<br>
> > missing.<br>
> > >> - bulk shlib tracking: Remove the 'misses all libraries' case;<br>
> > >> always print a specific library that is missing.<br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Nuno Teixeira<br>
> > > FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br>
> ><br>
> ><br>
> > --<br>
> > Tomoaki AOKI <<a href="mailto:junchoon@dec.sakura.ne.jp" target="_blank">junchoon@dec.sakura.ne.jp</a>><br>
> ><br>
> <br>
> <br>
> -- <br>
> Nuno Teixeira<br>
> FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br>
<br>
<br>
-- <br>
Tomoaki AOKI <<a href="mailto:junchoon@dec.sakura.ne.jp" target="_blank">junchoon@dec.sakura.ne.jp</a>><br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BSp3rmycpWnYxUVLk28vCvGbiPo9mwWKSQWGgph_u_Dw>
