install uClibc daily snapshot failes
Hi all!
I'm not able to build uClibc daily snapshot:
# Host: Linux P3linux 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux # Target Architecture (powerpc)
make[1]: Leaving directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' touch -c /home/claus/src/buildroot/toolchain_build_powerpc/uClibc/lib/libc.a
make -C /home/claus/src/buildroot/toolchain_build_powerpc/uClibc \
PREFIX= \
DEVEL_PREFIX=/tools/LinuxCDK/ \
RUNTIME_PREFIX=/tools/LinuxCDK/ \
install_runtime install_devmake[1]: Entering directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' install -d /tools/LinuxCDK/lib
install -m 644 lib/lib*-0.9.29.so \
/tools/LinuxCDK/lib
cd lib && tar -cf - *.so.* | tar -xf - -C /tools/LinuxCDK/lib
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian make[1]: *** [install_runtime] Fehler 127
make[1]: Leaving directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc'
make: *** [/tools/LinuxCDK/lib/libc.a] Fehler 2
You have new mail in /var/spool/mail/claus
claus at P3linux:~/src/buildroot>
It seems, the problem is in target:
# Installs run-time librariesinstall_runtime:
...
cd lib && $(TAR) -cf - *.so.* | $(TAR) -xf - -C $(PREFIX)$(RUNTIME_PREFIX)lib
...
# failes! -:((
This version:
# Installs run-time librariesinstall_runtime:
...
$(TAR) -C lib -cf - $(notdir $(wildcard lib/*.so.*)) | $(TAR) -xf - -C $(PREFIX)$(RUNTIME_PREFIX)lib
...
# works fine; -:) ck
Bye
Claus
Quoted 14 lines · Claus Klein
Hi all!
I'm not able to build uClibc daily snapshot:
# Host: Linux P3linux 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux # Target Architecture (powerpc)
make[1]: Leaving directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' touch -c
/home/claus/src/buildroot/toolchain_build_powerpc/uClibc/lib/libc.amake -C /home/claus/src/buildroot/toolchain_build_powerpc/uClibc \ PREFIX= \ DEVEL_PREFIX=/tools/LinuxCDK/ \ RUNTIME_PREFIX=/tools/LinuxCDK/ \ install_runtime install_dev
Quoted 7 lines
make[1]: Entering directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' install -d /tools/LinuxCDK/lib
install -m 644lib/lib*-0.9.29.so\
/tools/LinuxCDK/lib
cd lib && tar -cf - *.so.* | tar -xf - -C /tools/LinuxCDK/lib
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
You don't have "." in your LD_LIBRARY_PATH, do you? What is your echo $LD_LIBRARY_PATH ?
Quoted 23 lines · Bernhard Fischer
Quoted 14 lines · Claus Klein
Hi all!
I'm not able to build uClibc daily snapshot:
# Host: Linux P3linux 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux # Target Architecture (powerpc)
make[1]: Leaving directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' touch -c
/home/claus/src/buildroot/toolchain_build_powerpc/uClibc/lib/libc.amake -C /home/claus/src/buildroot/toolchain_build_powerpc/uClibc \ PREFIX= \ DEVEL_PREFIX=/tools/LinuxCDK/ \ RUNTIME_PREFIX=/tools/LinuxCDK/ \ install_runtime install_devQuoted 7 lines
make[1]: Entering directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' install -d /tools/LinuxCDK/lib
install -m 644lib/lib*-0.9.29.so\
/tools/LinuxCDK/lib
cd lib && tar -cf - *.so.* | tar -xf - -C /tools/LinuxCDK/lib
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
Quoted 1 line
You don't have "." in your
LD_LIBRARY_PATH, do you?
I checked this alrady.
That is not the problem.
Quoted 3 lines
What is your echo $LD_LIBRARY_PATH ?
claus at P3linux:~/src/buildroot> echo $LD_LIBRARY_PATH /usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:
claus at P3linux:~/src/buildroot>
Quoted 24 lines · Claus Klein
Quoted 23 lines · Bernhard Fischer
Quoted 21 lines · Claus Klein
Hi all!
I'm not able to build uClibc daily snapshot:
# Host: Linux P3linux 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux # Target Architecture (powerpc)
make[1]: Leaving directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' touch -c
/home/claus/src/buildroot/toolchain_build_powerpc/uClibc/lib/libc.amake -C /home/claus/src/buildroot/toolchain_build_powerpc/uClibc \ PREFIX= \ DEVEL_PREFIX=/tools/LinuxCDK/ \ RUNTIME_PREFIX=/tools/LinuxCDK/ \ install_runtime install_devmake[1]: Entering directory `/home/claus/src/buildroot/toolchain_build_powerpc/uClibc' install -d /tools/LinuxCDK/lib
install -m 644lib/lib*-0.9.29.so\
/tools/LinuxCDK/lib
cd lib && tar -cf - *.so.* | tar -xf - -C /tools/LinuxCDK/lib
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
Quoted 3 lines
Quoted 1 line
You don't have "." in your
LD_LIBRARY_PATH, do you?I checked this alrady.
That is not the problem.
Of course it is.
Quoted 6 lines
Quoted 4 lines
What is your echo $LD_LIBRARY_PATH ?
claus at P3linux:~/src/buildroot> echo $LD_LIBRARY_PATH /usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:
--------------------------------------------------------------------^
fix your LD_LIBRARY_PATH, no patch needed.
HTH,
Quoted 12 lines · Bernhard Fischer
Quoted 5 lines
Quoted 3 lines
What is your echo $LD_LIBRARY_PATH ?
claus at P3linux:~/src/buildroot> echo $LD_LIBRARY_PATH /usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:
--------------------------------------------------------------------^
fix your
LD_LIBRARY_PATH, no patch needed.HTH,
Hi,
thanks for your help, you are right.
I din't know that the tailing ':' is the same as ':.'
I'm working with OpenSuse 10.1 and I can't find the config file, which writes this LD_LIBRARY_PATH. While about 2 years working with buildrout I had no problem with my LD_LIBRARY_PATH!
I would like to hear that the Makefile will be changed to my version. This works always!
PS: There is no note about LD_LIBRARY_PATH in the buildroot docu!
Bye,
Claus
Quoted 10 lines · Claus Klein
Quoted 9 lines · Bernhard Fischer
Quoted 5 lines
Quoted 3 lines
What is your echo $LD_LIBRARY_PATH ?
claus at P3linux:~/src/buildroot> echo $LD_LIBRARY_PATH /usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:/usr/lib/qt3/lib:
--------------------------------------------------------------------^
fix your
LD_LIBRARY_PATH, no patch needed.
Quoted 8 lines
Quoted 3 lines
HTH,
Hi,
thanks for your help, you are right.
I din't know that the tailing ':' is the same as ':.'
^: == :$ == :: == :.:
Same for PATH.
Quoted 3 lines
I'm working with OpenSuse 10.1 and I can't find the config file, which writes this
LD_LIBRARY_PATH. While about 2 years working with buildrout I had no problem with myLD_LIBRARY_PATH!
.profile, .bashrc and /etc/sysconfig come to mind.
IMO it is hazardous to have CWD in PATH and the same holds true for the ld lib path. If you can convince anybody else to apply your patch, then ok, but i will not apply it since this just means that you risk breakage anywhere else that may trigger trouble like the one you experienced.
Quoted 6 lines
I would like to hear that the
Makefilewill be changed to my version. This works always!PS: There is no note about
LD_LIBRARY_PATHin the buildroot docu!
I've added checks to dependencies.sh as you may have seen. Please fix your pathes. Thanks for your understanding and kind regards,