Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 848765

Summary: games-action/polymc-1.3.1 - cc1plus: all warnings being treated as errors
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thiago <flowlnlnln>
Status: RESOLVED FIXED    
Severity: normal CC: andrewammerlaan, esigra, proxy-maint, swurl
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=847796
https://github.com/gentoo/gentoo/pull/25713
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
games-action:polymc-1.3.1:20220531-021212.log
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-05-31 08:33:59 UTC
too long lines were shrinked:

FAILED: libraries/hoedown/CMakeFiles/hoedown.dir/hoedown_autogen/mocs_compilation.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/games-action/polymc-1.3.1/work/PolyMC-1.3.1_build/libraries/hoedown -I/var/tmp/portage/games-action/polymc-1.3.1/work/PolyMC-1.3.1/libraries/hoedown -I/var/tmp/portage/games-action/polymc-1.3.1/work/PolyMC-1.3.1_build/libraries/hoedown/hoedown_aut
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
[5/492] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/var/tmp/portage/games-action/polymc-1.3.1/work/PolyMC-1.3.1_build/libraries/systeminfo -I/var/tmp/portage/games-action/polymc-1.3.1/work/PolyMC-1.3.1/libraries/systeminfo -I/var/tmp/portage/games-ac
FAILED: libraries/systeminfo/CMakeFiles/systeminfo.dir/systeminfo_autogen/mocs_compilation.cpp.o 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20220526-220126

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.4
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.61.0 *
GENTOO_VM=openjdk-bin-17  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-17.0.3_p7"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	OpenJDK 11.0.15_p10 [openjdk-11]
2)	OpenJDK 17.0.3_p7 [openjdk-17]
3)	OpenJDK 8.332_p09 [openjdk-8]
4)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 5772be5c0a62c0cf5dc2a0f8eac12e4130bec279
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue May 31 01:18:20 2022 +0000

    2022-05-31 01:18:20 UTC

emerge -qpvO games-action/polymc
[ebuild  N    ] games-action/polymc-1.3.1  USE="-debug -lto"
Comment 1 Toralf Förster gentoo-dev 2022-05-31 08:34:00 UTC
Created attachment 781604 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-31 08:34:02 UTC
Created attachment 781607 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-31 08:34:03 UTC
Created attachment 781610 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-31 08:34:04 UTC
Created attachment 781613 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-31 08:34:05 UTC
Created attachment 781616 [details]
games-action:polymc-1.3.1:20220531-021212.log
Comment 6 Toralf Förster gentoo-dev 2022-05-31 08:34:06 UTC
Created attachment 781619 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-31 08:34:07 UTC
Created attachment 781622 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-31 08:35:33 UTC
Same issue as bug 847796. See details there.
Comment 9 Larry the Git Cow gentoo-dev 2022-06-01 00:10:51 UTC
The bug has been closed via the following commit(s):

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

commit 69101d81e5b71f22cf39afe6cf3a01a2e670ca08
Author:     Thiago Donato Ferreira <flowlnlnln@gmail.com>
AuthorDate: 2022-05-31 23:47:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-01 00:10:41 +0000

    games-action/polymc: remove some troublesome compile flags
    
    Remove -Werror and -D_FORTIFY_SOURCE from the upstream CMakeLists, to
    prevent breakage with user-defined flags.
    
    Closes: https://bugs.gentoo.org/848765
    Signed-off-by: Thiago Donato Ferreira <flowlnlnln@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/25713
    Signed-off-by: Sam James <sam@gentoo.org>

 games-action/polymc/polymc-1.3.0.ebuild | 4 ++++
 games-action/polymc/polymc-1.3.1.ebuild | 4 ++++
 games-action/polymc/polymc-9999.ebuild  | 4 ++++
 3 files changed, 12 insertions(+)