Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50094 - [gnupg] gnugpg has been complied with the memstat debug flag

Attached to Project: Arch Linux
Opened by Michael Van Delft (xotc) - Tuesday, 19 July 2016, 09:01 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 20 July 2016, 13:18 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
It looks like gnupg has been complied with the memstat debug flag, this causes a lot of messy an unnecessary output.

Additional info:
* package version: 2.1.14-1

Steps to reproduce:
Running any gpg command from the terminal will result in a few lines of debug output.

$ gpg --sign test-file.txt
gpg: enabled debug flags: memstat
gpg: random usage: poolsize=600 mixed=0 polls=0/3 added=15/528
outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: secmem usage: 1344/32768 bytes in 2 blocks
$
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 20 July 2016, 13:18 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Tuesday, 19 July 2016, 12:49 GMT
As far as I can tell, this is a run time option, not a build time one. What is the output of `which gpg` and `pgrep -a gpg`?
Comment by Dave Reisner (falconindy) - Tuesday, 19 July 2016, 13:10 GMT
This could also be an alias/function or 'debug memstat' could be present in a gpg config file...
Comment by Doug Newgard (Scimmia) - Tuesday, 19 July 2016, 13:12 GMT
"which" will catch the alias/function case.
Comment by Dave Reisner (falconindy) - Tuesday, 19 July 2016, 13:13 GMT
No it will not...
Comment by Doug Newgard (Scimmia) - Tuesday, 19 July 2016, 13:15 GMT
Sorry, I guess that only works in zsh :(
Comment by Michael Van Delft (xotc) - Wednesday, 20 July 2016, 09:00 GMT
Your absolutely right, it is a run time flag not a compile time one. I'm very sorry about that, please mark this bug as closed.

It appears that it was my ~/.gnupg/gpg.conf file that had "debug-level basic" enabled. I'm not sure where it came from, this was on a fresh install and I'd never edited that file. I suspect it may have been one of the KDE tools (kgpg or kleopatra) I'll keep digging and see why that setting was there.

Loading...