Bug#1090229: [help] Re: globjects: FTBFS: error: gl::BufferAccessMask has not been declared
Rylie Pavlik
rylie at ryliepavlik.com
Thu Jan 9 17:53:39 GMT 2025
OK, so this is puzzling.
Case 1: globjects from salsa builds fine on bookworm (with bookworm
libglbinding-dev).
Case 2: If I install slightly outdated libglbinding-dev from salsa
(3.3.0-1), I get the error seen on salsa CI, so I suspect salsa was
using the older version for some reason.
Case 3: If I install libglbinding-dev from salsa (3.3.0-2 it reports),
the CMake issue is fixed but I get an include error:
globjects/source/globjects/source/FramebufferAttachment.cpp:6:10: fatal
error: glbinding/Meta.h: No such file or directory
6 | #include <glbinding/Meta.h>
| ^~~~~~~~~~~~~~~~~~
(followed by more confusing errors that mention gtest)
This file indeed does not exist in libglbinding-dev built from salsa -
it's in glbinding-aux/Meta.h instead, I think. Patching that makes it
so that we get an error about the symbol BufferAccessMask, which no
longer exists either. Presumably upstream did not update globjects to
work with the new glbinding release with the version you are packaging.
It looks like BufferAccessMask was replaced with more specific types in
upstream glbinding commit 2bcfb663651e0255db41690b0585baa5c8c29aab -
mainly MapBufferAccessMask for the uses in globjects.
globjects itself was updated for these API changes in
https://github.com/cginternals/globjects/commit/6e6de2d51f9d2938c63a80952539c8a8aafc6258
The current globjects source package should be built only with
libglobjects-dev < 3.0
Hope this is some useful progress for you.
Rylie Pavlik
On Wed, 2025-01-08 at 17:47 +0100, Andreas Tille wrote:
> > Control: tags -1 help
> > Thanks
> >
> > Hi,
> >
> > I've refreshed the packaging and you can find a full build log
> > of globjects in Salsa CI[1] (which has a different error). Any
> > help to build this package is welcome.
> >
> > Kind regards
> > Andreas.
> >
> > [1] https://salsa.debian.org/science-team/globjects/-/jobs/6732242
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20250109/43f50190/attachment.sig>
More information about the debian-science-maintainers
mailing list