Skip to contentSkip to conversation

why compile "xserver-xorg" package on wayland projects?

DISCUSSION tugouxp 3 participants 3 messages Jul 21, 2018

lore
Share & tools
lore

tugouxp

author
#0 lore raw

hi folks:
i am working on project with "DISTRO_FEATURE" set to "wayalnd", during the compile procedure, i saw the xserver pakage was compiled, which would complain compile error and stop the process.

i try to debug the dependciy, it seems the "weston" package bring the xorg-server ,package in , so i try to change the default bb file of poky poky/meta/recipes-graphics/wayland/weston_2.0.0.bb
and comment the following line
#RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland"
it seems work.
i dont know the reason and want to know if any elegant way to dealt with this prolbems?

thanks for your supply.

NOTE: linux-tina: compiling from external source tree /home/caozilong/WorkSpace/glibc/repo/lichee/linux-4.4
Currently 2 running tasks (2538 of 4483) 56% |############################################################################################ |
0: linux-tina-4.4.89-r0 do_compile - 0s (pid 1550)
1: xserver-xorg-2_1.19.3-r0 do_configure - 0s (pid 1578)

#1 lore raw

It shouldn't complain, what is the error? The reason it's being built is because you've got X11 and Wayland enabled, so it's building xwayland. When you add wayland to DISTRO_FEATURES, also remove x11.

Ross

Quoted 35 lines · tugouxp

hi folks:
i am working on project with "DISTRO_FEATURE" set to "wayalnd", during
the compile procedure, i saw the xserver pakage was compiled, which would complain compile error and stop the process.

i try to debug the dependciy, it seems the "weston" package bring the xorg-server ,package in , so i try to change the default bb file of poky poky/meta/recipes-graphics/wayland/weston_2.0.0.bb
and comment the following line
#RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland"
it seems work.
i dont know the reason and want to know if any elegant way to dealt with this prolbems?

thanks for your supply.

NOTE: linux-tina: compiling from external source tree /home/caozilong/WorkSpace/glibc/repo/lichee/linux-4.4
Currently 2 running tasks (2538 of 4483) 56% |############################################################################################ |
0: linux-tina-4.4.89-r0 do_compile - 0s (pid 1550)
1: xserver-xorg-2_1.19.3-r0 do_configure - 0s (pid 1578)

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

I have patches cooking see

http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/master

Quoted 48 lines · Ross

It shouldn't complain, what is the error? The reason it's being built is because you've got X11 and Wayland enabled, so it's building xwayland. When you add wayland to DISTRO_FEATURES, also remove x11.

Ross

Quoted 29 lines · tugouxp

hi folks:
i am working on project with "DISTRO_FEATURE" set to "wayalnd", during
the compile procedure, i saw the xserver pakage was compiled, which would complain compile error and stop the process.

i try to debug the dependciy, it seems the "weston" package bring the xorg-server ,package in , so i try to change the default bb file of poky poky/meta/recipes-graphics/wayland/weston_2.0.0.bb
and comment the following line
#RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland"
it seems work.
i dont know the reason and want to know if any elegant way to dealt with this prolbems?

thanks for your supply.

NOTE: linux-tina: compiling from external source tree /home/caozilong/WorkSpace/glibc/repo/lichee/linux-4.4
Currently 2 running tasks (2538 of 4483) 56% |############################################################################################ |
0: linux-tina-4.4.89-r0 do_compile - 0s (pid 1550)
1: xserver-xorg-2_1.19.3-r0 do_configure - 0s (pid 1578)

Quoted 6 lines

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto