Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2026 07:31:20 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        Nuno Teixeira <eduardo@freebsd.org>
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:  <20260220073120.462cbd934d0e976500d30851@dec.sakura.ne.jp>
In-Reply-To: <CAFDf7UKA%2BjQ3WZK=%2BL=CtMQEUdpwXWkrvEr8PVruQKYV6-WBaA@mail.gmail.com>
References:  <20260219214630.29ae3ce962b14894920cbeca@dec.sakura.ne.jp> <CAFDf7UKA%2BjQ3WZK=%2BL=CtMQEUdpwXWkrvEr8PVruQKYV6-WBaA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20260220073120.462cbd934d0e976500d30851>