Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937276 - dev-libs/rocm-device-libs-6.1.2 - [icu-75.1] [gcc-15] ebuild uses colon (:) as a sed delimiter
Summary: dev-libs/rocm-device-libs-6.1.2 - [icu-75.1] [gcc-15] ebuild uses colon (:) a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: colon-in-CFLAGS
  Show dependency tree
 
Reported: 2024-08-04 08:54 UTC by Toralf Förster
Modified: 2024-09-09 18:20 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.46 KB, text/plain)
2024-08-04 08:54 UTC, Toralf Förster
Details
dev-libs:rocm-device-libs-6.1.2:20240804-010802.log (dev-libs:rocm-device-libs-6.1.2:20240804-010802.log,5.58 KB, text/plain)
2024-08-04 08:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,207.86 KB, text/plain)
2024-08-04 08:54 UTC, Toralf Förster
Details
environment (environment,104.30 KB, text/plain)
2024-08-04 08:54 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-08-04 08:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,42.14 KB, application/x-xz)
2024-08-04 08:54 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,54.17 KB, application/x-xz)
2024-08-04 08:54 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 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.
Comment 9 Larry the Git Cow gentoo-dev 2024-09-09 18:20:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a45f02c1df2f828972c42210b298786bf122e6

commit 31a45f02c1df2f828972c42210b298786bf122e6
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-07-20 16:23:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-09 18:15:11 +0000

    dev-libs/rocm-device-libs: strip unsupported flags for potentially switched compiler
    
    Closes: https://bugs.gentoo.org/936099
    Closes: https://bugs.gentoo.org/937276
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/rocm-device-libs/rocm-device-libs-6.1.1.ebuild | 13 +++++++++----
 dev-libs/rocm-device-libs/rocm-device-libs-6.1.2.ebuild | 13 +++++++++----
 2 files changed, 18 insertions(+), 8 deletions(-)