Summary: | app-crypt/md5deep-4.4 - hash.cpp: error: ordered comparison of pointer with integer zero (const unsigned char* and int) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, sam, treecleaner |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/jessek/hashdeep/commit/6ef69a2 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
emerge-info.txt
app-crypt:md5deep-4.4:20210430-222254.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 Patch to fix compiling md5deep with gcc-11.1.0 |
Description
Toralf Förster
2021-05-01 08:58:06 UTC
Created attachment 704817 [details]
emerge-info.txt
Created attachment 704820 [details]
app-crypt:md5deep-4.4:20210430-222254.log
Created attachment 704823 [details]
emerge-history.txt
Created attachment 704826 [details]
environment
Created attachment 704829 [details]
etc.portage.tar.bz2
Created attachment 704832 [details]
logs.tar.bz2
Created attachment 704835 [details]
temp.tar.bz2
fixed in upstream with this commit https://github.com/jessek/hashdeep/commit/6ef69a26126ee4e69a25392fd456b8a66c51dffd Created attachment 706722 [details, diff]
Patch to fix compiling md5deep with gcc-11.1.0
Not a recent patch it would seem - 'committed on 15 Nov 2016'!
However, I've made a unified diff patch file (attached), in cas that's useful.
Compile-tested only.
(In reply to Yuriy Ilinykh from comment #8) > fixed in upstream with this commit > https://github.com/jessek/hashdeep/commit/ > 6ef69a26126ee4e69a25392fd456b8a66c51dffd This is a rather scary way of doing it and doesn't really make me want to trust the software. Maybe we should last-rite it instead? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dcf89790135c0f6424557c703d0308b6601be76 commit 5dcf89790135c0f6424557c703d0308b6601be76 Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-08-05 09:37:29 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-08-05 09:37:29 +0000 app-crypt/md5deep: update EAPI 6 -> 8 Closes: https://bugs.gentoo.org/787302 Signed-off-by: David Seifert <soap@gentoo.org> .../files/md5deep-4.4-pointer-comparison.patch | 11 +++++++++++ app-crypt/md5deep/md5deep-4.4.ebuild | 20 +++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) |