TAR-1.35 will not build for target (host-variant will build)
I work here with (Standard) Debian 12 on Buildroot-2024.05, where the update from TAR-1.34 to 1.35 is include. I try to build the standard X86_64 build with uclibc, Kernel-headers 6.1.92, Binutils 2.40, GCC 12.3.0, GDB 13.2. The build will work with all packages, if i use tar-1.34. But when i will use tar-1.35 the build from tar fails. I will get the following errors at the end of build:
Making all in src
make[3]: Entering directory '/home/roland/.fbr/fbr-4.0-test_5_2024-x86_64/buildroot/output/build/tar-1.35/src'
CC buffer.o
CC checkpoint.o
CC compare.o
CC create.o
CC delete.o
CC exit.o
CC exclist.o
CC extract.o
CC xheader.o
CC incremen.o
CC list.o
CC map.o
CC misc.o
In file included from ../lib/system-ioctl.h:46,
from compare.c:23:
/home/roland/.fbr/fbr-4.0-test_5_2024-x86_64/buildroot/output/per-package/tar/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sgtty.h:21:2: warning: #warning useless header on uClibc [-Wcpp]
21 | #warning useless header on uClibc
| ^~~~~~~
CC names.o
CC sparse.o
CC suffix.o
CC system.o
CC tar.o
CC transform.o
In file included from ../lib/system-ioctl.h:46,
from system.c:19:
/home/roland/.fbr/fbr-4.0-test_5_2024-x86_64/buildroot/output/per-package/tar/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sgtty.h:21:2: warning: #warning useless header on uClibc [-Wcpp]
21 | #warning useless header on uClibc
| ^~~~~~~
CC unlink.o
CC update.o
CC utf8.o
CC warning.o
CC xattrs.o
CCLD tar
/home/roland/.fbr/fbr-4.0-test_5_2024-x86_64/buildroot/output/per-package/tar/host/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/12.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: utf8.o: undefined reference to symbol 'libiconv_open'
/home/roland/.fbr/fbr-4.0-test_5_2024-x86_64/buildroot/output/per-package/tar/host/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/12.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: /home/roland/.fbr/fbr-4.0-test_5_2024-x86_64/buildroot/output/per-package/tar/host/x86_64-buildroot-linux-uclibc/sysroot/usr/lib64/libiconv.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1892: tar] Error 1
Is here anyone who can confirm that and check how to solve this?
Edited by arnout