Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518624 - net-analyzer/pmacct with >=dev-libs/mongo-c-driver-0.98.0 - configure: checking for mongo_connect in -lmongoc... no
Summary: net-analyzer/pmacct with >=dev-libs/mongo-c-driver-0.98.0 - configure: checki...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2014-07-30 22:45 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-07-22 06:07 UTC (History)
1 user (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 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-30 22:45:44 UTC
configure.in checks for some hard-coded library names and then gives up. Should be relatively easy to fix. Or notify upstream and have fix that ancient configure.in.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-05 16:42:08 UTC
I think I've got this fixed. Best to leave the bug open until the final 1.5.0 is out. I didn't find any run-time problems yet but I might have been doing it wrong.

Patch sent upstream.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-14 15:59:48 UTC
No, that didn't go in. Working on a new patch.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-15 09:53:24 UTC
pmacct already failed to compile against ~dev-libs/mongo-c-driver-0.7.1 but is also incompatible with >=dev-libs/mongo-c-driver-0.98.0. Patching isn't trivial.
Comment 4 Tomáš Mózes 2018-03-02 07:18:48 UTC
Hello, just tried dropping these ancient mongo-c-driver versions and found that pmacct still depends on <dev-libs/mongo-c-driver-0.98. Would it be possible to migrate to some newer version please?
Comment 5 Tomáš Mózes 2018-03-02 07:22:28 UTC
Latest 1.7.0 fails :(

checking whether to enable PostgreSQL support... no
checking whether to enable MongoDB support... yes
checking for MONGODB... no
checking default locations for libmongoc... not found
checking for mongo_connect in -lmongoc... no
configure: error: 
                        ERROR: missing MongoDB library (0.8 version). Refer to: https://github.com/mongodb/mongo-c-driver-legacy


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-analyzer/pmacct-1.7.0-r1/work/pmacct-1.7.0/config.log
 * ERROR: net-analyzer/pmacct-1.7.0-r1::local failed (configure phase):
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-02 07:38:40 UTC
(In reply to Tomáš Mózes from comment #5)
> Latest 1.7.0 fails :(

Yes, this is one of the side effects of drive-by feature development by third parties. pmacct developers included but never maintained the new feature.
Comment 7 Tomáš Mózes 2018-03-07 15:32:20 UTC
(In reply to Jeroen Roovers from comment #6)
> Yes, this is one of the side effects of drive-by feature development by
> third parties. pmacct developers included but never maintained the new
> feature.

https://github.com/pmacct/pmacct/issues/187#issuecomment-370160483

Seems like the maintainers will remove mongodb, maybe we should drop the mongodb USE flag?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-07 16:02:01 UTC
(In reply to Tomáš Mózes from comment #7)
> (In reply to Jeroen Roovers from comment #6)
> > Yes, this is one of the side effects of drive-by feature development by
> > third parties. pmacct developers included but never maintained the new
> > feature.
> 
> https://github.com/pmacct/pmacct/issues/187#issuecomment-370160483
> 
> Seems like the maintainers will remove mongodb,

That's not exactly how I read it. "Slowly phase out" it says.

> maybe we should drop the
> mongodb USE flag?

We might be interested to learn how they intend to slowly phase out mongodb support. Dropping it prematurely doesn't make sense.
Comment 9 Larry the Git Cow gentoo-dev 2020-07-22 06:07:53 UTC
The bug has been closed via the following commit(s):

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

commit e675b02c805b83f5226422ad79796490b7334fd4
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-07-22 05:33:11 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-07-22 06:07:48 +0000

    net-analyzer/pmacct: Version 1.7.5
    
    - Drop IUSE=mongodb
    
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Closes: https://bugs.gentoo.org/518624
    Closes: https://bugs.gentoo.org/664504
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/pmacct/Manifest            |  1 +
 net-analyzer/pmacct/pmacct-1.7.5.ebuild | 95 +++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)