Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840514 - media-plugins/libvisual-plugins-0.4.0-r4 - /.../stl_pair.h: error: _PCCP was not declared in this scope
Summary: media-plugins/libvisual-plugins-0.4.0-r4 - /.../stl_pair.h: error: _PCCP was ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL: https://github.com/Libvisual/libvisua...
Whiteboard:
Keywords:
: 860198 (view as bug list)
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-24 07:02 UTC by Toralf Förster
Modified: 2022-12-06 00:17 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.26 KB, text/plain)
2022-04-24 07:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,156.91 KB, text/plain)
2022-04-24 07:02 UTC, Toralf Förster
Details
environment (environment,90.16 KB, text/plain)
2022-04-24 07:02 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,38.69 KB, application/x-bzip)
2022-04-24 07:02 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.98 KB, application/x-bzip)
2022-04-24 07:02 UTC, Toralf Förster
Details
media-plugins:libvisual-plugins-0.4.0-r4:20220423-221237.log.bz2 (media-plugins:libvisual-plugins-0.4.0-r4:20220423-221237.log.bz2,26.59 KB, application/x-bzip)
2022-04-24 07:02 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,77.08 KB, application/x-bzip)
2022-04-24 07:02 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,18.27 KB, text/plain)
2022-11-21 09:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.92 KB, text/plain)
2022-11-21 09:18 UTC, Toralf Förster
Details
environment (environment,92.05 KB, text/plain)
2022-11-21 09:18 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.92 KB, application/x-bzip)
2022-11-21 09:18 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.27 KB, application/x-bzip)
2022-11-21 09:18 UTC, Toralf Förster
Details
media-plugins:libvisual-plugins-0.4.0-r4:20221121-091206.log.bz2 (media-plugins:libvisual-plugins-0.4.0-r4:20221121-091206.log.bz2,26.92 KB, application/x-bzip)
2022-11-21 09:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,78.13 KB, application/x-bzip)
2022-11-21 09:18 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-24 07:02:23 UTC
      |                        ^
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.1/include/g++-v12/type_traits:813:40: error: narrowing conversion of '-1' from 'int' to 'bool' [-Wnarrowing]
  813 |     struct __is_signed_helper<_Tp, true>
      |                                        ^
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.1/include/g++-v12/bits/stl_pair.h:406:26: error: '_PCCP' was not declared in this scope; did you mean '_PCC'?
  406 |                enable_if<_PCCP::template
      |                          ^~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20220422-040006

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.3.0
 [3] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Rust versions:
  [1]   rust-1.60.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 3bb4f475a04aa5529299dad70ec77d93735aa085
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 23 21:49:09 2022 +0000

    2022-04-23 21:49:09 UTC

emerge -qpvO media-plugins/libvisual-plugins
[ebuild  N    ] media-plugins/libvisual-plugins-0.4.0-r4  USE="-alsa -debug -gtk -jack -mplayer -opengl"
Comment 1 Toralf Förster gentoo-dev 2022-04-24 07:02:24 UTC
Created attachment 773851 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-24 07:02:26 UTC
Created attachment 773854 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-24 07:02:27 UTC
Created attachment 773857 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-24 07:02:28 UTC
Created attachment 773860 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-24 07:02:30 UTC
Created attachment 773863 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-24 07:02:31 UTC
Created attachment 773866 [details]
media-plugins:libvisual-plugins-0.4.0-r4:20220423-221237.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-24 07:02:32 UTC
Created attachment 773869 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-21 05:06:24 UTC
Noticed sping on repo upstream (https://github.com/Libvisual/libvisual/) so CCing him for input.

Feel free to either disable this plugin or last-rite if depgraph allows.
Comment 9 Larry the Git Cow gentoo-dev 2022-11-19 11:02:35 UTC
The bug has been referenced in the following commit(s):

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

commit c287a98bdda7b83d47068e164eada3980389cce6
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-11-19 10:57:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-11-19 11:02:29 +0000

    package.mask: Last rite broken sound@ packages
    
    Bug: https://bugs.gentoo.org/624136
    Bug: https://bugs.gentoo.org/699808
    Bug: https://bugs.gentoo.org/726076
    Bug: https://bugs.gentoo.org/840514
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/base/package.use.mask |  4 ++++
 profiles/package.mask          | 17 +++++++++++++++++
 2 files changed, 21 insertions(+)
Comment 10 Sebastian Pipping gentoo-dev 2022-11-20 00:11:19 UTC
Toralf, I cannot reproduce the issue with GCC 12.2.1_p20221008.  Any chance you could try with a non-pre version of GCC 12?  I see version 12.0.1_pre20220417 used in the emerge info here and given that the error is from GCC's own header stl_pair.h it seems to me that a pre-12 release of GCC is causing the issue here, not libvisual code.  It's also unclear why -Wnarrowing would be enabled during the build and why it's reported as an error rather than a warning, feeling like implicit -Werror in a way.  What do you think?
Comment 11 Larry the Git Cow gentoo-dev 2022-11-20 18:03:18 UTC
The bug has been referenced in the following commit(s):

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

commit ef71db79a49c9d5d87bd301a9daa525d29601447
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2022-11-20 17:56:29 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2022-11-20 18:02:14 +0000

    package.mask: Stop last rite of media-libs/libvisual for now
    
    .. after going through all open issues on media-libs/libvisual .
    
    Bug: https://bugs.gentoo.org/840514
    
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 profiles/base/package.use.mask | 1 -
 profiles/package.mask          | 5 -----
 2 files changed, 6 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2022-11-20 18:13:50 UTC
The bug has been referenced in the following commit(s):

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

commit e65c26d5d8d6c94f92a5589f3328a7ee702626f7
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2022-11-20 18:11:51 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2022-11-20 18:13:29 +0000

    media-libs/libvisual: Add sping as a maintainer
    
    Bug: https://bugs.gentoo.org/840514
    
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 media-libs/libvisual/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)
Comment 13 Toralf Förster gentoo-dev 2022-11-21 09:17:16 UTC
happened at 17.1_desktop_systemd-j4-20221120-160007 too, will atatch the files
Comment 14 Toralf Förster gentoo-dev 2022-11-21 09:18:05 UTC
appeared recently at the tinderbox image 17.1_desktop_systemd-j4-20221120-160007
Comment 15 Toralf Förster gentoo-dev 2022-11-21 09:18:06 UTC
Created attachment 835391 [details]
emerge-info.txt
Comment 16 Toralf Förster gentoo-dev 2022-11-21 09:18:07 UTC
Created attachment 835393 [details]
emerge-history.txt
Comment 17 Toralf Förster gentoo-dev 2022-11-21 09:18:09 UTC
Created attachment 835395 [details]
environment
Comment 18 Toralf Förster gentoo-dev 2022-11-21 09:18:10 UTC
Created attachment 835397 [details]
etc.portage.tar.bz2
Comment 19 Toralf Förster gentoo-dev 2022-11-21 09:18:11 UTC
Created attachment 835399 [details]
logs.tar.bz2
Comment 20 Toralf Förster gentoo-dev 2022-11-21 09:18:12 UTC
Created attachment 835401 [details]
media-plugins:libvisual-plugins-0.4.0-r4:20221121-091206.log.bz2
Comment 21 Toralf Förster gentoo-dev 2022-11-21 09:18:14 UTC
Created attachment 835403 [details]
temp.tar.bz2
Comment 22 Sebastian Pipping gentoo-dev 2022-11-27 03:24:07 UTC
Toralf, you're right!
Comment 23 Toralf Förster gentoo-dev 2022-11-27 09:36:40 UTC
(In reply to Sebastian Pipping from comment #22)
> Toralf, you're right!

It's the tinderbox, not me ;)
Comment 24 Sebastian Pipping gentoo-dev 2022-11-30 00:42:34 UTC
*** Bug 860198 has been marked as a duplicate of this bug. ***
Comment 25 Larry the Git Cow gentoo-dev 2022-12-06 00:17:07 UTC
The bug has been closed via the following commit(s):

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

commit b0ec1ed1cd039b7833070ceaae8fc227d5a3a26d
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2022-12-06 00:09:40 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2022-12-06 00:15:48 +0000

    media-plugins/libvisual-plugins: 0.4.1 + EAPI 8
    
    Closes: https://bugs.gentoo.org/840514
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 media-plugins/libvisual-plugins/Manifest           |  1 +
 .../libvisual-plugins-0.4.1.ebuild                 | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)