Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725478 - media-sound/pulseeffects-4.7.2: fails with gcc-10 - error: expected ')' before 'tag'
Summary: media-sound/pulseeffects-4.7.2: fails with gcc-10 - error: expected ')' befor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-05-26 07:46 UTC by Peter Levine
Modified: 2020-09-25 07:23 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge-info.txt,25.89 KB, text/plain)
2020-05-26 07:47 UTC, Peter Levine
Details
build.log (media-sound:pulseeffects-4.7.2:20200526-065604.log,32.97 KB, text/x-log)
2020-05-26 07:54 UTC, Peter Levine
Details
/pulseeffects-4.7.2-gcc10.patch (dbaea05da683f7bfcd7960c88b1b7d13379435c0.patch,1.06 KB, patch)
2020-05-26 08:02 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2020-05-26 07:46:00 UTC
> In file included from ../pulseeffects-4.7.2/include/limiter.hpp:4,
>                  from ../pulseeffects-4.7.2/src/limiter.cpp:1:
> ../pulseeffects-4.7.2/include/plugin_base.hpp:10:25: error: expected ')' before 'tag'
>    10 |   PluginBase(std::string tag, std::string plugin_name, const std::string& schema);
>       |             ~           ^~~~
>       |                         )
> ../pulseeffects-4.7.2/include/plugin_base.hpp:17:8: error: 'string' in namespace 'std' does not name a type
>    17 |   std::string log_tag, name;
>       |        ^~~~~~
> ../pulseeffects-4.7.2/include/plugin_base.hpp:7:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
>     6 | #include <sigc++/sigc++.h>
>   +++ |+#include <string>
>     7 | 
> In file included from ../pulseeffects-4.7.2/src/limiter.cpp:1:
> ../pulseeffects-4.7.2/include/limiter.hpp:8:22: error: 'string' in namespace 'std' does not name a type
>     8 |   Limiter(const std::string& tag, const std::string& schema);
>       |                      ^~~~~~
> ../pulseeffects-4.7.2/include/limiter.hpp:5:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
>     4 | #include "plugin_base.hpp"
>   +++ |+#include <string>
>     5 |
Comment 1 Peter Levine 2020-05-26 07:47:18 UTC
Created attachment 641900 [details]
emerge --info
Comment 2 Peter Levine 2020-05-26 07:54:02 UTC
Created attachment 641902 [details]
build.log
Comment 3 Peter Levine 2020-05-26 08:02:57 UTC
Created attachment 641904 [details, diff]
/pulseeffects-4.7.2-gcc10.patch

Taken from https://github.com/wwmm/pulseeffects/commit/dbaea05da683f7bfcd7960c88b1b7d13379435c0
Comment 4 Larry the Git Cow gentoo-dev 2020-05-26 16:03:23 UTC
The bug has been closed via the following commit(s):

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

commit 3903f6c85e4f549eb58b1c801cb1de26aacec456
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-05-26 16:03:05 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-05-26 16:03:18 +0000

    media-sound/pulseeffects: fix gcc10 builds
    
    Closes: https://bugs.gentoo.org/725478
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    RepoMan-Options: --force
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 .../pulseeffects/files/patch-4.7.2-gcc10.patch     | 32 ++++++++++++++++++++++
 media-sound/pulseeffects/metadata.xml              |  5 ----
 ...s-4.7.2.ebuild => pulseeffects-4.7.2-r1.ebuild} |  4 +++
 3 files changed, 36 insertions(+), 5 deletions(-)