On 04/18/2017 04:40 AM, Mojca Miklavec wrote: > Hello, > > I find it a bit annoying that I end up with all of the following > information after building wget: > >> ./src/wget --version > GNU Wget 1.19.1.25-92bf-dirty built on darwin10.8.0. > > -cares +digest -gpgme -https +ipv6 -iri +large-file -metalink -nls > -ntlm +opie -psl -ssl > > Wgetrc: > /usr/local/etc/wgetrc (system) > Compile: > /usr/bin/gcc -DHAVE_CONFIG_H > -DSYSTEM_WGETRC="/usr/local/etc/wgetrc" > -DLOCALEDIR="/usr/local/share/locale" -I. -I../../wget-from-git/src > -I../lib -I../../wget-from-git/lib > -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -DNDEBUG -arch ppc > -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 > Link: > /usr/bin/gcc -DNDEBUG -arch ppc -isysroot > /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch ppc > -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -isysroot > /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 ftp-opie.o > ../lib/libgnu.a -liconv > > In particular: why should the user be aware of the exact path where I > had wget stored on my hard drive (-I../../wget-from-git/src), of the > fact that I didn't configure in-place and why should the user bother > with so many environmental variables and the fact that the binary was > cross-compiled? > > Is there any way to remove all that information? > > > The first part is reasonable (even if I don't like the fact that the > exact OS version is hardcoded; after security updates the binary will > change only due to the increased minor version, so reproducibility is > lost): > > GNU Wget 1.19.1.25-92bf-dirty built on darwin10.8.0. > > -cares +digest -gpgme -https +ipv6 -iri +large-file -metalink -nls > -ntlm +opie -psl -ssl > > Wgetrc: > /usr/local/etc/wgetrc (system) > > but I would like to have a way to avoid storing so many details in the > second part.
This is basically not for the user but for us developers. If someone opens a bug report, (s)he should give us this output, so we can try to reproduce the problem with as less effort as possible. We don't want you to remove this information :-). The users of your package will address us (and not you) with problems. But you are free to privately keep a set of patches to remove this information (and maybe add your own, e.g. your email address for bug reports). Regards, Tim
signature.asc
Description: OpenPGP digital signature