Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932249 - games-emulation/mupen64plus-video-glide64mk2 error: ‘wpath’ is not a member of ‘boost::filesystem’; did you mean ‘path’?
Summary: games-emulation/mupen64plus-video-glide64mk2 error: ‘wpath’ is not a member o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-05-20 04:25 UTC by Andrew Udvare
Modified: 2024-05-21 15:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
01-hotfix.patch (01-hotfix.patch,11.70 KB, patch)
2024-05-20 04:25 UTC, Andrew Udvare
Details | Diff
Remove Boost (02-remove-boost.patch,24.48 KB, patch)
2024-05-20 04:26 UTC, Andrew Udvare
Details | Diff
02-remove-boost.patch (02-remove-boost.patch,26.10 KB, patch)
2024-05-20 04:42 UTC, Andrew Udvare
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2024-05-20 04:25:23 UTC
Had games-emulation/mupen64plus-video-glide64mk2 come up as needing a rebuild. It cannot build against the latest Boost because wpath is gone now.

Upstream has received a patch for latest Boost and also has a further patch to remove Boost entirely.

Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS=~amd64
2. emerge games-emulation/mupen64plus-video-glide64mk2
Actual Results:  
Fails to build.

Expected Results:  
Should build.

https://github.com/mupen64plus/mupen64plus-video-glide64mk2/pull/129
Remove Boost entirely: https://github.com/mupen64plus/mupen64plus-video-glide64mk2/pull/130

The second patch requires modification to work with 2.5.9 ebuild after running 129. However it also lacks necessary includes (tested with GCC 14).

In file included from ../../src/GlideHQ/TxFilter.h:29,
                 from ../../src/GlideHQ/TxFilterExport.cpp:28:
../../src/GlideHQ/TxHiResCache.h:50:34: error: ‘std::filesystem’ has not been declared
   50 |   boolean loadHiResTextures(std::filesystem::path dir_path, boolean replace);
Comment 1 Andrew Udvare 2024-05-20 04:25:48 UTC
Created attachment 893459 [details, diff]
01-hotfix.patch
Comment 2 Andrew Udvare 2024-05-20 04:26:34 UTC
Created attachment 893460 [details, diff]
Remove Boost

Modified patch of #130 but has build failure due to missing includes.
Comment 3 Andrew Udvare 2024-05-20 04:42:19 UTC
Created attachment 893461 [details, diff]
02-remove-boost.patch

Fixed patch to Remove Boost to work against 2.5.9-r2.

The prior issue was not because of includes but because my prior modified patch removed modification of the Makefile. This in turn resulted in not changing to -std=gnu++17.
Comment 4 Larry the Git Cow gentoo-dev 2024-05-21 15:10:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c1432cd5c1f3a360672df77325e7edddc392e6

commit b1c1432cd5c1f3a360672df77325e7edddc392e6
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-21 14:58:48 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-21 15:10:01 +0000

    games-emulation/mupen64plus-video-glide64mk2: Backport boost-1.85 fix
    
    Closes: https://bugs.gentoo.org/932249
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../mupen64plus-video-glide64mk2/Manifest          |  1 +
 .../mupen64plus-video-glide64mk2-2.5.9-r2.ebuild   | 26 +++++++++++++++-------
 2 files changed, 19 insertions(+), 8 deletions(-)