Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 761103

Summary: dev-java/rxtx-2.2_pre2-r1 : lockdaemon.c:(.text+<snip>): undefined reference to minor
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal CC: richard.kenney
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 628768    
Attachments: emerge-info.txt
dev-java:rxtx-2.2_pre2-r1:20201221-155016.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
SerialImp.c patch

Description Toralf Förster gentoo-dev 2020-12-21 17:02:43 UTC
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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"
Comment 1 Toralf Förster gentoo-dev 2020-12-21 17:02:45 UTC
Created attachment 679107 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-21 17:02:46 UTC
Created attachment 679110 [details]
dev-java:rxtx-2.2_pre2-r1:20201221-155016.log
Comment 3 Toralf Förster gentoo-dev 2020-12-21 17:02:47 UTC
Created attachment 679113 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-12-21 17:02:49 UTC
Created attachment 679116 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-12-21 17:02:50 UTC
Created attachment 679119 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-21 17:02:51 UTC
Created attachment 679122 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-12-21 17:02:53 UTC
Created attachment 679125 [details]
temp.tbz2
Comment 8 Richard Kenney 2022-05-20 22:16:51 UTC
Created attachment 779636 [details, diff]
SerialImp.c patch
Comment 9 Richard Kenney 2022-05-20 22:19:23 UTC
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.