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

Bug 765715

Summary: net-wireless/bluez: Undefined references with sys-devel/slibtool
Product: Gentoo Linux Reporter: orbea <orbea>
Component: Current packagesAssignee: Pacho Ramos <pacho>
Status: RESOLVED FIXED    
Severity: normal CC: polynomial-c
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/bluez/bluez/issues/86
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709    
Attachments: build log
emerge --info
patch

Description orbea 2021-01-17 04:09:24 UTC
Created attachment 683263 [details]
build log

When build bluez with slibtool it fails with undefined references.

  MAKEFLAGS='LIBTOOL=rlibtool' emerge -av1 net-wireless/bluez

This is because in Makefile.plugins plugins_sixaxis_la_LDFLAGS contains -no-undefined which GNU libtool silently ignores.

However due to the design of bluez undefined references are expected and adding -no-undefined is wrong. The easiest solution is to just remove it.
Comment 1 orbea 2021-01-17 04:09:36 UTC
Created attachment 683266 [details]
emerge --info
Comment 2 orbea 2021-01-17 04:11:06 UTC
Created attachment 683269 [details, diff]
patch

This patch should be upstreamed, but someone will need to submit it to the bluez mailing list.
Comment 4 Larry the Git Cow gentoo-dev 2021-03-08 15:57:50 UTC
The bug has been closed via the following commit(s):

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

commit 77c7a7e7b52128a464b47c9f01fb90865527f5c4
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-03-08 15:57:43 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-03-08 15:57:43 +0000

    net-wireless/bluez: Bump to 5.56
    
    Closes: https://bugs.gentoo.org/765715
    Closes: https://bugs.gentoo.org/774669
    Thanks-to: Joakim Tjernlund
    Thanks-to: orbea
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-wireless/bluez/Manifest          |   1 +
 net-wireless/bluez/bluez-5.56.ebuild | 299 +++++++++++++++++++++++++++++++++++
 2 files changed, 300 insertions(+)