* Package: app-crypt/asekey-3.7 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking asekey-3.7.tar.bz2 to /var/tmp/portage/app-crypt/asekey-3.7/work >>> Source unpacked in /var/tmp/portage/app-crypt/asekey-3.7/work >>> Preparing source in /var/tmp/portage/app-crypt/asekey-3.7/work/asekey-3.7 ... * Applying asekey-3.7-bundle.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/asekey-3.7/work/asekey-3.7 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --with-udev-rules-dir=/lib/udev/rules.d >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/asekey-3.7/work/asekey-3.7 ... make -j1 x86_64-gentoo-linux-musl-gcc -o libASEKey.so usb.c atr.c DriverIO.c CommandTypes.c ReaderCommands.c T1Protocol.c MemoryCards.c InitCardParams.c ifdhandler.c -fPIC -D_REENTRANT -DIFDHANDLERv2 -Wall -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I/usr/include/PCSC -Wl,-O1 -Wl,--as-needed -lpcsclite -lusb -shared In file included from usb.c:14: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short usb.c: In function ‘Listener’: usb.c:204:12: warning: variable ‘retVal’ set but not used [-Wunused-but-set-variable] 204 | int k, retVal; | ^~~~~~ In file included from atr.c:1: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from DriverIO.c:1: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from CommandTypes.c:1: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from ReaderCommands.c:1: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short ReaderCommands.c:706:54: error: unknown type name ‘ushort’; did you mean ‘short’? 706 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from T1Protocol.c:1: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from MemoryCards.c:1: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short MemoryCards.c:108:47: error: unknown type name ‘ushort’; did you mean ‘short’? 108 | uchar cmdCode, ushort address, uchar len, | ^~~~~~ | short MemoryCards.c:126:48: error: unknown type name ‘ushort’; did you mean ‘short’? 126 | uchar cmdCode, ushort address, | ^~~~~~ | short MemoryCards.c:144:34: error: unknown type name ‘ushort’; did you mean ‘short’? 144 | ushort address, int len) { | ^~~~~~ | short MemoryCards.c:165:26: error: unknown type name ‘ushort’; did you mean ‘short’? 165 | ushort address, int len, uchar* outBuffer, int *outBufLen) { | ^~~~~~ | short MemoryCards.c:238:61: error: unknown type name ‘ushort’; did you mean ‘short’? 238 | static int _2BUSWriteData(reader* globalData, uchar socket, ushort address, | ^~~~~~ | short MemoryCards.c: In function ‘_2BUSVerifyPSC’: MemoryCards.c:308:14: warning: implicit declaration of function ‘_2BUSExecInCommand’ [-Wimplicit-function-declaration] 308 | retVal = _2BUSExecInCommand(globalData, socket, _2BUS_READ_SECURITY_MEM, 0, 4, errorCounter, &actual); | ^~~~~~~~~~~~~~~~~~ MemoryCards.c:336:14: warning: implicit declaration of function ‘_2BUSExecOutCommand’ [-Wimplicit-function-declaration] 336 | retVal = _2BUSExecOutCommand(globalData, socket, | ^~~~~~~~~~~~~~~~~~~ MemoryCards.c: At top level: MemoryCards.c:432:47: error: unknown type name ‘ushort’; did you mean ‘short’? 432 | uchar cmdCode, ushort address, uchar len, | ^~~~~~ | short MemoryCards.c:456:48: error: unknown type name ‘ushort’; did you mean ‘short’? 456 | uchar cmdCode, ushort address, | ^~~~~~ | short MemoryCards.c:475:26: error: unknown type name ‘ushort’; did you mean ‘short’? 475 | ushort address, int len, uchar* outBuffer, int *outBufLen) { | ^~~~~~ | short MemoryCards.c:554:61: error: unknown type name ‘ushort’; did you mean ‘short’? 554 | static int _3BUSWriteData(reader* globalData, uchar socket, ushort address, | ^~~~~~ | short MemoryCards.c: In function ‘_3BUSVerifyPSC’: MemoryCards.c:623:14: warning: implicit declaration of function ‘_3BUSExecInCommand’ [-Wimplicit-function-declaration] 623 | retVal = _3BUSExecInCommand(globalData, socket, MEM_CARD_MAIN_MEM_MODE, | ^~~~~~~~~~~~~~~~~~ MemoryCards.c:652:14: warning: implicit declaration of function ‘_3BUSExecOutCommand’ [-Wimplicit-function-declaration] 652 | retVal = _3BUSExecOutCommand(globalData, socket, | ^~~~~~~~~~~~~~~~~~~ MemoryCards.c: At top level: MemoryCards.c:750:45: error: unknown type name ‘ushort’; did you mean ‘short’? 750 | uchar cmdCode, ushort address, uchar len, | ^~~~~~ | short MemoryCards.c:768:46: error: unknown type name ‘ushort’; did you mean ‘short’? 768 | uchar cmdCode, ushort address, | ^~~~~~ | short MemoryCards.c:786:24: error: unknown type name ‘ushort’; did you mean ‘short’? 786 | ushort address, int len, uchar* outBuffer, int *outBufLen) { | ^~~~~~ | short MemoryCards.c:816:59: error: unknown type name ‘ushort’; did you mean ‘short’? 816 | static int I2CWriteData(reader* globalData, uchar socket, ushort address, | ^~~~~~ | short MemoryCards.c: In function ‘SendMemoryCommand’: MemoryCards.c:879:5: error: unknown type name ‘ushort’; did you mean ‘short’? 879 | ushort address; | ^~~~~~ | short MemoryCards.c:950:30: warning: implicit declaration of function ‘_2BUSReadData’ [-Wimplicit-function-declaration] 950 | retVal = _2BUSReadData(globalData, socket, address, | ^~~~~~~~~~~~~ MemoryCards.c:954:30: warning: implicit declaration of function ‘_3BUSReadData’ [-Wimplicit-function-declaration] 954 | retVal = _3BUSReadData(globalData, socket, address, | ^~~~~~~~~~~~~ MemoryCards.c:959:30: warning: implicit declaration of function ‘I2CReadData’ [-Wimplicit-function-declaration] 959 | retVal = I2CReadData(globalData, socket, address, | ^~~~~~~~~~~ MemoryCards.c:971:30: warning: implicit declaration of function ‘_2BUSWriteData’ [-Wimplicit-function-declaration] 971 | retVal = _2BUSWriteData(globalData, socket, address, inBuf + 5, inBuf[4], outBuffer, outBufLen); | ^~~~~~~~~~~~~~ MemoryCards.c:974:30: warning: implicit declaration of function ‘_3BUSWriteData’ [-Wimplicit-function-declaration] 974 | retVal = _3BUSWriteData(globalData, socket, address, inBuf + 5, inBuf[4], outBuffer, outBufLen); | ^~~~~~~~~~~~~~ MemoryCards.c:978:30: warning: implicit declaration of function ‘I2CWriteData’ [-Wimplicit-function-declaration] 978 | retVal = I2CWriteData(globalData, socket, address, inBuf + 5, inBuf[4], outBuffer, outBufLen); | ^~~~~~~~~~~~ In file included from InitCardParams.c:1: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short InitCardParams.c: In function ‘MatchReaderParams’: InitCardParams.c:52:9: warning: variable ‘F’ set but not used [-Wunused-but-set-variable] 52 | int F, D, WWT; | ^ In file included from ifdhandler.c:15: Ase.h:274:61: error: unknown type name ‘ushort’; did you mean ‘short’? 274 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short ifdhandler.c: In function ‘IFDHTransmitToICC’: ifdhandler.c:558:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 558 | if (RxLength) | ^~ ifdhandler.c:560:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 560 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c:661:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 661 | if (RxLength) | ^~ ifdhandler.c:663:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 663 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c: In function ‘IFDHControl’: ifdhandler.c:727:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 727 | if (RxLength) | ^~ ifdhandler.c:729:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 729 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c:741:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 741 | if (RxLength) | ^~ ifdhandler.c:743:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 743 | return IFD_ICC_NOT_PRESENT; //IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c:786:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 786 | if (RxLength) | ^~ ifdhandler.c:788:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 788 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ make: *** [Makefile:14: libASEKey.so] Error 1 * ERROR: app-crypt/asekey-3.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/asekey-3.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/asekey-3.7::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:asekey-3.7:20200324-151315.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/asekey-3.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/asekey-3.7/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/asekey-3.7/work/asekey-3.7' * S: '/var/tmp/portage/app-crypt/asekey-3.7/work/asekey-3.7'