This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: OpenSSL fails building with build.bat
Type: behavior Stage:
Components: Build, Windows Versions: Python 3.5
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: pitrou, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2015-01-08 11:20 by pitrou, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg233646 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2015-01-08 11:20
With "PCbuild\build.bat -d -e", OpenSSL fails building:

  nasm: fatal: unable to open input file `Z:\cpython\default\externals\openssl-
  1.0.1j\tmp32\aes-586.asm'

Detailed build log is:

"Z:\cpython\default\PCbuild\libeay.vcxproj" (default target) (32:3) ->
(BuildNasmFiles target) -> 
  Z:\cpython\default\PCbuild\openssl.props(61,5): error MSB3073: The command "setlocal [Z:\cpython\default\PCbuild\libeay.vcxproj]
Z:\cpython\default\PCbuild\openssl.props(61,5): error MSB3073: set PATH=%PATH%;Z:\cpython\default\externals\\nasm-2.11.06\ [Z:\cpython\default\PCbuild\libeay.vcxproj]
Z:\cpython\default\PCbuild\openssl.props(61,5): error MSB3073: nasm.exe -f win32 -o "Z:\cpython\default\externals\openssl-1.0.1j\tmp32\libeay\aes-586.obj" "Z:\cpython\default\externals\openssl-1.0.1j\tmp32\aes-586.asm"" exited with code 1. [Z:\cpython\default\PCbuild\libeay.vcxproj]

"Z:\cpython\default\PCbuild\pcbuild.proj" (Rebuild target) (1) ->
"Z:\cpython\default\PCbuild\_ssl.vcxproj" (Build target) (31:2) ->
"Z:\cpython\default\PCbuild\ssleay.vcxproj" (default target) (33:3) ->
(ClCompile target) -> 
  c1 : fatal error C1083: Cannot open source file: 'Z:\cpython\default\externals\openssl-1.0.1j\ssl\d1_both.c': No such file or directory [Z:\cpython\default\PCbuild\ssleay.vcxproj]

[etc.]


It seems there are problems with how the file paths are computed? Also, I have no file "aes-586.asm", how is it supposed to be generated?
msg233647 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2015-01-08 11:22
Z:\cpython\default>dir Z:\cpython\default\externals\openssl-1.0.1j\
 Volume in drive Z is antoine
 Volume Serial Number is 2FA8-F31C

 Directory of Z:\cpython\default\externals\openssl-1.0.1j

01/08/2015  11:59 AM    <DIR>          .
01/08/2015  12:10 PM    <DIR>          ..
01/08/2015  11:59 AM    <DIR>          tmp32
               0 File(s)              0 bytes
               3 Dir(s)  49,764,913,152 bytes free

Z:\cpython\default>dir Z:\cpython\default\externals\openssl-1.0.1j\tmp32
 Volume in drive Z is antoine
 Volume Serial Number is 2FA8-F31C

 Directory of Z:\cpython\default\externals\openssl-1.0.1j\tmp32

01/08/2015  11:59 AM    <DIR>          .
01/08/2015  11:59 AM    <DIR>          ..
01/08/2015  11:59 AM    <DIR>          ssleay
01/08/2015  12:17 PM    <DIR>          libeay
               0 File(s)              0 bytes
               4 Dir(s)  49,764,913,152 bytes free
msg233649 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2015-01-08 11:34
Hmm, probably the svn export had failed for some reason. I deleted the OpenSSL directory, re-ran get_externals.bat and then everything went fine.
History
Date User Action Args
2022-04-11 14:58:11adminsetgithub: 67379
2015-01-08 11:35:24pitrousetstatus: open -> closed
resolution: rejected
2015-01-08 11:34:54pitrousetmessages: + msg233649
2015-01-08 11:22:19pitrousetmessages: + msg233647
2015-01-08 11:20:38pitroucreate