Summary: | dev-libs/libindicator-12.10.1-r301 undefined reference to `roundf' when using rlibtool and with /bin/sh == dash | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, orbea |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268, 765709 | ||
Attachments: |
libindicator-12.10.1-r301:20210318-044910.log
Patch fixing the build with CONFIG_SHELL=/bin/dash Fix a typo in configure.ac. |
Description
Alessandro Barbieri
2021-03-18 19:23:12 UTC
Created attachment 692292 [details]
libindicator-12.10.1-r301:20210318-044910.log
buildlog
I can't reproduce this with either slibtool-0.5.31 or 9999 and I am not sure what is different. (In reply to orbea from comment #2) > I can't reproduce this with either slibtool-0.5.31 or 9999 and I am not sure > what is different. It's one of these that works with slibtool, works with /bin/sh == dash, but doesn't work if you use both at once. Weird and thanks, I can reproduce it when exportig CONFIG_SHELL=/bin/dash. (In reply to orbea from comment #4) > Weird and thanks, I can reproduce it when exportig CONFIG_SHELL=/bin/dash. See also bug #775869, although I'm having a hard time to consider that one a bug, it's even more specific. Created attachment 692319 [details, diff]
Patch fixing the build with CONFIG_SHELL=/bin/dash
I attached a patch fixing this, I'm not sure how slibtool is involved here, but its easy to fix. I'm not sure how to submit patches upstream to launchpad, if anyone else knows how to do that please feel free submit the patch. :) Actually GNU libtool is hiding this issue by silently filtering out -no-undefined which is set in libindicator/Makefile.am and dash has a problem with setting variables with +=. Created attachment 692340 [details, diff]
Fix a typo in configure.ac.
Removes an extra ']' from configure.ac.
configure: line 3331: ]: command not found
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7512fcdbb864c71092929866f019cbe88dc614fc commit 7512fcdbb864c71092929866f019cbe88dc614fc Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-19 02:48:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-19 02:48:04 +0000 dev-libs/libindicator: fix nonbash Closes: https://bugs.gentoo.org/777087 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libindicator/files/libindicator-ldflags-spacing.patch | 1 + dev-libs/libindicator/libindicator-12.10.1-r301.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) |