<86>Jun 25 04:02:46 userdel[101394]: delete user 'rooter' <86>Jun 25 04:02:46 userdel[101394]: removed group 'rooter' owned by 'rooter' <86>Jun 25 04:02:46 userdel[101394]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 25 04:02:46 groupadd[101426]: group added to /etc/group: name=rooter, GID=1802 <86>Jun 25 04:02:46 groupadd[101426]: group added to /etc/gshadow: name=rooter <86>Jun 25 04:02:46 groupadd[101426]: new group: name=rooter, GID=1802 <86>Jun 25 04:02:47 useradd[101441]: new user: name=rooter, UID=1802, GID=1802, home=/root, shell=/bin/bash, from=none <86>Jun 25 04:02:47 userdel[101478]: delete user 'builder' <86>Jun 25 04:02:47 userdel[101478]: removed group 'builder' owned by 'builder' <86>Jun 25 04:02:47 userdel[101478]: removed shadow group 'builder' owned by 'builder' <86>Jun 25 04:02:47 groupadd[101508]: group added to /etc/group: name=builder, GID=1803 <86>Jun 25 04:02:47 groupadd[101508]: group added to /etc/gshadow: name=builder <86>Jun 25 04:02:47 groupadd[101508]: new group: name=builder, GID=1803 <86>Jun 25 04:02:47 useradd[101523]: new user: name=builder, UID=1803, GID=1803, home=/usr/src, shell=/bin/bash, from=none <13>Jun 25 04:02:48 rpmi: libusb-1.0.26-alt2 sisyphus+305525.100.1.1 1660924427 installed <13>Jun 25 04:02:48 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 25 04:02:48 rpmi: libstdc++13-devel-13.1.1-alt1 sisyphus+323337.100.1.1 1687259761 installed <13>Jun 25 04:02:49 rpmi: gcc13-c++-13.1.1-alt1 sisyphus+323337.100.1.1 1687259761 installed <13>Jun 25 04:02:49 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Jun 25 04:02:49 rpmi: libstdc++-devel-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Jun 25 04:02:49 rpmi: libusb-devel-1.0.26-alt2 sisyphus+305525.100.1.1 1660924427 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/RODOS3-1.3-alt2.nosrc.rpm (w1.gzdio) Installing RODOS3-1.3-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.71784 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf RODOS3-1.3 + echo 'Source #0 (RODOS3-1.3.tar):' Source #0 (RODOS3-1.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/RODOS3-1.3.tar + cd RODOS3-1.3 + /bin/chmod -c -Rf u+rwX,go-w . + make -j16 make: Entering directory '/usr/src/RPM/BUILD/RODOS3-1.3' gcc -c -O2 RODOS3.cpp In file included from RODOS3.h:5, from RODOS3.cpp:4: usb.h:13:19: error: expected ')' before 'VID' 13 | usb_t(uint16_t VID, uint16_t PID); // Напрямую через VID, PID | ~ ^~~~ | ) usb.h:19:5: error: 'uint32_t' does not name a type 19 | uint32_t Device_ID; // уникальный номер устройства | ^~~~~~~~ usb.h:7:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 6 | #include +++ |+#include 7 | //------------------------------------------------------------ usb.h:23:5: error: 'uint8_t' does not name a type 23 | uint8_t USB_BUFI [9]; // буфер приёма | ^~~~~~~ usb.h:23:5: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.h:24:5: error: 'uint8_t' does not name a type 24 | uint8_t USB_BUFO [9]; // буфер передачи | ^~~~~~~ usb.h:24:5: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.h:30:23: error: 'uint8_t' has not been declared 30 | bool USB_GET_PORT(uint8_t *PS); | ^~~~~~~ usb.h:31:23: error: 'uint8_t' has not been declared 31 | bool USB_SET_PORT(uint8_t PS); | ^~~~~~~ usb.h:32:25: error: 'uint8_t' has not been declared 32 | bool USB_GET_FAMILY(uint8_t *FAMILY); | ^~~~~~~ usb.h:33:24: error: 'uint16_t' has not been declared 33 | bool USB_GET_SOFTV(uint16_t *SV); | ^~~~~~~~ usb.h:34:21: error: 'uint32_t' has not been declared 34 | bool USB_GET_ID(uint32_t *ID); | ^~~~~~~~ usb.h:35:20: error: 'uint8_t' has not been declared 35 | bool USB_EE_RD(uint8_t ADR, uint8_t *DATA); | ^~~~~~~ usb.h:35:33: error: 'uint8_t' has not been declared 35 | bool USB_EE_RD(uint8_t ADR, uint8_t *DATA); | ^~~~~~~ usb.h:36:20: error: 'uint8_t' has not been declared 36 | bool USB_EE_WR(uint8_t ADR, uint8_t DATA); | ^~~~~~~ usb.h:36:33: error: 'uint8_t' has not been declared 36 | bool USB_EE_WR(uint8_t ADR, uint8_t DATA); | ^~~~~~~ usb.h:37:21: error: 'uint16_t' has not been declared 37 | bool USB_TIMERS(uint16_t S, uint8_t D); | ^~~~~~~~ usb.h:37:33: error: 'uint8_t' has not been declared 37 | bool USB_TIMERS(uint16_t S, uint8_t D); | ^~~~~~~ usb.h:42:5: error: 'uint32_t' does not name a type 42 | uint32_t Get_Device_ID (void); | ^~~~~~~~ usb.h:42:5: note: 'uint32_t' is defined in header ''; did you forget to '#include '? RODOS3.h: In constructor 'RODOS3_t::RODOS3_t(uint16_t, uint16_t)': RODOS3.h:11:59: error: no matching function for call to 'usb_t::usb_t(uint16_t&, uint16_t&)' 11 | RODOS3_t (uint16_t VID, uint16_t PID) : usb_t(VID, PID) {} | ^ usb.h:14:5: note: candidate: 'usb_t::usb_t(const char*)' 14 | usb_t(const char *hid_device_path); // Через hid_enumerate | ^~~~~ usb.h:14:5: note: candidate expects 1 argument, 2 provided usb.h:10:7: note: candidate: 'constexpr usb_t::usb_t(const usb_t&)' 10 | class usb_t | ^~~~~ usb.h:10:7: note: candidate expects 1 argument, 2 provided RODOS3.cpp: In member function 'bool RODOS3_t::STATE__READ(uint8_t*)': RODOS3.cpp:18:25: error: cannot convert 'uint8_t*' {aka 'unsigned char*'} to 'int*' 18 | return USB_GET_PORT(PS); | ^~ | | | uint8_t* {aka unsigned char*} usb.h:30:32: note: initializing argument 1 of 'bool usb_t::USB_GET_PORT(int*)' 30 | bool USB_GET_PORT(uint8_t *PS); | ~~~~~~~~~^~ make: *** [Makefile:10: RODOS3.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/RODOS3-1.3' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/RODOS3-1.3' gcc -I/usr/include/libusb-1.0 -I. -c -O2 hid-libusb.c make: Leaving directory '/usr/src/RPM/BUILD/RODOS3-1.3' make: Entering directory '/usr/src/RPM/BUILD/RODOS3-1.3' gcc -c -O2 usb.cpp In file included from usb.cpp:1: usb.h:13:19: error: expected ')' before 'VID' 13 | usb_t(uint16_t VID, uint16_t PID); // Напрямую через VID, PID | ~ ^~~~ | ) usb.h:19:5: error: 'uint32_t' does not name a type 19 | uint32_t Device_ID; // уникальный номер устройства | ^~~~~~~~ usb.h:7:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 6 | #include +++ |+#include 7 | //------------------------------------------------------------ usb.h:23:5: error: 'uint8_t' does not name a type 23 | uint8_t USB_BUFI [9]; // буфер приёма | ^~~~~~~ usb.h:23:5: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.h:24:5: error: 'uint8_t' does not name a type 24 | uint8_t USB_BUFO [9]; // буфер передачи | ^~~~~~~ usb.h:24:5: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.h:30:23: error: 'uint8_t' has not been declared 30 | bool USB_GET_PORT(uint8_t *PS); | ^~~~~~~ usb.h:31:23: error: 'uint8_t' has not been declared 31 | bool USB_SET_PORT(uint8_t PS); | ^~~~~~~ usb.h:32:25: error: 'uint8_t' has not been declared 32 | bool USB_GET_FAMILY(uint8_t *FAMILY); | ^~~~~~~ usb.h:33:24: error: 'uint16_t' has not been declared 33 | bool USB_GET_SOFTV(uint16_t *SV); | ^~~~~~~~ usb.h:34:21: error: 'uint32_t' has not been declared 34 | bool USB_GET_ID(uint32_t *ID); | ^~~~~~~~ usb.h:35:20: error: 'uint8_t' has not been declared 35 | bool USB_EE_RD(uint8_t ADR, uint8_t *DATA); | ^~~~~~~ usb.h:35:33: error: 'uint8_t' has not been declared 35 | bool USB_EE_RD(uint8_t ADR, uint8_t *DATA); | ^~~~~~~ usb.h:36:20: error: 'uint8_t' has not been declared 36 | bool USB_EE_WR(uint8_t ADR, uint8_t DATA); | ^~~~~~~ usb.h:36:33: error: 'uint8_t' has not been declared 36 | bool USB_EE_WR(uint8_t ADR, uint8_t DATA); | ^~~~~~~ usb.h:37:21: error: 'uint16_t' has not been declared 37 | bool USB_TIMERS(uint16_t S, uint8_t D); | ^~~~~~~~ usb.h:37:33: error: 'uint8_t' has not been declared 37 | bool USB_TIMERS(uint16_t S, uint8_t D); | ^~~~~~~ usb.h:42:5: error: 'uint32_t' does not name a type 42 | uint32_t Get_Device_ID (void); | ^~~~~~~~ usb.h:42:5: note: 'uint32_t' is defined in header ''; did you forget to '#include '? usb.cpp:5:13: error: expected constructor, destructor, or type conversion before '(' token 5 | usb_t::usb_t(uint16_t VID, uint16_t PID) | ^ usb.cpp: In constructor 'usb_t::usb_t(const char*)': usb.cpp:21:21: error: 'Device_ID' was not declared in this scope 21 | USB_GET_ID(&Device_ID); | ^~~~~~~~~ usb.cpp: In member function 'void usb_t::USB_BUF_CLEAR()': usb.cpp:41:31: error: 'USB_BUFI' was not declared in this scope 41 | for (int i=0; i<9; i++) { USB_BUFI[i]=0; USB_BUFO[i]=0; } | ^~~~~~~~ usb.cpp:41:46: error: 'USB_BUFO' was not declared in this scope 41 | for (int i=0; i<9; i++) { USB_BUFI[i]=0; USB_BUFO[i]=0; } | ^~~~~~~~ usb.cpp: In member function 'bool usb_t::USB_GET_FEATURE()': usb.cpp:46:11: error: 'uint8_t' was not declared in this scope 46 | for ( uint8_t TryCount = 3; TryCount > 0; TryCount-- ) | ^~~~~~~ usb.cpp:4:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 3 | #include +++ |+#include 4 | //------------------------------------------------------------ usb.cpp:46:33: error: 'TryCount' was not declared in this scope 46 | for ( uint8_t TryCount = 3; TryCount > 0; TryCount-- ) | ^~~~~~~~ usb.cpp:49:50: error: 'USB_BUFI' was not declared in this scope 49 | if (hid_get_feature_report(handle, USB_BUFI, 9) != -1) { return true; } | ^~~~~~~~ usb.cpp: In member function 'bool usb_t::USB_SET_FEATURE()': usb.cpp:58:43: error: 'USB_BUFO' was not declared in this scope 58 | try { hid_send_feature_report(handle, USB_BUFO, 9); } | ^~~~~~~~ usb.cpp: At global scope: usb.cpp:63:6: error: 'bool usb_t::USB_GET_PORT' is not a static data member of 'class usb_t' 63 | bool usb_t::USB_GET_PORT(uint8_t *PS) | ^~~~~ usb.cpp:63:26: error: 'uint8_t' was not declared in this scope 63 | bool usb_t::USB_GET_PORT(uint8_t *PS) | ^~~~~~~ usb.cpp:63:26: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.cpp:63:35: error: 'PS' was not declared in this scope 63 | bool usb_t::USB_GET_PORT(uint8_t *PS) | ^~ usb.cpp:78:6: error: 'bool usb_t::USB_SET_PORT' is not a static data member of 'class usb_t' 78 | bool usb_t::USB_SET_PORT(uint8_t PS) | ^~~~~ usb.cpp:78:26: error: 'uint8_t' was not declared in this scope 78 | bool usb_t::USB_SET_PORT(uint8_t PS) | ^~~~~~~ usb.cpp:78:26: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.cpp:95:6: error: 'bool usb_t::USB_GET_FAMILY' is not a static data member of 'class usb_t' 95 | bool usb_t::USB_GET_FAMILY(uint8_t *FAMILY) | ^~~~~ usb.cpp:95:28: error: 'uint8_t' was not declared in this scope 95 | bool usb_t::USB_GET_FAMILY(uint8_t *FAMILY) | ^~~~~~~ usb.cpp:95:28: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.cpp:95:37: error: 'FAMILY' was not declared in this scope 95 | bool usb_t::USB_GET_FAMILY(uint8_t *FAMILY) | ^~~~~~ usb.cpp:110:6: error: 'bool usb_t::USB_GET_SOFTV' is not a static data member of 'class usb_t' 110 | bool usb_t::USB_GET_SOFTV(uint16_t *SV) | ^~~~~ usb.cpp:110:27: error: 'uint16_t' was not declared in this scope 110 | bool usb_t::USB_GET_SOFTV(uint16_t *SV) | ^~~~~~~~ usb.cpp:110:27: note: 'uint16_t' is defined in header ''; did you forget to '#include '? usb.cpp:110:37: error: 'SV' was not declared in this scope 110 | bool usb_t::USB_GET_SOFTV(uint16_t *SV) | ^~ usb.cpp:125:6: error: 'bool usb_t::USB_GET_ID' is not a static data member of 'class usb_t' 125 | bool usb_t::USB_GET_ID(uint32_t *ID) | ^~~~~ usb.cpp:125:24: error: 'uint32_t' was not declared in this scope 125 | bool usb_t::USB_GET_ID(uint32_t *ID) | ^~~~~~~~ usb.cpp:125:24: note: 'uint32_t' is defined in header ''; did you forget to '#include '? usb.cpp:125:34: error: 'ID' was not declared in this scope 125 | bool usb_t::USB_GET_ID(uint32_t *ID) | ^~ usb.cpp:141:1: error: 'uint32_t' does not name a type 141 | uint32_t usb_t::Get_Device_ID (void) | ^~~~~~~~ usb.cpp:141:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? usb.cpp:151:6: error: 'bool usb_t::USB_TIMERS' is not a static data member of 'class usb_t' 151 | bool usb_t::USB_TIMERS(uint16_t S, uint8_t D) | ^~~~~ usb.cpp:151:24: error: 'uint16_t' was not declared in this scope 151 | bool usb_t::USB_TIMERS(uint16_t S, uint8_t D) | ^~~~~~~~ usb.cpp:151:24: note: 'uint16_t' is defined in header ''; did you forget to '#include '? usb.cpp:151:36: error: 'uint8_t' was not declared in this scope 151 | bool usb_t::USB_TIMERS(uint16_t S, uint8_t D) | ^~~~~~~ usb.cpp:151:36: note: 'uint8_t' is defined in header ''; did you forget to '#include '? usb.cpp:151:45: error: expression list treated as compound expression in initializer [-fpermissive] 151 | bool usb_t::USB_TIMERS(uint16_t S, uint8_t D) | ^ make: *** [Makefile:16: usb.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/RODOS3-1.3' make: Entering directory '/usr/src/RPM/BUILD/RODOS3-1.3' gcc -c -std=c++11 -O2 main.cpp make: Leaving directory '/usr/src/RPM/BUILD/RODOS3-1.3' error: Bad exit status from /usr/src/tmp/rpm-tmp.71784 (%prep) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.71784 (%prep) Command exited with non-zero status 1 0.79user 0.10system 0:00.36elapsed 245%CPU (0avgtext+0avgdata 73940maxresident)k 0inputs+0outputs (0major+42556minor)pagefaults 0swaps hsh-rebuild: rebuild of `RODOS3-1.3-alt2.src.rpm' failed. Command exited with non-zero status 1 1.52user 1.10system 0:05.31elapsed 49%CPU (0avgtext+0avgdata 111340maxresident)k 16inputs+0outputs (0major+177742minor)pagefaults 0swaps