Summary: | dev-db/mongodb-5.0.2 - gcc11 fix not needed anymore | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toei Rei <gbugs> |
Component: | Current packages | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
emerge --info |
Description
Toei Rei
2021-08-25 10:59:47 UTC
Patch was introduced in #768339 - 4.4.8 fails on it too. I don't see it present after https://github.com/mongodb/mongo/blob/r5.0.2/src/mongo/db/exec/plan_stats.h#L35 It works here on ~amd64: >>> Emerging (1 of 1) dev-db/mongodb-5.0.2::gentoo * mongodb-src-r5.0.2.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * Using python3.9 to build >>> Unpacking source... >>> Unpacking mongodb-src-r5.0.2.tar.gz to /var/tmp/portage/dev-db/mongodb-5.0.2/work >>> Source unpacked in /var/tmp/portage/dev-db/mongodb-5.0.2/work >>> Preparing source in /var/tmp/portage/dev-db/mongodb-5.0.2/work/mongodb-src-r5.0.2 ... * Applying mongodb-4.4.1-boost.patch ... [ ok ] * Applying mongodb-4.4.1-gcc11.patch ... patching file src/mongo/db/exec/plan_stats.h Hunk #1 succeeded at 33 with fuzz 1. [ ok ] * Applying mongodb-5.0.2-fix-scons.patch ... [ ok ] * Applying mongodb-5.0.2-no-compass.patch ... [ ok ] * Applying mongodb-5.0.2-skip-no-exceptions.patch ... [ ok ] * Applying mongodb-5.0.2-skip-reqs-check.patch ... [ ok ] * Applying mongodb-5.0.2-glibc-2.34.patch ... [ ok ] as of commit 91f3738437cb53a30c3e97fc1b9defe1ee537ab8 it was still in there. Back to the basics - can you compile it? If not, please attach the failing build log. Works great if I remove that gcc fix patch as it breaks stuff on my end. (In reply to Toei Rei from comment #5) > Works great if I remove that gcc fix patch as it breaks stuff on my end. Please attach the build log and $(emerge --info). Created attachment 736043 [details]
Build log
Created attachment 736045 [details]
emerge --info
repo is my local overlay I use; mongodb ebuild with the gcc11 patch dropped works
(In reply to Toei Rei from comment #7) > Created attachment 736043 [details] > Build log It's because you're applying your own patch: >patching file src/mongo/db/exec/plan_stats.h >Hunk #1 FAILED at 33. >1 out of 1 hunk FAILED -- saving rejects to file src/mongo/db/exec>/plan_stats.h.rej > [ !! ] > * ERROR: dev-db/mongodb-5.0.2::gentoo failed (prepare phase): > * patch -p1 failed with /etc/portage/patches/dev-db/mongodb/gcc11.patch ... which is now included in the ebuild (your log shows it being applied). omg. I totally forgot about that patch as I worked on a fix back then that I forgot; Never mind then. |