Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884067 - dev-util/gnome-builder-43.4 - ../.../ide-config.c: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
Summary: dev-util/gnome-builder-43.4 - ../.../ide-config.c: error: declaration shadows...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-02 22:49 UTC by Toralf Förster
Modified: 2023-11-04 23:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.68 KB, text/plain)
2022-12-02 22:49 UTC, Toralf Förster
Details
dev-util:gnome-builder-43.4:20221202-203350.log.bz2 (dev-util:gnome-builder-43.4:20221202-203350.log.bz2,13.89 KB, application/x-bzip)
2022-12-02 22:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.83 KB, text/plain)
2022-12-02 22:49 UTC, Toralf Förster
Details
environment (environment,138.64 KB, text/plain)
2022-12-02 22:49 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,690 bytes, application/x-bzip)
2022-12-02 22:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.01 KB, application/x-bzip)
2022-12-02 22:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.03 KB, application/x-bzip)
2022-12-02 22:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,45.00 KB, application/x-bzip)
2022-12-02 22:50 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-02 22:49:52 UTC
too long lines were shrinked:

[248/1430] clang -Isrc/libide/foundry/libide-foundry-43.a.p -Isrc/libide/foundry -I../gnome-builder-43.4/src/libide/foundry -Isrc/libide/core -I../gnome-builder-43.4/src/libide/core -Isrc/libide/io -I../gnome-builder-43.4/src/libide/io -Isrc/libide/threading -I../gnome-builder-43.4/src/libide/thread
[249/1430] clang -Isrc/libide/foundry/libide-foundry-43.a.p -Isrc/libide/foundry -I../gnome-builder-43.4/src/libide/foundry -Isrc/libide/core -I../gnome-builder-43.4/src/libide/core -Isrc/libide/io -I../gnome-builder-43.4/src/libide/io -Isrc/libide/threading -I../gnome-builder-43.4/src/libide/thread
FAILED: src/libide/foundry/libide-foundry-43.a.p/ide-config.c.o 
clang -Isrc/libide/foundry/libide-foundry-43.a.p -Isrc/libide/foundry -I../gnome-builder-43.4/src/libide/foundry -Isrc/libide/core -I../gnome-builder-43.4/src/libide/core -Isrc/libide/io -I../gnome-builder-43.4/src/libide/io -Isrc/libide/threading -I../gnome-builder-43.4/src/libide/threading -Isrc/l
../gnome-builder-43.4/src/libide/foundry/ide-config.c:330:45: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
                        const char * const *environ)
                                            ^

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

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

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] 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 Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):

  HEAD of ::gentoo
commit 852f0d5f554c412c0138799645ee0ce35be3b429
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 2 19:16:48 2022 +0000

    2022-12-02 19:16:48 UTC

emerge -qpvO dev-util/gnome-builder
[ebuild  N    ] dev-util/gnome-builder-43.4  USE="d-spy git spell sysprof webkit -clang -doc -flatpak -gtk-doc -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-12-02 22:49:53 UTC
Created attachment 839163 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-02 22:49:54 UTC
Created attachment 839165 [details]
dev-util:gnome-builder-43.4:20221202-203350.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-12-02 22:49:55 UTC
Created attachment 839167 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-02 22:49:57 UTC
Created attachment 839169 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-02 22:49:57 UTC
Created attachment 839171 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-02 22:49:58 UTC
Created attachment 839173 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-02 22:49:59 UTC
Created attachment 839175 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-02 22:50:00 UTC
Created attachment 839177 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-11-04 23:03:40 UTC
The bug has been referenced in the following commit(s):

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

commit 06adafadabc4cdf801afeedede5be177f4845b52
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2023-11-04 22:54:03 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2023-11-04 23:03:08 +0000

    dev-util/gnome-builder: fix build with clang
    
    Bug: https://bugs.gentoo.org/884067
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 dev-util/gnome-builder/gnome-builder-44.2-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 10 Mart Raudsepp gentoo-dev 2023-11-04 23:05:13 UTC
Bug is intentionally left open to deal with it upstream