Skip to content

Instantly share code, notes, and snippets.

@ItachiSan
Last active January 17, 2024 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ItachiSan/532a78702237b8c3f176d921bc164321 to your computer and use it in GitHub Desktop.
Save ItachiSan/532a78702237b8c3f176d921bc164321 to your computer and use it in GitHub Desktop.
java17-openjfx
$ cat readable_build_session.log
Script started on 2024-01-17 00:03:03+01:00 [TERM="xterm-256color" TTY="/dev/pts/1" COLUMNS="282" LINES="74"]
(00:03) giovanni @ /var/tmp/openjfx-test $ pwd
/var/tmp/openjfx-test
(00:03) giovanni @ /var/tmp/openjfx-test $ export NUMBER_OF_PROCESSORS=9
(00:03) giovanni @ /var/tmp/openjfx-test $ nproc
16
(00:03) giovanni @ /var/tmp/openjfx-test $ # Using half the cores, otherwise it goes in memory thrashing
(00:03) giovanni @ /var/tmp/openjfx-test $ export NUMBER_OF_PROCESSORS=8
(00:03) giovanni @ /var/tmp/openjfx-test $ ls -al
total 12K
drwxr-xr-x 3 giovanni users 4.0K Jan 16 22:05 .
drwxrwxrwt 13 root root 4.0K Jan 17 00:00 ..
-rw-r--r-- 1 giovanni users 0 Jan 17 00:03 build_session.log
drwxr-xr-x 5 giovanni users 4.0K Jan 16 22:25 java17-openjfx
(00:03) giovanni @ /var/tmp/openjfx-test $ cd java17-openjfx/
(00:03) giovanni @ /var/tmp/openjfx-test/java17-openjfx $ rm -rf src pkg
(00:04) giovanni @ /var/tmp/openjfx-test/java17-openjfx $ git clean -df
Removing java17-openjfx-17.0.10.u0.tar.gz
(00:04) giovanni @ /var/tmp/openjfx-test/java17-openjfx $ git remote -v
origin https://aur.archlinux.org/java17-openjfx.git (fetch)
origin https://aur.archlinux.org/java17-openjfx.git (push)
(00:04) giovanni @ /var/tmp/openjfx-test/java17-openjfx $ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
(00:04) giovanni @ /var/tmp/openjfx-test/java17-openjfx $ git log -1
commit 1da6cf2b4f3a6d1912376c1bff4f5b48f0f4b125 (HEAD -> master, origin/master, origin/HEAD)
Author: Giovanni Santini <giovannisantini93@yahoo.it>
Date: Tue Dec 5 22:05:19 2023 +0100
addpkg: java17-openjfx 17.0.10.u0
- Imported official package to the AUR
- Use Gradle Wrapper for build, given the incompatibility with the one
in the official repos
(00:04) giovanni @ /var/tmp/openjfx-test/java17-openjfx $ makepkg -src
==> Making package: java17-openjfx 17.0.10.u0-1 (Wed 17 Jan 2024 00:04:24)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading java17-openjfx-17.0.10.u0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 57.8M 0 57.8M 0 0 2181k 0 --:--:-- 0:00:27 --:--:-- 2287k
-> Found gradle.properties
-> Found java-openjfx-flags.patch
-> Found java-openjfx-no-xlocale.patch
-> Found java-openjfx-gstreamer-lite-gcc10-compat.patch
==> Validating source files with b2sums...
java17-openjfx-17.0.10.u0.tar.gz ... Passed
gradle.properties ... Passed
java-openjfx-flags.patch ... Passed
java-openjfx-no-xlocale.patch ... Passed
java-openjfx-gstreamer-lite-gcc10-compat.patch ... Passed
==> Extracting sources...
-> Extracting java17-openjfx-17.0.10.u0.tar.gz with bsdtar
==> Starting prepare()...
patching file buildSrc/linux.gradle
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
patching file modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile
patching file modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/xsltlocale.h
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
Hunk #1 succeeded at 56 with fuzz 2 (offset 3 lines).
==> Starting build()...
Downloading https://services.gradle.org/distributions/gradle-7.3-bin.zip
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%
Welcome to Gradle 7.3!
Here are the highlights of this release:
- Easily declare new test suites in Java projects
- Support for Java 17
- Support for Scala 3
For more details see https://docs.gradle.org/7.3/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
gradle.gradleVersion: 7.3
OS_NAME: linux
OS_ARCH: amd64
JAVA_HOME: /usr/lib/jvm/java-11-openjdk
JDK_HOME: /usr/lib/jvm/java-11-openjdk
java.runtime.version: 11.0.21+9
java version: 11.0.21
java build number: 9
jdk.runtime.version: 11.0.21+9
jdk version: 11.0.21
jdk build number: 9
minimum jdk version: 11
minimum jdk build number: 28
GCC version: gcc12.2.0-OL6.4+1.0
cmake version: 3.22.3
ninja version: 1.8.2
ant version: 1.10.5
HAS_JAVAFX_MODULES: false
STUB_RUNTIME: /usr/lib/jvm/java-11-openjdk
CONF: Release
NUM_COMPILE_THREADS: 16
COMPILE_TARGETS: linux
COMPILE_FLAGS_FILES: buildSrc/linux.gradle
HUDSON_JOB_NAME: not_hudson
HUDSON_BUILD_NUMBER: 0000
PROMOTED_BUILD_NUMBER: 0
PRODUCT_NAME: OpenJFX
RELEASE_VERSION: 17.0.9
RELEASE_SUFFIX: -internal
RELEASE_VERSION_SHORT: 17.0.9-internal
RELEASE_VERSION_LONG: 17.0.9-internal+0-2024-01-17-000545
RELEASE_VERSION_PADDED: 17.0.9.0
MAVEN_PUBLISH: false
MAVEN_VERSION:
UPDATE_STUB_CACHE: false
Building Webkit configuration /Release/ into /var/tmp/openjfx-test/java17-openjfx/src/jfx17u-17.0.10-0/modules/javafx.web/build/linux
module: project ':apps' (buildModule=NO)
module: project ':base' (buildModule=YES)
module: project ':controls' (buildModule=YES)
module: project ':fxml' (buildModule=YES)
module: project ':graphics' (buildModule=YES)
module: project ':media' (buildModule=YES)
module: project ':swing' (buildModule=YES)
module: project ':swt' (buildModule=NO)
module: project ':systemTests' (buildModule=NO)
module: project ':web' (buildModule=YES)
> Task :base:compileJava
You specified both --module-source-path and a sourcepath. These options are mutually exclusive. Ignoring sourcepath.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
###
# Lots more of building log lines ...
###
BUILD SUCCESSFUL
Total time: 23 seconds
> Task :perf
perf task is only run for a closed build
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 31 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD SUCCESSFUL in 34m 14s
166 actionable tasks: 166 executed
==> Entering fakeroot environment...
==> Starting package_java17-openjfx()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/jvm/java-17-openjdk/lib/libjfxwebkit.so
==> Creating package "java17-openjfx"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_java17-openjfx-doc()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "java17-openjfx-doc"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_java17-openjfx-src()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "java17-openjfx-src"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: java17-openjfx 17.0.10.u0-1 (Wed 17 Jan 2024 00:39:39)
==> Cleaning up...
(00:39) giovanni @ /var/tmp/openjfx-test/java17-openjfx $
exit
Script done on 2024-01-17 00:52:07+01:00 [COMMAND_EXIT_CODE="0"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment