Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847796 - dev-libs/metee-3.1.3 - cc1: all warnings being treated as errors
Summary: dev-libs/metee-3.1.3 - cc1: 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: Jan Henke
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2022-05-27 08:57 UTC by Toralf Förster
Modified: 2022-05-31 08:35 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.76 KB, text/plain)
2022-05-27 08:57 UTC, Toralf Förster
Details
dev-libs:metee-3.1.3:20220527-071020.log (dev-libs:metee-3.1.3:20220527-071020.log,7.33 KB, text/plain)
2022-05-27 08:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,111.57 KB, text/plain)
2022-05-27 08:57 UTC, Toralf Förster
Details
environment (environment,89.55 KB, text/plain)
2022-05-27 08:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.08 KB, application/x-bzip)
2022-05-27 08:57 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.83 KB, application/x-bzip)
2022-05-27 08:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.98 KB, application/x-bzip)
2022-05-27 08:57 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-05-27 08:57:50 UTC
too long lines were shrinked:

FAILED: CMakeFiles/metee.dir/src/linux/metee_linux.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DMETEE_DLL -DMETEE_DLL_EXPORT -DSYSLOG -D_GNU_SOURCE -Dmetee_EXPORTS -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/src/linux -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/include  -pipe -march=native -fno-diagnostics-color -O2 -fPIC -fvisibilit
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>: note: this is the location of the previous definition
cc1: all warnings being treated as errors
[2/4] /usr/bin/x86_64-pc-linux-gnu-gcc -DMETEE_DLL -DMETEE_DLL_EXPORT -DSYSLOG -D_GNU_SOURCE -Dmetee_EXPORTS -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/src/linux -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/include  -pipe -march=native -fno-diagnostics-color -O2 -fPIC -fvis
FAILED: CMakeFiles/metee.dir/src/linux/mei.c.o 

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.3
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 8a3b0d6353191ea45a6a9fabb1a8561c9d628f48
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 27 06:47:58 2022 +0000

    2022-05-27 06:47:57 UTC

emerge -qpvO dev-libs/metee
[ebuild  N    ] dev-libs/metee-3.1.3  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2022-05-27 08:57:51 UTC
Created attachment 781052 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-27 08:57:52 UTC
Created attachment 781055 [details]
dev-libs:metee-3.1.3:20220527-071020.log
Comment 3 Toralf Förster gentoo-dev 2022-05-27 08:57:54 UTC
Created attachment 781058 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-27 08:57:55 UTC
Created attachment 781061 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-27 08:57:56 UTC
Created attachment 781064 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-27 08:57:57 UTC
Created attachment 781067 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-27 08:57:58 UTC
Created attachment 781070 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 07:10:15 UTC
This package is forcing FORTIFY_SOURCE=2 which causes problems when trying to use 3 as the default, gentoos gcc always defaults to 2 when possible, so packages adding it is not necessary.

So, two issues:
1. Remove Werror
2. Remove adding FS=2
Comment 9 Larry the Git Cow gentoo-dev 2022-05-28 13:44:35 UTC
The bug has been closed via the following commit(s):

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

commit 2f5fc592397ed33276812a2cf20d98f070148d41
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-05-28 13:42:59 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-05-28 13:43:52 +0000

    dev-libs/metee: repect users cflags
    
    Closes: https://bugs.gentoo.org/847796
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-libs/metee/metee-3.1.3.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)