Same issue on latest sources
Posts by Yorker
-
-
Anything i tried didn't help with this.
-
Still Stuck with this...
-
Any suggestions of comments? i still have the same issue on the newest master
-
Thanks, What can i do from here? why is it doing that?
-
Hi,
I've tried to do a clean build on today's master and got the following error:
Code/usr/lib/librt.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status libtool: error: error: relink 'libpulse-simple.la' with the above command before installing it
Here is a more detailed log:
Code
Display Morelibtool: install: /usr/bin/install -c .libs/libpulsecommon-10.0.lai /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/pulseaudio/libpulsecommon-10.0.la libtool: warning: remember to run 'libtool --finish /usr/lib/pulseaudio' /bin/mkdir -p '/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libpulse.la libpulse-simple.la libpulse-mainloop-glib.la '/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib' libtool: warning: relinking 'libpulse.la' libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src; /bin/sh "/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/libtool" --tag CC --mode=relink /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -std=gnu11 -pthread -I/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/include/dbus-1.0 -I/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib/dbus-1.0/include -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto -Wl,-z,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -version-info 20:1:20 -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -o libpulse.la -rpath /usr/lib pulse/libpulse_la-channelmap.lo pulse/libpulse_la-context.lo pulse/libpulse_la-direction.lo pulse/libpulse_la-error.lo pulse/libpulse_la-ext-device-manager.lo pulse/libpulse_la-ext-device-restore.lo pulse/libpulse_la-ext-stream-restore.lo pulse/libpulse_la-format.lo pulse/libpulse_la-introspect.lo pulse/libpulse_la-mainloop-api.lo pulse/libpulse_la-mainloop-signal.lo pulse/libpulse_la-mainloop.lo pulse/libpulse_la-operation.lo pulse/libpulse_la-proplist.lo pulse/libpulse_la-rtclock.lo pulse/libpulse_la-sample.lo pulse/libpulse_la-scache.lo pulse/libpulse_la-stream.lo pulse/libpulse_la-subscribe.lo pulse/libpulse_la-thread-mainloop.lo pulse/libpulse_la-timeval.lo pulse/libpulse_la-utf8.lo pulse/libpulse_la-util.lo pulse/libpulse_la-volume.lo pulse/libpulse_la-xmalloc.lo libpulsecommon-10.0.la -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -ldbus-1 -lpthread -lrt -ldl -lm -inst-prefix-dir /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg) libtool: relink: /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -shared -fPIC -DPIC pulse/.libs/libpulse_la-channelmap.o pulse/.libs/libpulse_la-context.o pulse/.libs/libpulse_la-direction.o pulse/.libs/libpulse_la-error.o pulse/.libs/libpulse_la-ext-device-manager.o pulse/.libs/libpulse_la-ext-device-restore.o pulse/.libs/libpulse_la-ext-stream-restore.o pulse/.libs/libpulse_la-format.o pulse/.libs/libpulse_la-introspect.o pulse/.libs/libpulse_la-mainloop-api.o pulse/.libs/libpulse_la-mainloop-signal.o pulse/.libs/libpulse_la-mainloop.o pulse/.libs/libpulse_la-operation.o pulse/.libs/libpulse_la-proplist.o pulse/.libs/libpulse_la-rtclock.o pulse/.libs/libpulse_la-sample.o pulse/.libs/libpulse_la-scache.o pulse/.libs/libpulse_la-stream.o pulse/.libs/libpulse_la-subscribe.o pulse/.libs/libpulse_la-thread-mainloop.o pulse/.libs/libpulse_la-timeval.o pulse/.libs/libpulse_la-utf8.o pulse/.libs/libpulse_la-util.o pulse/.libs/libpulse_la-volume.o pulse/.libs/libpulse_la-xmalloc.o -Wl,-rpath -Wl,/usr/lib/pulseaudio -Wl,-rpath -Wl,/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/pulseaudio -L/usr/lib/pulseaudio -lpulsecommon-10.0 -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -ldbus-1 -lpthread -lrt -ldl -lm -pthread -march=armv7-a -mabi=aapcs-linux -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -Os -flto -Wl,-z -Wl,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-linker-plugin -flto -pthread -Wl,-soname -Wl,libpulse.so.0 -o .libs/libpulse.so.0.20.1 libtool: install: /usr/bin/install -c .libs/libpulse.so.0.20.1T /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/libpulse.so.0.20.1 libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib && { ln -s -f libpulse.so.0.20.1 libpulse.so.0 || { rm -f libpulse.so.0 && ln -s libpulse.so.0.20.1 libpulse.so.0; }; }) libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib && { ln -s -f libpulse.so.0.20.1 libpulse.so || { rm -f libpulse.so && ln -s libpulse.so.0.20.1 libpulse.so; }; }) libtool: install: /usr/bin/install -c .libs/libpulse.lai /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/libpulse.la libtool: warning: relinking 'libpulse-simple.la' libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src; /bin/sh "/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/libtool" --tag CC --mode=relink /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -std=gnu11 -pthread -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto -Wl,-z,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -version-info 1:0:1 -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -o libpulse-simple.la -rpath /usr/lib pulse/libpulse_simple_la-simple.lo libpulse.la libpulsecommon-10.0.la -lpthread -lrt -ldl -lm -inst-prefix-dir /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg) libtool: relink: /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -shared -fPIC -DPIC pulse/.libs/libpulse_simple_la-simple.o -Wl,-rpath -Wl,/usr/lib/pulseaudio -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib -L/usr/lib -lpulse -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/pulseaudio -L/usr/lib/pulseaudio -lpulsecommon-10.0 -lpthread -lrt -ldl -lm -pthread -march=armv7-a -mabi=aapcs-linux -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -Os -flto -Wl,-z -Wl,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-linker-plugin -flto -pthread -Wl,-soname -Wl,libpulse-simple.so.0 -o .libs/libpulse-simple.so.0.1.0 /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/../lib/gcc/armv7a-libreelec-linux-gnueabi/6.2.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread /usr/lib/librt.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status libtool: error: error: relink 'libpulse-simple.la' with the above command before installing it make[5]: *** [Makefile:4976: install-libLTLIBRARIES] Error 1 make[5]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src' make[4]: *** [Makefile:11071: install-am] Error 2 make[4]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src' make[3]: *** [Makefile:11065: install] Error 2 make[3]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src' make[2]: *** [Makefile:806: install-recursive] Error 1 make[2]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi' make[1]: *** [Makefile:1105: install] Error 2 make[1]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi' make: *** [Makefile:12: image] Error 2
My system is Gentoo Linux.
Any help is appreciated.
-
Resolved in latest sources
-
Still getting the same for newer builds as well, the issue is only with the kodi package.
-
You should mentioned on which system you are building. On Ubuntu 16.04.1 LTS there is no such issues.I have opened issues before, i'm running Gentoo, i think there was an issue like that in the past few months.
-
-
Hi,
I've tried to build the most recent code for Libre and it failed on the Kodi package with the following:
Code/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -fomit-frame-pointer -Wall -pipe -Os -DCHECK_FUNCTION_EXISTS=pthread_create -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed CMakeFiles/cmTC_8336c.dir/CheckFunctionExists.c.o -o cmTC_8336c -rdynamic -lpthreads /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/toolchain/bin/../lib/gcc/armv7a-libreelec-linux-gnueabi/6.2.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld: cannot find -lpthreads
Please suggest if you need any more info.
-
Your patch indeed fixed the issues and can be added to the master branch.
Thank you and everyone else for the support
-
That's what i have assumed, but a better question would be how do i debug it now?
-
Hi,
I've tried to build LE from scratch for wetek core and got the following error(should be related to my host lib i guess):
Code
Display Moremake[3]: Entering directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.armv7a-libreelec-linux-gnueabi/ssl' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.install_pkg/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libssl.la '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.install_pkg/usr/lib' libtool: install: warning: relinking `libssl.la' libtool: install: (cd /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.armv7a-libreelec-linux-gnueabi/ssl; /bin/sh /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.armv7a-libreelec-linux-gnueabi/libtool --silent --tag CC --mode=relink /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -Wall -std=gnu99 -fno-strict-aliasing -fno-strict-overflow -fstack-protector-strong -Wno-pointer-sign -version-info 39:0:0 -no-undefined -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -Wl,-z,relro -Wl,-z,now -o libssl.la -rpath /usr/lib bio_ssl.lo bs_ber.lo bs_cbb.lo bs_cbs.lo d1_both.lo d1_clnt.lo d1_enc.lo d1_lib.lo d1_meth.lo d1_pkt.lo d1_srtp.lo d1_srvr.lo pqueue.lo s23_clnt.lo s23_lib.lo s23_pkt.lo s23_srvr.lo s3_both.lo s3_cbc.lo s3_clnt.lo s3_lib.lo s3_pkt.lo s3_srvr.lo ssl_algs.lo ssl_asn1.lo ssl_cert.lo ssl_ciph.lo ssl_err.lo ssl_err2.lo ssl_lib.lo ssl_rsa.lo ssl_sess.lo ssl_stat.lo ssl_txt.lo t1_clnt.lo t1_enc.lo t1_lib.lo t1_meth.lo t1_reneg.lo t1_srvr.lo /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.armv7a-libreelec-linux-gnueabi/crypto/libcrypto.la -lresolv -inst-prefix-dir /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.install_pkg) /usr/lib/libresolv.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status libtool: install: error: relink `libssl.la' with the above command before installing it make[3]: *** [Makefile:392: install-libLTLIBRARIES] Error 1 make[3]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.armv7a-libreelec-linux-gnueabi/ssl' make[2]: *** [Makefile:600: install-am] Error 2 make[2]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.armv7a-libreelec-linux-gnueabi/ssl' make[1]: *** [Makefile:451: install-recursive] Error 1 make[1]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/libressl-2.4.4/.armv7a-libreelec-linux-gnueabi' Makefile:12: recipe for target 'image' failed make: *** [image] Error 2
Any idea?
-
Just made a new build and indeed the settings issue is resolved, i solved the first problem by checking the setting to sync playback and video.
This issue can be closed.Thanks.
-
The new build from today mounts and works on that machine but other don't, no idea why but i guess it's my fault not yours so no need to keep this thread open for that.
Thanks for the help attempts -
If you are building from master branch we didn't pull any of the recent Kodi Amlogic changes into our branch yet, and I wouldn't expect things to work right without them. Not sure when those changes will get added. We may wait until the official Kodi Alpha 2 appears on/around 1st July before getting everything ready for our LE v7.90.003 release.Thanks for that bit of information, no worries i don't have much time to update anyways so i will be probobly testing it after you merge the changes.
-
DD transfers an image that contains both partitions. DD will never try to mount these partitions.I'm aware of this but there was no other explanation to this issue, and also why it's happening since i do have ext4 support in the kernel and the root partition is mounted as ext4, so since weird things are happening then i guess DD fails too...