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

Bug 937276

Summary: dev-libs/rocm-device-libs-6.1.2 - [icu-75.1] [gcc-15] ebuild uses colon (:) as a sed delimiter
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: CONFIRMED ---    
Severity: normal CC: lockalsash
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 685160    
Attachments: emerge-info.txt
dev-libs:rocm-device-libs-6.1.2:20240804-010802.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz

Description Toralf Förster gentoo-dev 2024-08-04 08:54:24 UTC
too long lines were shrinked:

    Run Build Command(s): /usr/bin/ninja -v cmTC_2f860
    [1/2] /usr/lib/llvm/18/bin/clang    -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16  -fno-color-diagnostics -MD -MT CMakeFiles/cmTC_2f860.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_2f860.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_2f860.dir/testCCompiler.c.o -c /var/tmp/p
    FAILED: CMakeFiles/cmTC_2f860.dir/testCCompiler.c.o 
    /usr/lib/llvm/18/bin/clang    -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16  -fno-color-diagnostics -MD -MT CMakeFiles/cmTC_2f860.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_2f860.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_2f860.dir/testCCompiler.c.o -c /var/tmp/portage
    clang: error: invalid integral value '32:25:16' in '-falign-functions=32:25:16'
    ninja: build stopped: subcommand failed.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240801-090532

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_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.2.8
php cli (if any):
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 5ece53b588f1efa54648a7b366960d3ab0f5997d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 3 23:49:05 2024 +0000

    2024-08-03 23:49:04 UTC

emerge -qpvO dev-libs/rocm-device-libs
[ebuild  N    ] dev-libs/rocm-device-libs-6.1.2  USE="-test" LLVM_SLOT="18"
Comment 1 Toralf Förster gentoo-dev 2024-08-04 08:54:25 UTC
Created attachment 898946 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-04 08:54:26 UTC
Created attachment 898947 [details]
dev-libs:rocm-device-libs-6.1.2:20240804-010802.log
Comment 3 Toralf Förster gentoo-dev 2024-08-04 08:54:28 UTC
Created attachment 898948 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-08-04 08:54:29 UTC
Created attachment 898949 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-04 08:54:30 UTC
Created attachment 898950 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-04 08:54:31 UTC
Created attachment 898951 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-04 08:54:33 UTC
Created attachment 898952 [details]
qlist-info.txt.xz
Comment 8 Sv. Lockal 2024-08-04 10:10:10 UTC
This is misdiagnosis, nothing is wrong with sed call, the actual error is

> invalid integral value '32:25:16' in '-falign-functions=32:25:16'

caused by non-compatible flags passed to non-gcc compiler.