Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949264 - sys-fs/duperemove-0.15 - [texlive] [gcc-15] csum.c: fatal error: xxhash.h: No such file or directory
Summary: sys-fs/duperemove-0.15 - [texlive] [gcc-15] csum.c: fatal error: xxhash.h: No...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-03 17:47 UTC by Toralf Förster
Modified: 2025-02-22 20:47 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.77 KB, text/plain)
2025-02-03 17:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,51.66 KB, text/plain)
2025-02-03 17:47 UTC, Toralf Förster
Details
environment (environment,51.55 KB, text/plain)
2025-02-03 17:47 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2025-02-03 17:47 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.19 KB, application/x-xz)
2025-02-03 17:47 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.62 KB, application/x-xz)
2025-02-03 17:47 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,131.82 KB, text/plain)
2025-02-03 17:47 UTC, Toralf Förster
Details
sys-fs:duperemove-0.15:20250203-164225.log (sys-fs:duperemove-0.15:20250203-164225.log,3.82 KB, text/plain)
2025-02-03 17:47 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,12.39 KB, application/x-xz)
2025-02-03 17:47 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-03 17:47:05 UTC
too long lines were shrinked:

>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/duperemove-0.15/work/duperemove-0.15 ...
make -O -j4 VERSION=0.15 IS_RELEASE=1 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -Wall -std=c23 -MMD' 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -std=c23 -MMD -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"0.15\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid  -DIS_RELEAS
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -std=c23 -MMD -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"0.15\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid  -DIS_RELEAS
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -std=c23 -MMD -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"0.15\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid  -DIS_RELEAS
csum.c:26:10: fatal error: xxhash.h: No such file or directory
   26 | #include "xxhash.h"
      |          ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20250202-044002

  UNMASKED:

    
  <sys-devel/gcc-15.0.9999:15

    
  >=app-text/dvisvgm-2024
  >=app-text/ps2pkm-1.8_p20240311
  >=app-text/texlive-2024
  >=app-text/texlive-core-2024
  >=dev-libs/kpathsea-6.4.0
  >=dev-libs/ptexenc-1.4.6
  dev-python/latexrestricted
  >=dev-tex/biber-2.20
  >=dev-tex/biblatex-3.20
  >=dev-tex/bibtexu-3.72_p20240311
  >=dev-tex/glossaries-4.55
  dev-tex/latex2pydata
  >=dev-tex/latexmk-4.85
  >=dev-tex/minted-3.4.0
  >=dev-tex/tex4ht-20240311
  >=dev-texlive/texlive-basic-2024
  >=dev-texlive/texlive-bibtexextra-2024
  >=dev-texlive/texlive-binextra-2024
  >=dev-texlive/texlive-context-2024
  >=dev-texlive/texlive-fontsextra-2024
  >=dev-texlive/texlive-fontsrecommended-2024
  >=dev-texlive/texlive-fontutils-2024
  >=dev-texlive/texlive-formatsextra-2024
  >=dev-texlive/texlive-games-2024
  >=dev-texlive/texlive-humanities-2024
  >=dev-texlive/texlive-langarabic-2024
  >=dev-texlive/texlive-langchinese-2024
  >=dev-texlive/texlive-langcjk-2024
  >=dev-texlive/texlive-langcyrillic-2024
  >=dev-texlive/texlive-langczechslovak-2024
  >=dev-texlive/texlive-langenglish-2024
  >=dev-texlive/texlive-langeuropean-2024
  >=dev-texlive/texlive-langfrench-2024
  >=dev-texlive/texlive-langgerman-2024
  >=dev-texlive/texlive-langgreek-2024
  >=dev-texlive/texlive-langitalian-2024
  >=dev-texlive/texlive-langjapanese-2024
  >=dev-texlive/texlive-langkorean-2024
  >=dev-texlive/texlive-langother-2024
  >=dev-texlive/texlive-langpolish-2024
  >=dev-texlive/texlive-langportuguese-2024
  >=dev-texlive/texlive-langspanish-2024
  >=dev-texlive/texlive-latex-2024
  >=dev-texlive/texlive-latexextra-2024
  >=dev-texlive/texlive-latexrecommended-2024
  >=dev-texlive/texlive-luatex-2024
  >=dev-texlive/texlive-mathscience-2024
  >=dev-texlive/texlive-metapost-2024
  >=dev-texlive/texlive-music-2024
  >=dev-texlive/texlive-pictures-2024
  >=dev-texlive/texlive-plaingeneric-2024
  >=dev-texlive/texlive-pstricks-2024
  >=dev-texlive/texlive-publishers-2024
  >=dev-texlive/texlive-xetex-2024

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.8
go version go1.23.5 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.84.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit c02968752f4bfecf678927d3116b91be6c09ecb9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 3 15:18:24 2025 +0000

    2025-02-03 15:18:24 UTC

emerge -qpvO =sys-fs/duperemove-0.15
[ebuild  N    ] sys-fs/duperemove-0.15
Comment 1 Toralf Förster gentoo-dev 2025-02-03 17:47:06 UTC
Created attachment 918127 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-03 17:47:07 UTC
Created attachment 918128 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-02-03 17:47:08 UTC
Created attachment 918129 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-02-03 17:47:09 UTC
Created attachment 918130 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-02-03 17:47:10 UTC
Created attachment 918131 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-03 17:47:11 UTC
Created attachment 918132 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-03 17:47:12 UTC
Created attachment 918133 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-02-03 17:47:13 UTC
Created attachment 918134 [details]
sys-fs:duperemove-0.15:20250203-164225.log
Comment 9 Toralf Förster gentoo-dev 2025-02-03 17:47:14 UTC
Created attachment 918135 [details]
temp.tar.xz
Comment 10 tcl 2025-02-04 02:06:50 UTC
A workaround until the duperemove-0.15 ebuild is updated to include a DEPEND or BDEPEND on dev-libs/xxhash is to install dev-libs/xxhash by hand before building duperemove.  At first glance xxhash does not appear to be a runtime dependency (duperemove-0.15 is not linked against a shared xxhash library, and will run without xxhash, but I'm unsure if any functionality is missing without it).
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-05 01:25:42 UTC
(In reply to tcl from comment #10)
> A workaround until the duperemove-0.15 ebuild is updated to include a DEPEND
> or BDEPEND on dev-libs/xxhash is to install dev-libs/xxhash by hand before
> building duperemove.  At first glance xxhash does not appear to be a runtime
> dependency (duperemove-0.15 is not linked against a shared xxhash library,
> and will run without xxhash, but I'm unsure if any functionality is missing
> without it).

https://github.com/markfasheh/duperemove/blob/e78bbb59129006c538528a2eab553664c12fe275/csum.c#L25 so there's no runtime dep, just for the headers.
Comment 12 gen2dev 2025-02-22 20:16:13 UTC
duperemove-0.15 is stable for amd64 now per bug 950057, so everyone who doesn't already have xxhash installed is going to see the failure.
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-02-22 20:47:25 UTC
Sorry about the delay.
Comment 14 Larry the Git Cow gentoo-dev 2025-02-22 20:47:44 UTC
The bug has been closed via the following commit(s):

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

commit f800762936b520e4ef2359f9850405980ccac5f5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-02-22 20:47:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-02-22 20:47:41 +0000

    sys-fs/duperemove: Add missing DEPEND on dev-libs/xxhash
    
    Closes: https://bugs.gentoo.org/949264
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-fs/duperemove/duperemove-0.15.ebuild | 1 +
 1 file changed, 1 insertion(+)