* [Buildroot] [PATCH 1/1] package/rhash: fix NLS build
@ 2024-03-01 17:49 Fabrice Fontaine
2024-03-01 18:07 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-03-01 17:49 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Fix the following NLS build failure raised since bump to version 1.4.4
in commit f9b465c66c42e936a80292f7854f605d4c88564e:
./configure: line 879: -lintl: command not found
[...]
/home/buildroot/autobuild/run/instance-0/output-1/host/bin/xtensa-linux-gcc calc_sums.o hash_print.o common_func.o hash_update.o file.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o librhash/librhash.so.1.4.4 -o rhash
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/12.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: calc_sums.o:(.literal.rename_file_by_embeding_crc32+0x10): undefined reference to `libintl_gettext'
Fixes: f9b465c66c42e936a80292f7854f605d4c88564e
- http://autobuild.buildroot.org/results/f8dd8ea6c0c9cd428355e3720e679a078b8e0f8f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...ct-assigment-in-the-configure-script.patch | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 package/rhash/0001-Fix-243-Incorrect-assigment-in-the-configure-script.patch
diff --git a/package/rhash/0001-Fix-243-Incorrect-assigment-in-the-configure-script.patch b/package/rhash/0001-Fix-243-Incorrect-assigment-in-the-configure-script.patch
new file mode 100644
index 0000000000..4a9a81dbf5
--- /dev/null
+++ b/package/rhash/0001-Fix-243-Incorrect-assigment-in-the-configure-script.patch
@@ -0,0 +1,24 @@
+From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001
+From: Aleksey Kravchenko <rhash.admin@gmail.com>
+Date: Mon, 7 Aug 2023 01:00:37 +0300
+Subject: [PATCH] Fix #243: Incorrect assigment in the configure script
+
+Upstream: https://github.com/rhash/RHash/commit/c804982d1b24c6533118b3068d2cfdca685076f3
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 39ef8c1..63cbd8d 100755
+--- a/configure
++++ b/configure
+@@ -877,7 +877,7 @@ if test "$OPT_STATIC" = "no"; then
+ RHASH_TEST_OPTIONS=--shared
+ test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes
+ test "$INSTALL_LIB_STATIC" = "yes" && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)"
+- RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS
++ RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS)
+ else
+ LIBRHASH_TYPE=static
+ LIBRHASH_PATH="\$(LIBRHASH_STATIC)"
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/rhash: fix NLS build
2024-03-01 17:49 [Buildroot] [PATCH 1/1] package/rhash: fix NLS build Fabrice Fontaine
@ 2024-03-01 18:07 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2024-03-01 18:07 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following NLS build failure raised since bump to version 1.4.4
> in commit f9b465c66c42e936a80292f7854f605d4c88564e:
> ./configure: line 879: -lintl: command not found
> [...]
> /home/buildroot/autobuild/run/instance-0/output-1/host/bin/xtensa-linux-gcc
> calc_sums.o hash_print.o common_func.o hash_update.o file.o
> file_mask.o file_set.o find_file.o hash_check.o output.o
> parse_cmdline.o rhash_main.o win_utils.o librhash/librhash.so.1.4.4 -o
> rhash
> /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/12.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld:
> calc_sums.o:(.literal.rename_file_by_embeding_crc32+0x10): undefined
> reference to `libintl_gettext'
> Fixes: f9b465c66c42e936a80292f7854f605d4c88564e
> - http://autobuild.buildroot.org/results/f8dd8ea6c0c9cd428355e3720e679a078b8e0f8f
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-01 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 17:49 [Buildroot] [PATCH 1/1] package/rhash: fix NLS build Fabrice Fontaine
2024-03-01 18:07 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox