Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 749789

Summary: net-wireless/aircrack-ng-1.6_p20200722.ebuild: automagic on dev-util/duma
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal CC: netmon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: aircrack-ng-1.6_p20200722.build.log.gz
emerge --info aircrack-ng

Description Andrew Savchenko gentoo-dev 2020-10-17 16:43:00 UTC
Created attachment 666245 [details]
aircrack-ng-1.6_p20200722.build.log.gz

Hi!

If dev-util/duma is installed, aircrack-ng unconditionally links to it:

checking for malloc in -lduma... yes
[...]
LIBS:                         -ldl -lm -lbsd -lduma
[...]
  Optional Libraries:
[...]
    DUMA:                        yes

This is not good, since duma double memory usage and has other run-time implications. It is good for debugging, but not for a daily use.

I suggest putting this dependency under USE="debug" or something similar.

Full build log and emerge --info follow.
Comment 1 Andrew Savchenko gentoo-dev 2020-10-17 16:44:47 UTC
Created attachment 666248 [details]
emerge --info aircrack-ng
Comment 2 Larry the Git Cow gentoo-dev 2023-04-24 21:05:11 UTC
The bug has been closed via the following commit(s):

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

commit 0e950816d6eadf74d127ec9ad5c44f4da061c77e
Author:     Rick Farina <zerochaos@gentoo.org>
AuthorDate: 2023-04-24 21:03:27 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2023-04-24 21:05:12 +0000

    net-wireless/aircrack-ng: bump python, qa
    
    Fix a few deps per qa scripts
    Closes: https://bugs.gentoo.org/749789
    Closes: https://bugs.gentoo.org/897160
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 .../{aircrack-ng-1.7.ebuild => aircrack-ng-1.7-r1.ebuild} | 13 ++++++++++---
 net-wireless/aircrack-ng/aircrack-ng-9999.ebuild          | 15 +++++++++++----
 2 files changed, 21 insertions(+), 7 deletions(-)
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2023-04-24 21:05:27 UTC
thanks for the report!