Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696070 - net-wireless/bluez-5.51 - error: Symlink points to BuildRoot: /usr/lib/systemd/user/dbus-org.bluez.obex.service -> /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/systemd/user/obex.service
Summary: net-wireless/bluez-5.51 - error: Symlink points to BuildRoot: /usr/lib/system...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-02 17:22 UTC by Alessandro Barbieri
Modified: 2020-03-11 20:44 UTC (History)
1 user (show)

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


Attachments
info (info,14.72 KB, text/plain)
2019-10-02 17:23 UTC, Alessandro Barbieri
Details
bluez-5.51:20191002-145446.log (bluez-5.51:20191002-145446.log,318.46 KB, text/plain)
2019-10-02 17:24 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-10-02 17:22:43 UTC
fails at making the rpm

PORTAGE_BINPKG_FORMAT="rpm"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy cgroup clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles installsources ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms sign split-elog split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"

Processing files: bluez-5.51-r0.x86_64
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/lib/udev/hid2hci
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/bluetoothctl
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/btmon
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/l2test
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/rctest
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/l2ping
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/bccmd
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/bluemoon
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/hex2hcd
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/mpris-proxy
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/btattach
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/meshctl
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/btpclient
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/lib/udev/hid2hci.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/btpclient.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/meshctl.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/btattach.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/mpris-proxy.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/hex2hcd.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/bluemoon.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/bccmd.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/l2ping.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/l2test.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/rctest.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/btmon.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/bluetoothctl.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/lib64/bluetooth/plugins/sixaxis.so.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/lib64/libbluetooth.so.3.19.0.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/libexec/bluetooth/bluetooth-meshd.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/libexec/bluetooth/obexd.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/libexec/bluetooth/bluetoothd.debug
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/libexec/bluetooth/bluetooth-meshd
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/libexec/bluetooth/obexd
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/libexec/bluetooth/bluetoothd
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib64/libbluetooth.so.3.19.0
warning: Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib64/bluetooth/plugins/sixaxis.so
error: Symlink points to BuildRoot: /usr/lib/systemd/user/dbus-org.bluez.obex.service -> /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/systemd/user/obex.service


RPM build errors:
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/lib/udev/hid2hci
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/bluetoothctl
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/btmon
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/l2test
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/rctest
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/l2ping
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/bccmd
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/bluemoon
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/hex2hcd
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/mpris-proxy
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/btattach
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/meshctl
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/bin/btpclient
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/lib/udev/hid2hci.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/btpclient.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/meshctl.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/btattach.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/mpris-proxy.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/hex2hcd.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/bluemoon.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/bccmd.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/l2ping.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/l2test.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/rctest.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/btmon.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/bin/bluetoothctl.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/lib64/bluetooth/plugins/sixaxis.so.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/lib64/libbluetooth.so.3.19.0.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/libexec/bluetooth/bluetooth-meshd.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/debug/usr/libexec/bluetooth/obexd.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib
/debug/usr/libexec/bluetooth/bluetoothd.debug
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/libexec/bluetooth/bluetooth-meshd
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/libexec/bluetooth/obexd
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/libexec/bluetooth/bluetoothd
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib64/libbluetooth.so.3.19.0
    Missing build-id in /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib64/bluetooth/plugins/sixaxis.so
    Symlink points to BuildRoot: /usr/lib/systemd/user/dbus-org.bluez.obex.service -> /var/tmp/portage/net-wireless/bluez-5.51/image/usr/lib/systemd/user/obex.service
 * ERROR: net-wireless/bluez-5.51::gentoo failed (rpm phase):
 *   Failed to integrate rpm spec file
 *
 * Call stack:
 *   misc-functions.sh, line 586:  Called __dyn_rpm
 *   misc-functions.sh, line 541:  Called die
 * The specific snippet of code:
 *      HOME=${T} \
 *      rpmbuild -bb --clean --nodeps --rmsource "${PF}.spec" --buildroot "${D}" --target "${CHOST}" || die "Failed to integrate rpm spec file"
 *
Comment 1 Alessandro Barbieri 2019-10-02 17:23:21 UTC
Created attachment 591610 [details]
info

emerge --info
Comment 2 Alessandro Barbieri 2019-10-02 17:24:09 UTC
Created attachment 591612 [details]
bluez-5.51:20191002-145446.log

buildlog
Comment 3 Alessandro Barbieri 2019-10-02 17:25:59 UTC
I this a failure of rpm, portage or bluez?
Comment 4 Pacho Ramos gentoo-dev 2019-10-06 17:59:41 UTC
When building normally, symlink is pointing to proper place:
$ ls -l /usr/lib/systemd/user/dbus-org.bluez.obex.service
lrwxrwxrwx 1 root root 34 sep 29 16:57 /usr/lib/systemd/user/dbus-org.bluez.obex.service -> /usr/lib/systemd/user/obex.service

But I have no idea about how this rpm creation is being done, if it's being run at the proper place 

It looks similar to bug 689184

@dev-portage, how are we supposed to call dosym?
Comment 5 Zac Medico gentoo-dev 2020-03-11 20:43:49 UTC
Rewriting symlinks is portage's job, per section 13.4.1 of PMS.

The part of the ebuild that triggers the error is where it passes the absolute path as the first argument to dosym here:

> for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do
> 	dosym "${i}" /usr/bin/bluez-"${i##*/}"
> done