Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v3] gettext: fix libtool: Version mismatch error
@ 2024-12-30  4:05 Vincent Davis Jr
  2024-12-30  4:07 ` Vincent Davis Jr
  2024-12-30 13:08 ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 2 replies; 4+ messages in thread
From: Vincent Davis Jr @ 2024-12-30  4:05 UTC (permalink / raw)
  To: openembedded-core; +Cc: Vincent Davis Jr

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>
---
 meta/recipes-core/gettext/gettext_0.22.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/gettext/gettext_0.22.5.bb b/meta/recipes-core/gettext/gettext_0.22.5.bb
index 0bf2a56e5f..2d1ace1427 100644
--- a/meta/recipes-core/gettext/gettext_0.22.5.bb
+++ b/meta/recipes-core/gettext/gettext_0.22.5.bb
@@ -31,7 +31,7 @@ SRC_URI += " \
            file://0001-intl-Fix-build-failure-with-make-j.patch \
            "
 
-inherit autotools texinfo pkgconfig ptest
+inherit autotools autotools-brokensep texinfo pkgconfig ptest
 
 EXTRA_OECONF += "--without-lispdir \
                  --disable-csharp \
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v3] gettext: fix libtool: Version mismatch error
  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 ` [OE-core] " Mathieu Dubois-Briand
  1 sibling, 0 replies; 4+ messages in thread
From: Vincent Davis Jr @ 2024-12-30  4:07 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 104 bytes --]

Sorry about the spam.

Forgot about the fact that there's a class that fixes the issue I was seeing.

[-- Attachment #2: Type: text/html, Size: 123 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH v3] gettext: fix libtool: Version mismatch error
  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
  2025-01-06  4:14   ` Vincent Davis Jr
  1 sibling, 1 reply; 4+ messages in thread
From: Mathieu Dubois-Briand @ 2024-12-30 13:08 UTC (permalink / raw)
  To: Vincent Davis Jr, openembedded-core, Joshua Watt

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v3] gettext: fix libtool: Version mismatch error
  2024-12-30 13:08 ` [OE-core] " Mathieu Dubois-Briand
@ 2025-01-06  4:14   ` Vincent Davis Jr
  0 siblings, 0 replies; 4+ messages in thread
From: Vincent Davis Jr @ 2025-01-06  4:14 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

On Mon, Dec 30, 2024 at 07:08 AM, Mathieu Dubois-Briand wrote:

> 
> Mathieu

Hey, we can drop this patch. Appears to be fixed on my end after commit

https://git.openembedded.org/openembedded-core/commit/?id=a414f47009811fa6886e43fd2b4c928a906a65f3

[-- Attachment #2: Type: text/html, Size: 318 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-06  4:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [OE-core] " Mathieu Dubois-Briand
2025-01-06  4:14   ` Vincent Davis Jr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox