Summary: | std::bad_alloc while building kf5-kxmlgui form Homebrew KDE | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kxmlgui | Reporter: | EC <edcoronado.17> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | erwan.delepinau, me, nate, rileyil77, yurii.kolesnykov |
Priority: | NOR | ||
Version: | 5.89.0 | ||
Target Milestone: | --- | ||
Platform: | Homebrew (macOS) | ||
OS: | macOS | ||
URL: | https://invent.kde.org/packaging/homebrew-kde/-/issues/37 | ||
Latest Commit: | Version Fixed In: | 9ed65a6a845091af6d7e07441b05be81b3ebf5f1 | |
Sentry Crash Report: | |||
Attachments: | Cmake logs |
Description
EC
2021-12-04 22:44:02 UTC
KDE does not maintain the brew packaging for our software; you'll want to contact the brew folks about it. Thanks! Nate, KDE *does* maintain brew packages. Some are upstream, but most are still provided by our own "tap" (think: repository). In this particular case, kf5-kxmlgui is provided by us. We do!? Wow, you learn something every day. Where do the files live? Looks like GitLab issue is being used for that, instead of Bugzilla. Can you re-file this at https://invent.kde.org/packaging/homebrew-kde/-/issues? Thanks! Thanks! Opened: https://invent.kde.org/packaging/homebrew-kde/-/issues/38 Actually, the same problem was already reported recently. My guess was that according to std::bad_alloc reference user has low space in /tmp, which is used to build Homebrew packages. But, the second report in a row for the same package is a sign that something broke upstream. We haven't any changes in this formula except usual version bumps from March. *** Bug 447738 has been marked as a duplicate of this bug. *** I reopened this ticket since it keeps being submitted. I have no idea why some users observe this issue, I can't reproduce it on either Intel or Apple Silicon Mac. Error message is: libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc /bin/sh: line 1: 55767 Abort trap: 6 /usr/local/bin/doxygen /tmp/kf5-kxmlgui-20211104-55601-1psrc3e/kxmlgui-5.87.0/build/src/KF5XmlGui_ECMQchDoxygen.config According to std::bad_alloc reference[1] there is some fail while allocating storage. [1]https://en.cppreference.com/w/cpp/memory/new/bad_alloc (In reply to Yurii Kolesnykov from comment #7) > Actually, the same problem was already reported recently. My guess was that > according to std::bad_alloc reference user has low space in /tmp, which is > used to build Homebrew packages. But, the second report in a row for the > same package is a sign that something broke upstream. We haven't any changes > in this formula except usual version bumps from March. (I am the person that opened https://bugs.kde.org/show_bug.cgi?id=447738) I just ran `brew cleanup` before retrying to run `brew install kf5-kio` and this time the kf5-kxmlgui dependency successfully built. So it may indeed be a problem with the Homebrew cache that doesn't have enough available space. *** Bug 447372 has been marked as a duplicate of this bug. *** Fixed by disabling BUILD_QCH in kf5-kxmlgui and those removing its doxygen build depenency, which seems to be the source of error. In this commit: https://invent.kde.org/packaging/homebrew-kde/-/commit/9ed65a6a845091af6d7e07441b05be81b3ebf5f1 |