Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844898 - media-sound/pulseeffects-4.8.6 fails compilation with dev-libs/boost-1.79.0
Summary: media-sound/pulseeffects-4.8.6 fails compilation with dev-libs/boost-1.79.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.79
  Show dependency tree
 
Reported: 2022-05-15 17:31 UTC by Sven Hesse
Modified: 2022-06-01 18:31 UTC (History)
1 user (show)

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


Attachments
Patch that fixes compilation of media-sound/pulseeffects-4.8.6 with dev-libs/boost-1.79.0 (fix_compilation_with_boost_1.79.0.patch,457 bytes, patch)
2022-05-15 17:31 UTC, Sven Hesse
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Hesse 2022-05-15 17:31:48 UTC
Created attachment 779123 [details, diff]
Patch that fixes compilation of media-sound/pulseeffects-4.8.6 with dev-libs/boost-1.79.0

pulseeffects fails to compile with Boost 1.79.0 due to a change in Boost.Filesystem's main header.

Boost.Filesystem in Boost 1.79.0 changed the already-deprecated header of string_file.hpp to be not included by default anymore in its commit 266e1ac892a6f54d807fb35bf639a9aa1c8b2db1: https://github.com/boostorg/filesystem/commit/266e1ac892a6f54d807fb35bf639a9aa1c8b2db1

Boost.Filesystem's fstream.hpp was never included directly by default, but string_file.hpp did include it, so src/general_settings_ui.cpp in PulseEffects compiled fine until now. With Boost 1.79.0, though, it explodes in line 179.

I'm attaching a patch that fixes compilation in Gentoo. I've already filed a pull request with upstream too here: https://github.com/wwmm/easyeffects/pull/1529

GCO sign-off for the patch:
Signed-off-by: Sven Hesse <drmccoy@drmccoy.de>
Comment 1 Larry the Git Cow gentoo-dev 2022-05-15 21:01:58 UTC
The bug has been closed via the following commit(s):

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

commit efcf421ff9e351b8003a1ca60d107b766f099461
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-15 20:59:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-15 21:00:40 +0000

    media-sound/pulseeffects: fix build with Boost 1.79
    
    Closes: https://bugs.gentoo.org/844898
    Thanks-to: Sven Hesse <drmccoy@drmccoy.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/pulseeffects-4.8.6-boost_1.79.patch      | 25 ++++++++++++++++++++++
 media-sound/pulseeffects/pulseeffects-4.8.6.ebuild |  1 +
 2 files changed, 26 insertions(+)