<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Viktor,</p>
<p>I did try to change that hard-coded /tmp.</p>
<p><tt>make install</tt> now fails because of</p>
<p><tt>link
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so
->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so.1.1</tt><tt><br>
</tt><tt>install libcrypto.so ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so</tt><tt><br>
</tt><tt>install libcrypto.so.1.1 ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so</tt><tt><br>
</tt><tt>ar:
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so:
file format not recognized</tt><tt><br>
</tt><tt>ar:
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so.new:
file format not recognized</tt><tt><br>
</tt><tt>make: *** [install_dev] Error 1</tt><tt><br>
</tt></p>
<p>and I have<tt><br>
</tt></p>
<p><tt>$ perl configdata.pm -c<br>
<br>
Command line (with current working directory = .):<br>
<br>
/usr/bin/perl ./Configure linux-x86_64
--prefix=/rds/general/user/ta3616/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h<br>
<br>
Perl information:<br>
<br>
/usr/bin/perl<br>
5.16.3 for x86_64-linux-thread-multi<br>
<br>
</tt></p>
<p>It seems <a moz-do-not-send="true"
href="https://github.com/openssl/openssl/issues/6641">https://github.com/openssl/openssl/issues/6641</a>
was about the same issue. I found out that my Text::Template is
1.45. Maybe that's the problem<br>
</p>
<p><span style="color: rgb(36, 41, 46); font-family: -apple-system,
BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
sans-serif, "Apple Color Emoji", "Segoe UI
Emoji"; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">Thibaut<br>
</span></p>
<div class="moz-cite-prefix">On 28/10/2020 16:08, Viktor Dukhovni
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20201028150817.GK34643@straasha.imrryr.org">
<pre class="moz-quote-pre" wrap="">
*******************
This email originates from outside Imperial. Do not click on links and attachments unless you recognise the sender.
If you trust the sender, add them to your safe senders list <a class="moz-txt-link-freetext" href="https://spam.ic.ac.uk/SpamConsole/Senders.aspx">https://spam.ic.ac.uk/SpamConsole/Senders.aspx</a> to disable email stamping for this address.
*******************
On Wed, Oct 28, 2020 at 09:48:37AM +0100, Thibaut Appel wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I uncovered a potential issue affecting the installation of OpenSSL from
source, in the case the user is not allowed to write in the /tmp folder.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
This build environment was not anticipated by the build system, which
employs:
$ git grep -A10 /tmp/ar
unix-Makefile.tmpl: if [ -f "$$a" ]; then ( trap "rm -rf /tmp/ar.$$$$" INT 0; \
unix-Makefile.tmpl: mkdir /tmp/ar.$$$$; ( cd /tmp/ar.$$$$; \
unix-Makefile.tmpl- cp -f "$$a" "$$a.new"; \
unix-Makefile.tmpl- for so in `$(AR) t "$$a"`; do \
unix-Makefile.tmpl- $(AR) x "$$a" "$$so"; \
unix-Makefile.tmpl- chmod u+w "$$so"; \
unix-Makefile.tmpl- strip -X32_64 -e "$$so"; \
unix-Makefile.tmpl- $(AR) r "$$a.new" "$$so"; \
unix-Makefile.tmpl- done; \
unix-Makefile.tmpl- )); fi; \
unix-Makefile.tmpl- $(AR) r "$$a.new" "$$s1"; \
unix-Makefile.tmpl- mv -f "$$a.new" "$$a"; \
The hard-coded /tmp there is not essential, it could be replaced with
mkdir -p .tmp/ar.$$$$, or some other appropriate path.
</pre>
</blockquote>
</body>
</html>