[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-GNUnet] --enable-logging=no is broken
From: |
Alessio Vanni |
Subject: |
[bug-GNUnet] --enable-logging=no is broken |
Date: |
Mon, 19 Aug 2019 15:46:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
The ARM service spams the log file with too many messages (to the point
of reaching more than 100MB of log messages in the worst case and using
a lot of CPU in the meanwhile), so I tried to disable logging
altogether.
To begin with, it doesn't compile: gnunet_common.h conditionally
declares `GNUNET_get_log_call_status' when `GNUNET_CULL_LOGGING' is not
defined; however, `get_nick_record' in gnunet-service-namestore.c
unconditionally calls it, leading to a compilation error. Additionally,
common_logging.c unconditionally defines it.
Removing the conditional from gnunet_common.h doesn't seem to work (or
maybe I did something wrong, but in any case it didn't compile), so I
also added the #if in `get_nick_record' around the call to the
incriminated function. Now the code compiles, but running gnunet-arm -s
refuses to work: it returns but no service is started (and since logging
is disabled no error message is printed...)
Output of gnunet-bugreport (with some bugs on its own...):
INFO: gnunet-bugreport 0.11.0
INFO:
INFO: Please submit the following
INFO: information with your bug report:
=========================================
INFO: OS : Linux
INFO: OS RELEASE : 4.20.6-gentoo
INFO: HARDWARE : x86_64
INFO: awk : Found
INFO: gcc : gcc (Gentoo 8.3.0-r1 p1.1) 8.3.0
INFO: cc : cc (Gentoo 8.3.0-r1 p1.1) 8.3.0
INFO: c++ : c++ (Gentoo 8.3.0-r1 p1.1) 8.3.0
awk: cmd. line:1: /GNU Make/{,$NF}
awk: cmd. line:1: ^ syntax error
INFO: gmake :
WARNING: make : Not Found
INFO: autoconf : 2.69
INFO: automake : 1.16.1
INFO: libtool : 2.4.6
INFO: libextractor : v1.8
INFO: GNUnet 0.8 : Not Found (good)
INFO: GNUnet 0.9 : Not Found (good)
INFO: GNUnet 0.10 : Not Found (good)
INFO: GNUnet 0.11 : 0.11.6
INFO: libgcrypt : 1.8.3
/usr/local/bin/gnunet-bugreport: line 245: type: mysql_config: not found
INFO: mysql : Not Found
/usr/local/bin/gnunet-bugreport: line 256: type: pkgconf: not found
INFO: pkgconf : Not Found
INFO: pkg-config : 0.29.2
INFO: glib2 : 2.58.3
INFO: gtk2+ : 2.24.32
INFO: gtk3+ : Not found
INFO: gtk4+ : Not found
/usr/local/bin/gnunet-bugreport: line 333: type: dpkg: not found
/usr/local/bin/gnunet-bugreport: line 344: type: rpm: not found
WARNING: GMP : Test not available
/usr/local/bin/gnunet-bugreport: line 356: type: dpkg: not found
/usr/local/bin/gnunet-bugreport: line 367: type: rpm: not found
INFO: libunistring : Test not available
/usr/local/bin/gnunet-bugreport: line 379: type: pkg_add: not found
INFO: GNU gettext : 0.19.8.1
INFO: libcurl : 7.65.0
awk: cmd. line:1: {print "$2}
awk: cmd. line:1: ^ unterminated string
awk: cmd. line:1: {print "$2}
awk: cmd. line:1: ^ syntax error
INFO: libgnurl :
INFO: libmicrohttpd : 96500
INFO: GNU GLPK : 4.63
INFO: GnuTLS : 3.6.7
=========================================
INFO: Bug report saved in ./my_gnunet_bugreport.log
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-GNUnet] --enable-logging=no is broken,
Alessio Vanni <=