Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949339 - sys-fs/duperemove-0.15: should depend on >=sys-devel/gcc-14 (needs -std=c23)
Summary: sys-fs/duperemove-0.15: should depend on >=sys-devel/gcc-14 (needs -std=c23)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Michał Górny
URL: https://github.com/markfasheh/duperem...
Whiteboard:
Keywords:
Depends on: 951060
Blocks:
  Show dependency tree
 
Reported: 2025-02-05 13:57 UTC by Vamp898
Modified: 2025-03-09 22:43 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vamp898 2025-02-05 13:57:42 UTC
sys-fs/duperemove-0.15 only builds with GCC >=14.0, otherwise you get this build error

x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-std=c23’; did you mean ‘-std=c2x’?

Also it needs the package dev-libs/xxhash otherwise you get the following build error

csum.c:26:10: fatal error: xxhash.h: No such file or directory

After choosing GCC 14 in eselect and installing dev-libs/xxhash, the package builds fine.

Reproducible: Always

Steps to Reproduce:
1. Try to build duperemove with GCC 13.x or without dev-libs/xxhash
Actual Results:  
Doesn't build

Expected Results:  
Should force you to select GCC 14.x and install dev-libs/xxhash
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-05 14:00:47 UTC
The xxhash bit is a dupe of bug 949264, but the GCC 14 part is a fair point.
Comment 2 Vamp898 2025-02-05 14:03:16 UTC
I searched for it but had a typo in the search and so did not find it, sorry for that. In that case, only the GCC part =)
Comment 3 Larry the Git Cow gentoo-dev 2025-03-03 09:35:31 UTC
The bug has been referenced in the following commit(s):

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

commit 1ab1496a0625e732f0f3f725387a739d5b6d3c01
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2025-03-03 09:35:21 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2025-03-03 09:35:21 +0000

    sys-fs/duperemove: avoid -std=c23 in CFLAGS
    
    Bug: https://bugs.gentoo.org/949339
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-fs/duperemove/duperemove-0.15.1.ebuild | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-09 22:43:23 UTC
commit dd7764b0aa590de2dc8d3533a8c3a3f1af39d8f9
Author: Michał Górny <mgorny@gentoo.org>
Date:   Sun Mar 2 03:36:55 2025 +0100

    sys-fs/duperemove: Bump to 0.15.1

    Signed-off-by: Michał Górny <mgorny@gentoo.org>

commit 1ab1496a0625e732f0f3f725387a739d5b6d3c01
Author: David Seifert <soap@gentoo.org>
Date:   Mon Mar 3 10:35:21 2025 +0100

    sys-fs/duperemove: avoid -std=c23 in CFLAGS

    Bug: https://bugs.gentoo.org/949339
    Signed-off-by: David Seifert <soap@gentoo.org>