Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617604

Summary: net-im/bitlbee-3.5.1 : root_commands.c:(.text+<snip>): undefined reference to `get_plugins'
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tim Harder <radhermit>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-im:bitlbee-3.5.1:20170505-111943.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-05-05 19:48:00 UTC
x86_64-pc-linux-gnu-gcc bitlbee.o dcc.o help.o ipc.o irc.o irc_im.o irc_cap.o irc_channel.o irc_commands.o irc_send.o irc_user.o irc_util.o nick.o  query.o root_commands.o set.o storage.o storage_xml.o auth.o  unix.o conf.o log.o lib/lib.o protocols/protocols.o -o bitlbee -pie -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -lm -Wl,-O1 -Wl,--as-needed -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -Wl,-O1 -Wl,--as-needed -lssl -lcrypto -Wl,-O1 -Wl,--as-needed -lresolv -Wl,-O1 -Wl,--as-needed 
root_commands.o: In function `cmd_plugins':
root_commands.c:(.text+0x734): undefined reference to `get_plugins'
collect2: error: ld returned 1 exit status
make: *** [Makefile:183: bitlbee] Error 1
 * ERROR: net-im/bitlbee-3.5.1::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd-libressl-abi32+64_20170430-195331

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-05-05 19:48:04 UTC
Created attachment 471754 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-05 19:48:08 UTC
Created attachment 471756 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-05-05 19:48:11 UTC
Created attachment 471758 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-05-05 19:48:14 UTC
Created attachment 471760 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-05-05 19:48:17 UTC
Created attachment 471762 [details]
net-im:bitlbee-3.5.1:20170505-111943.log
Comment 6 Toralf Förster gentoo-dev 2017-05-05 19:48:20 UTC
Created attachment 471764 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2017-09-11 06:44:26 UTC
Bug has been closed via the following commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb108d8b5224d9986d607b683ec8bcd6c9e56633

commit eb108d8b5224d9986d607b683ec8bcd6c9e56633
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2017-09-11 06:42:26 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2017-09-11 06:43:53 +0000

    net-im/bitlbee: force plugins to be enabled for tests
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=617604

 net-im/bitlbee/bitlbee-3.5.1.ebuild | 1 +
 net-im/bitlbee/bitlbee-9999.ebuild  | 1 +
 2 files changed, 2 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2022-08-23 05:11:13 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(-)