Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768243 - net-wireless/blueman: fails with sys-devel/slibtool
Summary: net-wireless/blueman: fails with sys-devel/slibtool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-02-01 16:08 UTC by Joakim Tjernlund
Modified: 2021-02-01 18:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2021-02-01 16:08:34 UTC
rdlibtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/_blueman.so /var/tmp/portage/net-wireless/blueman-2.1.4/image/usr/lib/python3.8/site-packages/_blueman.so
Making install in po
installing sv.gmo as /var/tmp/portage/net-wireless/blueman-2.1.4/image/usr/share/locale/sv/LC_MESSAGES/blueman.mo
installing en_GB.gmo as /var/tmp/portage/net-wireless/blueman-2.1.4/image/usr/share/locale/en_GB/LC_MESSAGES/blueman.mo
Making install in sendto
 /bin/mkdir -p '/var/tmp/portage/net-wireless/blueman-2.1.4/image/usr/share/doc/blueman-2.1.4'
 /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 CHANGELOG.md COPYING FAQ README.md '/var/tmp/portage/net-wireless/blueman-2.1.4/image/usr/share/doc/blueman-2.1.4'
rm: cannot remove '/var/tmp/portage/net-wireless/blueman-2.1.4/image//usr/lib/python3.8/site-packages/*.la': No such file or directory
 * ERROR: net-wireless/blueman-2.1.4::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_install
 *   environment, line 3636:  Called die
 * The specific snippet of code:
 *       rm "${D}"/$(python_get_sitedir)/*.la || die
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/blueman-2.1.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/blueman-2.1.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-wireless/blueman-2.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/blueman-2.1.4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-wireless/blueman-2.1.4/work/blueman-2.1.4'
 * S: '/var/tmp/portage/net-wireless/blueman-2.1.4/work/blueman-2.1.4'
Comment 1 orbea 2021-02-01 16:16:34 UTC
This is an ebuild problem where it fails to remove .la files which slibtool does not install by default.

  rm "${D}"/$(python_get_sitedir)/*.la || die

I would suggest this instead.

  rm -f "${D}"/$(python_get_sitedir)/*.la

So that the files will be always removed when needed and it will not pointlessly fail when they are not present.

See: https://gitweb.gentoo.org/repo/gentoo.git/tree/net-wireless/blueman/blueman-2.1.4.ebuild?id=d8cbaa62dbf4abc31cc74d2cc12e3d0c7ac9b70a#n120
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-02-01 16:28:18 UTC
Same issue has been fixed in media-gfx/imagemagick:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabc71e350affd59fcbbaec8235faa0ef106c8b6
Comment 3 Larry the Git Cow gentoo-dev 2021-02-01 18:51:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3081c9768582a589390e3e1c90598873c9c1e629

commit 3081c9768582a589390e3e1c90598873c9c1e629
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-02-01 18:14:42 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-02-01 18:51:53 +0000

    net-wireless/blueman: Remove .la files only if they exist
    
    Closes: https://bugs.gentoo.org/768243
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-wireless/blueman/blueman-2.1.4.ebuild | 4 ++--
 net-wireless/blueman/blueman-9999.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)