Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739510 - net-im/bitlbee-3.6-r1 : root_commands.c:(.text+<snip>): undefined reference to get_plugins
Summary: net-im/bitlbee-3.6-r1 : root_commands.c:(.text+<snip>): undefined reference t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-29 16:22 UTC by Toralf Förster
Modified: 2022-08-23 05:11 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.22 KB, text/plain)
2020-08-29 16:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,274.41 KB, text/plain)
2020-08-29 16:22 UTC, Toralf Förster
Details
environment (environment,97.09 KB, text/plain)
2020-08-29 16:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,42.85 KB, application/x-bzip)
2020-08-29 16:22 UTC, Toralf Förster
Details
net-im:bitlbee-3.6-r1:20200829-162021.log (net-im:bitlbee-3.6-r1:20200829-162021.log,42.42 KB, text/plain)
2020-08-29 16:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.91 KB, application/x-bzip)
2020-08-29 16:22 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 2020-08-29 16:22:28 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: root_commands.o: in function `cmd_plugins':
root_commands.c:(.text+0x82a): undefined reference to `get_plugins'
collect2: error: ld returned 1 exit status
make: *** [Makefile:167: bitlbee] Error 1
 * ERROR: net-im/bitlbee-3.6-r1::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200823-115907

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.46.0
  [2]   rust-1.46.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Aug 29 04:05:28 PM UTC 2020
/var/db/repos/libressl	Mon Aug 10 09:13:35 AM UTC 2020

emerge -qpvO net-im/bitlbee
[ebuild  N    ] net-im/bitlbee-3.6-r1  USE="ipv6 libressl oscar xinetd xmpp -debug -gnutls -libevent -msn -nss -otr -plugins -purple (-selinux) -test -twitter"
Comment 1 Toralf Förster gentoo-dev 2020-08-29 16:22:29 UTC
this seems to be either still an issue or a similarity to the one reported in bug 617604
Comment 2 Toralf Förster gentoo-dev 2020-08-29 16:22:31 UTC
Created attachment 657382 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-29 16:22:33 UTC
Created attachment 657384 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-08-29 16:22:35 UTC
Created attachment 657386 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-08-29 16:22:36 UTC
Created attachment 657388 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-29 16:22:38 UTC
Created attachment 657390 [details]
net-im:bitlbee-3.6-r1:20200829-162021.log
Comment 7 Toralf Förster gentoo-dev 2020-08-29 16:22:39 UTC
Created attachment 657392 [details]
temp.tbz2
Comment 8 Petr Vaněk gentoo-dev 2021-03-26 11:52:06 UTC
It is caused by USE="-plugins". I have submitted patch with the fix to the upstream https://github.com/bitlbee/bitlbee/pull/156 and I plan to fix it in ::gentoo when the bug will be resolved in upstream.
Comment 9 Larry the Git Cow gentoo-dev 2021-04-15 08:41:07 UTC
The bug has been closed via the following commit(s):

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

commit 05dc33a126ab1b84858d1bed82a594b7c5dbad9e
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2021-04-12 09:52:46 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-04-15 08:40:59 +0000

    net-im/bitlbee: fix compilation with disabled plugins use
    
    The patch is taken from upstream where it was already merged.
    
    Upstream-PR: https://github.com/bitlbee/bitlbee/pull/156
    Closes: https://bugs.gentoo.org/739510
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-im/bitlbee/bitlbee-3.6-r1.ebuild               |  1 +
 .../files/bitlbee-3.6-disabled-plugins-use.patch   | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-08-23 05:11:14 UTC
The bug has been referenced in the following commit(s):

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

commit 2b967f38394043d8cddb92b1008091dc2da64522
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-08-18 14:29:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-23 04:51:07 +0000

    net-im/bitlbee: tests require xmpp enabled not plugins
    
    plugins use flag is not required for test to work but xmpp is, because of
    tests/check_jabber_* tests.
    
    The test? ( plugin ) requirement was wrongly introduced in commit
    eb108d8b5224 ("net-im/bitlbee: force plugins to be enabled for tests")
    as a solution for bug https://bugs.gentoo.org/617604 which was later
    reported again in bug https://bugs.gentoo.org/739510 and correctly fixed
    in commit 05dc33a126ab ("net-im/bitlbee: fix compilation with disabled
    plugins use").
    
    Bug: https://bugs.gentoo.org/617604
    Bug: https://bugs.gentoo.org/739510
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/bitlbee/bitlbee-3.6-r2.ebuild | 2 +-
 net-im/bitlbee/bitlbee-3.6-r3.ebuild | 2 +-
 net-im/bitlbee/bitlbee-9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)