All of lore.kernel.org
 help / color / mirror / Atom feed
* PREFERRED_VERSION question - do_rootfs stage can't find library
       [not found] <CALmQvZTtnDaj1YzxGbJf8eosF238T9KCx3yOivEShn4eF2642g@mail.gmail.com>
@ 2013-08-15  0:30 ` Ashwin Kirpalani
  2013-08-15 12:37   ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Ashwin Kirpalani @ 2013-08-15  0:30 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 4834 bytes --]

I am using the master branch and am building latest ver 3.6.1 of linphone (
https://www.linphone.org/) using a recipe I wrote. This recipe has a
DEPENDS = pulseaudio as one of the dependencies. The version of pulseaudio
in the current poky recipe tree is 4.0, so when I 'bitbake fsl-image-gui',
I get the following error:

| all -y packagegroup-core-ssh-dropbear@all
psplash@armv7a_vfp_neonpackagegroup-core-tools-profile@imx6qsabreliteqt4-examples@imx6qsabrelitepackagegroup-qt-in-use-demos@allqt4-demos@imx6qsabreliterpm@armv7a_vfp_neoncpufrequtils@armv7a_vfp_neonpackagegroup-fsl-tools-benchmark@imx6qsabrelitenano@armv7a_vfp_neonopencv-samples@armv7a_vfp_neonsmartpm@armv7a_vfp_neonopencv@armv7a_vfp_neonpackagegroup-core-qt-demoapps@allpackagegroup-core-boot@imx6qsabrelitepackagegroup-core-tools-testapps@imx6qsabrelitepackagegroup-core-x11-base@allpackagegroup-core-nfs-server@allqt4-plugin-phonon-backend-gstreamer@imx6qsabrelitepackagegroup-fsl-gstreamer@imx6qsabrelitepackagegroup-core-x11-sato-games@imx6qsabrelitepackagegroup-fsl-tools-testapps@imx6qsabrelitelinphone-nogtk-console@armv7a_vfp_neonpackagegroup-core-tools-debug@imx6qsabrelitefsl-gui-extrafiles@allpackagegroup-base-extended@imx6qsabrelitepackagegroup-core-x11-sato@imx6qsabrelitelocale-base-en-us@armv7a_vfp_neonlocale-base-en-gb@armv7a_vfp_neon

| Loading cache...

| Updating cache...               ########################################
[100%]

|

| *Computing transaction...error: Can't install
libmediastreamer-3.6.1-r1@armv7a_vfp_neon: no package provides **
libpulsecommon-3.0.so* <http://libpulsecommon-3.0.so>

|

| Saving cache...

|

| ERROR: Function failed: do_rootfs (log file is located at
/home/ashwin/yocto_master/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/log.do_rootfs.23085)

ERROR: Task 7
(/home/ashwin/yocto_master/sources/meta-fsl-demos/recipes-fsl/images/
fsl-image-gui.bb, do_rootfs) failed with exit code '1'

fyi...libmediastreamer is one of the main components of linphone.
Apparently, linphone needs the specific library
*libpulsecommon-3.0.so*<http://libpulsecommon-3.0.so>
* * even though libpulse > 3.0 requirement is there (i.e.
libpulsecommon-4.0 won't work)

So I created a recipe for pulseaudio_3.0.bb and added the following to my
conf/local.conf:

PREFERRED_VERSION_pulseaudio = "3.0"

Now here's the part that I am confused as to how to overcome. After I add
the above line to my conf/local.conf:

When I build core-image-x11, I get past the above error and I can build the
image and run the linphone application on the target (which is a sabrelite)
When I try to build the fsl-image-gui, I get the following error:

| all -y packagegroup-core-ssh-dropbear@all
psplash@armv7a_vfp_neonpackagegroup-core-tools-profile@imx6qsabreliteqt4-examples@imx6qsabrelitepackagegroup-qt-in-use-demos@allqt4-demos@imx6qsabreliterpm@armv7a_vfp_neoncpufrequtils@armv7a_vfp_neonpackagegroup-fsl-tools-benchmark@imx6qsabrelitenano@armv7a_vfp_neonopencv-samples@armv7a_vfp_neonsmartpm@armv7a_vfp_neonopencv@armv7a_vfp_neonpackagegroup-core-qt-demoapps@allpackagegroup-core-boot@imx6qsabrelitepackagegroup-core-tools-testapps@imx6qsabrelitepackagegroup-core-x11-base@allpackagegroup-core-nfs-server@allqt4-plugin-phonon-backend-gstreamer@imx6qsabrelitepackagegroup-fsl-gstreamer@imx6qsabrelitepackagegroup-core-x11-sato-games@imx6qsabrelitepackagegroup-fsl-tools-testapps@imx6qsabrelitelinphone-nogtk-console@armv7a_vfp_neonpackagegroup-core-tools-debug@imx6qsabrelitefsl-gui-extrafiles@allpackagegroup-base-extended@imx6qsabrelitepackagegroup-core-x11-sato@imx6qsabrelitelocale-base-en-us@armv7a_vfp_neonlocale-base-en-gb@armv7a_vfp_neon

| Loading cache...

| Updating cache...               ########################################
[100%]

|

| *Computing transaction...error: Can't install
gst-plugins-good-pulse-0.10.31-r8@armv7a_vfp_neon: no package provides **
libpulsecommon-3.0.so* <http://libpulsecommon-3.0.so>

|

| Saving cache...

|

| ERROR: Function failed: do_rootfs (log file is located at
/home/ashwin/yocto_master/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/log.do_rootfs.26265)

ERROR: Task 7
(/home/ashwin/yocto_master/sources/meta-fsl-demos/recipes-fsl/images/
fsl-image-gui.bb, do_rootfs) failed with exit code '1'

So it seems that when I build *fsl-image-gui*,
*libpulsecommon-3.0.so*<http://libpulsecommon-3.0.so>
* * can't be found during the do_rootfs stage (even though it has been
built and I can see it
at /home/ashwin/yocto_master/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/pulseaudio/3.0-r0/package/usr/lib/pulseaudio/
libpulsecommon-3.0.so). This problem does not occur when I build *
core-image-x11.*

Can anyone help with this please? Thanks

[-- Attachment #2: Type: text/html, Size: 5421 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PREFERRED_VERSION question - do_rootfs stage can't find library
  2013-08-15  0:30 ` PREFERRED_VERSION question - do_rootfs stage can't find library Ashwin Kirpalani
