Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Vincent Davis Jr" <vince@underview.tech>,
	<openembedded-core@lists.openembedded.org>,
	"Joshua Watt" <jpewhacker@gmail.com>
Subject: Re: [OE-core] [PATCH v3] gettext: fix libtool: Version mismatch error
Date: Mon, 30 Dec 2024 14:08:29 +0100	[thread overview]
Message-ID: <D6P24OTSGHF1.397XLUGN9F28J@bootlin.com> (raw)
In-Reply-To: <20241230040546.2158672-2-vince@underview.tech>

On Mon Dec 30, 2024 at 5:05 AM CET, Vincent Davis Jr wrote:
> Error:
>
> libtool: Version mismatch error.  This is libtool 2.5.4, but the
> libtool: definition of this LT_INIT comes from libtool 2.5.2.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
> libtool: and run autoconf again.
>
> Signed-off-by: Vincent Davis Jr <vince@underview.tech>
> ---

Hi Vincent, Joshua,

This patch is failing on the autobuilder, only with the meta-mingw
build. I believe this failure is directly related to meta-mingw, but I'm
not fully confident.

Joshua, any thought about it ?

ERROR: nativesdk-gettext-0.22.5-r0 do_compile: oe_runmake failed
ERROR: nativesdk-gettext-0.22.5-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/temp/run.do_compile.3078389' failed with exit code 1
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/temp/log.do_compile.3078389
Log data follows:
[...]
| libtool: link: i686-w64-mingw32-gcc --sysroot=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot -DINSTALLDIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/bin\" -O2 -fcanon-prefix-map -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -pipe -Wno-error=incompatible-pointer-types -Wl,-O1 -o .libs/ngettext.exe ngettext-ngettext.o gettext.res  ../gnulib-lib/libgrt.a ../intl/.libs/libintl.dll.a -ladvapi32 -liconv
| libtool: link: i686-w64-mingw32-gcc --sysroot=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot -DINSTALLDIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/bin\" -O2 -fcanon-prefix-map -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -pipe -Wno-error=incompatible-pointer-types -Wl,-O1 -o .libs/gettext.exe gettext-gettext.o gettext.res  ../gnulib-lib/libgrt.a ../intl/.libs/libintl.dll.a -ladvapi32 -liconv
| libtool: link: i686-w64-mingw32-gcc --sysroot=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot -DINSTALLDIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/bin\" -O2 -fcanon-prefix-map -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -pipe -Wno-error=incompatible-pointer-types -Wl,-O1 -o .libs/envsubst.exe envsubst-envsubst.o gettext.res  ../gnulib-lib/libgrt.a ../intl/.libs/libintl.dll.a -ladvapi32 -liconv
| libtool:   error: Could not determine the host path corresponding to
| libtool:   error:   '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5/gettext-runtime/intl/.libs'
| libtool:   error: Could not determine the host path corresponding to
| libtool:   error: Continuing, but uninstalled executables may not work.
| libtool:   error:   '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5/gettext-runtime/intl/.libs'
| libtool:   error: Continuing, but uninstalled executables may not work.
| libtool:   error: Could not determine the host path corresponding to
| libtool:   error: Could not determine the host path corresponding to
| libtool:   error:   '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5/gettext-runtime/intl/.libs'
| libtool:   error:   '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5/gettext-runtime/intl/.libs'
| libtool:   error: Continuing, but uninstalled executables may not work.
| libtool:   error: Could not determine the host path corresponding to
| libtool:   error: Continuing, but uninstalled executables may not work.
| libtool:   error:   '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5/gettext-runtime/intl/.libs'
| libtool:   error: Continuing, but uninstalled executables may not work.
| libtool:   error: Could not determine the host path corresponding to
| libtool:   error:   '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5/gettext-runtime/intl/.libs'
| libtool:   error: Continuing, but uninstalled executables may not work.
[...]
| libtool: compile:  i686-w64-mingw32-gcc --sysroot=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot -DLOCALEDIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/share/locale\" -DBISON_LOCALEDIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/share/locale\" -DUSEJAVA=0 -DGETTEXTJAR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/lib\" -DGETTEXTDATADIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/share/gettext\" -DPROJECTSDIR=\"/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/share/gettext/projects\" -DEXEEXT=\".exe\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../../gettext-runtime/intl -I../../gettext-runtime/intl -DGNULIB_DEFINED_ERROR -DGNULIB_DEFINED_GETOPT -O2 -fcanon-prefix-map -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/gettext-0.22.5=/usr/src/debug/nativesdk-gettext/0.22.5 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot= -fdebug-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -fmacro-prefix-map=/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-gettext/0.22.5/recipe-sysroot-native= -pipe -Wno-error=incompatible-pointer-types -c write-catalog.c  -DDLL_EXPORT -DPIC -o .libs/libgettextsrc_la-write-catalog.o
| In file included from ../gnulib-lib/time.h:51,
|                  from ../gnulib-lib/sys/stat.h:51,
|                  from ../gnulib-lib/fcntl.h:64,
|                  from write-catalog.c:26:
| write-catalog.c: In function 'msgdomain_list_print':
| write-catalog.c:251:11: error: implicit declaration of function 'close_used_without_requesting_gnulib_module_close' [-Wimplicit-function-declaration]
|   251 |       if (close (fd) < 0)
|       |           ^~~~~
| make[5]: *** [Makefile:4478: libgettextsrc_la-write-catalog.lo] Error 1

https://valkyrie.yoctoproject.org/#/builders/7/builds/734/steps/12/logs/stdio

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2024-12-30 13:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-30  4:05 [PATCH v3] gettext: fix libtool: Version mismatch error Vincent Davis Jr
2024-12-30  4:07 ` Vincent Davis Jr
2024-12-30 13:08 ` Mathieu Dubois-Briand [this message]
2025-01-06  4:14   ` Vincent Davis Jr

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=D6P24OTSGHF1.397XLUGN9F28J@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=jpewhacker@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=vince@underview.tech \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox