Adam Borowski <kilob...@angband.pl> 于2019年12月23日周一 上午5:18写道: > > On Sun, Dec 22, 2019 at 10:33:02PM +0800, Yangfl wrote: > > Adam Borowski <kilob...@angband.pl> 于2019年12月16日周一 下午9:38写道: > > > > > > This time, it builds ok, but fails autopkgtests: > > > > > > autopkgtest [14:16:24]: test unittest.sh: [----------------------- > > > make: Entering directory '/tmp/autopkgtest.vLonTb/build.5od/src/ssl/test' > > > cc -I../../config -I../../ssl -I../../crypto -Wall -Wstrict-prototypes > > > -Wshadow -fPIC -g -c -o ssltest.o ssltest.c > > > cc -o ../.././_stage/ssltest ssltest.o -lpthread -L ../.././_stage > > > -laxtls > > > /usr/bin/ld: cannot open output file ../.././_stage/ssltest: No such file > > > or directory > > > > > Reuploaded. Build and test passed on salsa. > > Alas, still faisl for me, on two different machines: > > autopkgtest [22:11:50]: test unittest.sh: [----------------------- > make: Entering directory '/tmp/autopkgtest.Fa7C0w/build.H2E/src/ssl/test' > cc -I../../config -I../../ssl -I../../crypto -Wall -Wstrict-prototypes > -Wshadow -fPIC -g -c -o ssltest.o ssltest.c > cc -o ../.././_stage/ssltest ssltest.o -lpthread -L ../.././_stage -laxtls > make: Leaving directory '/tmp/autopkgtest.Fa7C0w/build.H2E/src/ssl/test' > make: Entering directory '/tmp/autopkgtest.Fa7C0w/build.H2E/src/samples' > make -C c > make[1]: Entering directory '/tmp/autopkgtest.Fa7C0w/build.H2E/src/samples/c' > cc -I../../config -I../../ssl -I../../crypto -Wall -Wstrict-prototypes > -Wshadow -fPIC -g -c -o axssl.o axssl.c > cc -o ../.././_stage/axssl axssl.o -L../.././_stage -laxtls > make[1]: Leaving directory '/tmp/autopkgtest.Fa7C0w/build.H2E/src/samples/c' > make: Leaving directory '/tmp/autopkgtest.Fa7C0w/build.H2E/src/samples' > All AES tests passed > All MD5 tests passed > All SHA1 tests passed > All SHA256 tests passed > All SHA384 tests passed > All SHA512 tests passed > All HMAC tests passed > All BIGINT tests passed > All RSA tests passed > invalid digest: 2a 86 48 ce 38 04 03 > Error: Invalid X509 ASN.1 file (Unsupported digest) > invalid digest: 2a 86 48 ce 3d 04 03 03 > Error: Invalid X509 ASN.1 file (Unsupported digest) > All Certificate tests passed > SSL basic test passed > SSL unblocked test passed > **** ALL TESTS PASSED **** > ############################# C SAMPLE ########################### > C Test passed > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Basic Constraints: critical, CA:TRUE, pathlen:10000 > Key Usage: critical, Digital Signature, Key Cert Sign, > CRL Sign > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 2048 > Sig Type: SHA1 > CONNECTED > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > -----BEGIN SSL SESSION PARAMETERS----- > b4dd745eb50c1c26cb9ecd263cb604b8b4de69c8b4078939fc3caf279c327738 > -----END SSL SESSION PARAMETERS----- > -----BEGIN SSL SESSION PARAMETERS----- > b4dd745eb50c1c26cb9ecd263cb604b8b4de69c8b4078939fc3caf279c327738 > -----END SSL SESSION PARAMETERS----- > -----BEGIN SSL SESSION PARAMETERS----- > b4dd745eb50c1c26cb9ecd263cb604b8b4de69c8b4078939fc3caf279c327738 > -----END SSL SESSION PARAMETERS----- > -----BEGIN SSL SESSION PARAMETERS----- > b4dd745eb50c1c26cb9ecd263cb604b8b4de69c8b4078939fc3caf279c327738 > -----END SSL SESSION PARAMETERS----- > -----BEGIN SSL SESSION PARAMETERS----- > b4dd745eb50c1c26cb9ecd263cb604b8b4de69c8b4078939fc3caf279c327738 > -----END SSL SESSION PARAMETERS----- > CIPHER is AES128-SHA256 > C Test passed > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Basic Constraints: critical, CA:TRUE, pathlen:10000 > Key Usage: critical, Digital Signature, Key Cert Sign, > CRL Sign > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 2048 > Sig Type: SHA1 > CONNECTED > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:28 2016 > Not After: Sun Sep 8 21:04:28 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > -----BEGIN SSL SESSION PARAMETERS----- > 23b0182fc302ccbea788b4cf1f322da2cb4fd43e0361a1a39819905f10f4dc41 > -----END SSL SESSION PARAMETERS----- > CIPHER is AES128-SHA256 > ### C tests complete > ########################## PERL SAMPLE ########################### > ACCEPT > CONNECTED > -----BEGIN SSL SESSION PARAMETERS----- > f256cd7a30e08e1d28219aba31dd0e7eac7b676742fe22669e3799b80cd9221c > -----END SSL SESSION PARAMETERS----- > CIPHER is -----BEGIN SSL SESSION PARAMETERS----- > AES128-SHA256f256cd7a30e08e1d28219aba31dd0e7eac7b676742fe22669e3799b80cd9221c > > -----END SSL SESSION PARAMETERS----- > CONNECTION CLOSED > ACCEPT > -----BEGIN SSL SESSION PARAMETERS----- > 3f7c4a107806a641f8d606cd9a42ba442352c70c355b0167dc2f27b375035f66 > -----END SSL SESSION PARAMETERS----- > CIPHER is AES128-SHA256 > -----BEGIN SSL SESSION PARAMETERS----- > 3f7c4a107806a641f8d606cd9a42ba442352c70c355b0167dc2f27b375035f66 > -----END SSL SESSION PARAMETERS----- > CONNECTION CLOSED > ACCEPT > -----BEGIN SSL SESSION PARAMETERS----- > -----BEGIN SSL SESSION PARAMETERS----- > 7c302bb49415f16df91d2b0382e2b8a355b17a3730d82d4e5615e495fa4db0d1 > -----END SSL SESSION PARAMETERS----- > 7c302bb49415f16df91d2b0382e2b8a355b17a3730d82d4e5615e495fa4db0d1 > -----END SSL SESSION PARAMETERS----- > CIPHER is AES128-SHA256 > CONNECTION CLOSED > ACCEPT > -----BEGIN SSL SESSION PARAMETERS----- > 49555cb5b62b93b4dfb326d898d0b84e2078aab3395760c886fa12c5e0ae0331-----BEGIN > SSL SESSION PARAMETERS----- > > -----END SSL SESSION PARAMETERS----- > CIPHER is 49555cb5b62b93b4dfb326d898d0b84e2078aab3395760c886fa12c5e0ae0331 > -----END SSL SESSION PARAMETERS----- > AES128-SHA256 > Common Name: localhost > -----BEGIN SSL SESSION PARAMETERS----- > 49555cb5b62b93b4dfb326d898d0b84e2078aab3395760c886fa12c5e0ae0331 > -----END SSL SESSION PARAMETERS----- > CIPHER is AES128-SHA256 > Perl Test passed > CONNECTION CLOSED > ACCEPT > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Basic Constraints: critical, CA:TRUE, pathlen:10000 > Key Usage: critical, Digital Signature, Key Cert Sign, > CRL Sign > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 2048 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > E: ABORT: Received TERM signal (requesting cleanup and shutdown) > ACCEPT > CONNECTED > -----BEGIN SSL SESSION PARAMETERS----- > ac824adf340fda193f32714431ea09f43e6ee14cc7d1b1861b2724da8712e1df > -----END SSL SESSION PARAMETERS----- > CIPHER is AES128-SHA256 > Common Name: localhost > -----BEGIN SSL SESSION PARAMETERS----- > ac824adf340fda193f32714431ea09f43e6ee14cc7d1b1861b2724da8712e1df > -----END SSL SESSION PARAMETERS----- > CIPHER is AES128-SHA256 > Perl Test passed > CONNECTION CLOSED > ACCEPT > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Basic Constraints: critical, CA:TRUE, pathlen:10000 > Key Usage: critical, Digital Signature, Key Cert Sign, > CRL Sign > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:27 2016 > Not After: Sun Sep 8 21:04:27 2030 > RSA bitsize: 2048 > Sig Type: SHA1 > === CERTIFICATE ISSUED TO === > Common Name (CN): localhost > Organization (O): axTLS Project > === CERTIFICATE ISSUED BY === > Common Name (CN): <Not Part Of Certificate> > Organization (O): axTLS Project Dodgy Certificate Authority > Not Before: Fri Dec 30 21:04:28 2016 > Not After: Sun Sep 8 21:04:28 2030 > RSA bitsize: 1024 > Sig Type: SHA1 > E: ABORT: Received TERM signal (requesting cleanup and shutdown) > ### Perl tests complete > ########################## LUA SAMPLE ########################### > /usr/bin/lua: ./axssl.lua:49: module 'bit' not found: > no field package.preload['bit'] > no file '/usr/local/share/lua/5.3/bit.lua' > no file '/usr/local/share/lua/5.3/bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.lua' > no file '/usr/local/lib/lua/5.3/bit/init.lua' > no file '/usr/share/lua/5.3/bit.lua' > no file '/usr/share/lua/5.3/bit/init.lua' > no file './bit.lua' > no file './bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.so' > no file '/usr/lib/x86_64-linux-gnu/lua/5.3/bit.so' > no file '/usr/lib/lua/5.3/bit.so' > no file '/usr/local/lib/lua/5.3/loadall.so' > no file './bit.so' > stack traceback: > [C]: in function 'require' > ./axssl.lua:49: in main chunk > [C]: in ? > /usr/bin/lua: ./axssl.lua:49: module 'bit' not found: > no field package.preload['bit'] > no file '/usr/local/share/lua/5.3/bit.lua' > no file '/usr/local/share/lua/5.3/bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.lua' > no file '/usr/local/lib/lua/5.3/bit/init.lua' > no file '/usr/share/lua/5.3/bit.lua' > no file '/usr/share/lua/5.3/bit/init.lua' > no file './bit.lua' > no file './bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.so' > no file '/usr/lib/x86_64-linux-gnu/lua/5.3/bit.so' > no file '/usr/lib/lua/5.3/bit.so' > no file '/usr/local/lib/lua/5.3/loadall.so' > no file './bit.so' > stack traceback: > [C]: in function 'require' > ./axssl.lua:49: in main chunk > [C]: in ? > autopkgtest [22:11:59]: test unittest.sh: -----------------------] > autopkgtest [22:12:00]: test unittest.sh: - - - - - - - - - - results - - - > - - - - - - - > unittest.sh FAIL non-zero exit status 1 > autopkgtest [22:12:00]: test unittest.sh: - - - - - - - - - - stderr - - - - > - - - - - - > /usr/bin/lua: ./axssl.lua:49: module 'bit' not found: > no field package.preload['bit'] > no file '/usr/local/share/lua/5.3/bit.lua' > no file '/usr/local/share/lua/5.3/bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.lua' > no file '/usr/local/lib/lua/5.3/bit/init.lua' > no file '/usr/share/lua/5.3/bit.lua' > no file '/usr/share/lua/5.3/bit/init.lua' > no file './bit.lua' > no file './bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.so' > no file '/usr/lib/x86_64-linux-gnu/lua/5.3/bit.so' > no file '/usr/lib/lua/5.3/bit.so' > no file '/usr/local/lib/lua/5.3/loadall.so' > no file './bit.so' > stack traceback: > [C]: in function 'require' > ./axssl.lua:49: in main chunk > [C]: in ? > /usr/bin/lua: ./axssl.lua:49: module 'bit' not found: > no field package.preload['bit'] > no file '/usr/local/share/lua/5.3/bit.lua' > no file '/usr/local/share/lua/5.3/bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.lua' > no file '/usr/local/lib/lua/5.3/bit/init.lua' > no file '/usr/share/lua/5.3/bit.lua' > no file '/usr/share/lua/5.3/bit/init.lua' > no file './bit.lua' > no file './bit/init.lua' > no file '/usr/local/lib/lua/5.3/bit.so' > no file '/usr/lib/x86_64-linux-gnu/lua/5.3/bit.so' > no file '/usr/lib/lua/5.3/bit.so' > no file '/usr/local/lib/lua/5.3/loadall.so' > no file './bit.so' > stack traceback: > [C]: in function 'require' > ./axssl.lua:49: in main chunk > [C]: in ? > autopkgtest [22:12:00]: @@@@@@@@@@@@@@@@@@@@ summary > unittest.sh FAIL non-zero exit status 1 > > > Meow! > -- > ⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol, > ⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month. > ⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake, > ⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.
Hmm clearly lua-bitop is lack of support for lua5.3. Have to remove the lua test part and hope everything will be fine...