{"action":"created","issue":{"url":"https://api.github.com/repos/openssl/openssl/issues/625","repository_url":"https://api.github.com/repos/openssl/openssl","labels_url":"https://api.github.com/repos/openssl/openssl/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/625/comments","events_url":"https://api.github.com/repos/openssl/openssl/issues/625/events","html_url":"https://github.com/openssl/openssl/issues/625","id":131424462,"number":625,"title":"mingw after refactor-build: misc issues","user":{"login":"vszakats","id":1446897,"avatar_url":"https://avatars.githubusercontent.com/u/1446897?v=3","gravatar_id":"","url":"https://api.github.com/users/vszakats","html_url":"https://github.com/vszakats","followers_url":"https://api.github.com/users/vszakats/followers","following_url":"https://api.github.com/users/vszakats/following{/other_user}","gists_url":"https://api.github.com/users/vszakats/gists{/gist_id}","starred_url":"https://api.github.com/users/vszakats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vszakats/subscriptions","organizations_url":"https://api.github.com/users/vszakats/orgs","repos_url":"https://api.github.com/users/vszakats/repos","events_url":"https://api.github.com/users/vszakats/events{/privacy}","received_events_url":"https://api.github.com/users/vszakats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":311,"created_at":"2016-02-04T17:55:53Z","updated_at":"2016-02-16T20:30:17Z","closed_at":"2016-02-11T17:39:50Z","body":"Testing mingw after build refactor (https://github.com/levitte/openssl/tree/refactor-build), using configuration that worked for 1.1.0-pre1/2 and 1.0.2, an early abort is the result:\r\n\r\n```\r\nCan't locate Text/Template.pm in @INC (you may need to install the Text::Template module) (@INC contains: util util/../external/perl . /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/core_perl/parent.pm line 20.\r\nBEGIN failed--compilation aborted at util/dofile.pl line 45.\r\n```\r\n\r\nRef: https://ci.appveyor.com/project/vsz/harbour-deps/build/1.0.380#L797\r\n\r\nWhat needs to be done with Perl to get the required extra packages, under an AppVeyor environment?\r\n\r\n/cc @levitte"},"comment":{"url":"https://api.github.com/repos/openssl/openssl/issues/comments/184863866","html_url":"https://github.com/openssl/openssl/issues/625#issuecomment-184863866","issue_url":"https://api.github.com/repos/openssl/openssl/issues/625","id":184863866,"user":{"login":"sav-ix","id":3617101,"avatar_url":"https://avatars.githubusercontent.com/u/3617101?v=3","gravatar_id":"","url":"https://api.github.com/users/sav-ix","html_url":"https://github.com/sav-ix","followers_url":"https://api.github.com/users/sav-ix/followers","following_url":"https://api.github.com/users/sav-ix/following{/other_user}","gists_url":"https://api.github.com/users/sav-ix/gists{/gist_id}","starred_url":"https://api.github.com/users/sav-ix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sav-ix/subscriptions","organizations_url":"https://api.github.com/users/sav-ix/orgs","repos_url":"https://api.github.com/users/sav-ix/repos","events_url":"https://api.github.com/users/sav-ix/events{/privacy}","received_events_url":"https://api.github.com/users/sav-ix/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T20:30:17Z","updated_at":"2016-02-16T20:30:17Z","body":"> If... that I got everything right, that's make me happy.\r\n\r\nNot sure that second part of my report would make you happy too:\r\n\r\n```\r\nsh-4.3$ ./Configure --prefix=$PWD/GCC64r shared mingw64 --unified && make depend && make && make install\r\n[snip]\r\nmake[1]: Entering directory '/c/libOPENSSL-1.1.0-dev/src'\r\n/usr/bin/perl.exe ./util/mkrc.pl libcrypto-1.1-x64.dll | windres --target=pe-x86-64 -o rc.o\r\nLD_LIBRARY_PATH=: gcc -DDSO_WIN32 -DOPENSSL_THREADS -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR=/c/libOPENSSL-1.1.0-dev/src/GCC64r/ssl -DENGINESDIR=/c/libOPENSSL-1.1.0-dev/src/GCC64r/lib/engines -D_WINDLL -D_MT -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -m64 -Wall -O3 -static-libgcc -shared -Wl,--image-base,0x63000000 -Wl,-Bsymbolic -Wl,--out-implib,libcrypto.dll.a crypto.def rc.o -o ./libcrypto-1.1-x64.dll -Wl,--whole-archive ./libcrypto.a -Wl,--no-whole-archive -lws2_32 -lgdi32 -lcrypt32\r\nmake[1]: Leaving directory '/c/libOPENSSL-1.1.0-dev/src'\r\nrm -f apps/libcrypto-1_1-x64.dll\r\nrm -f test/libcrypto-1_1-x64.dll\r\ncp -p libcrypto-1_1-x64.dll apps/\r\ncp: cannot stat 'libcrypto-1_1-x64.dll': No such file or directory\r\nMakefile:690: recipe for target 'libcrypto.dll.a' failed\r\nmake: *** [libcrypto.dll.a] Error 1\r\n\r\nsh-4.3$ ./Configure --prefix=$PWD/GCC64r shared mingw64 && make depend && make && make install\r\n[snip]\r\nmake[2]: Entering directory '/c/libOPENSSL-1.1.0-dev/src'\r\nmake[3]: Entering directory '/c/libOPENSSL-1.1.0-dev/src'\r\nmake[4]: Entering directory '/c/libOPENSSL-1.1.0-dev/src'\r\n/usr/bin/perl.exe ./util/mkrc.pl libcrypto-1.1-x64.dll | windres --target=pe-x86-64 -o rc.o\r\nLD_LIBRARY_PATH=.: gcc -DDSO_WIN32 -DOPENSSL_THREADS -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR=\"/c/libOPENSSL-1.1.0-dev/src/GCC64r/ssl\" -DENGINESDIR=\"/c/libOPENSSL-1.1.0-dev/src/GCC64r/lib/engines\" -D_WINDLL -D_MT -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -m64 -Wall -O3 -static-libgcc -shared -Wl,--image-base,0x63000000 -Wl,-Bsymbolic -Wl,--out-implib,libcrypto.dll.a crypto.def rc.o -o ./libcrypto-1.1-x64.dll -Wl,--whole-archive ./libcrypto.a -Wl,--no-whole-archive -L. -lws2_32 -lgdi32 -lcrypt32\r\nmake[4]: Leaving directory '/c/libOPENSSL-1.1.0-dev/src'\r\ncp: cannot stat 'libcrypto-1_1-x64.dll': No such file or directory\r\nMakefile:336: recipe for target 'do_mingw-shared' failed\r\nmake[3]: *** [do_mingw-shared] Error 1\r\nmake[3]: Leaving directory '/c/libOPENSSL-1.1.0-dev/src'\r\nMakefile:305: recipe for target 'libcrypto.dll' failed\r\nmake[2]: *** [libcrypto.dll] Error 2\r\nmake[2]: Leaving directory '/c/libOPENSSL-1.1.0-dev/src'\r\nMakefile:102: recipe for target 'shared' failed\r\nmake[1]: *** [shared] Error 2\r\nmake[1]: Leaving directory '/c/libOPENSSL-1.1.0-dev/src/crypto'\r\nMakefile:287: recipe for target 'build_crypto' failed\r\nmake: *** [build_crypto] Error 1\r\n```\r\n\r\nSeems `make install` command looking for `libcrypto-1_1-x64.dll`, while in OpenSSL build directory exists `libcrypto-1.1-x64.dll`.\r\n"}}