er2off / freebsd-ports

My own ports overlay for FreeBSD
10 stars 0 forks source link

lwjgl3 fails to build on 14.0-STABLE #2

Closed nxjosephofficial closed 6 months ago

nxjosephofficial commented 7 months ago

lwjgl3 was building successfully when i was using 14.0-RELEASE, now i am using 14.0-STABLE with poudriere and it fails to build now. There is a lwjgl3 port on main ports branch but I couldn't launch minecraft with it, it threw errors on prism launcher.

Click me to see the build log ``` =>> Building games/lwjgl3 build started at Thu Mar 28 20:08:31 +03 2024 port directory: /usr/ports/games/lwjgl3 package name: lwjgl3-3.3.4_snapshot+2 building for: FreeBSD 140x64-default-job-01 14.0-STABLE FreeBSD 14.0-STABLE amd64 maintained by: er2@dismail.de Makefile datestamp: -rw-r--r-- 1 root wheel 1863 Mar 28 16:49 /usr/ports/games/lwjgl3/Makefile Ports top last git commit: 7c384331c Ports top unclean checkout: no Port dir last git commit: 7c384331c Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.1_1 Host OSVERSION: 1400509 Jail OSVERSION: 1400509 Job Id: 01 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400509 UNAME_v=FreeBSD 14.0-STABLE UNAME_r=14.0-STABLE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.1_1 MASTERMNT=/poudriere/data/.m/140x64-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=st-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/140x64-default/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=140x64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/poudriere/data/.m/140x64-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.1_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for lwjgl3-3.3.4_snapshot+2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- er2@dismail.de --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/lwjgl3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/lwjgl3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/lwjgl3/work/.cache HOME=/wrkdirs/usr/ports/games/lwjgl3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/lwjgl3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/lwjgl3/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- JAVA8_HOME=/usr/local/openjdk8 JAVA_HOME=/usr/local/openjdk17 XDG_DATA_HOME=/wrkdirs/usr/ports/games/lwjgl3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/lwjgl3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/lwjgl3/work/.cache HOME=/wrkdirs/usr/ports/games/lwjgl3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/lwjgl3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/lwjgl3/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" DOCS="" NO_DOCS="@comment " JAVASHAREDIR="share/java" JAVAJARDIR="share/java/classes" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lwjgl3" EXAMPLESDIR="share/examples/lwjgl3" DATADIR="share/lwjgl3" WWWDIR="www/lwjgl3" ETCDIR="etc/lwjgl3" --End PLIST_SUB-- --SUB_LIST-- DOCS="" NO_DOCS="@comment " JAVASHAREDIR="/usr/local/share/java" JAVAJARDIR="/usr/local/share/java/classes" JAVALIBDIR="/usr/local/share/java/classes" JAVA_VERSION="17+" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/lwjgl3 DOCSDIR=/usr/local/share/doc/lwjgl3 EXAMPLESDIR=/usr/local/share/examples/lwjgl3 WWWDIR=/usr/local/www/lwjgl3 ETCDIR=/usr/local/etc/lwjgl3 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 18910 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [140x64-default-job-01] Installing pkg-1.20.9_1... [140x64-default-job-01] Extracting pkg-1.20.9_1: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of lwjgl3-3.3.4_snapshot+2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by lwjgl3-3.3.4_snapshot+2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by lwjgl3-3.3.4_snapshot+2 for building => SHA256 Checksum OK for LWJGL-lwjgl3-3.3.4-b428b2f_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by lwjgl3-3.3.4_snapshot+2 for building ===> Extracting for lwjgl3-3.3.4_snapshot+2 => SHA256 Checksum OK for LWJGL-lwjgl3-3.3.4-b428b2f_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for lwjgl3-3.3.4_snapshot+2 ===> Applying FreeBSD patches for lwjgl3-3.3.4_snapshot+2 from /usr/ports/games/lwjgl3/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/openjdk8/bin/java - not found ===> Installing existing package /packages/All/openjdk8-8.402.06.1_1.pkg [140x64-default-job-01] Installing openjdk8-8.402.06.1_1... [140x64-default-job-01] `-- Installing dejavu-2.37_3... [140x64-default-job-01] | `-- Installing fontconfig-2.15.0_2,1... [140x64-default-job-01] | | `-- Installing expat-2.6.2... [140x64-default-job-01] | | `-- Extracting expat-2.6.2: .......... done [140x64-default-job-01] | | `-- Installing freetype2-2.13.2... [140x64-default-job-01] | | `-- Installing brotli-1.1.0,1... [140x64-default-job-01] | | `-- Extracting brotli-1.1.0,1: .......... done [140x64-default-job-01] | | `-- Installing png-1.6.43... [140x64-default-job-01] | | `-- Extracting png-1.6.43: .......... done [140x64-default-job-01] | | `-- Extracting freetype2-2.13.2: .......... done [140x64-default-job-01] | `-- Extracting fontconfig-2.15.0_2,1: .......... done [140x64-default-job-01] | `-- Installing mkfontscale-1.2.3... [140x64-default-job-01] | | `-- Installing libfontenc-1.1.8... [140x64-default-job-01] | | `-- Extracting libfontenc-1.1.8: ......... done [140x64-default-job-01] | `-- Extracting mkfontscale-1.2.3: ....... done [140x64-default-job-01] `-- Extracting dejavu-2.37_3: .......... done [140x64-default-job-01] `-- Installing giflib-5.2.1_1... [140x64-default-job-01] `-- Extracting giflib-5.2.1_1: .......... done [140x64-default-job-01] `-- Installing java-zoneinfo-2021.e... [140x64-default-job-01] `-- Extracting java-zoneinfo-2021.e: .......... done [140x64-default-job-01] `-- Installing javavmwrapper-2.7.10... [140x64-default-job-01] `-- Extracting javavmwrapper-2.7.10: .......... done [140x64-default-job-01] `-- Installing libX11-1.8.7_1,1... [140x64-default-job-01] | `-- Installing libxcb-1.16.1... [140x64-default-job-01] | | `-- Installing libXau-1.0.9_1... [140x64-default-job-01] | | `-- Extracting libXau-1.0.9_1: .......... done [140x64-default-job-01] | | `-- Installing libXdmcp-1.1.5... [140x64-default-job-01] | | `-- Installing xorgproto-2023.2... [140x64-default-job-01] | | `-- Extracting xorgproto-2023.2: .......... done [140x64-default-job-01] | | `-- Extracting libXdmcp-1.1.5: ......... done [140x64-default-job-01] | `-- Extracting libxcb-1.16.1: .......... done [140x64-default-job-01] `-- Extracting libX11-1.8.7_1,1: .......... done [140x64-default-job-01] `-- Installing libXext-1.3.6,1... [140x64-default-job-01] `-- Extracting libXext-1.3.6,1: .......... done [140x64-default-job-01] `-- Installing libXi-1.8_1,1... [140x64-default-job-01] | `-- Installing libXfixes-6.0.0_1... [140x64-default-job-01] | `-- Extracting libXfixes-6.0.0_1: .......... done [140x64-default-job-01] `-- Extracting libXi-1.8_1,1: .......... done [140x64-default-job-01] `-- Installing libXrender-0.9.10_2... [140x64-default-job-01] `-- Extracting libXrender-0.9.10_2: .......... done [140x64-default-job-01] `-- Installing libXt-1.3.0,1... [140x64-default-job-01] | `-- Installing libICE-1.1.0_2,1... [140x64-default-job-01] | `-- Extracting libICE-1.1.0_2,1: .......... done [140x64-default-job-01] | `-- Installing libSM-1.2.3_1,1... [140x64-default-job-01] | `-- Extracting libSM-1.2.3_1,1: .......... done [140x64-default-job-01] `-- Extracting libXt-1.3.0,1: .......... done [140x64-default-job-01] `-- Installing libXtst-1.2.3_3... [140x64-default-job-01] `-- Extracting libXtst-1.2.3_3: .......... done [140x64-default-job-01] `-- Installing libinotify-20211018_1... [140x64-default-job-01] `-- Extracting libinotify-20211018_1: .......... done [140x64-default-job-01] Extracting openjdk8-8.402.06.1_1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.13.2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===== Message from dejavu-2.37_3: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===== Message from libinotify-20211018_1: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from openjdk8-8.402.06.1_1: -- This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/openjdk8/bin/java - found ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/openjdk17/bin/java - not found ===> Installing existing package /packages/All/openjdk17-17.0.10+7.1_1.pkg [140x64-default-job-01] Installing openjdk17-17.0.10+7.1_1... [140x64-default-job-01] `-- Installing alsa-lib-1.2.10_1... [140x64-default-job-01] `-- Extracting alsa-lib-1.2.10_1: .......... done [140x64-default-job-01] `-- Installing harfbuzz-8.3.1... [140x64-default-job-01] | `-- Installing gettext-runtime-0.22.5... [140x64-default-job-01] | | `-- Installing indexinfo-0.3.1... [140x64-default-job-01] | | `-- Extracting indexinfo-0.3.1: .... done [140x64-default-job-01] | `-- Extracting gettext-runtime-0.22.5: .......... done [140x64-default-job-01] | `-- Installing glib-2.80.0,2... [140x64-default-job-01] | | `-- Installing libffi-3.4.4_1... [140x64-default-job-01] | | `-- Extracting libffi-3.4.4_1: .......... done [140x64-default-job-01] | | `-- Installing libiconv-1.17_1... [140x64-default-job-01] | | `-- Extracting libiconv-1.17_1: .......... done [140x64-default-job-01] | | `-- Installing pcre2-10.43... [140x64-default-job-01] | | `-- Extracting pcre2-10.43: .......... done [140x64-default-job-01] | | `-- Installing py39-packaging-23.2... [140x64-default-job-01] | | `-- Installing python39-3.9.18_2... [140x64-default-job-01] | | | `-- Installing mpdecimal-4.0.0... [140x64-default-job-01] | | | `-- Extracting mpdecimal-4.0.0: .......... done [140x64-default-job-01] | | | `-- Installing readline-8.2.10... [140x64-default-job-01] | | | `-- Extracting readline-8.2.10: .......... done [140x64-default-job-01] | | `-- Extracting python39-3.9.18_2: .......... done [140x64-default-job-01] | | `-- Extracting py39-packaging-23.2: .......... done [140x64-default-job-01] | `-- Extracting glib-2.80.0,2: .......... done [140x64-default-job-01] | `-- Installing graphite2-1.3.14... [140x64-default-job-01] | `-- Extracting graphite2-1.3.14: .......... done [140x64-default-job-01] `-- Extracting harfbuzz-8.3.1: .......... done [140x64-default-job-01] `-- Installing jpeg-turbo-3.0.2... [140x64-default-job-01] `-- Extracting jpeg-turbo-3.0.2: .......... done [140x64-default-job-01] `-- Installing lcms2-2.16_1... [140x64-default-job-01] | `-- Installing tiff-4.4.0_3... [140x64-default-job-01] | | `-- Installing jbigkit-2.1_2... [140x64-default-job-01] | | `-- Extracting jbigkit-2.1_2: .......... done [140x64-default-job-01] | | `-- Installing libdeflate-1.20... [140x64-default-job-01] | | `-- Extracting libdeflate-1.20: .......... done [140x64-default-job-01] | | `-- Installing zstd-1.5.5_1... [140x64-default-job-01] | | `-- Installing liblz4-1.9.4_1,1... [140x64-default-job-01] | | `-- Extracting liblz4-1.9.4_1,1: .......... done [140x64-default-job-01] | | `-- Extracting zstd-1.5.5_1: .......... done [140x64-default-job-01] | `-- Extracting tiff-4.4.0_3: .......... done [140x64-default-job-01] `-- Extracting lcms2-2.16_1: .......... done [140x64-default-job-01] `-- Installing libXrandr-1.5.2_1... [140x64-default-job-01] `-- Extracting libXrandr-1.5.2_1: .......... done [140x64-default-job-01] `-- Installing xorg-fonts-truetype-7.7_1... [140x64-default-job-01] | `-- Installing encodings-1.1.0,1... [140x64-default-job-01] | `-- Extracting encodings-1.1.0,1: .......... done [140x64-default-job-01] | `-- Installing font-bh-ttf-1.0.3_5... [140x64-default-job-01] | `-- Extracting font-bh-ttf-1.0.3_5: .......... done [140x64-default-job-01] | `-- Installing font-misc-ethiopic-1.0.4... [140x64-default-job-01] | `-- Extracting font-misc-ethiopic-1.0.4: ...... done [140x64-default-job-01] | `-- Installing font-misc-meltho-1.0.3_5... [140x64-default-job-01] | `-- Extracting font-misc-meltho-1.0.3_5: .......... done [140x64-default-job-01] `-- Extracting xorg-fonts-truetype-7.7_1: ... done [140x64-default-job-01] Extracting openjdk17-17.0.10+7.1_1: .......... done ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from python39-3.9.18_2: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 ===== Message from openjdk17-17.0.10+7.1_1: -- This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/openjdk17/bin/java - found ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/bin/ant - not found ===> Installing existing package /packages/All/apache-ant-1.10.13_1.pkg [140x64-default-job-01] Installing apache-ant-1.10.13_1... [140x64-default-job-01] Extracting apache-ant-1.10.13_1: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/bin/ant - found ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.1.1,1.pkg [140x64-default-job-01] Installing pkgconf-2.1.1,1... [140x64-default-job-01] Extracting pkgconf-2.1.1,1: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on package: xorgproto>=0 - found ===> lwjgl3-3.3.4_snapshot+2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libopenal.so - not found ===> Installing existing package /packages/All/openal-soft-1.21.1_4.pkg [140x64-default-job-01] Installing openal-soft-1.21.1_4... [140x64-default-job-01] `-- Installing libmysofa-1.3.2... [140x64-default-job-01] `-- Extracting libmysofa-1.3.2: .......... done [140x64-default-job-01] Extracting openal-soft-1.21.1_4: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libopenal.so - found (/usr/local/lib/libopenal.so) ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libopus.so - not found ===> Installing existing package /packages/All/opus-1.5.1.pkg [140x64-default-job-01] Installing opus-1.5.1... [140x64-default-job-01] Extracting opus-1.5.1: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libopus.so - found (/usr/local/lib/libopus.so) ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libOpenCL.so - not found ===> Installing existing package /packages/All/ocl-icd-2.3.1_2.pkg [140x64-default-job-01] Installing ocl-icd-2.3.1_2... [140x64-default-job-01] Extracting ocl-icd-2.3.1_2: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libOpenCL.so - found (/usr/local/lib/libOpenCL.so) ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libGL.so - not found ===> Installing existing package /packages/All/libglvnd-1.7.0.pkg [140x64-default-job-01] Installing libglvnd-1.7.0... [140x64-default-job-01] Extracting libglvnd-1.7.0: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libEGL.so - found (/usr/local/lib/libEGL.so) ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libGLESv2.so - found (/usr/local/lib/libGLESv2.so) ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libatk-1.0.so - not found ===> Installing existing package /packages/All/at-spi2-core-2.50.2.pkg [140x64-default-job-01] Installing at-spi2-core-2.50.2... [140x64-default-job-01] `-- Installing dbus-1.14.10_5,1... ===> Creating groups. Creating group 'messagebus' with gid '556'. ===> Creating users Creating user 'messagebus' with uid '556'. [140x64-default-job-01] `-- Extracting dbus-1.14.10_5,1: ......... done [140x64-default-job-01] Extracting at-spi2-core-2.50.2: .......... done ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libgtk-3.so - not found ===> Installing existing package /packages/All/gtk3-3.24.41.pkg [140x64-default-job-01] Installing gtk3-3.24.41... [140x64-default-job-01] `-- Installing adwaita-icon-theme-42.0... [140x64-default-job-01] | `-- Installing gdk-pixbuf2-2.42.10_2... [140x64-default-job-01] | | `-- Installing libxml2-2.11.7... [140x64-default-job-01] | | `-- Extracting libxml2-2.11.7: .......... done [140x64-default-job-01] | | `-- Installing shared-mime-info-2.2_2... [140x64-default-job-01] | | `-- Extracting shared-mime-info-2.2_2: ......... done [140x64-default-job-01] | `-- Extracting gdk-pixbuf2-2.42.10_2: .......... done [140x64-default-job-01] | `-- Installing gtk-update-icon-cache-3.24.31_1... [140x64-default-job-01] | `-- Extracting gtk-update-icon-cache-3.24.31_1: .......... done [140x64-default-job-01] | `-- Installing pango-1.50.14... [140x64-default-job-01] | | `-- Installing cairo-1.17.4_2,3... [140x64-default-job-01] | | `-- Installing pixman-0.42.2... [140x64-default-job-01] | | `-- Extracting pixman-0.42.2: .......... done [140x64-default-job-01] | | `-- Extracting cairo-1.17.4_2,3: .......... done [140x64-default-job-01] | | `-- Installing fribidi-1.0.13_1... [140x64-default-job-01] | | `-- Extracting fribidi-1.0.13_1: .......... done [140x64-default-job-01] | | `-- Installing libXft-2.3.7_1... [140x64-default-job-01] | | `-- Extracting libXft-2.3.7_1: .......... done [140x64-default-job-01] | | `-- Installing libthai-0.1.29_1... [140x64-default-job-01] | | `-- Installing libdatrie-0.2.13_2... [140x64-default-job-01] | | `-- Extracting libdatrie-0.2.13_2: .......... done [140x64-default-job-01] | | `-- Extracting libthai-0.1.29_1: .......... done [140x64-default-job-01] | `-- Extracting pango-1.50.14: .......... done [140x64-default-job-01] `-- Extracting adwaita-icon-theme-42.0: .......... done [140x64-default-job-01] `-- Installing colord-1.4.7... [140x64-default-job-01] | `-- Installing hwdata-0.380,1... [140x64-default-job-01] | `-- Extracting hwdata-0.380,1: .......... done [140x64-default-job-01] | `-- Installing libgudev-237... [140x64-default-job-01] | | `-- Installing libudev-devd-0.5.2... [140x64-default-job-01] | | `-- Extracting libudev-devd-0.5.2: ........ done [140x64-default-job-01] | `-- Extracting libgudev-237: .......... done [140x64-default-job-01] | `-- Installing libgusb-0.3.10_1... [140x64-default-job-01] | `-- Extracting libgusb-0.3.10_1: .......... done [140x64-default-job-01] | `-- Installing polkit-124_3... [140x64-default-job-01] | | `-- Installing duktape-lib-2.7.0... [140x64-default-job-01] | | `-- Extracting duktape-lib-2.7.0: ......... done ===> Creating groups. Creating group 'polkitd' with gid '565'. ===> Creating users Creating user 'polkitd' with uid '565'. [140x64-default-job-01] | `-- Extracting polkit-124_3: ......... done [140x64-default-job-01] | `-- Installing sqlite3-3.45.1,1... [140x64-default-job-01] | | `-- Installing libedit-3.1.20230828_1,1... [140x64-default-job-01] | | `-- Extracting libedit-3.1.20230828_1,1: .......... done [140x64-default-job-01] | `-- Extracting sqlite3-3.45.1,1: .......... done ===> Creating groups. Creating group 'colord' with gid '970'. ===> Creating users Creating user 'colord' with uid '970'. [140x64-default-job-01] `-- Extracting colord-1.4.7: .......... done [140x64-default-job-01] `-- Installing cups-2.4.7_2... [140x64-default-job-01] | `-- Installing avahi-app-0.8_2... [140x64-default-job-01] | | `-- Installing dbus-glib-0.112_1... [140x64-default-job-01] | | `-- Extracting dbus-glib-0.112_1: .......... done [140x64-default-job-01] | | `-- Installing gdbm-1.23... [140x64-default-job-01] | | `-- Extracting gdbm-1.23: .......... done [140x64-default-job-01] | | `-- Installing gnome_subr-1.0... [140x64-default-job-01] | | `-- Extracting gnome_subr-1.0: .... done [140x64-default-job-01] | | `-- Installing libdaemon-0.14_1... [140x64-default-job-01] | | `-- Extracting libdaemon-0.14_1: .......... done [140x64-default-job-01] | | `-- Installing libevent-2.1.12... [140x64-default-job-01] | | `-- Extracting libevent-2.1.12: .......... done ===> Creating groups. Creating group 'avahi' with gid '558'. ===> Creating users Creating user 'avahi' with uid '558'. [140x64-default-job-01] | `-- Extracting avahi-app-0.8_2: .......... done [140x64-default-job-01] | `-- Installing gnutls-3.7.10_2... [140x64-default-job-01] | | `-- Installing gmp-6.3.0... [140x64-default-job-01] | | `-- Extracting gmp-6.3.0: .......... done [140x64-default-job-01] | | `-- Installing libidn2-2.3.7... [140x64-default-job-01] | | `-- Installing libunistring-1.2... [140x64-default-job-01] | | `-- Extracting libunistring-1.2: .......... done [140x64-default-job-01] | | `-- Extracting libidn2-2.3.7: .......... done [140x64-default-job-01] | | `-- Installing libtasn1-4.19.0_1... [140x64-default-job-01] | | `-- Extracting libtasn1-4.19.0_1: .......... done [140x64-default-job-01] | | `-- Installing nettle-3.9.1... [140x64-default-job-01] | | `-- Extracting nettle-3.9.1: .......... done [140x64-default-job-01] | | `-- Installing p11-kit-0.25.3_1... [140x64-default-job-01] | | `-- Extracting p11-kit-0.25.3_1: .......... done [140x64-default-job-01] | `-- Extracting gnutls-3.7.10_2: .......... done [140x64-default-job-01] | `-- Installing libpaper-1.1.28_1... [140x64-default-job-01] | `-- Extracting libpaper-1.1.28_1: .......... done ===> Creating groups. Creating group 'cups' with gid '193'. ===> Creating users Creating user 'cups' with uid '193'. [140x64-default-job-01] `-- Extracting cups-2.4.7_2: .......... done [140x64-default-job-01] `-- Installing gsettings-desktop-schemas-42.0... [140x64-default-job-01] `-- Extracting gsettings-desktop-schemas-42.0: .......... done [140x64-default-job-01] `-- Installing hicolor-icon-theme-0.17... [140x64-default-job-01] `-- Extracting hicolor-icon-theme-0.17: . done [140x64-default-job-01] `-- Installing libXcomposite-0.4.6_1,1... [140x64-default-job-01] `-- Extracting libXcomposite-0.4.6_1,1: .......... done [140x64-default-job-01] `-- Installing libXcursor-1.2.2... [140x64-default-job-01] `-- Extracting libXcursor-1.2.2: .......... done [140x64-default-job-01] `-- Installing libXdamage-1.1.6... [140x64-default-job-01] `-- Extracting libXdamage-1.1.6: ......... done [140x64-default-job-01] `-- Installing libXinerama-1.1.4_3,1... [140x64-default-job-01] `-- Extracting libXinerama-1.1.4_3,1: .......... done [140x64-default-job-01] `-- Installing libepoxy-1.5.9... [140x64-default-job-01] `-- Extracting libepoxy-1.5.9: .......... done [140x64-default-job-01] `-- Installing librsvg2-rust-2.58.0_1... [140x64-default-job-01] `-- Extracting librsvg2-rust-2.58.0_1: .......... done [140x64-default-job-01] `-- Installing libxkbcommon-1.6.0_2... [140x64-default-job-01] | `-- Installing wayland-1.22.0... [140x64-default-job-01] | | `-- Installing libepoll-shim-0.0.20230411... [140x64-default-job-01] | | `-- Extracting libepoll-shim-0.0.20230411: .......... done [140x64-default-job-01] | `-- Extracting wayland-1.22.0: .......... done [140x64-default-job-01] | `-- Installing xkeyboard-config-2.41_4... [140x64-default-job-01] | `-- Extracting xkeyboard-config-2.41_4: .......... done [140x64-default-job-01] `-- Extracting libxkbcommon-1.6.0_2: .......... done [140x64-default-job-01] Extracting gtk3-3.24.41: .......... done ==> Running trigger: shared-mime-info.ucl Building the Shared MIME-Info database cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas ==> Running trigger: gtk-update-icon-cache.ucl Generating GTK icon cache for /usr/local/share/icons/hicolor Generating GTK icon cache for /usr/local/share/icons/Adwaita ==> Running trigger: gdk-pixbuf-query-loaders.ucl Generating gdk-pixbuf modules cache ===== Message from duktape-lib-2.7.0: -- ===> NOTICE: The duktape-lib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from wayland-1.22.0: -- Wayland requires XDG_RUNTIME_DIR to be defined to a path that will contain "wayland-%d" unix(4) sockets. This is usually handled by consolekit2 (via ck-launch-session) or pam_xdg (via login). ===== Message from libxkbcommon-1.6.0_2: -- If arrow keys don't work under X11 switch to legacy rules e.g., For sh/bash/ksh/zsh run and (optionally) add into ~/.profile: export XKB_DEFAULT_RULES=xorg For csh/tcsh run and (optionally) add into ~/.login: setenv XKB_DEFAULT_RULES xorg ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libgtk-3.so - found (/usr/local/lib/libgtk-3.so) ===> Returning to build of lwjgl3-3.3.4_snapshot+2 ===> lwjgl3-3.3.4_snapshot+2 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for lwjgl3-3.3.4_snapshot+2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for lwjgl3-3.3.4_snapshot+2 Buildfile: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/build.xml init: [mkdir] Created dir: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/bin [mkdir] Created dir: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/bin/classes/ant [javac: Custom Ant Tasks] Compiling 2 source files to /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/bin/classes/ant check-dependencies: update-dependencies: [mkdir] Created dir: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/bin/libs [mkdir] Created dir: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/bin/libs/java -lib-download: BUILD FAILED /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/build.xml:46: The following error occurred while executing this line: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/update-dependencies.xml:48: The following error occurred while executing this line: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/update-dependencies.xml:56: The following error occurred while executing this line: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/update-dependencies.xml:80: The following error occurred while executing this line: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/config/build-definitions.xml:361: The following error occurred while executing this line: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/config/build-definitions.xml:345: The following error occurred while executing this line: /wrkdirs/usr/ports/games/lwjgl3/work/lwjgl3-b428b2f/config/build-definitions.xml:346: java.net.UnknownHostException: repo.maven.apache.org at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:174) at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:183) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638) at java.base/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:266) at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142) at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:790) at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:699) at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:689) Total time: 1 second *** Error code 1 Stop. make: stopped in /usr/ports/games/lwjgl3 =>> Cleaning up wrkdir ===> Cleaning for lwjgl3-3.3.4_snapshot+2 build of games/lwjgl3 | lwjgl3-3.3.4_snapshot+2 ended at Thu Mar 28 20:08:42 +03 2024 build time: 00:00:11 !!! build failure encountered !!! ```
nxjosephofficial commented 7 months ago

