| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-java/rxtx-2.2_pre2-r1/temp/cckWi6yT.o: in function `uucp_unlock': lockdaemon.c:(.text+0x2fd): undefined reference to `minor' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lockdaemon.c:(.text+0x30c): undefined reference to `major' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lockdaemon.c:(.text+0x319): undefined reference to `major' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-java/rxtx-2.2_pre2-r1/temp/cckWi6yT.o: in function `is_device_locked': ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-libressl-20201219-114537 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.9 [2] python3.8 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.48.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Dec 21 03:05:14 PM UTC 2020 /var/db/repos/libressl Wed Dec 16 11:53:33 PM UTC 2020 emerge -qpvO dev-java/rxtx [ebuild N ] dev-java/rxtx-2.2_pre2-r1 USE="lfd -doc -source"
Created attachment 679107 [details] emerge-info.txt
Created attachment 679110 [details] dev-java:rxtx-2.2_pre2-r1:20201221-155016.log
Created attachment 679113 [details] emerge-history.txt
Created attachment 679116 [details] environment
Created attachment 679119 [details] etc.portage.tbz2
Created attachment 679122 [details] logs.tbz2
Created attachment 679125 [details] temp.tbz2
Created attachment 779636 [details, diff] SerialImp.c patch
I found the attached patch in a Redhat bug for the same problem: https://bugzilla.redhat.com/show_bug.cgi?id=1645856 Applying the patch on my system fixes this issue.