maemo.org Bugzilla – Bug 4503
Build of apps depending on libclutter-0.8-dev break when extras-devel repo is used
Last modified: 2009-07-14 13:39:34 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: Fremantle SDK i386 Beta libclutter-0.8-dev depends on the GL subsystem, and for that it uses alternative dependencies on its debian/control: libgles2-dev | libgles2-sgx-img-dev | libgl1-mesa-dev | libgl-dev When you use only the official repos for Fremantle SDK, the dependency chosen is libgl-dev (as it is the only available), and all runs fine. However, when uploading to autobuilder, libgles2-dev is pulled instead, as it is available on extras-devel and has a higher priority than libgl-dev - but one or more of the GL headers are missing on this package, breaking clutter and any app that depends on it. STEPS TO REPRODUCE THE PROBLEM: - Ensure libgl-dev and libclutter-0.8-dev aren't installed - Add extras-devel repository into /etc/apt/sources.list && apt-get update - $ apt-get install libclutter-0.8-dev - $ cpp -E /usr/include/clutter-0.8/cogl/cogl-defines-gl.h >/dev/null EXPECTED OUTCOME: None (the command should end successfully) ACTUAL OUTCOME: /usr/include/clutter-0.8/cogl/cogl-defines-gl.h:29:19: error: GL/gl.h: No such file or directory REPRODUCIBILITY: always EXTRA SOFTWARE INSTALLED: OTHER COMMENTS: A workaround for this problem is install libgl-dev or put it as a dependency of what you're trying to build. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
> libgles2-dev is pulled instead, as it is available on extras-devel According to http://repository.maemo.org/unstable/5.0beta/alpha_vs_beta_content_comparison.html , libgles2-dev 0.20081031.1-16 is available for SDK Armel beta (though I'm surprised that libgles2 itself has a much newer version date: 0.20090218.30+0m5) in **nokia-binaries** repository. But it is also available in **Maemo Extras**: http://repository.maemo.org/extras-devel/pool/fremantle/free/libgles2-dev_1-1_i386.deb . The package lists Kate Alhola as Maintainer. So why is this duplicated? Or do I not get something obvious here? (Pardon, not my area of knowledge.)
Kate, can you comment on this?
According to Niels this BLOCKS uploading ANY packages depending on clutter. Adding Kimmo to CC.
Reassigning to Soumya after talking with Niels and Soumya. (Note to myself: Also see int-109904)
Alright, finally we have the updated clutter package with build dependency set as follows: libgles2-dev [armel] | libgles2-sgx-img-dev [armel], libgl-dev [!armel] Both clutter and glib2.0 are updated. Updated versions: clutter: 0.8.2-0maemo34+0m5 glibc: 2.20.1-1maemo3+0m5 Seems like the Sources.gz is not updated yet. It may take a while.
Verified fixed: https://garage.maemo.org/pipermail/extras-cauldron-builds/2009-June/007341.html Thanks!
Unfortunately I just downgraded the clutter packages to the previous versions and thus causing this bug to reappear. This was done because the upgrade actually broke the installation of the beta SDK, which I thought was more severe than this bug. I trust this is only momentary. Sorry for the inconvenience.
Seems that we managed to fix the installation issues and the new clutter packages have now been re-uploaded along with the fixed packages. Sorry about that.
The proper dependencies are being pulled now, and the test case works. Marking as Verified.
Fix should be included in Fremantle SDK beta 2 hence updating Target Milestone.