I've applied a patch to the glfw port and now i am able to launch Minecraft 1.20.x with lwjgl3 from main branch of ports tree. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278014

er2off commented 7 months ago

you need to add ALLOW_NETWORKING_PACKAGES="lwjgl3" into poudriere.conf

@VVD is working (in https://github.com/LWJGL/lwjgl3/issues/421) to allow build without network

VVD commented 7 months ago

Already in ports: https://www.freshports.org/games/lwjgl3. For Minecraft it need https://www.freshports.org/graphics/glfw with patch from https://reviews.freebsd.org/D44490.

er2off commented 7 months ago

Already in ports: https://www.freshports.org/games/lwjgl3

Oh, nice! Can I now remove games/lwjgl3 from my ports overlay?

VVD commented 7 months ago

As you wish…

er2off commented 7 months ago

@VVD ~~pkg-static: lwjgl-2.9.4.20161208 conflicts with lwjgl3-3.3.4.20231218 (installs files into the same place). Problematic file: /usr/local/share/java/classes/lwjgl/lwjgl.jar games/prism-launcher requires both lwjgl2 and lwjgl3 In my games/lwjgl3 I install java classes into /usr/local/share/java/classes/lwjgl3~~ nvm, it was somehow fixed by rebuild

VVD commented 7 months ago

This was fixed in lwjgl3-3.3.4.20231218_1: https://cgit.freebsd.org/ports/commit/games/lwjgl3?id=72a8d5c199fccc5ffb049393c5e8d30b4611681f

er2off commented 7 months ago

Also minecraft throws java.lang.NoSuchMethodError: 'int org.lwjgl.stb.STBImageResize.nstbir_resize_uint8(long, int, int, int, long, int, int, int, int)' so stb is missing or not full (it's not fatal error but can be critical for some games)

VVD commented 7 months ago

I don't see this error. I have only this:

[LWJGL] Loading JNI library: lwjgl_stb
        Module: org.lwjgl.stb
        Using SharedLibraryLoader...
        Found at: /tmp/lwjgl_vvd/3.3.4-snapshot/x64/liblwjgl_stb.so
        Loaded from org.lwjgl.librarypath: /tmp/lwjgl_vvd/3.3.4-snapshot/x64/liblwjgl_stb.so
[LWJGL] Loading library: openal
        Module: org.lwjgl.openal
        libopenal.so not found in org.lwjgl.librarypath=/tmp/lwjgl_vvd/3.3.4-snapshot/x64
        libopenal.so not found in java.library.path=/usr/local/lib/lwjgl3
        Loaded from system paths: /usr/local/lib/libopenal.so
  <log4j:Event logger="com.mojang.text2speech.Narrator" timestamp="1711809903634" level="ERROR" thread="Render thread">
    <log4j:Message><![CDATA[Error while loading the narrator]]></log4j:Message>
    <log4j:Throwable><![CDATA[com.mojang.text2speech.Narrator$InitializeException: Unsupported platform FreeBSD
        at com.mojang.text2speech.Narrator.getNarrator(Narrator.java:44)
        at net.minecraft.class_333.<init>(class_333.java:19)
        at net.minecraft.class_310.<init>(class_310.java:684)
        at net.minecraft.client.main.Main.main(Main.java:223)
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
        at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
]]></log4j:Throwable>
  </log4j:Event>
er2off commented 6 months ago

I think this issue can be closed. I decided to restore lwjgl3 port in 52b30f3b7e0681a3d5244dd8a44737741fa874bf until glfw will be fixed in ports tree.

VVD commented 6 months ago

IMHO, better to have glfw with custom patches instead: https://reviews.freebsd.org/D44490

er2off commented 6 months ago

better to have glfw with custom patches instead

Better but I will wait until glfw will be updated or patches will be merged because people may not know about how to apply somewhat patch to somewhat port in /usr/ports