Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798273 - media-libs/hamlib-4.1 - hamlibtcl_wrap.c:(.text+<snip>): undefined reference to Tcl_NewStringObj
Summary: media-libs/hamlib-4.1 - hamlibtcl_wrap.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: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-06-24 07:14 UTC by Toralf Förster
Modified: 2022-05-08 10:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.02 KB, text/plain)
2021-06-24 07:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,163.07 KB, text/plain)
2021-06-24 07:14 UTC, Toralf Förster
Details
environment (environment,99.50 KB, text/plain)
2021-06-24 07:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.18 KB, application/x-bzip)
2021-06-24 07:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,18.27 KB, application/x-bzip)
2021-06-24 07:14 UTC, Toralf Förster
Details
media-libs:hamlib-4.1:20210623-215040.log.bz2 (media-libs:hamlib-4.1:20210623-215040.log.bz2,52.90 KB, application/x-bzip)
2021-06-24 07:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,78.46 KB, application/x-bzip)
2021-06-24 07:14 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 2021-06-24 07:14:27 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hamlibtcl_wrap.o: in function `_wrap_debugmsgsave_get':
hamlibtcl_wrap.c:(.text+0x166): undefined reference to `Tcl_NewStringObj'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: hamlibtcl_wrap.c:(.text+0x178): undefined reference to `Tcl_GetStringFromObj'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: hamlibtcl_wrap.c:(.text+0x18c): undefined reference to `Tcl_SetVar2'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: hamlibtcl_wrap.c:(.text+0x1a2): undefined reference to `TclFreeObj'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hamlibtcl_wrap.o: in function `SWIG_Tcl_SetErrorMsg':

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j3-20210621-104403

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.5
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit d8c603c7ecb47e100d4174cbc0583b7150a8199b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 23 20:51:50 2021 +0000

    2021-06-23 20:51:48 UTC

emerge -qpvO media-libs/hamlib
[ebuild  N    ] media-libs/hamlib-4.1  USE="python tcl -doc -perl" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-06-24 07:14:28 UTC
Created attachment 718590 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-24 07:14:30 UTC
Created attachment 718593 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-24 07:14:31 UTC
Created attachment 718596 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-24 07:14:32 UTC
Created attachment 718599 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-24 07:14:34 UTC
Created attachment 718602 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-24 07:14:35 UTC
Created attachment 718605 [details]
media-libs:hamlib-4.1:20210623-215040.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-06-24 07:14:36 UTC
Created attachment 718608 [details]
temp.tar.bz2
Comment 8 Thomas Beierlein gentoo-dev 2021-07-18 17:42:28 UTC
Does work here without problems. Maybe it is related to the other slibtool problems and should be added as blocker there.
Comment 9 orbea 2022-05-07 00:19:26 UTC
I made an upstream PR to fix this issue.

https://github.com/Hamlib/Hamlib/pull/1022
Comment 10 orbea 2022-05-08 01:06:44 UTC
The first PR was rejected because I made an oversight. The second version with that issue now fixed is merged.

https://github.com/Hamlib/Hamlib/pull/1023
Comment 11 Thomas Beierlein gentoo-dev 2022-05-08 09:49:43 UTC
(In reply to orbea from comment #10)
> The first PR was rejected because I made an oversight. The second version
> with that issue now fixed is merged.
> 
> https://github.com/Hamlib/Hamlib/pull/1023

Thanks for preparing a solution. Looks good, will apply shortly.
Comment 12 Larry the Git Cow gentoo-dev 2022-05-08 10:04:40 UTC
The bug has been referenced in the following commit(s):

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

commit 9c8d77147db9d81b4125433ea3c66b7380f20c74
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-07 03:59:18 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-05-08 09:55:37 +0000

    media-libs/hamlib: Fix USE=tcl with slibtool
    
    Bug: https://bugs.gentoo.org/798273
    Upstream-PR: https://github.com/Hamlib/Hamlib/pull/1023
    Upstream-commit: 4fa9a211adbc ("bindings: Fix tcl build with slibtool")
    Signed-off-by: orbea <orbea@riseup.net>
    Bug: https://bugs.gentoo.org/798273
    Closes: https://github.com/gentoo/gentoo/pull/25363
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 media-libs/hamlib/files/hamlib-4.4-slibtool.patch | 73 +++++++++++++++++++++++
 media-libs/hamlib/hamlib-4.4.ebuild               |  8 ++-
 2 files changed, 79 insertions(+), 2 deletions(-)

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

commit 9c8d77147db9d81b4125433ea3c66b7380f20c74
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-07 03:59:18 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-05-08 09:55:37 +0000

    media-libs/hamlib: Fix USE=tcl with slibtool
    
    Bug: https://bugs.gentoo.org/798273
    Upstream-PR: https://github.com/Hamlib/Hamlib/pull/1023
    Upstream-commit: 4fa9a211adbc ("bindings: Fix tcl build with slibtool")
    Signed-off-by: orbea <orbea@riseup.net>
    Bug: https://bugs.gentoo.org/798273
    Closes: https://github.com/gentoo/gentoo/pull/25363
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 media-libs/hamlib/files/hamlib-4.4-slibtool.patch | 73 +++++++++++++++++++++++
 media-libs/hamlib/hamlib-4.4.ebuild               |  8 ++-
 2 files changed, 79 insertions(+), 2 deletions(-)
Comment 13 Thomas Beierlein gentoo-dev 2022-05-08 10:05:40 UTC
PR applied. Closing the Bug.