OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 881 forks source link

[i.mx6] Build from master failed #4864

Open brimur opened 8 years ago

brimur commented 8 years ago

I saw it was asked to create an issue for each so this is for the i.mx6 build

-- Build files have been written to: /home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi
make[1]: Entering directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
make[2]: Entering directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
make[3]: Entering directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
Scanning dependencies of target cec
make[3]: Leaving directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
make[3]: Entering directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
[  5%] Building CXX object src/libcec/CMakeFiles/cec.dir/CECProcessor.cpp.o
[  5%] Building CXX object src/libcec/CMakeFiles/cec.dir/LibCEC.cpp.o
[  7%] Building CXX object src/libcec/CMakeFiles/cec.dir/LibCECC.cpp.o
[ 10%] Building CXX object src/libcec/CMakeFiles/cec.dir/CECClient.cpp.o
[ 12%] Building CXX object src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterDetection.cpp.o
[ 15%] Building CXX object src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterCommunication.cpp.o
[ 17%] Building CXX object src/libcec/CMakeFiles/cec.dir/adapter/AdapterFactory.cpp.o
[ 20%] Building CXX object src/libcec/CMakeFiles/cec.dir/adapter/Pulse-Eight/USBCECAdapterMessage.cpp.o
[ 23%] Building CXX object src/libcec/CMakeFiles/cec.dir/adapter/Pulse-Eight/USBCECAdapterCommands.cpp.o
In file included from /home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/src/libcec/adapter/IMX/IMXCECAdapterCommunication.cpp:31:0:
/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/src/libcec/adapter/IMX/IMXCECAdapterCommunication.h:31:36: fatal error: platform/threads/mutex.h: No such file or directory
compilation terminated.
src/libcec/CMakeFiles/cec.dir/build.make:182: recipe for target 'src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterCommunication.cpp.o' failed
make[3]: *** [src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterCommunication.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/src/libcec/adapter/AdapterFactory.cpp:63:0:
/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/src/libcec/adapter/IMX/IMXCECAdapterCommunication.h:31:36: fatal error: platform/threads/mutex.h: No such file or directory
compilation terminated.
src/libcec/CMakeFiles/cec.dir/build.make:206: recipe for target 'src/libcec/CMakeFiles/cec.dir/adapter/AdapterFactory.cpp.o' failed
make[3]: *** [src/libcec/CMakeFiles/cec.dir/adapter/AdapterFactory.cpp.o] Error 1
make[3]: Leaving directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
CMakeFiles/Makefile2:215: recipe for target 'src/libcec/CMakeFiles/cec.dir/all' failed
make[2]: *** [src/libcec/CMakeFiles/cec.dir/all] Error 2
make[2]: Leaving directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/media/OpenELEC.tv/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi'
make: *** [image] Error 2
brimur commented 8 years ago

Saw post by @sraue in the Pi2 thread. Just deleted Openelec.tv folder and did a new clone and building now

islipfd19 commented 8 years ago

Confirmed but built from commit #22460 - may already be fixed with 7d7d71f

6d68d21/.armv7a-openelec-linux-gnueabi' [ 2%] Building CXX object src/libcec/CMakeFiles/cec.dir/CECClient.cpp.o [ 5%] Building CXX object src/libcec/CMakeFiles/cec.dir/CECProcessor.cpp.o [ 7%] Building CXX object src/libcec/CMakeFiles/cec.dir/LibCEC.cpp.o [ 10%] Building CXX object src/libcec/CMakeFiles/cec.dir/LibCECC.cpp.o [ 12%] Building CXX object src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterDetection.cpp.o [ 15%] Building CXX object src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterCommunication.cpp.o In file included from /var/lib/jenkins/workspace/OpenELEC.tv_imx6/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/src/libcec/adapter/IMX/IMXCECAdapterCommunication.cpp:31:0: /var/lib/jenkins/workspace/OpenELEC.tv_imx6/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/src/libcec/adapter/IMX/IMXCECAdapterCommunication.h:31:36: fatal error: platform/threads/mutex.h: No such file or directory compilation terminated. src/libcec/CMakeFiles/cec.dir/build.make:182: recipe for target 'src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterCommunication.cpp.o' failed make[3]: * [src/libcec/CMakeFiles/cec.dir/adapter/IMX/IMXCECAdapterCommunication.cpp.o] Error 1 make[3]: * Waiting for unfinished jobs.... make[3]: Leaving directory '/var/lib/jenkins/workspace/OpenELEC.tv_imx6/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi' CMakeFiles/Makefile2:252: recipe for target 'src/libcec/CMakeFiles/cec.dir/all' failed make[2]: * [src/libcec/CMakeFiles/cec.dir/all] Error 2 make[2]: Leaving directory '/var/lib/jenkins/workspace/OpenELEC.tv_imx6/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi' Makefile:127: recipe for target 'all' failed make[1]: * [all] Error 2 make[1]: Leaving directory '/var/lib/jenkins/workspace/OpenELEC.tv_imx6/build.OpenELEC-imx6.arm-8.0-devel/libcec-6d68d21/.armv7a-openelec-linux-gnueabi' Makefile:12: recipe for target 'image' failed make: *\ [image] Error 2

log.zip

sraue commented 8 years ago

the imx6 build will fail later at kodi and needs a kernel update, i will work on this. please exclude imx6 from your builds for now until this is updated

islipfd19 commented 8 years ago

consider it done :)

sraue commented 8 years ago

kodi should build and run now on imx6 with https://github.com/OpenELEC/OpenELEC.tv/commit/de66552ad11662357356fc54351b7049086cfcac and https://github.com/OpenELEC/OpenELEC.tv/commit/3f8c68dc8c5dd5ddf10e2a42a6bb168e091bed27

libcec build was fixed before, please test and report back

fanste commented 8 years ago

Why is the option CONFIG_PCI_IMX6 removed again (added in PR 3980)? Isn't it required for a the PCI slot as it is available on Hummingboard Pro? Ich currently can't test a new build on my board.

sraue commented 8 years ago

it failed to build with this enabled, will check (please open a new seperate issue report)

brimur commented 8 years ago

The build succeeded this morning but fails to get passed the OpenELEC splash screen. The screen darkens and brightens but nothing else. This was on a Cubox-i4 Pro

sraue commented 8 years ago

@brimur you have done a full build after this two changes?

brimur commented 8 years ago

@sraue Yes, I deleted the folder, cloned again and kicked off a build this morning. It finished so the previous issue is resolved but but for some reason the build doesnt work for me. I tried writing the image for a clean install and also dropping the tar into the update folder of an existing clean install install of v7. Both had the same result I described above.

imx6.arm-devel-20160322093934-r22468-g2525108
Kodi commit: 2331b6e
sraue commented 8 years ago

@brimur can you try after https://github.com/OpenELEC/OpenELEC.tv/commit/3e250d216a64c6c0a18e7aa5ace3fe3117c3d057

brimur commented 8 years ago

Just did a new build, wrote the image to an SD card and booted up. Didn't even get the OpenELEC splash screen this time or the few lines that usually show about re-sizing the sdcard partition. Only a cursor in the top left of the screen.

imx6.arm-devel-20160322174139-r22470-g744a949
Kodi commit: 2331b6e
sraue commented 8 years ago

@brimur try again a new build (or at least with a new checkout)

brimur commented 8 years ago

Did a new build this morning @ 10am GMT+1 and the result was the same. After the Solid Run splash screen there is just a blank screen with a cursor in the top left of the screen and the led on the box itself is flashing

sraue commented 8 years ago

@brimur no ssh access?

brimur commented 8 years ago

Nothing, not even ping response. I have the dhcp server setup to assign by MAC so it always get the same IP even on a new install

sraue commented 8 years ago

i must test on a i4 byself first, this i can do later next week, let me know if you find something byself

brimur commented 8 years ago

I see other i.mx6 posts saying Kodi is crashing, meaning it is loading for some so it might just be my build setup but we will see. Thanks