Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712996 - net-im/pidgin-2.13.0-r8 (py3.8?): ./libgnt/.libs/libgnt.so: undefined reference to `_Py_Dealloc' (and more)
Summary: net-im/pidgin-2.13.0-r8 (py3.8?): ./libgnt/.libs/libgnt.so: undefined referen...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-17 15:47 UTC by Michał Górny
Modified: 2023-01-12 20:26 UTC (History)
1 user (show)

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


Attachments
emerge --info (e-info.txt,10.34 KB, text/plain)
2020-03-17 15:48 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-17 15:47:56 UTC
/bin/sh ../libtool --silent  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc-9.2.0  -g -march=x86-64 -mtune=k8 -O2 -pipe -frecord-gcc-switches -export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o finch gntaccount.o gntblist.o gntcertmgr.o gntconn.o gntconv.o gntdebug.o gntft.o finch.o gntidle.o gntlog.o gntmedia.o gntnotify.o gntplugin.o gntpounce.o gntprefs.o gntrequest.o gntroomlist.o gntsound.o gntstatus.o gntui.o -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0  -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lncursesw -ltinfow -lpanelw -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 ./libgnt/libgnt.la ../libpurple/libpurple.la -lm -lnsl -lresolv 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `_Py_Dealloc'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `PyList_Insert'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `PyUnicode_FromString'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `PyErr_Print'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `PySys_GetObject'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `PyRun_SimpleFileExFlags'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `Py_SetProgramName'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `Py_Finalize'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `Py_Initialize'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `Py_IsInitialized'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to `PyErr_Occurred'
collect2: error: ld returned 1 exit status



---
If I were to guess, upstream is using python-3.8.pc instead of python-3.8-embed.pc.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-17 15:48:32 UTC
Created attachment 620916 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-03-25 15:03:20 UTC
The bug has been referenced in the following commit(s):

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

commit c72bfdba4b717d92093fed1de06c6cd41316c8be
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-03-25 14:53:29 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-03-25 15:03:14 +0000

    net-im/pidgin: Remove broken py3.8 support
    
    Bug: https://bugs.gentoo.org/712996
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-im/pidgin/pidgin-2.13.0-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Dan Goodliffe 2020-06-10 10:03:46 UTC
Maybe related in Pidgin 2.14.0?

...SNIP...
checking for gnt >= 2.14.0... no
configure: error: 

Finch will not be built. You must have libgnt >= 2.14.0 development headers installed to build.

The build terminates at this point.
Comment 4 jospezial 2020-06-10 11:19:33 UTC
(In reply to Dan Goodliffe from comment #3)
> Maybe related in Pidgin 2.14.0?
> 
> ...SNIP...
> checking for gnt >= 2.14.0... no
> configure: error: 
> 
> Finch will not be built. You must have libgnt >= 2.14.0 development headers
> installed to build.
> 
> The build terminates at this point.

see also
https://bugs.gentoo.org/564086#c7
Comment 5 Stefan Strogin gentoo-dev 2020-06-10 18:49:43 UTC
> checking for gnt >= 2.14.0... no
> configure: error: 
> 
> Finch will not be built. You must have libgnt >= 2.14.0 development headers installed to build.

Same for me with pidgin-2.14.0.
Comment 6 Stefan Strogin gentoo-dev 2020-06-10 18:59:25 UTC
[ebuild     U  ] net-im/pidgin-2.14.0:0/2::gentoo [2.13.0-r8:0/2::gentoo] USE="dbus gstreamer gtk idn ncurses nls spell xscreensaver (-aqua) -debug -doc -eds -gadu -gnutls -groupwise -meanwhile -networkmanager -perl -pie -prediction -python -sasl -tcl -tk -zephyr -zeroconf" PYTHON_SINGLE_TARGET="python3_7 -python3_6"

It installs successfully if I install net-im/pidgin and x11-plugins/purple-plugin_pack with USE="-ncurses".
Comment 7 Marco Scardovi (scardracs) 2023-01-12 20:25:57 UTC
Is this bug still valid?