Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883773 - media-radio/grig-0.8.1-r1 - rig-daemon.c:(.text+<snip>): undefined reference to rig_get_split
Summary: media-radio/grig-0.8.1-r1 - rig-daemon.c:(.text+<snip>): undefined reference ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-30 18:40 UTC by Toralf Förster
Modified: 2022-12-06 06:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.18 KB, text/plain)
2022-11-30 18:40 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,103.96 KB, application/x-bzip)
2022-11-30 18:40 UTC, Toralf Förster
Details
environment (environment,38.13 KB, text/plain)
2022-11-30 18:40 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-11-30 18:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,35.17 KB, application/x-bzip)
2022-11-30 18:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.92 KB, application/x-bzip)
2022-11-30 18:40 UTC, Toralf Förster
Details
media-radio:grig-0.8.1-r1:20221130-183343.log (media-radio:grig-0.8.1-r1:20221130-183343.log,96.34 KB, text/plain)
2022-11-30 18:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.40 KB, application/x-bzip)
2022-11-30 18:40 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-11-30 18:40:39 UTC
too long lines were shrinked:

      |                                     ~~~~~~~~~~~~~^~~~~
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -pthread -I/usr/include/libusb-1.0   -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o grig main.o compat.o grig-about.o grig-config.o grig-
libtool: link: x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -pthread -I/usr/include/libusb-1.0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o grig main.o compat.o grig-about.o grig-config.o grig-debug.o grig-gtk-workarounds.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: rig-daemon.o: in function `rig_daemon_exec_cmd':
rig-daemon.c:(.text+0x640): undefined reference to `rig_get_split'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:465: grig] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221125-151122

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 0315bdfc0e1b2e0652ac568b514bd758947e1aa5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 30 18:16:48 2022 +0000

    2022-11-30 18:16:48 UTC

emerge -qpvO media-radio/grig
[ebuild  N    ] media-radio/grig-0.8.1-r1
Comment 1 Toralf Förster gentoo-dev 2022-11-30 18:40:41 UTC
Created attachment 838587 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-30 18:40:42 UTC
Created attachment 838589 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-30 18:40:43 UTC
Created attachment 838591 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-30 18:40:44 UTC
Created attachment 838593 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-30 18:40:46 UTC
Created attachment 838595 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-30 18:40:47 UTC
Created attachment 838597 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-30 18:40:48 UTC
Created attachment 838599 [details]
media-radio:grig-0.8.1-r1:20221130-183343.log
Comment 8 Toralf Förster gentoo-dev 2022-11-30 18:40:49 UTC
Created attachment 838601 [details]
temp.tar.bz2
Comment 9 Thomas Beierlein gentoo-dev 2022-12-06 06:54:29 UTC
Function in question was defined as macro before Hamlib-4.5 which dropped the macro.
Needs to be replaced by a call to rig_get_split_vfo().
Comment 10 Larry the Git Cow gentoo-dev 2022-12-06 06:59:42 UTC
The bug has been closed via the following commit(s):

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

commit 6834a0595575be8645382b8c709f316cb1550633
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-12-06 06:56:51 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-12-06 06:59:00 +0000

    media-radio/grig: Adapt to Hamlib4.5
    
    Closes: https://bugs.gentoo.org/883773
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 media-radio/grig/files/grig-0.8.1-hamlib45.patch | 17 +++++++++++++++++
 media-radio/grig/grig-0.8.1-r1.ebuild            |  7 ++++---
 2 files changed, 21 insertions(+), 3 deletions(-)