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

Building angstrom-v2015.12-yocto2.0 is getting failed #26

Open
gibsonjustian opened this issue Feb 23, 2016 · 26 comments
Open

Building angstrom-v2015.12-yocto2.0 is getting failed #26

gibsonjustian opened this issue Feb 23, 2016 · 26 comments

Comments

@gibsonjustian
Copy link

I followed the steps written in the below link,
https://github.com/Angstrom-distribution/angstrom-manifest/tree/angstrom-v2015.12-yocto2.0

I landed up with the following issues

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'gnome-keyring' (but /home/gibson/sources/meta-angstrom/recipes-angstrom/packagegroups/packagegroup-gnome.bb RDEPENDS on or otherwise requires it)
ERROR: gnome-keyring was skipped: Recipe is blacklisted: This version conflicts with gcr from oe-core
NOTE: Runtime target 'gnome-keyring' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gnome-keyring']
NOTE: Runtime target 'packagegroup-gnome' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-gnome', 'gnome-keyring']
ERROR: Required build target 'systemd-gnome-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['systemd-gnome-image', 'packagegroup-gnome', 'gnome-keyring']

Host Distro : Debian 7.x.x and Debian 8.xx 64 bit OS
Machine : Beaglebone Black

Regards,
Gibson

@mauriciocirelli
Copy link

I am facing the same issue. Can anyone help on it, please?

@kraj
Copy link
Member

kraj commented Apr 8, 2016

remove meta-gnome from bblayers.conf as a stop gap

@mauriciocirelli
Copy link

If I do that, I come up with the following error:
ERROR: Layer 'xfce-layer' depends on layer 'gnome-layer', but this layer is not enabled in your configuration

I would like to build systemd-qt5-image or systemd-gnome-image, but even if I try to build just systemd-image, this error appears.

@kraj
Copy link
Member

kraj commented Apr 8, 2016

if you are not building xfce image then punt meta-xfce as well

@mauriciocirelli
Copy link

It seems that there is a compile error at the qtbase.bb recipe:

qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qgtkstyle.cpp: In member function 'virtual QRect QGtkStyle::subControlRect(QStyle::ComplexControl, const QStyleOptionComplex_, QStyle::SubControl, const QWidget_) const':
| /home/mauricio/git/angstrom/build/tmp-angstrom_v2015_12-glibc/work/armv7at2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qgtkstyle.cpp:3636:24: error: 'isInstanceOf' is not a member of 'QStyleHelper'
| } else if (QStyleHelper::isInstanceOf(groupBox->styleObject, QAccessible::Grouping)) {
| ^
| /home/mauricio/git/angstrom/build/tmp-angstrom_v2015_12-glibc/work/armv7at2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qgtkstyle.cpp:3636:74: error: 'QAccessible' has not been declared
| } else if (QStyleHelper::isInstanceOf(groupBox->styleObject, QAccessible::Grouping)) {
| ^

ERROR: Task 1184 (sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb, do_compile) failed with exit code '1'

Is there any fix for this build error?

I have also tried the systemd-gnome-image and got the following error:

ERROR: Nothing RPROVIDES 'gnome-common-schemas' (but /home/mauricio/git/angstrom/sources/meta-angstrom/recipes-angstrom/packagegroups/packagegroup-gnome.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'gnome-common-schemas' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gnome-common-schemas']
NOTE: Runtime target 'packagegroup-gnome' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-gnome', 'gnome-common-schemas']
ERROR: Required build target 'systemd-gnome-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['systemd-gnome-image', 'packagegroup-gnome', 'gnome-common-schemas']

These packages seems to be provided by meta-gnome layer which we have removed.

It is frustrating. The only image I could build was systemd-image, before removing the meta-gnome layer, but it does not have any GUI so it is not useful for my application.

@gibsonjustian
Copy link
Author

I did even try to build the systemd-qt5-image or systemd-gnome-image yesterday and I am still failing miserably. Anyone please help how to build the images successfully. I am using Debian 8.0 with Debian in VMware.

@mauriciocirelli Mauricio : What is the environment you are using to build the angstrom??
@Khem / Koen: Are we going wrong anywhere?

My another question is what distribution of linux are you using it to build angstrom successfully..

I used CentOS and Debian and still unable to move further..

Any help is appreciated !!!!

@kraj
Copy link
Member

kraj commented May 12, 2016

Can you try adding

PACKAGECONFIG_append = " accessibility"
in qtbase_*.bbappend in your layer ?

@gibsonjustian
Copy link
Author

gibsonjustian commented May 15, 2016

Hi Khem,
I tried compiling building from the scratch
did something like this,
$bitbake systemd-gnome-image

but getting the below build error,

ERROR: Nothing RPROVIDES 'gnome-keyring' (but /home/gibson/layers/meta-angstrom/recipes-angstrom/packagegroups/packagegroup-gnome.bb RDEPENDS on or otherwise requires it)
ERROR: gnome-keyring was skipped: Recipe is blacklisted: This version conflicts with gcr from oe-core
NOTE: Runtime target 'gnome-keyring' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gnome-keyring']
NOTE: Runtime target 'packagegroup-gnome' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-gnome', 'gnome-keyring']
ERROR: Required build target 'systemd-gnome-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['systemd-gnome-image', 'packagegroup-gnome', 'gnome-keyring']

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

@kraj
Copy link
Member

kraj commented May 15, 2016

On Sun, May 15, 2016 at 8:51 AM, Gibson [email protected] wrote:

Hi Khem,
I tried compiling building from the scratch but getting the below build
error,

ERROR: Nothing RPROVIDES 'gnome-keyring' (but
/home/gibson/layers/meta-angstrom/recipes-angstrom/packagegroups/
packagegroup-gnome.bb RDEPENDS on or otherwise requires it)
ERROR: gnome-keyring was skipped: Recipe is blacklisted: This version
conflicts with gcr from oe-core
NOTE: Runtime target 'gnome-keyring' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gnome-keyring']
NOTE: Runtime target 'packagegroup-gnome' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-gnome',
'gnome-keyring']
ERROR: Required build target 'systemd-gnome-image' has no buildable
providers.
Missing or unbuildable dependency chain was: ['systemd-gnome-image',
'packagegroup-gnome', 'gnome-keyring']

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

​remove it from packagegroup-gnome.bb for now​


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#26 (comment)

@gibsonjustian
Copy link
Author

ok i'll do that and try

@gibsonjustian
Copy link
Author

I did try that also Khem, but eventually landing up in a lot more errors

@gibsonjustian
Copy link
Author

I did try as you said and i encountered with a set of errors,

ERROR: Nothing RPROVIDES 'gnome-power-manager' (but /home/gibson/layers/meta-angstrom/recipes-angstrom/packagegroups/packagegroup-gnome.bb RDEPENDS on or otherwise requires it)
ERROR: gnome-power-manager was skipped: Recipe is blacklisted: BROKEN: not compatible with current libnotify
NOTE: Runtime target 'gnome-power-manager' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gnome-power-manager']
NOTE: Runtime target 'packagegroup-gnome' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-gnome', 'gnome-power-manager']
ERROR: Required build target 'systemd-gnome-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['systemd-gnome-image', 'packagegroup-gnome', 'gnome-power-manager'

@kraj
Copy link
Member

kraj commented May 15, 2016

On Sun, May 15, 2016 at 10:35 AM, Gibson [email protected] wrote:

I did try that also Khem, but eventually landing up in a lot more errors

​Yes, gir changes has broken few recipes. Do you need gnome ?
can you start with something small like systemd-image ​


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#26 (comment)

@gibsonjustian
Copy link
Author

sure i am able to compile the systemd-image--- found to be successful. I was looking for qt5 image that again ran into some issues. then again systemd-gnome-image==> again issues..

Kind of confused and bewildered how people successfully build the angstrom...

@kraj
Copy link
Member

kraj commented May 15, 2016

On Sun, May 15, 2016 at 10:47 AM, Gibson [email protected] wrote:

sure i am able to compile the systemd-image--- found to be successful. I
was looking for qt5 image that again ran into some issues. then again
systemd-gnome-image==> again issues..

Kind of confused and bewildered how people successfully build the
angstrom...

​you should be able to use release branch e.g. 2015.12 branch for not
running into these issues.

for qt5 image what errors do you get.​


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#26 (comment)

@mauriciocirelli
Copy link

I will give a try on this new branch. I had that same issues and had given up.

@gibsonjustian
Copy link
Author

Let me know Mauricio :)

