too long lines were shrinked: QT_SELECT=qt5 lrelease -silent lang/qphotorec.zh_CN.ts -qm lang/qphotorec.zh_CN.qm /bin/mkdir -p lang QT_SELECT=qt5 lrelease -silent lang/qphotorec.zh_TW.ts -qm lang/qphotorec.zh_TW.qm x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ewf.o: in function `fewf_pread': ewf.c:(.text+0x15a): undefined reference to `libewf_handle_read_random' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ewf.o: in function `fewf_pwrite': ewf.c:(.text+0x3e4): undefined reference to `libewf_handle_write_random' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-20240313-084513 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 18.1.0 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.0 Python 3.11.8 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.76.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] *) Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.1 [2] php8.3 * go version go1.22.1 linux/amd64 HEAD of ::gentoo commit f4aa688dff452d52f5d9b22891deacb4485bc2b9 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Mar 14 23:20:53 2024 +0000 2024-03-14 23:20:53 UTC emerge -qpvO app-admin/testdisk [ebuild N ] app-admin/testdisk-7.2 USE="ewf gui reiserfs sudo zlib -jpeg -ntfs -static"
Created attachment 887685 [details] emerge-info.txt
Created attachment 887686 [details] app-admin:testdisk-7.2:20240315-053539.log.xz
Created attachment 887687 [details] emerge-history.txt
Created attachment 887688 [details] environment
Created attachment 887689 [details] etc.clang.tar.xz
Created attachment 887690 [details] etc.portage.tar.xz
Created attachment 887691 [details] logs.tar.xz
Created attachment 887692 [details] qlist-info.txt
Created attachment 887693 [details] temp.tar.xz
I guess app-forensics/libewf needs to be bumped if one wants to compile with ewf support.
I have hit this bug today (on stable).
Created attachment 889576 [details, diff] Patch This patch makes the program compile.
Confirmed, same bug. Compiles fine with USE="-ewf".
(In reply to Chris from comment #12) > Created attachment 889576 [details, diff] [details, diff] > Patch > > This patch makes the program compile. It also compiles here with your patch.
My guess would be that because nobody bumped libewf for 7 years now. Given testdisk is its only revdep, I suppose either somebody needs to take and bump libewf or we last rite it. That said, it looks like a proper autotools horror story.
(In reply to Chris from comment #12) > Created attachment 889576 [details, diff] [details, diff] > Patch > > This patch makes the program compile. Thx Chris!
There are some newer ebuilds in the pentoo-overlay: https://github.com/pentoo/pentoo-overlay/tree/master/app-forensics/libewf However, I didn't yet test if they work or fix the testdisk compilation failure.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6374850e9b965dd948b49e992cb8e960a641af commit ad6374850e9b965dd948b49e992cb8e960a641af Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-04-23 14:36:43 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-04-23 14:52:55 +0000 package.mask: Last rite app-forensics/libewf Bug: https://bugs.gentoo.org/927076 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/base/package.use.mask | 5 +++++ profiles/package.mask | 7 +++++++ 2 files changed, 12 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef3b135c8bf4713763db3e357c5c29f4667ff4d commit 2ef3b135c8bf4713763db3e357c5c29f4667ff4d Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2024-05-31 19:16:54 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2024-05-31 19:16:54 +0000 app-forensics/libewf: treeclean Closes: https://bugs.gentoo.org/927076 Bug: https://bugs.gentoo.org/854546 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> app-forensics/libewf/Manifest | 1 - .../libewf/files/libewf-20171104-openssl-3.patch | 27 --------- app-forensics/libewf/libewf-20171104-r2.ebuild | 66 ---------------------- app-forensics/libewf/metadata.xml | 13 ----- profiles/package.mask | 7 --- 5 files changed, 114 deletions(-)