Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830847 - net-p2p/freenet-0.7.5_p1491 - [javac] .../UdpSocketHandler.java:123: error: cannot find symbol
Summary: net-p2p/freenet-0.7.5_p1491 - [javac] .../UdpSocketHandler.java:123: error: c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords: PullRequest, UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-01-09 13:47 UTC by Toralf Förster
Modified: 2022-03-18 01:17 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.67 KB, text/plain)
2022-01-09 13:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,206.86 KB, text/plain)
2022-01-09 13:47 UTC, Toralf Förster
Details
environment (environment,131.41 KB, text/plain)
2022-01-09 13:47 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.06 KB, application/x-bzip)
2022-01-09 13:47 UTC, Toralf Förster
Details
net-p2p:freenet-0.7.5_p1491:20220109-134053.log (net-p2p:freenet-0.7.5_p1491:20220109-134053.log,19.22 KB, text/plain)
2022-01-09 13:47 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.10 KB, application/x-bzip)
2022-01-09 13:47 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 2022-01-09 13:47:08 UTC
    [javac]        ^
    [javac] /var/tmp/portage/net-p2p/freenet-0.7.5_p1491/work/fred-build01491/src/freenet/support/io/PooledFileRandomAccessBuffer.java:33: warning: [serial] serializable class FDTracker has no definition of serialVersionUID
    [javac]     static class FDTracker implements Serializable {
    [javac]            ^
    [javac] /var/tmp/portage/net-p2p/freenet-0.7.5_p1491/work/fred-build01491/src/freenet/io/comm/UdpSocketHandler.java:123: error: cannot find symbol
    [javac] 			    ret = socketOptionsHolder.setsockopt(fd, SOCKET_level.IPPROTO_IPV6.linux, p.option_name.linux, new IntByReference(p.linux).getPointer(), Pointer.SIZE);
    [javac] 			                                                                                                                                                    ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20220107-150154

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.57.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit 6e9edb8a7dd74eb2a7f9a4ae472a95d9d4a2898c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 9 12:51:47 2022 +0000

    2022-01-09 12:51:45 UTC

emerge -qpvO net-p2p/freenet
[ebuild  N    ] net-p2p/freenet-0.7.5_p1491  USE="nss -doc -source -test"
Comment 1 Toralf Förster gentoo-dev 2022-01-09 13:47:09 UTC
Created attachment 761707 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-09 13:47:11 UTC
Created attachment 761708 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-09 13:47:12 UTC
Created attachment 761709 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-09 13:47:13 UTC
Created attachment 761710 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-09 13:47:14 UTC
Created attachment 761711 [details]
net-p2p:freenet-0.7.5_p1491:20220109-134053.log
Comment 6 Toralf Förster gentoo-dev 2022-01-09 13:47:16 UTC
Created attachment 761712 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-01-28 07:53:48 UTC
The bug has been closed via the following commit(s):

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

commit c54e5325b0369da14991e21bfe94a8226c257f06
Author:     Yuan Liao <liaoyuan@gmail.com>
AuthorDate: 2022-01-23 18:21:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-28 07:53:30 +0000

    net-p2p/freenet: Fix build and runtime errors with JNA 5.x
    
    This package uses JNA's Pointer.SIZE API, which has been removed since
    JNA 5.0.0.  A replacement of the API is Native.POINTER_SIZE, which is
    present in both JNA 4.x and 5.x.
    
    Since JNA 5.0.0, the default JNI library loading mechanism has been
    changed, which would cause this package to crash upon launch, unless
    system property 'jna.nosys' is set to 'false', which restores the 4.x
    library loading behavior compatible with this package.
    
    Closes: https://bugs.gentoo.org/830847
    Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/23933
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/0.7.5_p1491-update-for-jna-5.x.patch     |  31 ++++
 .../freenet/files/freenet-0.7.5_p1491-wrapper.conf |  30 ++++
 net-p2p/freenet/freenet-0.7.5_p1488-r2.ebuild      | 169 +++++++++++++++++++++
 net-p2p/freenet/freenet-0.7.5_p1491-r1.ebuild      | 165 ++++++++++++++++++++
 4 files changed, 395 insertions(+)
Comment 8 Yuan Liao (Leo3418) 2022-03-18 01:14:59 UTC
The patch included in the commit that resolves this bug ticket has been submitted to the upstream and is awaiting acceptance:

https://github.com/freenet/fred/pull/759