Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884751 - media-libs/plotutils-2.6-r2 - gram.cc: error: conflicting declaration of C function char getenv()
Summary: media-libs/plotutils-2.6-r2 - gram.cc: error: conflicting declaration of C fu...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-07 19:36 UTC by Toralf Förster
Modified: 2022-12-07 19:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.61 KB, text/plain)
2022-12-07 19:36 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,82.83 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
environment (environment,76.89 KB, text/plain)
2022-12-07 19:36 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,705 bytes, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,47.71 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.51 KB, application/x-bzip)
2022-12-07 19:36 UTC, Toralf Förster
Details
media-libs:plotutils-2.6-r2:20221207-004256.log (media-libs:plotutils-2.6-r2:20221207-004256.log,105.34 KB, text/plain)
2022-12-07 19:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.59 KB, application/x-bzip)
2022-12-07 19: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-12-07 19:36:42 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include    -pipe -march=native -fno-diagnostics-color -O2 -c -o object.o object.cc
/bin/sh ../ylwrap gram.yy y.tab.c gram.cc y.tab.h `echo gram.cc | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output gram.output -- yacc -d 
updating gram.hh
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include    -pipe -march=native -fno-diagnostics-color -O2 -c -o plot.o plot.cc
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include    -pipe -march=native -fno-diagnostics-color -O2 -c -o fontlist.o fontlist.c
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include    -pipe -march=native -fno-diagnostics-color -O2 -c -o gram.o gram.cc
gram.cc:3462:8: error: conflicting declaration of C function char* getenv()
 3462 | char * getenv();
      |        ^~~~~~

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit b5752842c0de8b85dbb3ae9a5b65fa75d14ec0fe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 6 23:46:48 2022 +0000

    2022-12-06 23:46:48 UTC

emerge -qpvO media-libs/plotutils
[ebuild  N    ] media-libs/plotutils-2.6-r2  USE="X png"
Comment 1 Toralf Förster gentoo-dev 2022-12-07 19:36:43 UTC
Created attachment 840711 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-07 19:36:44 UTC
Created attachment 840713 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-12-07 19:36:46 UTC
Created attachment 840715 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-07 19:36:46 UTC
Created attachment 840717 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-07 19:36:48 UTC
Created attachment 840719 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-07 19:36:49 UTC
Created attachment 840721 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-07 19:36:50 UTC
Created attachment 840723 [details]
media-libs:plotutils-2.6-r2:20221207-004256.log
Comment 8 Toralf Förster gentoo-dev 2022-12-07 19:36:51 UTC
Created attachment 840725 [details]
temp.tar.bz2