When I upgrade cairo from 1.8.10 to 1.10.0, and doing poky-image-sato do_rootfs, the zypper will report:
"
| Processing zypper...
| error: Failed dependencies:
| libcairo2 >= 1.8.10 is needed by screenshot-0.0+svnr292-r0.i586
| libcairo2 >= 1.8.10 is needed by lttng-viewer-0.12.35-r0.i586
| libcairo2 >= 1.8.10 is needed by gtk+-2.20.1-r1.i586
| libcairo2 >= 1.8.10 is needed by pango-1.28.0-r0.i586
| libcairo2 >= 1.8.10 is needed by libowl0-0.0+svnr408-r6.i586
| libcairo2 >= 1.8.10 is needed by libfm-0.1.12-r0.i586
| libcairo2 >= 1.8.10 is needed by librsvg-2-2-2.26.3-r0.i586
| libcairo2 >= 1.8.10 is needed by libowl-av0-0.0+svnr398-r4.i586
| libcairo2 >= 1.8.10 is needed by libwebkitgtk-1.0-0-1.3.2+svnr62027-r0.i586
| libcairo2 >= 1.8.10 is needed by lttng-viewer-dev-0.12.35-r0.i586
| libcairo-dev is needed by pango-dev-1.28.0-r0.i586
| libcairo-dev is needed by gtk+-dev-2.20.1-r1.i586
"
cairo 1.10.0 should actually meet the requirement of >=1.8.10, so looks zypper does not correctly compare the version.
if i rebuild those recipes, i.e. increase the PR of the recipes (screenshot, lttng-viewer...) , and build again, the error disappear. the rpm spec becomes:
Requires: cairo >= 1.10.0
Reproduce step:
1. build poky-image-sato from scratch with poky 4.0
# git checkout laverne-4.0
# . poky-init-build-env
# bitbake poky-image-sato
2. apply the attached patch to upgrade cairo, and build poky-image-sato again
# patch -p1 < cairo.patch
# bitbake poky-image-sato
When I upgrade cairo from 1.8.10 to 1.10.0, and doing poky-image-sato do_rootfs, the zypper will report:
" 0.0+svnr292- r0.i586 0.12.35- r0.i586 28.0-r0. i586 0.0+svnr408- r6.i586 1.12-r0. i586 2-2-2.26. 3-r0.i586 av0-0.0+ svnr398- r4.i586 1.0-0-1. 3.2+svnr62027- r0.i586 dev-0.12. 35-r0.i586 1.28.0- r0.i586 2.20.1- r1.i586
| Processing zypper...
| error: Failed dependencies:
| libcairo2 >= 1.8.10 is needed by screenshot-
| libcairo2 >= 1.8.10 is needed by lttng-viewer-
| libcairo2 >= 1.8.10 is needed by gtk+-2.20.1-r1.i586
| libcairo2 >= 1.8.10 is needed by pango-1.
| libcairo2 >= 1.8.10 is needed by libowl0-
| libcairo2 >= 1.8.10 is needed by libfm-0.
| libcairo2 >= 1.8.10 is needed by librsvg-
| libcairo2 >= 1.8.10 is needed by libowl-
| libcairo2 >= 1.8.10 is needed by libwebkitgtk-
| libcairo2 >= 1.8.10 is needed by lttng-viewer-
| libcairo-dev is needed by pango-dev-
| libcairo-dev is needed by gtk+-dev-
"
cairo 1.10.0 should actually meet the requirement of >=1.8.10, so looks zypper does not correctly compare the version.
if i rebuild those recipes, i.e. increase the PR of the recipes (screenshot, lttng-viewer...) , and build again, the error disappear. the rpm spec becomes:
Requires: cairo >= 1.10.0
Reproduce step:
1. build poky-image-sato from scratch with poky 4.0
# git checkout laverne-4.0
# . poky-init-build-env
# bitbake poky-image-sato
2. apply the attached patch to upgrade cairo, and build poky-image-sato again
# patch -p1 < cairo.patch
# bitbake poky-image-sato
3. the error will show out.