* [Buildroot] [PATCH] package/ustr: reallt fix ldconfig
@ 2016-09-26 17:20 Yann E. MORIN
2016-09-26 20:38 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2016-09-26 17:20 UTC (permalink / raw)
To: buildroot
In 99067c1 (package/ustr: don't run ldconfig), we tried to fix parallel
build issues, caused by running ldconfig, by not running ldconfig.
We borked that fix, as build issues still crop up from time to time:
ldconfig is still run because our override is not accounted for by
ustr's buildsystem. Instead of overriding ldocnifg at build time, we
need to override it at configure time.
Just do that.
Fixes:
http://autobuild.buildroot.org/results/7b1/7b12f00612da4ad8dffe0c8010b95db881630b17/
http://autobuild.buildroot.org/results/242/24209ba13f56889357024b0e460d508b7a03d1d2/
http://autobuild.buildroot.org/results/963/963141370a9b127f473a7fae161656a6b0a4f33b/
(Those are the only three build issues in the more-than-a-month since we
initially tried to fix that.)
To be noted: upstream has accepted my patch, plus they completely
removed calls to ldconfig altogether. Add a comment so we don;t forget
to remove our workaround when we bump.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/ustr/ustr.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/ustr/ustr.mk b/package/ustr/ustr.mk
index 1d629ab..b3de50b 100644
--- a/package/ustr/ustr.mk
+++ b/package/ustr/ustr.mk
@@ -4,6 +4,8 @@
#
################################################################################
+# When bumping the version to a new upstream release, be sure to remove
+# the ldconfig hack, below.
USTR_VERSION = 1.0.4
USTR_SOURCE = ustr-$(USTR_VERSION).tar.bz2
USTR_SITE = http://www.and.org/ustr/$(USTR_VERSION)
@@ -23,7 +25,7 @@ USTR_INSTALL_STAGING = YES
# 'all-shared' to the default 'all' rule.
USTR_MAKE_OPTS = all all-shared
-USTR_MAKE_OPTS += LDCONFIG=/bin/true
+USTR_CONF_OPTS += LDCONFIG=/bin/true
$(eval $(autotools-package))
$(eval $(host-autotools-package))
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/ustr: reallt fix ldconfig
2016-09-26 17:20 [Buildroot] [PATCH] package/ustr: reallt fix ldconfig Yann E. MORIN
@ 2016-09-26 20:38 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2016-09-26 20:38 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> In 99067c1 (package/ustr: don't run ldconfig), we tried to fix parallel
> build issues, caused by running ldconfig, by not running ldconfig.
> We borked that fix, as build issues still crop up from time to time:
> ldconfig is still run because our override is not accounted for by
> ustr's buildsystem. Instead of overriding ldocnifg at build time, we
> need to override it at configure time.
> Just do that.
> Fixes:
> http://autobuild.buildroot.org/results/7b1/7b12f00612da4ad8dffe0c8010b95db881630b17/
> http://autobuild.buildroot.org/results/242/24209ba13f56889357024b0e460d508b7a03d1d2/
> http://autobuild.buildroot.org/results/963/963141370a9b127f473a7fae161656a6b0a4f33b/
> (Those are the only three build issues in the more-than-a-month since we
> initially tried to fix that.)
> To be noted: upstream has accepted my patch, plus they completely
> removed calls to ldconfig altogether. Add a comment so we don;t forget
> to remove our workaround when we bump.
Committed after fixing a few typos, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-26 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-26 17:20 [Buildroot] [PATCH] package/ustr: reallt fix ldconfig Yann E. MORIN
2016-09-26 20:38 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox