pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "ld: cannot find -lin" with ninja/meson builds
On Thu, Mar 06, 2025 at 11:07:45PM +0100, Thomas Klausner wrote:
> On Thu, Mar 06, 2025 at 03:58:45PM +0100, Hauke Fath wrote:
> > Hi,
> >
> > pkg_rolling-rebuilding after a cvs update, I am getting a few build
> > failures (so far libproxy, gtk-doc, gobject-introspection) of the shape
> >
> > [...]
> > ld: cannot find -lin
> >
> > or, in the case of gtk-doc, a
> >
> > [...]
> > FAILED: giscanner/_giscanner.so
> > gcc -o giscanner/_giscanner.so
> > giscanner/_giscanner.so.p/giscannermodule.c.o -L/usr/lib -L/usr/pkg/lib
> > -I/usr/include -I/usr/pkg/include/python3.12
> > -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
> > -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -Wl,--as-needed
> > -Wl,--allow-shlib-undefined -shared -fPIC -Wl,-R/usr/lib
> > -Wl,-R/usr/pkg/lib -O2 -Wl,--start-group giscanner/libgiscanner.a
> > -Wl,-R/usr/pkg/lib /usr/pkg/lib/libglib-2.0.so /usr/pkg/lib/libintl.so
> > -Wl,-R/usr/pkg/lib /usr/pkg/lib/libgobject-2.0.so -Wl,-R/usr/pkg/lib
> > -L/usr/pkg/lib -lint -Wl,-R/usr/pkg/lib /usr/pkg/lib/libgio-2.0.so
> > -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lin
> > -Wl,--export-dynamic -Wl,-R/usr/pkg/lib /usr/pkg/lib/libgmodule-2.0.so
> > -pthread -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lint -Wl,-R/usr/pkg/lib
> > -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lint
> > -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> > -lin -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lint
> > -Wl,--end-group
> > ld: cannot find -lint
> > ld: cannot find -lin
> > ld: cannot find -lint
> > ld: cannot find -lint
> > ld: cannot find -lin
> > ld: cannot find -lint
> > [...]
> >
> > which look suspiciously like a misshaped "-lintl".
> >
> > Rebuilding ninja and meson didn't make a difference.
>
> Hm, I see a similar issue in a rust package where reliably '-lnettl'
> (instead of '-lnettle') ends up on the command line (see
> wip/sequoia-chameleon-gnupg) - no meson or ninja involved.
>
> This is on 10.99.12/x86_64.
From what's been changed recently, I'm pretty sure it must be pkgconf.
Yes, reverting locally to 2.3.0 fixes it.
I'll revert the update.
https://github.com/pkgconf/pkgconf/issues/383
Thomas
Home |
Main Index |
Thread Index |
Old Index