Wind River Support Network


LIN8-9625 : xinput-calibrator.spec inconsistencies between builds

Created: Aug 1, 2018    Updated: Dec 3, 2018
Resolved Date: Aug 5, 2018
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config


xinput-calibrator does not have an explicit reference to libxrandr.
When writing the xinput-calibrator RPM .spec file, the build system is sensitive to whether or not libxrandr is available. 


Adding a .bbappend for xinput-calibrator with this line:

DEPENDS += "libxrandr"

Steps to Reproduce

These steps produce different results for builds of xinput-calibrator where they should always be identical:

1. /<installDir>/wrlinux-8/wrlinux/configure --enable-board=intel-x86-32 --enable-build=production --enable-kernel=preempt-rt --enable-rootfs=glibc-core --enable-buildhist=yes --with-layer=wr-bsps/intel-x86 --enable-prserver=no --with-init=sysvinit --enable-reconfig

2. add «DISTRO_FEATURES_append = " x11"» to the end of the local.conf file so xinput-calibrator can be built.

3. cd build

4. make xinput-calibrator

* ../bitbake_build/tmp/work/corei7-32-wrs-linux/xinput-calibrator/0.7.5+gitAUTOINC+c01c5af807-r6/xinput-calibrator.spec file will have some libxrandr references (you can check with grep or vi)

5. make xinput-calibrator.cleansstate
6. make libxrandr.cleansstate
7. make xinput-calibrator

* The .spec file will not have the libxrandr references

8. make libxrandr
9. make xinput-calibrator.cleansstate
10. make xinput-calibrator

* The .spec file will have the libxrandr references.

Steps 5, 6, and 7 can be repeated any number of times to get the .spec file without libxrandr references and 8, 9, and 10 can be repeated any number of times to get the .spec file with the libxrandr references.

Other Downloads

Live chat