Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765715 - net-wireless/bluez: Undefined references with sys-devel/slibtool
Summary: net-wireless/bluez: Undefined references with sys-devel/slibtool
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
Reported: 2021-01-17 04:09 UTC by orbea
Modified: 2021-03-08 15:57 UTC (History)
1 user (show)

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

build log (build.log,199.27 KB, text/x-log)
2021-01-17 04:09 UTC, orbea
emerge --info (emerge-info.txt,5.47 KB, text/plain)
2021-01-17 04:09 UTC, orbea
patch (bluez-slibtool.patch,565 bytes, patch)
2021-01-17 04:11 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]

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):

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

    net-wireless/bluez: Bump to 5.56
    Thanks-to: Joakim Tjernlund
    Thanks-to: orbea
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Pacho Ramos <>

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