[Bug 282382] java/eclipse - version 4.33 - Correct lib dependencies

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Oct 2024 13:51:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282382

            Bug ID: 282382
           Summary: java/eclipse - version 4.33 - Correct lib dependencies
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ngrundmann@gmx.de

I got 3 port build failures with:

[INFO]      [exec] cc -shared -fPIC  -L`pkg-config --variable=prefix
gtk+-3.0`/lib -s -o libswt-glx-gtk-4966r5.so swt.o glx.o glx_structs.o
glx_stats.o -lGL -lGLU -lm
[INFO]      [exec] gmake[1]: Leaving directory
'/wrkdirs/usr/ports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_33_maintenance/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.freebsd.x86_64/target/natives-build-temp'
[INFO]      [exec] *** GTK3 Build failed, aborting further actions..
[INFO]      [exec] ld: error: unable to find library -lGLU
[INFO]      [exec] cc: error: linker command failed with exit code 1 (use -v to
see invocation)
[INFO]      [exec] gmake[1]: *** [make_unix.mak:245: libswt-glx-gtk-4966r5.so]
Error 1

The fix is in the port's Makefile for LIB_DEPENDS: add the line with libGLU:

-- snip --
LIB_DEPENDS=    libsecret-1.so:security/libsecret \
                libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
                libGLU.so:graphics/libGLU
-- snip --

Cheers, Norbert

-- 
You are receiving this mail because:
You are the assignee for the bug.