Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2024 11:47:22 +0000
From:      Norbert Grundmann <ngrundmann@gmx.de>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Error in java/eclipse 4.33 build
Message-ID:  <5dd04b13-767b-4390-ba23-4cba20fb0cb6@gmx.de>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------sS3cYL0EX9p66FostcAgYSN2
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hello,

today I got a freebsd package failure in the build of eclipse 4.33 on
amd64 for relases 13.3 and 14.1...=C2=A0 the error is this:

...
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=3D4966r5   -DGTK -I/usr=
/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-c=
onfig --variable=3Dprefix gtk+-3.0`/include -I/usr/local/openjdk17/include=
/freebsd -Werror  -c glx.c
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=3D4966r5   -DGTK -I/usr=
/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-c=
onfig --variable=3Dprefix gtk+-3.0`/include -I/usr/local/openjdk17/include=
/freebsd -Werror  -c glx_structs.c
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=3D4966r5   -DGTK -I/usr=
/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-c=
onfig --variable=3Dprefix gtk+-3.0`/include -I/usr/local/openjdk17/include=
/freebsd -Werror  -c glx_stats.c
[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_st=
ats.o -lGL*-lGLU* -lm
[INFO]      [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/ec=
lipse/work/eclipse.platform.releng.aggregator-R4_33_maintenance/eclipse.pl=
atform.swt/binaries/org.eclipse.swt.gtk.freebsd.x86_64/target/natives-buil=
d-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 bold line is the error - it cannot find -lGLU.=C2=A0 What does it mean=
?=C2=A0
in Makefile I use:

BUILD_DEPENDS=3D=C2=A0 git:devel/git \
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 mvn:devel/maven39 \
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 zip:archivers/zip
LIB_DEPENDS=3D=C2=A0=C2=A0=C2=A0 libsecret-1.so:security/libsecret \
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 libwebkit2gtk-4.0.so:www/webkit2-gtk3
USES=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 compil=
er:c++17-lang gmake pkgconfig gnome
USE_GNOME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gtk30
USE_JAVA=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 17+

do I have to change settings?

by the way: I run a manual make succesfully on 14.1-RELEASE-p5 in
/usr/port/java/eclipse on my PC :-)

many thanks and have a nice day :-)=C2=A0 Norbert

=2D-
Norbert Grundmann

I love penguins at the south pole,
windows in my house and apples on my tree,
but not in my computer

--------------sS3cYL0EX9p66FostcAgYSN2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-=
8">
  </head>
  <body>
    <p>Hello,</p>
    <p>today I got a freebsd package failure in the build of eclipse
      4.33 on amd64 for relases 13.3 and 14.1...=C2=A0 the error is this:<=
/p>
    <pre>...
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=3D4966r5   -DGTK -I/usr=
/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-c=
onfig --variable=3Dprefix gtk+-3.0`/include -I/usr/local/openjdk17/include=
/freebsd -Werror  -c glx.c
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=3D4966r5   -DGTK -I/usr=
/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-c=
onfig --variable=3Dprefix gtk+-3.0`/include -I/usr/local/openjdk17/include=
/freebsd -Werror  -c glx_structs.c
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=3D4966r5   -DGTK -I/usr=
/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-c=
onfig --variable=3Dprefix gtk+-3.0`/include -I/usr/local/openjdk17/include=
/freebsd -Werror  -c glx_stats.c
[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_st=
ats.o -lGL <b>-lGLU</b> -lm
[INFO]      [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/ec=
lipse/work/eclipse.platform.releng.aggregator-R4_33_maintenance/eclipse.pl=
atform.swt/binaries/org.eclipse.swt.gtk.freebsd.x86_64/target/natives-buil=
d-temp'
[INFO]      [exec] *** GTK3 Build failed, aborting further actions..
<b>[INFO]      [exec] ld: error: unable to find library -lGLU</b>
[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
...
</pre>
    <p>The bold line is the error - it cannot find -lGLU.=C2=A0 What does =
it
      mean?=C2=A0 in Makefile I use:</p>
    <p><font face=3D"monospace">BUILD_DEPENDS=3D=C2=A0 git:devel/git \<br>
        =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 mvn:devel/maven39 \<br>
        =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 zip:archivers/zip<br>
        LIB_DEPENDS=3D=C2=A0=C2=A0=C2=A0 libsecret-1.so:security/libsecret=
 \<br>
        =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 libwebkit2gtk-4.0.so:www/webkit2-gtk3<br>
        USES=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 compiler:c++17-lang gmake pkgconfig gnome<br>
        USE_GNOME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gtk30<br>
        USE_JAVA=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 17+</font><br>
    </p>
    <p>do I have to change settings?</p>
    <p>by the way: I run a manual make succesfully on 14.1-RELEASE-p5 in
      /usr/port/java/eclipse on my PC :-)<br>
    </p>
    <p>many thanks and have a nice day :-)=C2=A0 Norbert<br>
    </p>
    <p></p>
    <pre class=3D"moz-signature" cols=3D"72">--
Norbert Grundmann

I love penguins at the south pole,
windows in my house and apples on my tree,
but not in my computer</pre>
  </body>
</html>

--------------sS3cYL0EX9p66FostcAgYSN2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5dd04b13-767b-4390-ba23-4cba20fb0cb6>