@ 2013-08-15 12:37   ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2013-08-15 12:37 UTC (permalink / raw)
  To: meta-freescale

On 2013-08-14 18:30, Ashwin Kirpalani wrote:
> I am using the master branch and am building latest ver 3.6.1 of linphone (https://www.linphone.org/) using a recipe I wrote. This recipe has a DEPENDS = pulseaudio as one of the
> dependencies. The version of pulseaudio in the current poky recipe tree is 4.0, so when I 'bitbake fsl-image-gui', I get the following error:
>
> | all -y packagegroup-core-ssh-dropbear@all psplash@armv7a_vfp_neon packagegroup-core-tools-profile@imx6qsabrelite qt4-examples@imx6qsabrelite packagegroup-qt-in-use-demos@all
> qt4-demos@imx6qsabrelite rpm@armv7a_vfp_neon cpufrequtils@armv7a_vfp_neon packagegroup-fsl-tools-benchmark@imx6qsabrelite nano@armv7a_vfp_neon opencv-samples@armv7a_vfp_neon
> smartpm@armv7a_vfp_neon opencv@armv7a_vfp_neon packagegroup-core-qt-demoapps@all packagegroup-core-boot@imx6qsabrelite packagegroup-core-tools-testapps@imx6qsabrelite
> packagegroup-core-x11-base@all packagegroup-core-nfs-server@all qt4-plugin-phonon-backend-gstreamer@imx6qsabrelite packagegroup-fsl-gstreamer@imx6qsabrelite
> packagegroup-core-x11-sato-games@imx6qsabrelite packagegroup-fsl-tools-testapps@imx6qsabrelite linphone-nogtk-console@armv7a_vfp_neon packagegroup-core-tools-debug@imx6qsabrelite
> fsl-gui-extrafiles@all packagegroup-base-extended@imx6qsabrelite packagegroup-core-x11-sato@imx6qsabrelite locale-base-en-us@armv7a_vfp_neon locale-base-en-gb@armv7a_vfp_neon
>
> | Loading cache...
>
> | Updating cache...               ######################################## [100%]
>
> |
>
> | *Computing transaction...error: Can't install libmediastreamer-3.6.1-r1@armv7a_vfp_neon: no package provides **libpulsecommon-3.0.so* <http://libpulsecommon-3.0.so>
>
> |
>
> | Saving cache...
>
> |
>
> | ERROR: Function failed: do_rootfs (log file is located at /home/ashwin/yocto_master/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/log.do_rootfs.23085)
>
> ERROR: Task 7 (/home/ashwin/yocto_master/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui.bb <http://fsl-image-gui.bb>, do_rootfs) failed with exit code '1'
>
> fyi...libmediastreamer is one of the main components of linphone. Apparently, linphone needs the specific library *libpulsecommon-3.0.so* <http://libpulsecommon-3.0.so>** even
> though libpulse > 3.0 requirement is there (i.e. libpulsecommon-4.0 won't work)
>
> So I created a recipe for pulseaudio_3.0.bb <http://pulseaudio_3.0.bb> and added the following to my conf/local.conf:
>
> PREFERRED_VERSION_pulseaudio = "3.0"
>
> Now here's the part that I am confused as to how to overcome. After I add the above line to my conf/local.conf:
>
> When I build core-image-x11, I get past the above error and I can build the image and run the linphone application on the target (which is a sabrelite)
> When I try to build the fsl-image-gui, I get the following error:
>
> | all -y packagegroup-core-ssh-dropbear@all psplash@armv7a_vfp_neon packagegroup-core-tools-profile@imx6qsabrelite qt4-examples@imx6qsabrelite packagegroup-qt-in-use-demos@all
> qt4-demos@imx6qsabrelite rpm@armv7a_vfp_neon cpufrequtils@armv7a_vfp_neon packagegroup-fsl-tools-benchmark@imx6qsabrelite nano@armv7a_vfp_neon opencv-samples@armv7a_vfp_neon
> smartpm@armv7a_vfp_neon opencv@armv7a_vfp_neon packagegroup-core-qt-demoapps@all packagegroup-core-boot@imx6qsabrelite packagegroup-core-tools-testapps@imx6qsabrelite
> packagegroup-core-x11-base@all packagegroup-core-nfs-server@all qt4-plugin-phonon-backend-gstreamer@imx6qsabrelite packagegroup-fsl-gstreamer@imx6qsabrelite
> packagegroup-core-x11-sato-games@imx6qsabrelite packagegroup-fsl-tools-testapps@imx6qsabrelite linphone-nogtk-console@armv7a_vfp_neon packagegroup-core-tools-debug@imx6qsabrelite
> fsl-gui-extrafiles@all packagegroup-base-extended@imx6qsabrelite packagegroup-core-x11-sato@imx6qsabrelite locale-base-en-us@armv7a_vfp_neon locale-base-en-gb@armv7a_vfp_neon
>
> | Loading cache...
>
> | Updating cache...               ######################################## [100%]
>
> |
>
> | *Computing transaction...error: Can't install gst-plugins-good-pulse-0.10.31-r8@armv7a_vfp_neon: no package provides **libpulsecommon-3.0.so* <http://libpulsecommon-3.0.so>
>
> |
>
> | Saving cache...
>
> |
>
> | ERROR: Function failed: do_rootfs (log file is located at /home/ashwin/yocto_master/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/log.do_rootfs.26265)
>
> ERROR: Task 7 (/home/ashwin/yocto_master/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui.bb <http://fsl-image-gui.bb>, do_rootfs) failed with exit code '1'
>
> So it seems that when I build _/fsl-image-gui/_, *libpulsecommon-3.0.so* <http://libpulsecommon-3.0.so>** can't be found during the do_rootfs stage (even though it has been built
> and I can see it at /home/ashwin/yocto_master/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/pulseaudio/3.0-r0/package/usr/lib/pulseaudio/libpulsecommon-3.0.so
> <http://libpulsecommon-3.0.so>). This problem does not occur when I build _/core-image-x11./_
>
> Can anyone help with this please? Thanks

Try rebuilding gst-plugins-good-pulse now that you've changed the pulseaudio version:
   % bitbake gst-plugins-good-pulse -c cleansstate
   % bitbake fsl-image-gui

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-15 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CALmQvZTtnDaj1YzxGbJf8eosF238T9KCx3yOivEShn4eF2642g@mail.gmail.com>
2013-08-15  0:30 ` PREFERRED_VERSION question - do_rootfs stage can't find library Ashwin Kirpalani
2013-08-15 12:37   ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.