Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919798 - dev-build/bazel-6.2.0 - [clang] external/.../mini_table.c: error: defining a type within _builtin_offsetof is a Clang extension [-Werror,-Wgnu-offsetof-extensi
Summary: dev-build/bazel-6.2.0 - [clang] external/.../mini_table.c: error: defining a ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 922374
  Show dependency tree
 
Reported: 2023-12-12 21:12 UTC by Toralf Förster
Modified: 2024-02-24 12:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.81 KB, text/plain)
2023-12-12 21:12 UTC, Toralf Förster
Details
dev-util:bazel-6.2.0:20231212-205607.log (dev-util:bazel-6.2.0:20231212-205607.log,131.84 KB, text/plain)
2023-12-12 21:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,219.26 KB, text/plain)
2023-12-12 21:12 UTC, Toralf Förster
Details
environment (environment,133.08 KB, text/plain)
2023-12-12 21:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-12 21:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.01 KB, application/x-xz)
2023-12-12 21:12 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,12.27 KB, application/x-xz)
2023-12-12 21:12 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,52.32 KB, application/x-xz)
2023-12-12 21:12 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 2023-12-12 21:12:41 UTC
too long lines were shrinked:

    LD_LIBRARY_PATH=/opt/openjdk-bin-11.0.20.1_p1/lib/:/opt/openjdk-bin-11.0.20.1_p1/lib/server/ \
    PATH=/var/tmp/portage/dev-util/bazel-6.2.0/temp/clang-wrappers:/opt/openjdk-bin-11.0.20.1_p1/bin:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16
    PWD=/proc/self/cwd \
  /var/tmp/portage/dev-util/bazel-6.2.0/temp/clang-wrappers/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-
# Configuration: d29cf4d6a39fe475ae79548870d8579c7aba1d9ab9074e95e8cf80f39b57db19
# Execution platform: //:default_host_platform
external/upb/upb/mini_table.c:634:14: error: defining a type within '__builtin_offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
  634 |   UPB_ASSERT(UPB_ALIGN_OF(upb_StringView) ==
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231210-041514

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
GENTOO_VM=openjdk-bin-11  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.20.1_p1"
JAVACFLAGS="-source 11 -target 11" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 289fe42643037d67065cf145125374545c60a15f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 12 19:33:50 2023 +0000

    2023-12-12 19:33:49 UTC

emerge -qpvO dev-util/bazel
[ebuild  N    ] dev-util/bazel-6.2.0  USE="-examples -tools"
Comment 1 Toralf Förster gentoo-dev 2023-12-12 21:12:42 UTC
Created attachment 878990 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-12 21:12:43 UTC
Created attachment 878991 [details]
dev-util:bazel-6.2.0:20231212-205607.log
Comment 3 Toralf Förster gentoo-dev 2023-12-12 21:12:44 UTC
Created attachment 878992 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-12 21:12:46 UTC
Created attachment 878993 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-12 21:12:47 UTC
Created attachment 878994 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-12 21:12:48 UTC
Created attachment 878995 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-12 21:12:49 UTC
Created attachment 878996 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-12 21:12:50 UTC
Created attachment 878997 [details]
qlist-info.txt.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-02-24 12:52:53 UTC
The bug has been closed via the following commit(s):

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

commit 937bb2fe50b5f938cca85d4a3b2ba55dbf71e617
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2024-02-24 12:50:14 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2024-02-24 12:50:14 +0000

    dev-build/bazel: treeclean
    
    Bug: https://bugs.gentoo.org/878501
    Closes: https://bugs.gentoo.org/906914
    Closes: https://bugs.gentoo.org/917689
    Closes: https://bugs.gentoo.org/918703
    Closes: https://bugs.gentoo.org/634046
    Closes: https://bugs.gentoo.org/652776
    Closes: https://bugs.gentoo.org/687538
    Closes: https://bugs.gentoo.org/747370
    Closes: https://bugs.gentoo.org/766243
    Closes: https://bugs.gentoo.org/790116
    Closes: https://bugs.gentoo.org/820179
    Closes: https://bugs.gentoo.org/820182
    Closes: https://bugs.gentoo.org/832935
    Closes: https://bugs.gentoo.org/837023
    Closes: https://bugs.gentoo.org/846464
    Closes: https://bugs.gentoo.org/858314
    Closes: https://bugs.gentoo.org/867292
    Closes: https://bugs.gentoo.org/872455
    Closes: https://bugs.gentoo.org/884477
    Closes: https://bugs.gentoo.org/895300
    Closes: https://bugs.gentoo.org/909434
    Closes: https://bugs.gentoo.org/917257
    Closes: https://bugs.gentoo.org/919798
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-build/bazel/Manifest                           |   7 --
 dev-build/bazel/bazel-3.7.2-r1.ebuild              | 117 ---------------------
 dev-build/bazel/bazel-4.2.2.ebuild                 | 100 ------------------
 dev-build/bazel/bazel-5.0.0.ebuild                 |  96 -----------------
 dev-build/bazel/bazel-5.1.1.ebuild                 |  96 -----------------
 dev-build/bazel/bazel-5.3.0.ebuild                 | 102 ------------------
 dev-build/bazel/bazel-6.2.0.ebuild                 | 102 ------------------
 dev-build/bazel/bazel-6.4.0.ebuild                 | 102 ------------------
 .../bazel-3.2.0-include-limits-for-gcc-11.patch    |  25 -----
 .../bazel-3.7.2-musl-temp-failure-retry.patch      |  34 ------
 .../files/bazel-4.2.2-absl_numeric_limits.patch    |  41 --------
 dev-build/bazel/metadata.xml                       |  20 ----
 profiles/package.mask                              |  15 ---
 profiles/updates/1Q-2024                           |   1 -
 14 files changed, 858 deletions(-)