Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841020 - sys-fs/xwmfs-0.90 - cc1plus: all warnings being treated as errors
Summary: sys-fs/xwmfs-0.90 - cc1plus: all warnings being treated as errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Gerstner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: werror gcc-12
  Show dependency tree
 
Reported: 2022-04-26 14:36 UTC by Toralf Förster
Modified: 2022-05-07 05:06 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.97 KB, text/plain)
2022-04-26 14:36 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,71.28 KB, application/x-bzip)
2022-04-26 14:36 UTC, Toralf Förster
Details
environment (environment,23.90 KB, text/plain)
2022-04-26 14:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.48 KB, application/x-bzip)
2022-04-26 14:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.58 KB, application/x-bzip)
2022-04-26 14:36 UTC, Toralf Förster
Details
sys-fs:xwmfs-0.90:20220426-141907.log (sys-fs:xwmfs-0.90:20220426-141907.log,6.71 KB, text/plain)
2022-04-26 14:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.54 KB, application/x-bzip)
2022-04-26 14:36 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-26 14:36:30 UTC
      |             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
common/Mutex.cxx:18:39: note: debug_attr’ declared here
   18 |                 ::pthread_mutexattr_t debug_attr;
      |                                       ^~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:613: common/Mutex.o] Error 1
make[2]: *** Waiting for unfinished jobs....

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] 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-bin-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit bbdfc53c02cb19e61b3983cecea210a66b644067
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 26 13:03:20 2022 +0000

    2022-04-26 13:03:19 UTC

emerge -qpvO sys-fs/xwmfs
[ebuild  N    ] sys-fs/xwmfs-0.90
Comment 1 Toralf Förster gentoo-dev 2022-04-26 14:36:31 UTC
Created attachment 774777 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-26 14:36:33 UTC
Created attachment 774780 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-26 14:36:34 UTC
Created attachment 774783 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-26 14:36:35 UTC
Created attachment 774786 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-26 14:36:36 UTC
Created attachment 774789 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-26 14:36:37 UTC
Created attachment 774792 [details]
sys-fs:xwmfs-0.90:20220426-141907.log
Comment 7 Toralf Förster gentoo-dev 2022-04-26 14:36:38 UTC
Created attachment 774795 [details]
temp.tar.bz2
Comment 8 Matthias Gerstner 2022-05-02 15:02:10 UTC
The emitted warning looks like a false positive.

Is there some simple way to install a gcc major version 12? Unmasking the ebuild didn't work, probably binutils haven't been the right match for it. Crossdev also failed to build it.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-02 15:11:21 UTC
(In reply to Matthias Gerstner from comment #8)
> The emitted warning looks like a false positive.
> 
> Is there some simple way to install a gcc major version 12? Unmasking the
> ebuild didn't work, probably binutils haven't been the right match for it.
> Crossdev also failed to build it.

package.accept_keywords should work fine, just don't pick the 9999s.

it looks like this is unconditionally using -Werror which we should strip too.
Comment 10 Matthias Gerstner 2022-05-04 18:14:54 UTC
The warning is a legit finding after all. Release 0.91 fixes the build and also removes -Werror from the default build. GitHub PR# just opened:

https://github.com/gentoo/gentoo/pull/25323
Comment 11 Larry the Git Cow gentoo-dev 2022-05-07 05:04:12 UTC
The bug has been closed via the following commit(s):

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

commit e9f6a7858d4611c556fb0c4b4d626fa9de3c361b
Author:     Matthias Gerstner <Matthias.Gerstner@nefkom.net>
AuthorDate: 2022-05-04 18:10:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-07 05:03:05 +0000

    sys-fs/xwmfs: removal of old version 0.90
    
    Closes: https://bugs.gentoo.org/841020
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Matthias Gerstner <matthias.gerstner@nefkom.net>
    Closes: https://github.com/gentoo/gentoo/pull/25323
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/xwmfs/Manifest          |  1 -
 sys-fs/xwmfs/xwmfs-0.90.ebuild | 27 ---------------------------
 2 files changed, 28 deletions(-)
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-07 05:06:05 UTC
Thanks!