Your message dated Tue, 11 Feb 2025 14:59:02 +0000
with message-id <[email protected]>
and subject line Bug#1088786: fixed in openjfx 11.0.11+1-5
has caused the Debian Bug report #1088786,
regarding openjfx: fix ftbfs on riscv64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1088786: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088786
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: openjfx
Version: 11.0.11+1-4
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Openjfx always has ftbfs issue in the past:

```
...
[100%] Linking CXX shared library ../../lib/libjfxwebkit.so
collect2: fatal error: cannot find ‘ld’
compilation terminated.
...
```

See :
https://buildd.debian.org/status/fetch.php?pkg=openjfx&arch=riscv64&ver=11.0.11%2B1-4&stamp=1731359861&raw=0

The patch attched is to use bfd again and the build is okay on my local
Unmachted abords.

But I am not satisfied with the soultion because this is not the first
time to see glod issue on here, see [0] also. However this should be
time-consuming task for me to reproduce the issue in the scenario of
openjfx, so personally I hope we can built it on riscv64 first then
waiting a root cause fixed solution.

Could you have a look at this? thanks!

[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080206#5


-- 
Regards,
--
  Bo YU

diff -Nru openjfx-11.0.11+1/debian/changelog openjfx-11.0.11+1/debian/changelog
--- openjfx-11.0.11+1/debian/changelog  2024-11-11 14:02:46.000000000 +0000
+++ openjfx-11.0.11+1/debian/changelog  2024-12-01 02:05:58.000000000 +0000
@@ -1,3 +1,10 @@
+openjfx (11.0.11+1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs on riscv64. (Closes: #-1)
+
+ -- Bo YU <[email protected]>  Sun, 01 Dec 2024 02:05:58 +0000
+
 openjfx (11.0.11+1-4) unstable; urgency=medium
 
   * Team upload
diff -Nru openjfx-11.0.11+1/debian/patches/riscv64-use-bfd.patch 
openjfx-11.0.11+1/debian/patches/riscv64-use-bfd.patch
--- openjfx-11.0.11+1/debian/patches/riscv64-use-bfd.patch      1970-01-01 
00:00:00.000000000 +0000
+++ openjfx-11.0.11+1/debian/patches/riscv64-use-bfd.patch      2024-12-01 
01:52:02.000000000 +0000
@@ -0,0 +1,30 @@
+Description: fix ftbfs on riscv64
+ Due to unknown reason, using gold does not work on riscv64:
+ '''
+ [100%] Linking CXX shared library ../../lib/libjfxwebkit.so
+ collect2: fatal error: cannot find ‘ld’
+ compilation terminated.
+ '''
+ see: 
https://buildd.debian.org/status/fetch.php?pkg=openjfx&arch=riscv64&ver=11.0.11%2B1-4&stamp=1731359861&raw=0
+Author: Bo YU <[email protected]>
+Forwarded: not-needed
+Last-Update: 2024-12-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: 
b/modules/javafx.web/src/main/native/Source/WebKitLegacy/PlatformJava.cmake
+===================================================================
+--- a/modules/javafx.web/src/main/native/Source/WebKitLegacy/PlatformJava.cmake
++++ b/modules/javafx.web/src/main/native/Source/WebKitLegacy/PlatformJava.cmake
+@@ -161,7 +161,11 @@
+     set_target_properties(WebKitLegacy PROPERTIES LINK_FLAGS 
"-exported_symbols_list ${WEBCORE_DIR}/mapfile-macosx")
+     set(WebKitLegacy_EXTERNAL_DEP "${WEBCORE_DIR}/mapfile-macosx")
+ elseif (UNIX)
+-    set_target_properties(WebKitLegacy PROPERTIES LINK_FLAGS "-Xlinker 
-version-script=${WEBCORE_DIR}/mapfile-vers -fuse-ld=gold -Wl,--no-undefined 
-Wl,--no-keep-memory -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped")
++    if(CMAKE_SYSTEM_PROCESSOR STREQUAL "riscv64")
++        set_target_properties(WebKitLegacy PROPERTIES LINK_FLAGS "-Xlinker 
-version-script=${WEBCORE_DIR}/mapfile-vers -fuse-ld=bfd -Wl,--no-undefined 
-Wl,--no-keep-memory -Wl,--no-map-whole-files")
++    else()
++        set_target_properties(WebKitLegacy PROPERTIES LINK_FLAGS "-Xlinker 
-version-script=${WEBCORE_DIR}/mapfile-vers -fuse-ld=gold -Wl,--no-undefined 
-Wl,--no-keep-memory -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped")
++    endif()
+     set(WebKitLegacy_EXTERNAL_DEP "${WEBCORE_DIR}/mapfile-vers")
+ elseif (WIN32)
+     # Adds version information to jfxwebkit.dll created by Gradle build, see 
JDK-8166265
diff -Nru openjfx-11.0.11+1/debian/patches/series 
openjfx-11.0.11+1/debian/patches/series
--- openjfx-11.0.11+1/debian/patches/series     2024-11-04 21:49:56.000000000 
+0000
+++ openjfx-11.0.11+1/debian/patches/series     2024-11-29 23:01:57.000000000 
+0000
@@ -24,3 +24,4 @@
 jdk-21-compilation.patch
 64-bit-time-t.patch
 gcc-14.patch
+riscv64-use-bfd.patch

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: openjfx
Source-Version: 11.0.11+1-5
Done: Pierre Gruet <[email protected]>

We believe that the bug you reported is fixed in the latest version of
openjfx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Gruet <[email protected]> (supplier of updated openjfx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 11 Feb 2025 15:37:51 +0100
Source: openjfx
Architecture: source
Version: 11.0.11+1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Pierre Gruet <[email protected]>
Closes: 1087687 1088786
Changes:
 openjfx (11.0.11+1-5) unstable; urgency=medium
 .
   * Team upload
   * Upload to unstable
 .
 openjfx (11.0.11+1-5~exp0) experimental; urgency=medium
 .
   * Team upload
   * Fixing error in porting to gcc-14 (Closes: #1087687)
   * Removing patch about the change of linker as gold is not found during
     amd64 and riscv64 builds (Closes: #1088786)
Checksums-Sha1:
 769bb865cf1f4a14dc08c3ad71d24db4b40a2130 2773 openjfx_11.0.11+1-5.dsc
 2144194eff0e2ab96e98765c85aede3ea4dc3ab3 27452 
openjfx_11.0.11+1-5.debian.tar.xz
 365c7d48a2557127b57582df31fa9b43b5e52394 16316 
openjfx_11.0.11+1-5_source.buildinfo
Checksums-Sha256:
 952d27bd26af517003027fc2173841c5c7237172c540d49388332f5b1d953588 2773 
openjfx_11.0.11+1-5.dsc
 6574821e4ae11b7634ee16675e9a5aab8c26862a561c8c4860a18b32f2ce169f 27452 
openjfx_11.0.11+1-5.debian.tar.xz
 d903795667deb5dbc6f1fcb2459e0b4c27f4e0c9bd39a0c774484e06a20892d9 16316 
openjfx_11.0.11+1-5_source.buildinfo
Files:
 998172d8dde4b7a07b5a6f7d8e4d2fac 2773 java optional openjfx_11.0.11+1-5.dsc
 789fcc9592b24a8f9290240201aa14af 27452 java optional 
openjfx_11.0.11+1-5.debian.tar.xz
 083871e6056c68af18afa547da71bf4e 16316 java optional 
openjfx_11.0.11+1-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmerYTsACgkQYAMWptwn
dHbdgQ//cXeBj7WCRxIZVCFDTdGYbYPAMZCo3Q3TrzqWI9tvs3Z812rb5w1v/A7O
d23IWt3aorOqOJMCyNJ6bD1T1tSLc8gUOtRfA+mKe3rIWjLiZFz7cp8lMGlTEGdi
MCBHWiyBE78kyKCtjybqIfv7nqpDUMppAM7Dy63WoiKEQros4iysyrlb69tHrwb8
tw95aw2/M0VDczT6qO2Pgcq56hKpPOet1Rl7ec5s4a5T+OXCQawxnSd9X6kZXCUU
ABmFEeCPPn1e4lc1XgreSZNMwld0wRxEW3GcmTCu2A31dQTTQaL6O+p/VCel9UU6
z+WkNN8bY7ej6jQTK/zpnVBrUfUeRwtQf+sAO8ICH+F0YR3JfOGnM+8GIEVorN9U
pYBUopBVtO/XSV9QwtdWzC++R419Z+v9u9JPE0VstYIYvLxWnh8VCkT2iDpUiXAE
RYHHYvBEQyreigho08HpSM7lH/tZiaW4MY3NLbeNKa5oC9qUGPXpF8FmVIMphS7J
D8qdsYpp+ihckhG+l7cXQYwGkJxDDkuxIqh1dJAZmGsED7Oz36nyAHCWOaI/FMIc
5QDoAW7aQWxcZsbuTAQKZrQIMjnAAFs40k04iY+zZkRrDBdFdOOHOSCOtBnMMRlA
VUXBJb9kOCLM8FZjvm/pGbN2kAxjS0m90dMTMty0kMRjO99q5/I=
=W1k0
-----END PGP SIGNATURE-----

Attachment: pgpIlYN2GDkar.pgp
Description: PGP signature


--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to