* Package: app-crypt/asedriveiiie-serial-3.5 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking asedriveiiie-serial-3.5.tar.bz2 to /var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/work >>> Source unpacked in /var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/work >>> Preparing source in /var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/work/asedriveiiie-serial-3.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/work/asedriveiiie-serial-3.5 ... ./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 >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/work/asedriveiiie-serial-3.5 ... make -j1 x86_64-gentoo-linux-musl-gcc -o libASESerial.so serial.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 -I/usr/include/PCSC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lpcsclite -shared In file included from serial.c:7: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from atr.c:1: Ase.h:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from DriverIO.c:1: Ase.h:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from CommandTypes.c:1: Ase.h:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from ReaderCommands.c:1: Ase.h:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short ReaderCommands.c:705:54: error: unknown type name ‘ushort’; did you mean ‘short’? 705 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short In file included from T1Protocol.c:1: Ase.h:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short T1Protocol.c: In function ‘T1InitProtocol’: T1Protocol.c:84:14: warning: unused variable ‘i’ [-Wunused-variable] 84 | int retVal, i; | ^ In file included from MemoryCards.c:1: Ase.h:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | 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:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | 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:244:61: error: unknown type name ‘ushort’; did you mean ‘short’? 244 | char cmdType, uchar command, ushort address, uchar len, | ^~~~~~ | short ifdhandler.c: In function ‘closeDriver’: ifdhandler.c:31:9: warning: variable ‘retVal’ set but not used [-Wunused-but-set-variable] 31 | int retVal, i, readerNum = (Lun & 0xFFFF0000) >> 16; | ^~~~~~ ifdhandler.c: In function ‘IFDHTransmitToICC’: ifdhandler.c:648:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 648 | if (RxLength) | ^~ ifdhandler.c:650:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 650 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c:750:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 750 | if (RxLength) | ^~ ifdhandler.c:752:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 752 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c: In function ‘IFDHControl’: ifdhandler.c:824:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 824 | if (RxLength) | ^~ ifdhandler.c:826:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 826 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c:838:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 838 | if (RxLength) | ^~ ifdhandler.c:840:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 840 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ ifdhandler.c:883:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 883 | if (RxLength) | ^~ ifdhandler.c:885:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 885 | return IFD_COMMUNICATION_ERROR; | ^~~~~~ make: *** [Makefile:13: libASESerial.so] Error 1 * ERROR: app-crypt/asedriveiiie-serial-3.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/asedriveiiie-serial-3.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/asedriveiiie-serial-3.5::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:asedriveiiie-serial-3.5:20200402-164211.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/work/asedriveiiie-serial-3.5' * S: '/var/tmp/portage/app-crypt/asedriveiiie-serial-3.5/work/asedriveiiie-serial-3.5'