Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949623 - sys-devel/sparse-0.6.4-r2 - [meson] [glibc] [gcc-15] [ffmpeg] file collision with sys-devel/smatch-1.73
Summary: sys-devel/sparse-0.6.4-r2 - [meson] [glibc] [gcc-15] [ffmpeg] file collision ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-02-11 15:34 UTC by Toralf Förster
Modified: 2025-02-24 15:55 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.29 KB, text/plain)
2025-02-11 15:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,146.82 KB, text/plain)
2025-02-11 15:34 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.34 KB, application/x-xz)
2025-02-11 15:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.79 KB, application/x-xz)
2025-02-11 15:34 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.38 KB, application/x-xz)
2025-02-11 15:34 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,41.16 KB, application/x-xz)
2025-02-11 15:34 UTC, Toralf Förster
Details
sys-devel:sparse-0.6.4-r2:20250211-152519.log (sys-devel:sparse-0.6.4-r2:20250211-152519.log,26.79 KB, text/plain)
2025-02-11 15:34 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 2025-02-11 15:34:27 UTC
 * Press Ctrl-C to Stop
 * 
 * sys-devel/smatch-1.73:0::gentoo
 * 	/usr/bin/cgcc
 * 
 * Package 'sys-devel/sparse-0.6.4-r2' NOT merged due to file collisions.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20250209-062006

  UNMASKED:

    Requested by sam
  =media-video/ffmpeg-7*

    
  <sys-devel/gcc-15.0.9999:15

    Requested by dilfridge
  ~sys-libs/glibc-2.41

    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
llvm-config: 19.1.7
Python 3.12.9
go version go1.23.6 linux/amd64
Available Rust versions:
  [1]   rust-bin-1.84.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8e6b9ca1a62dfd4da7597516a878df7f940369ae
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 11 13:18:38 2025 +0000

    2025-02-11 13:18:38 UTC

emerge -qpvO =sys-devel/sparse-0.6.4-r2
[ebuild  N    ] sys-devel/sparse-0.6.4-r2  USE="xml -gtk (-llvm) -sqlite -test"
Comment 1 Toralf Förster gentoo-dev 2025-02-11 15:34:28 UTC
Created attachment 918765 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-11 15:34:29 UTC
Created attachment 918766 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-02-11 15:34:30 UTC
Created attachment 918767 [details]
etc.clang.tar.xz
Comment 4 Toralf Förster gentoo-dev 2025-02-11 15:34:31 UTC
Created attachment 918768 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-02-11 15:34:31 UTC
Created attachment 918769 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-11 15:34:32 UTC
Created attachment 918770 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-11 15:34:33 UTC
Created attachment 918771 [details]
sys-devel:sparse-0.6.4-r2:20250211-152519.log
Comment 8 NHO 2025-02-12 06:15:28 UTC
I'm not sure how to fix this.
According to 
https://repo.or.cz/smatch.git/blob/HEAD:/Documentation/smatch.rst
cgcc wrapper is the way for smatch to be run over whole programs
Comment 9 Larry the Git Cow gentoo-dev 2025-02-12 07:15:52 UTC
The bug has been closed via the following commit(s):

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

commit edd9a7318a41cb15f5cfca36525c8aa0e4c57933
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-12 06:29:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-12 07:15:22 +0000

    sys-devel/smatch: Do not install cgcc wrapper
    
    It belongs to sparse. Fixes file collision.
    
    Closes: https://bugs.gentoo.org/949623
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40542
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/smatch/{smatch-1.72-r1.ebuild => smatch-1.72-r2.ebuild} | 2 +-
 sys-devel/smatch/{smatch-1.73.ebuild => smatch-1.73-r1.ebuild}    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)