Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919413 - dev-java/openjfx-11.0.11_p1-r1 - [clang] /.../pango.c: error: incompatible integer to pointer conversion passing jlong (aka long) to parameter of type void [-
Summary: dev-java/openjfx-11.0.11_p1-r1 - [clang] /.../pango.c: error: incompatible in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-07 17:42 UTC by Toralf Förster
Modified: 2024-03-06 15:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.49 KB, text/plain)
2023-12-07 17:42 UTC, Toralf Förster
Details
dev-java:openjfx-11.0.11_p1-r1:20231207-170807.log.xz (dev-java:openjfx-11.0.11_p1-r1:20231207-170807.log.xz,13.98 KB, application/x-xz)
2023-12-07 17:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,251.71 KB, text/plain)
2023-12-07 17:42 UTC, Toralf Förster
Details
environment (environment,151.75 KB, text/plain)
2023-12-07 17:42 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-07 17:42 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.30 KB, application/x-xz)
2023-12-07 17:42 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,64.50 KB, application/x-xz)
2023-12-07 17:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-07 17:42:26 UTC
/var/tmp/portage/dev-java/openjfx-11.0.11_p1-r1/work/rt-11.0.11+1/modules/javafx.graphics/src/main/native-font/pango.c:213:26: warning: unused parameter 'that' [-Wunused-parameter]
  213 |     (JNIEnv *env, jclass that, jlong arg0)
      |                          ^
/var/tmp/portage/dev-java/openjfx-11.0.11_p1-r1/work/rt-11.0.11+1/modules/javafx.graphics/src/main/native-font/pango.c:220:26: warning: unused parameter 'that' [-Wunused-parameter]
  220 |     (JNIEnv *env, jclass that, jlong arg0, jstring arg1)
      |                          ^
/var/tmp/portage/dev-java/openjfx-11.0.11_p1-r1/work/rt-11.0.11+1/modules/javafx.graphics/src/main/native-font/pango.c:246:73: error: incompatible integer to pointer conversion passing 'jlong' (aka 'long') to parameter of type 'void *' [-Wint-conversion]
  246 |                 rc = (jboolean)((jboolean (*)(void *, const char *))fp)(arg0, text);
      |                                                                         ^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-20231203-121010

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.73.0 *
GENTOO_VM=openjdk-bin-11  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.20.1_p1"
JAVACFLAGS="-source 11 -target 11" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit a8be9f65713ac9ef2e3a09cccb92d66650858b92
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 7 16:32:05 2023 +0000

    2023-12-07 16:32:04 UTC

emerge -qpvO dev-java/openjfx
[ebuild  N    ] dev-java/openjfx-11.0.11_p1-r1  USE="media source -debug -doc" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2023-12-07 17:42:27 UTC
Created attachment 878155 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-07 17:42:28 UTC
Created attachment 878156 [details]
dev-java:openjfx-11.0.11_p1-r1:20231207-170807.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-07 17:42:29 UTC
Created attachment 878157 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-07 17:42:31 UTC
Created attachment 878158 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-07 17:42:32 UTC
Created attachment 878159 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-07 17:42:33 UTC
Created attachment 878160 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-07 17:42:34 UTC
Created attachment 878161 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-07 17:42:35 UTC
The file size of ./files/temp.tar.xz is too big (26M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_plasma_systemd_merged_usr-20231203-121010/var/tmp/tb/issues/20231207-171834-dev-java_openjfx-11.0.11_p1-r1/files/temp.tar.xz is valid.
Comment 9 Larry the Git Cow gentoo-dev 2024-03-06 15:21:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da9779d9b80919be7a96f11a5316f74746d4d0f

commit 6da9779d9b80919be7a96f11a5316f74746d4d0f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-06 15:18:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-06 15:21:36 +0000

    dev-java/openjfx: various fixes to 11.x
    
    I don't even know where to start with this, so I'll keep it brief before
    I pop several veins.
    
    * Filter LTO (bundled gstreamer breaks).
    * Waste several hours debugging broken arg handling, despite inventing a DSL
      for the build system, making the same errors as CMake. Most of the build
      failure bugs linked are actually because of whitespace _somewhere_ within
      {C,CXX,LD}FLAGS. Strip it.
    * Respect AR, CC, CXX.
    * Various Modern C fixes from Fedora (and are upstream).
    
    Bug: https://bugs.gentoo.org/713488
    Bug: https://bugs.gentoo.org/857942
    Closes: https://bugs.gentoo.org/715092
    Closes: https://bugs.gentoo.org/719484
    Closes: https://bugs.gentoo.org/799227
    Closes: https://bugs.gentoo.org/915727
    Closes: https://bugs.gentoo.org/919413
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-java/openjfx/files/11/0001-c99.patch           |  22 ++
 dev-java/openjfx/files/11/0002-c99.patch           |  18 ++
 dev-java/openjfx/files/11/0003-c99.patch           |  19 ++
 dev-java/openjfx/files/11/respect-cc.patch         |  15 ++
 .../files/11/strip-blank-elements-flags.patch      |  29 +++
 dev-java/openjfx/openjfx-11.0.11_p1-r2.ebuild      | 231 +++++++++++++++++++++
 6 files changed, 334 insertions(+)