Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build on standard centos-latest Jenkins agents #522

Closed
wants to merge 1 commit into from

Conversation

HannesWell
Copy link
Member

An attempt to fix the missing resources to start the previously specified kubernetes agents (as desribed in #513 (comment)) by just running this repos build on the standard centos-latest agents.

This only works if the centos-latest agents are capable to build the swt-natives for gtk.linux.x86_64, but the verification build will tell us this.
A less disruptive way would probably be to require less memory (my guess is that this is the limiting factor).

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

Test Results

     303 files       303 suites   7m 19s ⏱️
  4 047 tests   4 035 ✔️   8 💤 3  1 🔥
12 068 runs  11 993 ✔️ 70 💤 4  1 🔥

For more details on these failures and errors, see this check.

Results for commit 6852156.

♻️ This comment has been updated with latest results.

@HannesWell HannesWell force-pushed the buildOnCentOS branch 2 times, most recently from def6cdc to 91f1ebd Compare January 6, 2023 14:08
@akurtakov
Copy link
Member

There are no gtk and friends headers available.

@HannesWell
Copy link
Member Author

There are no gtk and friends headers available.

The build printout says the same :/
So that also clearifies that we cannot simply use the centos-latest agents and label them to build swt-natives as asked in:
https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/2448#note_1059781

 [INFO] --- maven-antrun-plugin:3.1.0:run (natives) @ org.eclipse.swt.gtk.linux.x86_64 ---
 [INFO] Executing tasks
 [WARNING]      [echo] Version=4958r2; New=4958r3; New comma_ver=4,958,3,0
 [INFO]      [copy] Copying 64 files to /home/jenkins/agent/workspace/eclipse.platform.swt_PR-522/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64/../../../eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64/tmpdir
 [INFO]      [exec] *** Cairo not found: Advanced graphics support using cairo will not be compiled.
 [INFO]      [exec] libjawt.so found, the SWT/AWT integration library will be compiled.
 [INFO]      [exec] Building SWT/GTK+ for Architectures: linux x86_64
 [INFO]      [exec] Building GTK3 bindings:
 [INFO]      [exec] gcc -O -Wall -fPIC -DSWT_VERSION=4958r2    -DLINUX -DGTK -I/opt/tools/java/openjdk/jdk-17/latest/include -I/opt/tools/java/openjdk/jdk-17/latest/include/linux -DJNI64 -Werror -c swt.c
 [INFO]      [exec] gcc -O -Wall -fPIC -DSWT_VERSION=4958r2    -DLINUX -DGTK -I/opt/tools/java/openjdk/jdk-17/latest/include -I/opt/tools/java/openjdk/jdk-17/latest/include/linux -DJNI64 -Werror   -c -o c.o c.c
 [INFO]      [exec] gcc -O -Wall -fPIC -DSWT_VERSION=4958r2    -DLINUX -DGTK -I/opt/tools/java/openjdk/jdk-17/latest/include -I/opt/tools/java/openjdk/jdk-17/latest/include/linux -DJNI64 -Werror   -c -o c_stats.o c_stats.c
 [INFO]      [exec] Package gtk+-3.0 was not found in the pkg-config search path.
 [INFO]      [exec] Perhaps you should add the directory containing `gtk+-3.0.pc'
 [INFO]      [exec] to the PKG_CONFIG_PATH environment variable
 [INFO]      [exec] Package 'gtk+-3.0', required by 'virtual:world', not found
 [INFO]      [exec] Package 'gtk+-unix-print-3.0', required by 'virtual:world', not found
 [INFO]      [exec] gcc -O -Wall -fPIC -DSWT_VERSION=4958r2    -DLINUX -DGTK -I/opt/tools/java/openjdk/jdk-17/latest/include -I/opt/tools/java/openjdk/jdk-17/latest/include/linux -DJNI64 -Werror `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -DUSE_ASSEMBLER -c callback.c
 [INFO]      [exec] gcc -shared -fPIC  -s -o libswt-gtk-4958r2.so swt.o c.o c_stats.o callback.o
 [INFO]      [exec] gcc -O -Wall -fPIC -DSWT_VERSION=4958r2    -DLINUX -DGTK -I/opt/tools/java/openjdk/jdk-17/latest/include -I/opt/tools/java/openjdk/jdk-17/latest/include/linux -DJNI64 -Werror `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os.c
 [INFO]      [exec] *** GTK3 Build failed, aborting further actions..
 [INFO]      [exec] Package gtk+-3.0 was not found in the pkg-config search path.
 [INFO]      [exec] Perhaps you should add the directory containing `gtk+-3.0.pc'
 [INFO]      [exec] to the PKG_CONFIG_PATH environment variable
 [INFO]      [exec] Package 'gtk+-3.0', required by 'virtual:world', not found
 [INFO]      [exec] Package 'gtk+-unix-print-3.0', required by 'virtual:world', not found
 [INFO]      [exec] In file included from os_structs.h:19,
 [INFO]      [exec]                  from os.c:20:
 [INFO]      [exec] os.h:30:10: fatal error: gtk/gtk.h: No such file or directory
 [INFO]      [exec]  #include <gtk/gtk.h>
 [INFO]      [exec]           ^~~~~~~~~~~
 [INFO]      [exec] compilation terminated.
 [INFO]      [exec] make: *** [make_linux.mak:144: os.o] Error 1

@akurtakov
Copy link
Member

There is nothing meaningful in this change anymore. Closing.

@akurtakov akurtakov closed this Jan 19, 2023
@HannesWell HannesWell deleted the buildOnCentOS branch January 19, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants