Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #356475 > unrolled thread

Bug#1064139: ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’

Started byAurelien Jarno <aurel32@debian.org>
First post2024-02-17 18:00 +0100
Last post2024-03-17 16:10 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1064139: ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’ Aurelien Jarno <aurel32@debian.org> - 2024-02-17 18:00 +0100
    Bug#1064139: Bug #1064139 ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’ Simon Schmeißer <s.schmeisser@gmx.net> - 2024-03-06 23:30 +0100
    Bug#1064139: ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’ Matthias Klose <doko@debian.org> - 2024-03-17 15:10 +0100
      Bug#1064139: ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’ Matthias Klose <doko@debian.org> - 2024-03-17 16:10 +0100

#356475 — Bug#1064139: ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’

FromAurelien Jarno <aurel32@debian.org>
Date2024-02-17 18:00 +0100
SubjectBug#1064139: ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’
Message-ID<I8wcF-aN1D-1@gated-at.bofh.it>
Source: ogre-1.12
Version: 1.12.10+dfsg2-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

ogre-1.12 fails to build from source, probably due to a change in imgui.
From my build log on amd64:

| [ 73%] Building CXX object Components/Overlay/CMakeFiles/OgreOverlay.dir/src/OgreFontManager.cpp.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Components/Overlay && /usr/bin/c++ -DOgreOverlay_EXPORTS -I/<<PKGBUILDDIR>>/Components/Overlay/include -I/usr/include/freetype2 -I/misc/freetype -I/<<PKGBUILDDIR>>/OgreMain/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem /usr/include/imgui -isystem /usr/include/stb -Wall -Winit-self -Wcast-qual -Wwrite-strings -Wextra -Wundef -Wmissing-declarations -Wno-unused-parameter -Wshadow -Wno-missing-field-initializers -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -msse -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT Components/Overlay/CMakeFiles/OgreOverlay.dir/src/OgreFontManager.cpp.o -MF CMakeFiles/OgreOverlay.dir/src/OgreFontManager.cpp.o.d -o CMakeFiles/OgreOverlay.dir/src/OgreFontManager.cpp.o -c /<<PKGBUILDDIR>>/Components/Overlay/src/OgreFontManager.cpp
| [ 73%] Building CXX object Components/Overlay/CMakeFiles/OgreOverlay.dir/src/OgreImGuiOverlay.cpp.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Components/Overlay && /usr/bin/c++ -DOgreOverlay_EXPORTS -I/<<PKGBUILDDIR>>/Components/Overlay/include -I/usr/include/freetype2 -I/misc/freetype -I/<<PKGBUILDDIR>>/OgreMain/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem /usr/include/imgui -isystem /usr/include/stb -Wall -Winit-self -Wcast-qual -Wwrite-strings -Wextra -Wundef -Wmissing-declarations -Wno-unused-parameter -Wshadow -Wno-missing-field-initializers -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -msse -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT Components/Overlay/CMakeFiles/OgreOverlay.dir/src/OgreImGuiOverlay.cpp.o -MF CMakeFiles/OgreOverlay.dir/src/OgreImGuiOverlay.cpp.o.d -o CMakeFiles/OgreOverlay.dir/src/OgreImGuiOverlay.cpp.o -c /<<PKGBUILDDIR>>/Components/Overlay/src/OgreImGuiOverlay.cpp
| /<<PKGBUILDDIR>>/Components/Overlay/src/OgreImGuiOverlay.cpp: In member function ‘void Ogre::ImGuiOverlay::ImGUIRenderable::createFontTexture()’:
| /<<PKGBUILDDIR>>/Components/Overlay/src/OgreImGuiOverlay.cpp:118:20: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’
|   118 |     ImGuiFreeType::BuildFontAtlas(io.Fonts, 0);
|       |                    ^~~~~~~~~~~~~~
| make[4]: *** [Components/Overlay/CMakeFiles/OgreOverlay.dir/build.make:121: Components/Overlay/CMakeFiles/OgreOverlay.dir/src/OgreImGuiOverlay.cpp.o] Error 1
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[3]: *** [CMakeFiles/Makefile2:1187: Components/Overlay/CMakeFiles/OgreOverlay.dir/all] Error 2
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[2]: *** [Makefile:159: all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
| make[1]: *** [debian/rules:65: override_dh_auto_build-indep] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:41: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

A full build log is also available on riscv64:
https://buildd.debian.org/status/fetch.php?pkg=ogre-1.12&arch=riscv64&ver=1.12.10%2Bdfsg2-3%2Bb1&stamp=1707901622&raw=0

The issue is also visible on the reproducible builds:
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/ogre-1.12_1.12.10+dfsg2-3.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/unstable/arm64/ogre-1.12_1.12.10+dfsg2-3.rbuild.log.gz

Regards
Aurelien

[toc] | [next] | [standalone]


#358046 — Bug#1064139: Bug #1064139 ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’

FromSimon Schmeißer <s.schmeisser@gmx.net>
Date2024-03-06 23:30 +0100
SubjectBug#1064139: Bug #1064139 ogre-1.12: FTBFS: error: ‘BuildFontAtlas’ is not a member of ‘ImGuiFreeType’
Message-ID<If7VU-eTos-5@gated-at.bofh.it>
In reply to#356475

[Multipart message — attachments visible in raw view] — view raw

Dear Flavien,

a good and simple start would be to open a Merge Request (MR) adding a
patch on salsa: https://salsa.debian.org/games-team/ogre

Then salsa CI will test your changes and it can be sponsored by someone.


There was ongoing work to update to 1.12.13  but it stalled:
https://salsa.debian.org/games-team/ogre/-/merge_requests/6

The main work is likely to identify what needs to change for the
copyright file to be acceptable


If you want to get started on ogre 14 you could start by combining the
changes in the 1.12.13 branch with those here
https://salsa.debian.org/games-team/ogre/-/commits/ogre-13.3/?ref_type=heads

I'm currently super short on time but will try to help you with any
technical problems if you open a MR for a patch

Best regards from Freiburg

Simon

Am 06.03.24 um 08:46 schrieb Flavien Bridault:
>
> Dear maintainer(s),
>
> I took a look at the latest version of Ogre which is probably
> compatible with latest ImGui and it seems this line is no longer
> necessary. It was removed before the release 13.0.0 when upgrading to
> ImGUI 1.83 :
> https://github.com/OGRECave/ogre/commit/17b7481057b97662a3752ee605ea77a9eb0c57db
>
> Patching should be then fairly easy...
>
> I can offer my help again, like I did to upgrade to 1.14
> (https://lists.debian.org/debian-devel-games/2023/11/msg00001.html),
> which whould really be the best option in the end... Maybe I will have
> an official answer this time ? I don't want to be sarcastic at all,
> but I strongly depend on Ogre to build sight and this is annoying to
> get no answer from the devel games team. And currently my package
> sight is currently marked for autoremoval because of this bug
> (https://tracker.debian.org/pkg/sight)
>
> Kind regards,
>
> --
>
> *Dr. Flavien BRIDAULT*
> Director of Software Development
> IRCAD France & IRCAD Africa
>
> flavien.bridault@ircad.fr <mailto:flavien.bridault-louchez@ircad.fr>
> Tél. : +33 (0)3 88 119 201
> 		IRCAD France
> http://www.ircad.fr/
> http://www.ircad.africa/ <http://www.ircad.fr/>
>
> Suivez l'IRCAD sur Facebook
> <http://www.facebook.com/pages/IRCAD/193785273990141>
>
> *IRCAD France*
> Hôpitaux Universitaires - 1, place de l'Hôpital - 67091 Strasbourg
> Cedex - FRANCE
>

[toc] | [prev] | [next] | [standalone]


#359199

FromMatthias Klose <doko@debian.org>
Date2024-03-17 15:10 +0100
Message-ID<IiZn3-hkeI-5@gated-at.bofh.it>
In reply to#356475
with both patches, I get until:

/home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_
Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6527:56: error: expected 
template-name before '<' token
  6527 |     struct SwigPyMapIterator_T : 
SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper
 >
       |                                                        ^
/home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_
Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6527:56: error: expected '{' 
before '<' token

[...]

/home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6547:12: 
error: 'SwigPyIterator' does not name a type; did you mean 
'SwigPyMapIterator_T'?
  6547 |     inline SwigPyIterator*
       |            ^~~~~~~~~~~~~~
       |            SwigPyMapIterator_T
/home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6565:12: 
error: 'SwigPyIterator' does not name a type; did you mean 
'SwigPyMapIterator_T'?
  6565 |     inline SwigPyIterator*
       |            ^~~~~~~~~~~~~~
       |            SwigPyMapIterator_T

[toc] | [prev] | [next] | [standalone]


#359205

FromMatthias Klose <doko@debian.org>
Date2024-03-17 16:10 +0100
Message-ID<Ij0j7-hkNz-9@gated-at.bofh.it>
In reply to#359199
On 17.03.24 14:59, Matthias Klose wrote:
> with both patches, I get until:
> 
> /home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_
> Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6527:56: error: expected 
> template-name before '<' token
>   6527 |     struct SwigPyMapIterator_T : 
> SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper
>  >
>        |                                                        ^
> /home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_
> Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6527:56: error: expected '{' 
> before '<' token
> 
> [...]
> 
> /home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6547:12: error: 'SwigPyIterator' does not name a type; did you mean 'SwigPyMapIterator_T'?
>   6547 |     inline SwigPyIterator*
>        |            ^~~~~~~~~~~~~~
>        |            SwigPyMapIterator_T
> /home/packages/tmp/x/ogre-1.12-1.12.10+dfsg2/obj-x86_64-linux-gnu/Components/Python/CMakeFiles/_Overlay.dir/OgreOverlayPYTHON_wrap.cxx:6565:12: error: 'SwigPyIterator' does not name a type; did you mean 'SwigPyMapIterator_T'?
>   6565 |     inline SwigPyIterator*
>        |            ^~~~~~~~~~~~~~
>        |            SwigPyMapIterator_T
> 

this is introduced by swig 4.2.x, builds with wig 4.1.x

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web