Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668298 - net-wireless/unifi: drop dev-db/mongodb dep on x86
Summary: net-wireless/unifi: drop dev-db/mongodb dep on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 10:44 UTC by Tomáš Mózes
Modified: 2018-10-25 03:26 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2018-10-11 10:44:19 UTC
According to the support policy, MongoDB 3.2 is EOL since September 2018 and version 3.4 does not support x86 any more. Please remove support for dev-db/mongodb on x86 so we can drop the EOL MongoDB versions in Gentoo. Thank you.

https://www.mongodb.com/support-policy
https://docs.mongodb.com/manual/installation/#mongodb-supported-platforms
Comment 1 Conrad Kostecki gentoo-dev 2018-10-11 10:47:39 UTC
That would mean, x86 support needs to be dropped completly for net-wireless/unifi, since it needs dev-db/mongo
Comment 2 Tomáš Mózes 2018-10-11 10:57:48 UTC
Either we can:
- drop x86 for unifi
- write a conditional mongodb dependency only for amd64 and having a note for x86 that mongodb will have to be supplied some other way (on another box for example)
Comment 3 Conrad Kostecki gentoo-dev 2018-10-11 11:00:10 UTC
I would drop completly x86 in that case.
Lets see what Ben says.
Comment 4 Tomáš Mózes 2018-10-11 12:15:50 UTC
The second option is a bit more correct, because you can have unifi on x86 and mongodb elsewhere, but I'll leave it to you.
Comment 5 Ben Kohler gentoo-dev 2018-10-11 13:55:58 UTC
I'm leaning towards dropping x86 for a few reasons.

1) Upstream is only supporting & testing amd64 (& a bit of ARM) afaict.  They ship a handful of (non-vital) native libs and the targets are Linux/{aarch64,armv7,x86_64}, Windows/x86_64, and Mac/x86_64.

2) Beyond a simple first-startup in x86 chroot, I'm not testing x86.

3) While a remote monogodb is possible, it would require some modification of installed unifi files, and I don't have much motivation to build that & test that.

4) Keeping keywords for #3 would still probably justify p.mask on x86.  I think I'd rather just unkeyword and let any hypothetical adventurous x86 users allow it via p.a_k if they want.

Those are my initial thoughts, but I'm still open to discussion.
Comment 6 Tomáš Mózes 2018-10-11 14:06:05 UTC
Given the circumstances I'd vote for unifi dropping ~x86, but I'll leave the decision on you.
Comment 7 Conrad Kostecki gentoo-dev 2018-10-13 21:34:44 UTC
(In reply to Ben Kohler from comment #5)
> 3) While a remote monogodb is possible, it would require some modification
> of installed unifi files, and I don't have much motivation to build that &
> test that.

That's IMHO the main problem. UniFi does not support the configuration for using a remote mongodb. I also don't want so support such unofficial unsupported configuration.
Comment 8 Larry the Git Cow gentoo-dev 2018-10-24 18:50:49 UTC
The bug has been closed via the following commit(s):

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

commit 29431c2409a0a716f4251e48aa0876c8c7a622b4
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2018-10-24 18:50:21 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2018-10-24 18:50:21 +0000

    net-wireless/unifi: drop ~x86 keywords due to mongodb
    
    Closes: https://bugs.gentoo.org/668298
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-wireless/unifi/unifi-5.6.39-r1.ebuild | 4 ++--
 net-wireless/unifi/unifi-5.6.40.ebuild    | 4 ++--
 net-wireless/unifi/unifi-5.8.29.ebuild    | 4 ++--
 net-wireless/unifi/unifi-5.8.30.ebuild    | 4 ++--
 net-wireless/unifi/unifi-5.9.26.ebuild    | 4 ++--
 net-wireless/unifi/unifi-5.9.29.ebuild    | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)
Comment 9 Tomáš Mózes 2018-10-25 03:26:15 UTC
Thanks