Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2024 13:51:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282382] java/eclipse - version 4.33 - Correct lib dependencies
Message-ID:  <bug-282382-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282382

            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=3Dprefix
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.x=
86_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=3D    libsecret-1.so:security/libsecret \
                libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
                libGLU.so:graphics/libGLU
-- snip --

Cheers, Norbert

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



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