Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807826 - app-admin/syslog-ng-3.33.2[mongodb]: depends on dev-libs/libbson
Summary: app-admin/syslog-ng-3.33.2[mongodb]: depends on dev-libs/libbson
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-12 07:19 UTC by Joonas Niilola
Modified: 2021-12-08 17:55 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 Joonas Niilola gentoo-dev 2021-08-12 07:19:51 UTC
Hey, 

looks like:
# cat /var/db/pkg/app-admin/syslog-ng-3.33.2/NEEDED | grep bson
/usr/lib64/syslog-ng/libafmongodb.so libsyslog-ng-3.33.so.0,libevtlog-3.33.so.0,libglib-2.0.so.0,libmongoc-1.0.so.0,libbson-1.0.so.0,libc.so.6

libbson is needed. However it's not keyworded on arm, or alpha (at least).

sys-devel/bison is then a BDEPEND I suspect.
Comment 1 Tomáš Mózes 2021-08-12 07:56:41 UTC
Hello Joonas, do you have USE="mongodb" enabled for syslog-ng? If so, we depend on mongo-c-driver and that one on libbson.
Comment 2 Joonas Niilola gentoo-dev 2021-08-12 08:06:32 UTC
Hey, 

indeed the lib dep seems to be related to 'mongodb' USE flag. I suggest you start a KEYWORDREQ bug against libbson and request a keyword on missing arches if it's ok for the maintainers, or we profile-mask syslog-ng[mongodb] on these arches.

You might also want to investigate if that's some upstream's automagic dep, as there hasn't seem to been bug reports from arm arch testers about it.

Let me know if you feel confused.
Comment 3 Tomáš Mózes 2021-08-12 18:17:10 UTC
We already have some masks in place:
arch/arm64/package.use.mask:app-admin/syslog-ng mongodb
arch/hppa/package.use.stable.mask:app-admin/syslog-ng mongodb
arch/powerpc/package.use.mask:app-admin/syslog-ng kafka mongodb

Seems like we need to extend the list.
Comment 4 Joonas Niilola gentoo-dev 2021-08-13 05:01:23 UTC
Nevertheless the libbson dep also needs to be added to syslog-ng's ebuild. 

I'd still suggest trying to keyword the required deps first, so we could unmask the USE flag on these arches if it works for them.
Comment 5 Larry the Git Cow gentoo-dev 2021-09-24 23:31:50 UTC
The bug has been referenced in the following commit(s):

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

commit ac9312e231eda754a425e4fc58ce552cb7f63a4c
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-09-24 22:26:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-24 23:31:09 +0000

    profiles/arch/alpha: mask syslog-ng[mongodb]
    
    Bug: https://bugs.gentoo.org/807826
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22393
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/alpha/package.use.mask | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

commit a4644d2c684c7ef2b4a1019c0316a2fa9329e7cd
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-09-24 22:25:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-24 23:31:08 +0000

    profiles/arch/arm: mask syslog-ng[mongodb]
    
    Bug: https://bugs.gentoo.org/807826
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/arm/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)

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

commit 49f43daddb2cd5bb790966f65bd8521391aa00f6
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-09-24 22:14:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-24 23:31:07 +0000

    app-admin/syslog-ng: bump to 3.34.1
    
    Bug: https://bugs.gentoo.org/807826
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/syslog-ng/Manifest                |   1 +
 app-admin/syslog-ng/syslog-ng-3.34.1.ebuild | 173 ++++++++++++++++++++++++++++
 2 files changed, 174 insertions(+)
Comment 6 Tomáš Mózes 2021-12-08 17:55:15 UTC
I believe this is fixed now, if not please reopen.