xleng / meta-bananapi

MIT License
8 stars 11 forks source link

build error: missing recipe #1

Open SebastianWendel opened 9 years ago

SebastianWendel commented 9 years ago

Hi xleng,

first of all, thanks for the work building that mata-layer.

I'm trying to build the image for BananaPI and i did the following:

VERSION="daisy"
PATH_WORK="/tmp"

cd ${PATH_WORK}

git clone -b ${VERSION} git://git.yoctoproject.org/poky.git

cd poky

git clone https://github.com/xleng/meta-bananapi.git
git clone https://github.com/xleng/meta-sunxi.git
git clone -b ${VERSION} https://github.com/openembedded/meta-openembedded.git

source ./oe-init-build-env

cat > ./conf/bblayers.conf << EOF
LCONF_VERSION = "6"
BBPATH = "${PATH_WORK}/poky/build"
BBFILES ?= ""

BBLAYERS ?= " \
    ${PATH_WORK}/poky/meta \
    ${PATH_WORK}/poky/meta-yocto \
    ${PATH_WORK}/poky/meta-yocto-bsp \
    ${PATH_WORK}/poky/meta-sunxi \
    ${PATH_WORK}/poky/meta-bananapi \
    ${PATH_WORK}/poky/meta-openembedded/meta-oe \
    "

BBLAYERS_NON_REMOVABLE ?= " \
    ${PATH_WORK}/poky/meta \
    ${PATH_WORK}/poky/meta-yocto \
    "
EOF

sed "s|MACHINE.*|MACHINE ??\= \"bananapi\"|g" -i ./conf/local.conf

time bitbake core-image-minimal

It reacts the same if i would do it manualy the way you described it in your repo.

But i get the following error:

Parsing recipes: 100% |#################################################################################################| Time: 00:01:50
Parsing of 1329 .bb files complete (0 cached, 1329 parsed). 1753 targets, 72 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:
  /tmp/poky-daisy-11.0.1/meta-bananapi/recipes-qt/qt5/qtbase_5.2.1.bbappend
ERROR: Command execution failed: Exited with 1

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

My Host-System is Ubuntu based and has all the needed dependencies.

Any clue? Did i missed something?

Greetings

QwertV2 commented 9 years ago

I have this problem too

ghost commented 9 years ago

Hey,

i had this problme too. The problem is that the "meta-qt5" recipe was missing.

Clone meta-qt5 repo in your yocto procject folder:

git clone -b daisy https://github.com/meta-qt5/meta-qt5.git

Edit the bblayer.conf file and add the correct path

--- bblayers.conf.org   2015-04-21 14:45:29.000000000 +0200
+++ bblayers.conf       2015-04-21 14:25:36.000000000 +0200
@@ -12,6 +12,7 @@
   /home/user/poky-daisy-11.0.2/meta-sunxi \
   /home/user/poky-daisy-11.0.2/meta-bananapi \
   /home/user/poky-daisy-11.0.2/meta-openembedded/meta-oe \
+  /home/user/poky-daisy-11.0.2/meta-qt5 \
   "
 BBLAYERS_NON_REMOVABLE ?= " \
   /home/user/poky-daisy-11.0.2/meta \

I dn't try that for the latest Yocto Release Dizzy

fboralli commented 9 years ago

Hello, I followed all steps mentioned to bitbake this recipe, but I am running across the issue below. Any clue?

OpenGL ES 2.x auto-detection... () arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi -c -pipe -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden -O2 -Wall -W -fPIE -I../../../../qtbase-opensource-src-5.2.1/mkspecs/linux-oe-g++ -I../../../../qtbase-opensource-src-5.2.1/config.tests/unix/opengles2 -I. -o opengles2.o ../../../../qtbase-opensource-src-5.2.1/config.tests/unix/opengles2/opengles2.cpp arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -o opengles2 opengles2.o -lGLESv2 /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: warning: libdri2.so.1, needed by /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so, not found (try using -rpath or -rpath-link) /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: warning: libXfixes.so.3, needed by /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so, not found (try using -rpath or -rpath-link) /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: warning: libXext.so.6, needed by /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so, not found (try using -rpath or -rpath-link) /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: warning: ld-linux-armhf.so.3, needed by /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so, not found (try using -rpath or -rpath-link) /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so: undefined reference to XMissingExtension' /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so: undefined reference toXFixesCreateRegion' /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so: undefined reference to XextRemoveDisplay' /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so: undefined reference toXextCreateExtension' /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so: undefined reference to XextFindDisplay' /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so: undefined reference toDRI2SwapBuffers' /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/sysroots/bananapi/usr/lib/libGLESv2.so: undefined reference to `XextAddDisplay' collect2: error: ld returned 1 exit status make: *\ [opengles2] Error 1 OpenGL ES 2.x disabled. The OpenGL ES 2.0 functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/mkspecs/linux-oe-g++. WARNING: exit code 1 from a shell command. ERROR: Function failed: do_configure (log file is located at /home/fernando/workspace/yocto/poky-daisy-11.0.1/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/temp/log.do_configure.9135)