From: "Jeremy Lainé" <jeremy.laine@bolloretelecom.eu>
To: openembedded-devel@lists.openembedded.org
Subject: libx11 1.2 problems (dolt vs. libtool)
Date: Fri, 29 May 2009 08:38:10 +0200 [thread overview]
Message-ID: <4A1F82D2.6020707@bolloretelecom.eu> (raw)
Since libx11 was upgraded to 1.2, my libx11 builds are failing with:
| ../../../doltlibtool: line 17:
/home/oebuilder/oe/build/tmp/work/ppce300c3-angstrom-linux/libx11-1_1.2-r0/libX11-1.2/modules/im/ximcp/../../../libtool:
No such file or directory
| ../../../doltlibtool: line 17: exec:
/home/oebuilder/oe/build/tmp/work/ppce300c3-angstrom-linux/libx11-1_1.2-r0/libX11-1.2/modules/im/ximcp/../../../libtool:
cannot execute: No suchfile or directory
It would seem I am not the only one with this problem:
http://tinderbox.openembedded.net/packages/libx11/
The problem is that the "dolibtool" script (see http://dolt.freedesktop.org) is trying to
invoke the "libtool" script which it assumes lives in the base directory. However in OE
the libtool script is called ${HOST_SYS}-libtool, so it is not being found.
For now I am working around the problem with the following patch, but I suspect this is
going to crop up in other packages sooner or later:
diff --git a/recipes/xorg-lib/libx11_1.2.bb b/recipes/xorg-lib/libx11_1.2.bb
index a3d000f..8415315 100644
--- a/recipes/xorg-lib/libx11_1.2.bb
+++ b/recipes/xorg-lib/libx11_1.2.bb
@@ -13,6 +13,10 @@ SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \
EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h"
+do_configure_append() {
+ ln -s ${HOST_SYS}-libtool libtool
+}
+
do_compile() {
(
unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
Cheers,
--
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
next reply other threads:[~2009-05-29 6:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 6:38 Jeremy Lainé [this message]
2009-05-29 8:22 ` libx11 1.2 problems (dolt vs. libtool) Koen Kooi
2009-05-29 16:47 ` Otavio Salvador
2009-05-29 21:52 ` Mario Domenech Goulart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A1F82D2.6020707@bolloretelecom.eu \
--to=jeremy.laine@bolloretelecom.eu \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.