@gibsonjustian
Copy link
Author

Mauricio I did try to build from the master, but still I am facing the same issue. Just wondering what to do!!!

@kraj
Copy link
Member

kraj commented May 18, 2016

I did a systemd-qt5-image build and it built ok. you will need this patch

linux4sam/meta-atmel#67

@gibsonjustian
Copy link
Author

Thanks Khem and appreciate your quick response!!!!

I will try today and let you know how it progresses. I am going to try out by checking out from the master with the latest updates and not from any specific branch.

I will update you soon on this..

Regards,
Gibson

@gibsonjustian
Copy link
Author

gibsonjustian commented May 18, 2016

Hi Khem,
I did try today by checking out from the master and did a build for systemd-qt5-image and got the below output,

OTE: /home/gibson/layers/openembedded-core/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/gibson/layers/openembedded-core/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb: base_contains is deprecated, please use bb.utils.contains instead.
Parsing recipes: 100% |#######################################################################################################################| Time: 00:08:25
Parsing of 3465 .bb files complete (0 cached, 3465 parsed). 4212 targets, 433 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/gibson/layers/meta-fsl-arm/browser-layer/recipes-browser/chromium/chromium_40.0.2214.91.bbappend
WARNING: No bb files matched BBFILE_PATTERN_aarch64 '^/home/gibson/layers/meta-linaro/meta-aarch64/'
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/egl' (but /home/gibson/layers/openembedded-core/meta/recipes-graphics/wayland/weston_1.10.0.bb DEPENDS on or otherwise requires it)
ERROR: mesa PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgl set to mesa-gl, not mesa
ERROR: mesa PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgl set to mesa-gl, not mesa
ERROR: sunxi-mali PROVIDES virtual/egl but was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: imx-gpu-viv PROVIDES virtual/egl but was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: mesa PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgl set to mesa-gl, not mesa
ERROR: vc-graphics PROVIDES virtual/egl but was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: mesa PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgl set to mesa-gl, not mesa
ERROR: userland PROVIDES virtual/egl but was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: ti-sgx-ddk-um PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/egl set to libgles-omap3, not ti-sgx-ddk-um
ERROR: vc-graphics-hardfp PROVIDES virtual/egl but was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'weston' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['weston', 'virtual/egl']
ERROR: Required build target 'systemd-qt5-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['systemd-qt5-image', 'weston', 'virtual/egl']

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

Now where am I going wrong??

Regards,
Gibson

@kraj
Copy link
Member

kraj commented May 18, 2016

can you repo sync and build again ?

@gibsonjustian
Copy link
Author

Dear Khem,

