From nobody Thu Oct 24 11:51:05 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XZ44f4R15z5bP7n for ; Thu, 24 Oct 2024 11:51:14 +0000 (UTC) (envelope-from SRS0=zDol=RU=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZ44f2BD9z42ZV for ; Thu, 24 Oct 2024 11:51:14 +0000 (UTC) (envelope-from SRS0=zDol=RU=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Thu, 24 Oct 2024 13:51:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1729770665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5EwYfuL2haV4oyFOTG01Cc3Yml6jVizyI/AMeEvV/P0=; b=eGTP6k/QHrOJoleXDGKHbGAEu0tHjVpwq5Pd5mcUQ/jaNbfYuIBrW8w27A4frD1HyZu1Nb rdOUFMhj3KOyvDxoCLc5560Cw1oFFOUPx4wFcza4JdPKg/KUL22Iq/ZyFWohozC6rYbefX 2+gEBI4gKsdGKdlFYPNKXgKP1LBR45yjbmzIs5qYRqdVvQgnndYOouYch6Qr/rMrcVfCHd g8Taes2NGLLax8znrAhkCFUbOZk28ms9jVjTnaDPiin0dakeBT6gU9iaZKtw5TGuLfWUMp saN/xqtKSO5s13A8gH8oPdzBzQD+DeR11lirLeYAaXr5d1TAc3rYpvJMA3vlCw== From: Ronald Klop To: Norbert Grundmann Cc: FreeBSD Mailing List Message-ID: <1257145299.5529.1729770665729@localhost> In-Reply-To: <5dd04b13-767b-4390-ba23-4cba20fb0cb6@gmx.de> References: <5dd04b13-767b-4390-ba23-4cba20fb0cb6@gmx.de> Subject: Re: Error in java/eclipse 4.33 build List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5528_1053697689.1729770665691" X-Mailer: Realworks (725.73) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4XZ44f2BD9z42ZV X-Spamd-Bar: ---- ------=_Part_5528_1053697689.1729770665691 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Do you have this installed locally? /usr/ports/graphics/libGLU Regards, Ronald. Van: Norbert Grundmann Datum: donderdag, 24 oktober 2024 13:47 Aan: FreeBSD Mailing List Onderwerp: Error in java/eclipse 4.33 build > > Hello, > > today I got a freebsd package failure in the build of eclipse 4.33 on amd64 for relases 13.3 and 14.1... the error is this: > > ... > [INFO] [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5 -DGTK -I/usr/local/openjdk17/include -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror -c glx.c > [INFO] [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5 -DGTK -I/usr/local/openjdk17/include -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror -c glx_structs.c > [INFO] [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5 -DGTK -I/usr/local/openjdk17/include -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror -c glx_stats.c > [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 bold line is the error - it cannot find -lGLU. What does it mean? in Makefile I use: > > BUILD_DEPENDS= git:devel/git \ > mvn:devel/maven39 \ > zip:archivers/zip > LIB_DEPENDS= libsecret-1.so:security/libsecret \ > libwebkit2gtk-4.0.so:www/webkit2-gtk3 > USES= compiler:c++17-lang gmake pkgconfig gnome > USE_GNOME= gtk30 > USE_JAVA= 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 :-) Norbert > > > > -- > Norbert Grundmann > > I love penguins at the south pole, > windows in my house and apples on my tree, > but not in my computer ------=_Part_5528_1053697689.1729770665691 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Do you have this installed locally?

/usr/ports/graphics/libGLU

Regards,
Ronald.

 

Van: Norbert Grundmann <ngrundmann@gmx.de>
Datum: donderdag, 24 oktober 2024 13:47
Aan: FreeBSD Mailing List <freebsd-ports@freebsd.org>
Onderwerp: Error in java/eclipse 4.33 build

Hello,

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

...
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5   -DGTK -I/usr/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror  -c glx.c
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5   -DGTK -I/usr/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror  -c glx_structs.c
[INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5   -DGTK -I/usr/local/openjdk17/include  -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror  -c glx_stats.c
[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 bold line is the error - it cannot find -lGLU.  What does it mean?  in Makefile I use:

BUILD_DEPENDS=  git:devel/git \
                mvn:devel/maven39 \
                zip:archivers/zip
LIB_DEPENDS=    libsecret-1.so:security/libsecret \
                libwebkit2gtk-4.0.so:www/webkit2-gtk3
USES=           compiler:c++17-lang gmake pkgconfig gnome
USE_GNOME=      gtk30
USE_JAVA=       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 :-)  Norbert

 

--
Norbert Grundmann

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

  ------=_Part_5528_1053697689.1729770665691--