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
before you can comment on or make changes to this bug.
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
None (the command should end successfully)
/usr/include/clutter-0.8/cogl/cogl-defines-gl.h:29:19: error: GL/gl.h: No such
file or directory
EXTRA SOFTWARE INSTALLED:
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:220.127.116.11)
Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
> libgles2-dev is pulled instead, as it is available on extras-devel
, 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**:
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
libgles2-dev [armel] | libgles2-sgx-img-dev [armel], libgl-dev [!armel]
Both clutter and glib2.0 are updated.
Seems like the Sources.gz is not updated yet. It may take a while.
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
Fix should be included in Fremantle SDK beta 2 hence updating Target Milestone.