GNU bug report logs -
#53319
[PATCH] gnu: Add n2n.
Previous Next
Reported by: 路辉 <luhux76 <at> gmail.com>
Date: Mon, 17 Jan 2022 14:48:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 53319 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Nicolas Goaziou schreef op vr 28-01-2022 om 11:10 [+0100]:
> > + (add-before 'configure 'fix-configure
> > + (lambda* (#:key inputs #:allow-other-keys)
> > + (substitute* "configure"
> > + (("/bin/sh") (which "sh"))))))
>
> Instead of using `which', you can use `search-input-file':
>
> (("/bin/sh") (search-input-file inputs "/bin/sh"))
'configure' is run during build, so for cross-compilation, a sh from
'native-inputs' shoud be used instead of 'inputs':
(("/bin/sh") (search-input-file (or native-inputs inputs) "/bin/sh"))
or simpler:
(("/bin/sh") (which "sh"))
Also, this package definition packages version 2.8. Why not package
the latest version instead? In the latest version, 'autogen.sh' does
not run "./configure" and hence 'move-configure' and 'fix-configure'
should not be necessary.
Also, looking at
<https://github.com/ntop/n2n/blob/472a9878f72299466ddbce2a232ea9e081159fa9/configure.seed#L94>,
it seems that n2n might not be bit-for-bit reproducible.
Greetings,
Maxime
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 63 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.