Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729910 - dev-libs/mimetic fails to compile (mmfile.cxx:60:14: error: ordered comparison between pointer and zero)
Summary: dev-libs/mimetic fails to compile (mmfile.cxx:60:14: error: ordered compariso...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jan Kundrát
URL: https://github.com/tat/mimetic/issues/5
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-06-27 14:19 UTC by Agostino Sarubbo
Modified: 2021-04-20 11:43 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,19.46 KB, text/plain)
2020-06-27 14:19 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,251 bytes, application/x-bzip-compressed-tar)
2020-06-27 14:19 UTC, Agostino Sarubbo
Details
Patch for mmap compile-time issue (001-mmap-fix.patch,424 bytes, patch)
2021-04-07 15:44 UTC, Daniel Sunnerer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-27 14:19:24 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: dev-libs/mimetic fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-27 14:19:31 UTC
Created attachment 646820 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-27 14:19:34 UTC
Created attachment 646822 [details]
other.tar.bz2

other logs
Comment 3 Daniel Sunnerer 2021-04-07 15:44:20 UTC
Created attachment 698253 [details, diff]
Patch for mmap compile-time issue

Attached a patch <001-mmap-fix.patch> as found in the GitHub issues of mimetic.
Comment 4 Larry the Git Cow gentoo-dev 2021-04-20 11:43:26 UTC
The bug has been closed via the following commit(s):

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

commit f206ad5a195c242092f603e6dfa2775564413b25
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2021-04-20 11:42:45 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2021-04-20 11:43:20 +0000

    dev-libs/mimetic: backport patch from upstream solving build failure
    
    Thanks-to: Daniel Sunnerer <d.sunnerer@vfemail.net>
    Closes: https://bugs.gentoo.org/729910
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Michael Palimaka <kensington@gentoo.org>

 .../mimetic/files/mimetic-0.9.8-build-mmap.patch   | 22 ++++++++++++++++++++++
 dev-libs/mimetic/mimetic-0.9.8.ebuild              |  5 ++++-
 2 files changed, 26 insertions(+), 1 deletion(-)