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   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 628768    
Attachments: emerge-info.txt
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
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]
Comment 2 Toralf Förster gentoo-dev 2020-12-21 17:02:46 UTC
Created attachment 679110 [details]
Comment 3 Toralf Förster gentoo-dev 2020-12-21 17:02:47 UTC
Created attachment 679113 [details]
Comment 4 Toralf Förster gentoo-dev 2020-12-21 17:02:49 UTC
Created attachment 679116 [details]
Comment 5 Toralf Förster gentoo-dev 2020-12-21 17:02:50 UTC
Created attachment 679119 [details]
Comment 6 Toralf Förster gentoo-dev 2020-12-21 17:02:51 UTC
Created attachment 679122 [details]
Comment 7 Toralf Förster gentoo-dev 2020-12-21 17:02:53 UTC
Created attachment 679125 [details]
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:

Applying the patch on my system fixes this issue.