Bug#1090229: [help] Re: globjects: FTBFS: error: gl::BufferAccessMask has not been declared
Andreas Tille
tille at debian.org
Thu Jan 9 20:42:16 GMT 2025
Hi Rylie,
thanks a lot for your promising analysis. I wonder whether you (or
someone else) might be able to create a MR. I have neither any personal
interest in this package nor dedicated time any more.
Kind regards
Andreas.
Am Thu, Jan 09, 2025 at 11:53:39AM -0600 schrieb Rylie Pavlik:
> 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
> > >
>
>
--
https://fam-tille.de
More information about the debian-science-maintainers
mailing list