Skip to contentSkip to conversation

qt5: qtbase fails to populate SDK

DISCUSSION Daniel Mack 1 participant 3 messages Feb 16, 2017 – Feb 20, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using poky from the morty branch and meta-qt5 layer from master-next for Qt5.8 support. While the image creation works fine, 'bitbake myimage -c populate_sdk' fails with

error: qtbase-mkspecs-5.8.0+git0+49dc9aa409-r0 conflicts with /usr/bin/perl

This is also the case after build/tmp was wiped out.

Any idea?

Thanks,
Daniel

#1 lore raw
Quoted 7 lines · Daniel Mack

I'm using poky from the morty branch and meta-qt5 layer from master-next for Qt5.8 support. While the image creation works fine, 'bitbake myimage -c populate_sdk' fails with

error: qtbase-mkspecs-5.8.0+git0+49dc9aa409-r0 conflicts with /usr/bin/perl

This is also the case after build/tmp was wiped out.

Ah, perfect timing - the patch Frieder just posted seem to fix this issue :)

Thanks a lot,
Daniel

#2 lore raw
Quoted 10 lines · Daniel Mack
Quoted 7 lines · Daniel Mack

I'm using poky from the morty branch and meta-qt5 layer from master-next for Qt5.8 support. While the image creation works fine, 'bitbake myimage -c populate_sdk' fails with

error: qtbase-mkspecs-5.8.0+git0+49dc9aa409-r0 conflicts with /usr/bin/perl

This is also the case after build/tmp was wiped out.

Ah, perfect timing - the patch Frieder just posted seem to fix this issue :)

Hmm, no, I spoke too soon. In my tests, I disabled qtwebkit in 'myimage', but after I switched it back on, the issue reappeared.

I have a patch that fixes the /usr/bin/perl in qt5/mkspecs/features/uikit/devices.pl, but with that applied, I'm getting errors like this for hundreds of packages:

error: package acl-2.2.52-r0.aarch64 is already installed

With only qtbase, but not qtwebkit, this doesn't happen. Any hint where to start digging?

Thanks,
Daniel