Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seems not building any longer #3

Open
ghost opened this issue Oct 16, 2018 · 12 comments
Open

seems not building any longer #3

ghost opened this issue Oct 16, 2018 · 12 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers question Further information is requested

Comments

@ghost
Copy link

ghost commented Oct 16, 2018

-- Checking for module 'gstreamer-codecparsers-1.0 >= 1.8.3'
-- Found gstreamer-codecparsers-1.0 , version 1.14.4
-- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES (Required is at least version "1.8.3")
CMake Error at Source/cmake/GStreamerChecks.cmake:40 (message):
GStreamerGL is needed for USE_GSTREAMER_GL.
Call Stack (most recent call first):
Source/cmake/OptionsWPE.cmake:146 (include)
Source/cmake/WebKitCommon.cmake:61 (include)
CMakeLists.txt:156 (include)

-- Configuring incomplete, errors occurred!
See also "/home/dingo/Wireless/buildroot/output/build/wpewebkit-2.22.0/CMakeFiles/CMakeOutput.log".
See also "/home/dingo/Wireless/buildroot/output/build/wpewebkit-2.22.0/CMakeFiles/CMakeError.log".
make[1]: *** [package/pkg-generic.mk:222: /home/dingo/Wireless/buildroot/output/build/wpewebkit-2.22.0/.stamp_configured] Error 1

@munezbn
Copy link
Contributor

munezbn commented Oct 18, 2018

@outbackdingo I had faced similar issue and I am in process to make sure it builds with both FDO backend as well as RDK backend ( only for RPI)..

Check if gstreamer-gl-1.0.pc is installed in staging directory .
This usually happens when gstreamer is compiled without EGL/GLES .

Hopefully by today or tomorrow I will resolve all the pull request comments. :)

@ghost
Copy link
Author

ghost commented Oct 19, 2018

Thats great to hear, meanwhhile does anyone have an image i can flash onto a PI 3B and test the touch screen

@munezbn
Copy link
Contributor

munezbn commented Oct 19, 2018

Sorry I have RPI3 and never used touchscreen

You can try wpewebkit-rdk branch from my repository https://github.com/munezbn/buildroot-wpe/tree/wpewebkit-rdk which is currently under review for merge with this master branch.

@aperezdc aperezdc self-assigned this Oct 19, 2018
@aperezdc aperezdc added bug Something isn't working question Further information is requested labels Oct 19, 2018
@aperezdc
Copy link
Member

Hi there! One solution is to enable BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL and do a rebuild. The best approach though, is to apply a change similar to the one in this patch for the upstream webkitgtk packaging.

@aperezdc aperezdc added the good first issue Good for newcomers label Oct 19, 2018
@ghost
Copy link
Author

ghost commented Oct 20, 2018

@munezbn i tried building from your tree however the build actually fails
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done

ln -sf rootfs.ext2 /home/dingo/Wireless/buildroot/output/images/rootfs.ext4

Executing post-image script board/raspberrypi3/post-image.sh
INFO: cmd: "mkdir -p "/home/dingo/Wireless/buildroot/output/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/dingo/Wireless/buildroot/output/build/genimage.tmp"/*" (stderr):
ERROR: file(bcm2710-rpi-3-b-plus.dtb): stat(/home/dingo/Wireless/buildroot/output/images/bcm2710-rpi-3-b-plus.dtb) failed: No such file or directory
ERROR: vfat(boot.vfat): could not setup bcm2710-rpi-3-b-plus.dtb
make[1]: *** [Makefile:776: target-post-image] Error 1
make: *** [Makefile:79: _all] Error 2

@munezbn
Copy link
Contributor

munezbn commented Oct 20, 2018

Your image folder doesn't include bcm2710-rpi-3-b-plus.dtb .

The kernel which is build in the config doesn't seems to have 3b+ dtb file. But it is available in rpi-firmware, which you can find in your build dir : build/rpi-firmware-2067241bc7cdf238fdeab7f5a3c22faa57dd5617/boot.

You can manually copy it to image directory and unblock yourself for now.. But for 3B+ box the config file should be different for at least below BR2 options. We will need to find right kernel for 3B+

BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9126e25b0934bd7bd843763310ea4b34c6e139d0"
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3"

EDIT: latest RPI kernel repo has support for it. May be you can give a try with Version 4f30a5365296658d66ef8a9f878a25d229e2d5fa and update BR2_LINUX_KERNEL_INTREE_DTS_NAME

@inm-certi
Copy link
Contributor

I have just opened a pull request that solves @outbackdingo issue.

@aperezdc
Copy link
Member

aperezdc commented Nov 4, 2018

@inm-certi I think we should try to merge your PR — I have a doubt about it, so please check the comments on it. Thanks for your contribution!

@aperezdc
Copy link
Member

aperezdc commented Nov 6, 2018

@outbackdingo Could you please update your checkout now that @inm-certi's PR has been merged and try building again?

@ghost
Copy link
Author

ghost commented Nov 6, 2018

trying it now, though i suspect once i get there, i wount be able to use the waveshare usb 10.1 touch screen properly, i cant seem to find viable docs for configuring touch, i hear the spi model works thouughh,anyway updated and trying the build anyway now

@ghost
Copy link
Author

ghost commented Nov 6, 2018

it did successfully build and the sdcard image booted, now it seems i would have expected WPE Browser to load on start however it is sitting at a console login prompt, i can ssh in using root

@inm-certi
Copy link
Contributor

@outbackdingo just type: "cog http://www.webkit.org/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants