Please add qt5 flag to build it with qt5 instead of (or in addition to) qt4. Reproducible: Always
Do you have any evidence that testdisk can be built with Qt5?
Yes https://github.com/cgsecurity/testdisk/blob/d3dc03e2232cc8629345872757cd9d4d952c18de/INSTALL#L24
That's git master, and is not in any release yet. Latest release available and packaged in Gentoo is from 2015.
Good news nevertheless, but we need upstream to make a release.
(In reply to Andreas Sturmlechner from comment #4) > Good news nevertheless, but we need upstream to make a release. Upstream releases beta version 7.1 which supports build with qt5. https://www.cgsecurity.org/wiki/TestDisk_Download
Created attachment 524190 [details, diff] testdisk-7.1_pre20180317.ebuild.patch Adding Qt5-based snapshot ebuild, bumped to EAPI 6
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c581a15c5ea12c7160969b8ba7065e2c5bf463a2 commit c581a15c5ea12c7160969b8ba7065e2c5bf463a2 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-03-17 12:59:41 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-03-22 13:07:23 +0000 app-admin/testdisk: Add 7.1_pre20180322 Qt5-based snapshot Bug: https://bugs.gentoo.org/639974 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-admin/testdisk/Manifest | 1 + app-admin/testdisk/testdisk-7.1_pre20180322.ebuild | 89 ++++++++++++++++++++++ 2 files changed, 90 insertions(+)}
Go forth and test.
Created attachment 524952 [details] Build log It fails to build. See attached build log.
Please switch to a supported compiler.
Arches, please stabilise!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=374e3602b00a2f4cf3e511b1fab14a206a613725 commit 374e3602b00a2f4cf3e511b1fab14a206a613725 Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2018-04-21 23:03:20 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2018-04-21 23:03:20 +0000 app-admin/testdisk: amd64 stable wrt bug #639974 Bug: https://bugs.gentoo.org/639974 Package-Manager: Portage-2.3.31, Repoman-2.3.9 app-admin/testdisk/testdisk-7.1_pre20180322.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)}
x86 stable
dropped to ~ppc
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ecedda792b9f73ce6ff096dcde5a1732b84470f commit 6ecedda792b9f73ce6ff096dcde5a1732b84470f Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-04-26 06:23:54 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-04-26 15:36:13 +0000 app-admin/testdisk: Drop old Qt4-based Bug: https://bugs.gentoo.org/639974 Package-Manager: Portage-2.3.31, Repoman-2.3.9 app-admin/testdisk/Manifest | 1 - .../testdisk/files/testdisk-7.0-qtbindir.patch | 27 ------- app-admin/testdisk/testdisk-7.0-r3.ebuild | 83 ---------------------- 3 files changed, 111 deletions(-)}