<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I am using Python 3.12. The exception (SSL certificate issue) error string is not showing up in stdout (below) or the configure.log (attached). Relying on the error string to just show up seems fragile.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">=============================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Trying to download<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <a href="https://web.cels.anl.gov/projects/petsc/download/externalpackages/f2cblaslapack-3.8.0.q2.tar.gz">
https://web.cels.anl.gov/projects/petsc/download/externalpackages/f2cblaslapack-3.8.0.q2.tar.gz</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> for F2CBLASLAPACK<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">=============================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">*********************************************************************************************<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">---------------------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Error during download/extract/detection of F2CBLASLAPACK:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Unable to download package F2CBLASLAPACK from:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <a href="https://web.cels.anl.gov/projects/petsc/download/externalpackages/f2cblaslapack-3.8.0.q2.tar.gz">
https://web.cels.anl.gov/projects/petsc/download/externalpackages/f2cblaslapack-3.8.0.q2.tar.gz</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> * If URL specified manually - perhaps there is a typo?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> * If your network is disconnected - please reconnect and rerun ./configure<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> * Or perhaps you have a firewall blocking the download<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> * You can run with --with-packages-download-dir=/adirectory and ./configure will instruct<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> you what packages to download manually<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> * or you can download the above URL manually, to<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> /yourselectedlocation/f2cblaslapack-3.8.0.q2.tar.gz<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> and use the configure option:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> --download-f2cblaslapack=/yourselectedlocation/f2cblaslapack-3.8.0.q2.tar.gz<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">*********************************************************************************************<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">Satish Balay <balay.anl@fastmail.org><br>
<b>Date: </b>Tuesday, January 14, 2025 at 8:51 AM<br>
<b>To: </b>Aagaard, Brad T <baagaard@usgs.gov><br>
<b>Cc: </b>petsc-users@mcs.anl.gov <petsc-users@mcs.anl.gov><br>
<b>Subject: </b>[EXTERNAL] Re: [petsc-users] configure: Include urlopen exception string in download failure message<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
<br>
This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.<br>
<br>
<br>
<br>
Last I visited this issue - its a python version issue. i.e newer versions [3.8+? 3.10+?] don't suppress this message - so it comes up in configure printed message.<br>
<br>
Perhaps you can verify if this true for the issue you are seeing.<br>
<br>
Satish<br>
<br>
On Tue, 14 Jan 2025, Aagaard, Brad T via petsc-users wrote:<br>
<br>
> The current implementation of Retrival.tarballRetrieve() does not capture the error string from an exception raised in a call to urlopen(). This makes it difficult to diagnose download failures. Can you add the error string from the exception to the download
failure message (maybe as an optional argument to getDownloadFailureMessage())? This is at lines 205-208 of config/BuildSystem/retrieval.py.<br>
><br>
> Thanks,<br>
> Brad<br>
><br>
><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>