I checked out from the master and did a build for systemd-qt5-image and got the below errors,

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: qtquick1-5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtquick1.git;name=qtquick1;branch=5.7;protocol=git, attempting MIRRORS if available
ERROR: qtquick1-5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0 do_fetch: Fetcher failure: Unable to find revision 87f2415adf34da08e6cd58f5da6f6a7d0d9cf141 in branch 5.7 even from upstream
ERROR: qtquick1-5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtquick1.git;name=qtquick1;branch=5.7;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/gibson/build/tmp-angstrom-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtquick1/5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0/temp/log.do_fetch.98000
ERROR: Task 1813 (/home/gibson/layers/meta-atmel/qt5-layer/recipes-qt/qt5/qtquick1_git.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2349 tasks of which 1616 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/gibson/layers/meta-atmel/qt5-layer/recipes-qt/qt5/qtquick1_git.bb, do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
gibson@debian:~$

Regards,
Gibson

@kraj
Copy link
Member

kraj commented May 21, 2016

On May 21, 2016, at 12:05 AM, Gibson [email protected] wrote:

Dear Khem,

I checked out from the master and did a build for systemd-qt5-image and got the below errors,

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: qtquick1-5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtquick1.git;name=qtquick1;branch=5.7;protocol=git, attempting MIRRORS if available
ERROR: qtquick1-5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0 do_fetch: Fetcher failure: Unable to find revision 87f2415adf34da08e6cd58f5da6f6a7d0d9cf141 in branch 5.7 even from upstream
ERROR: qtquick1-5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtquick1.git;name=qtquick1;branch=5.7;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/gibson/build/tmp-angstrom-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtquick1/5.6.99+5.7.0-beta+gitAUTOINC+87f2415adf-r0/temp/log.do_fetch.98000
ERROR: Task 1813 (/home/gibson/layers/meta-atmel/qt5-layer/recipes-qt/qt5/qtquick1_git.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2349 tasks of which 1616 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/gibson/layers/meta-atmel/qt5-layer/recipes-qt/qt5/qtquick1_git.bb, do_fetch

Delete that bb file.

Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
gibson@debian:~$

Regards,
Gibson


You are receiving this because you commented.
Reply to this email directly or view it on GitHub #26 (comment)

@gibsonjustian
Copy link
Author

Thanks Khem,

I was able to build systemd-qt5-image sucessfully by deleting the qtquick1_git.bb!!!!!

Regards,
Gibson

@gibsonjustian
Copy link
Author

Hi Khem ,

I did a repo sync and did bitbake systemd-qt5-image and I am screwed up again.
I got the output as below,

gibson@debian:~$ bitbake systemd-qt5-image
NOTE: Started PRServer with DBfile: /home/gibson/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 50183, PID: 11906
Loading cache: 100% |#########################################################################################################################| ETA: 00:00:00
Loaded 4191 entries from dependency cache.
NOTE: /home/gibson/layers/meta-atmel/recipes-bsp/u-boot/u-boot-at91_git.bb: base_contains is deprecated, please use bb.utils.contains instead.| ETA: --:--:--
NOTE: /home/gibson/layers/meta-atmel/recipes-bsp/at91bootstrap/at91bootstrap_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/gibson/layers/meta-mono/recipes-mono/mono/mono_git.bb: base_contains is deprecated, please use bb.utils.contains instead. | ETA: 00:00:04
NOTE: /home/gibson/layers/meta-mono/recipes-mono/mono/mono_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/gibson/layers/meta-mono/recipes-mono/mono/mono-native_git.bb: base_contains is deprecated, please use bb.utils.contains instead. | ETA: 00:00:03
NOTE: /home/gibson/layers/meta-mono/recipes-mono/mono/mono-native_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
Parsing recipes: 100% |#######################################################################################################################| Time: 00:00:10
Parsing of 3451 .bb files complete (3436 cached, 15 parsed). 4202 targets, 433 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_aarch64 '^/home/gibson/layers/meta-linaro/meta-aarch64/'
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'packagegroup-qt5' (but /home/gibson/layers/meta-angstrom/recipes-images/angstrom/systemd-qt5-image.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'packagegroup-qt5' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-qt5']
ERROR: Required build target 'systemd-qt5-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['systemd-qt5-image', 'packagegroup-qt5']

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

Where am I going wrong???

Regards,
Gibson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants