Test ran at 2022-06-11 01:22:22.540198+00:00 SOLUTION: remoteio=1.20220.1: Remote I/O Protocol Client Library for GNAT Ada Origin: source archive remoteio-1.20220.1.tbz2 at http://repo.munts.com/alire/remoteio-1.20220.1.tbz2 with hashes sha256:64576e563db4b914de34bc316e632522b0d58c3d6a2f86996480bb6770ea0946, sha512:76e58c614dcdf4333fd9d23dd1d2031f6f802c195fcea08b1ed1ec6d25e49430fd4ed8f7aa44cba94ae8f075427eeea3a1e1a045e47e673a5873609c4be265b0 Available when: (case OS is Linux => True, Windows => True, others => False) Properties: case OS is when Linux => Post_Fetch run: ${CRATE_DIR}/./sh -c sed -i 's/lhidapi/lhidapi-hidraw/g' src/objects/hid/hid-hidapi.ads when Windows => Post_Fetch run: ${CRATE_DIR}/./sh -c mkdir -p ./bin && cp src/win64/*.dll ./bin && mkdir -p ./lib && cp src/win64/*.dll ./lib Author: Philip Munts Description: Remote I/O Protocol Client Library for GNAT Ada License: BSD-1-Clause Maintainer: Philip Munts Maintainers_Logins: pmunts Name: remoteio Project_File: remoteio.gpr Project_File: programs.gpr Tag: embedded Tag: linux Tag: remoteio Tag: adc Tag: dac Tag: gpio Tag: i2c Tag: motor Tag: pwm Tag: sensor Tag: serial Tag: servo Tag: spi Tag: stepper Version: 1.20220.1 Website: https://github.com/pmunts/libsimpleio Dependencies (direct): case OS is when Linux => libhidapi* case OS is when Linux => libusb~1.0 Dependencies (solution): libhidapi=0.12.0 libusb=1.0.26 Dependencies (graph): remoteio=1.20220.1 --> libhidapi=0.12.0 (*) remoteio=1.20220.1 --> libusb=1.0.26 (~1.0) LOG: Note: Deploying remoteio=1.20220.1... #=#=# ## 3.7% ################# 24.2% ################################################################### 93.9% ######################################################################## 100.0% Note: Deploying libhidapi=0.12.0... The system package 'hidapi' is about to be installed. This action might require admin privileges and impact your system installation. Do you want Alire to install this system package? Using default: Yes resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change Download Size community/hidapi 0.12.0-1 0.09 MiB 0.03 MiB Total Download Size: 0.03 MiB Total Installed Size: 0.09 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... hidapi-0.12.0-1-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing hidapi... Optional dependencies for hidapi libusb: for the libusb backend -- hidapi-libusb.so libudev.so: for the hidraw backend -- hidapi-hidraw.so [installed] :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... Note: Deploying libusb=1.0.26... The system package 'libusb' is about to be installed. This action might require admin privileges and impact your system installation. Do you want Alire to install this system package? Using default: Yes resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change Download Size core/libusb 1.0.26-1 0.21 MiB 0.07 MiB Total Download Size: 0.07 MiB Total Installed Size: 0.21 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libusb-1.0.26-1-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libusb... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... Note: Running post_fetch actions for remoteio=1.20220.1... Note: Building remoteio/remoteio.gpr (1/2)... Setup [mkdir] object directory for project RemoteIO [mkdir] library directory for project RemoteIO Compile [Ada] i2c-remoteio.adb [Ada] spi-remoteio.adb i2c-remoteio.adb:79:42: warning: "resp" modified by call, but value might not be referenced [Ada] dac-remoteio.adb spi-remoteio.adb:85:36: warning: "resp" modified by call, but value might not be referenced [Ada] pwm-remoteio.adb [Ada] remoteio-raspberrypi.ads [Ada] remoteio-client-stream.ads [Ada] remoteio-client-udp.ads [Ada] remoteio-client-serial.adb [Ada] remoteio-arduino.ads remoteio-client-serial.adb:32:07: warning: use of an anonymous access type allocator [Ada] adc-remoteio.adb [Ada] remoteio-munts_0015.ads [Ada] remoteio-munts_0018.ads [Ada] remoteio-client.adb [Ada] remoteio-abstract_device.adb [Ada] remoteio-client-hidapi.ads [Ada] gpio-remoteio.adb [Ada] remoteio-munts_0016.ads [Ada] remoteio-pocketbeagle.ads [Ada] remoteio-client-libusb.ads [Ada] remoteio.ads [Ada] hid-hidapi.adb [Ada] hid-libusb.adb [Ada] clickboard-thermo3-remoteio.ads clickboard-thermo3-remoteio.ads:45:05: warning: formal parameter "speed" is not referenced [Ada] clickboard-expand2-remoteio.ads [Ada] clickboard-adc-remoteio.ads [Ada] clickboard-servers.adb [Ada] clickboard-altitude-remoteio.ads [Ada] clickboard-remoteio.adb [Ada] clickboard-thermo-remoteio.ads [Ada] clickboard-leds_8x8-remoteio.ads [Ada] clickboard-pwm_click-remoteio.ads [Ada] clickboard-sevensegment-remoteio.adb [Ada] clickboard-htu21d-remoteio.ads [Ada] clickboard-sevensegment.adb [Ada] clickboard-htu21d.ads [Ada] clickboard-thermo3.ads [Ada] clickboard.ads [Ada] clickboard-pwm_click.ads [Ada] clickboard-leds_8x8.adb [Ada] clickboard-thermo.ads [Ada] clickboard-altitude.ads [Ada] clickboard-template.ads [Ada] clickboard-adc.adb [Ada] clickboard-expand2.ads [Ada] stream_framing_protocol.adb [Ada] servo-pwm.ads [Ada] debug.adb [Ada] messaging-fixed-gnat_udp.adb [Ada] motor-pwm.adb [Ada] message64-udp.ads [Ada] messaging-fixed-ada_streams.adb [Ada] message64-stream.ads [Ada] motor-servo.adb [Ada] thermistor.adb [Ada] gpio-pwm.adb [Ada] gpio.ads [Ada] watchdog.ads [Ada] servo.ads [Ada] voltage.ads [Ada] dac.adb [Ada] analog.ads [Ada] pwm.ads [Ada] resistance.ads [Ada] gyroscope.ads [Ada] motor.ads [Ada] messaging-fixed.ads [Ada] messaging.adb [Ada] adc.adb [Ada] temperature.ads [Ada] magnetometer.ads [Ada] humidity.ads [Ada] pressure.ads [Ada] io_interfaces.ads [Ada] accelerometer.ads [Ada] truecolor.ads [Ada] i2c.adb [Ada] angle.ads [Ada] hid.adb [Ada] spi.ads [Ada] joystick.ads [Ada] messaging-text.ads [Ada] stepper.ads [Ada] servo-pwm_template.adb [Ada] message64.ads [Ada] logging.ads [Ada] tmp102.adb [Ada] hid-munts.ads [Ada] grove_adc.ads [Ada] bmp280.adb [Ada] grove_temperature.adb [Ada] cytron_md13s.adb bmp280.adb:34:03: warning: constant "REG_ID" is not referenced bmp280.adb:35:03: warning: constant "REG_RESET" is not referenced bmp280.adb:40:03: warning: constant "REG_PLSB" is not referenced bmp280.adb:41:03: warning: constant "REG_PXLSB" is not referenced bmp280.adb:42:03: warning: constant "REG_TMSB" is not referenced bmp280.adb:43:03: warning: constant "REG_TLSB" is not referenced bmp280.adb:44:03: warning: constant "REG_TXLSB" is not referenced [Ada] lps25h.adb [Ada] pca9534.adb lps25h.adb:63:03: warning: constant "WHO_AM_I" is not referenced lps25h.adb:69:03: warning: constant "INT_CFG" is not referenced lps25h.adb:70:03: warning: constant "INT_SOURCE" is not referenced lps25h.adb:71:03: warning: constant "STATUS_REG" is not referenced lps25h.adb:77:03: warning: constant "FIFO_CTRL" is not referenced lps25h.adb:78:03: warning: constant "FIFO_STATUS" is not referenced lps25h.adb:79:03: warning: constant "THS_P_L" is not referenced lps25h.adb:80:03: warning: constant "THS_P_H" is not referenced lps25h.adb:81:03: warning: constant "RPDS_L" is not referenced lps25h.adb:82:03: warning: constant "RPDS_H" is not referenced [Ada] mcp3202.adb [Ada] mcp23017-byte.adb mcp3202.adb:62:26: warning: formal parameter "Self" is not referenced [Ada] grove_tb6612-motor.adb [Ada] max7219.adb [Ada] pca9534-gpio.adb [Ada] hdc1080.adb [Ada] pca9685.adb [Ada] mpl3115a2.adb [Ada] grove_tb6612.adb [Ada] max31855.adb [Ada] a4988.adb [Ada] mcp3204.adb [Ada] th02.adb mcp3204.adb:62:26: warning: formal parameter "Self" is not referenced [Ada] mcp23017-word.adb [Ada] hts221.adb [Ada] grove_temperature_humidity.ads [Ada] htu21d.adb hts221.adb:40:12: warning: function "ToUnsigned16" is not referenced hts221.adb:52:03: warning: constant "WHO_AM_I" is not referenced hts221.adb:57:03: warning: constant "STATUS_REG" is not referenced hts221.adb:59:03: warning: constant "HUMIDITY_OUT_H" is not referenced hts221.adb:61:03: warning: constant "TEMP_OUT_H" is not referenced hts221.adb:66:03: warning: constant "CALIB_4" is not referenced hts221.adb:69:03: warning: constant "CALIB_7" is not referenced hts221.adb:70:03: warning: constant "CALIB_8" is not referenced hts221.adb:71:03: warning: constant "CALIB_9" is not referenced hts221.adb:73:03: warning: constant "CALIB_B" is not referenced hts221.adb:75:03: warning: constant "CALIB_D" is not referenced hts221.adb:77:03: warning: constant "CALIB_F" is not referenced [Ada] grove_tb6612-stepper.adb htu21d.adb:41:03: warning: named number "CMD_GET_CONFIG" is not referenced [Ada] mcp23017-gpio.adb grove_tb6612-stepper.adb:28:01: warning: "Stepper.Steps" is already use-visible through previous use_type_clause at grove_tb6612-stepper.ads:32 [Ada] pca8574-gpio.adb [Ada] ads1015.adb [Ada] mcp4822.adb ads1015.adb:25:40: warning: literal "LowThreshold" is not referenced ads1015.adb:25:54: warning: literal "HighThreshold" is not referenced ads1015.adb:123:26: warning: formal parameter "Self" is not referenced [Ada] pca9685-gpio.adb mcp4822.adb:61:26: warning: formal parameter "Self" is not referenced [Ada] lsm9ds1.adb [Ada] pca9685-pwm.adb lsm9ds1.adb:63:03: warning: constant "WHO_AM_I" is not referenced lsm9ds1.adb:67:03: warning: constant "ORIENT_CFG_G" is not referenced lsm9ds1.adb:68:03: warning: constant "INT_GEN_SRC_G" is not referenced lsm9ds1.adb:70:03: warning: constant "OUT_TEMP_H" is not referenced lsm9ds1.adb:71:03: warning: constant "STATUS_REG_G" is not referenced lsm9ds1.adb:72:03: warning: constant "OUT_X_L_G" is not referenced lsm9ds1.adb:73:03: warning: constant "OUT_X_H_G" is not referenced lsm9ds1.adb:74:03: warning: constant "OUT_Y_L_G" is not referenced lsm9ds1.adb:75:03: warning: constant "OUT_Y_H_G" is not referenced lsm9ds1.adb:76:03: warning: constant "OUT_Z_L_G" is not referenced lsm9ds1.adb:77:03: warning: constant "OUT_Z_H_G" is not referenced lsm9ds1.adb:85:03: warning: constant "INT_GEN_SRC_XL" is not referenced lsm9ds1.adb:86:03: warning: constant "STATUS_REG_XL" is not referenced lsm9ds1.adb:88:03: warning: constant "OUT_X_H_XL" is not referenced lsm9ds1.adb:89:03: warning: constant "OUT_Y_L_XL" is not referenced lsm9ds1.adb:90:03: warning: constant "OUT_Y_H_XL" is not referenced lsm9ds1.adb:91:03: warning: constant "OUT_Z_L_XL" is not referenced lsm9ds1.adb:92:03: warning: constant "OUT_Z_H_XL" is not referenced lsm9ds1.adb:93:03: warning: constant "FIFO_CTRL" is not referenced lsm9ds1.adb:94:03: warning: constant "FIFO_SRC" is not referenced lsm9ds1.adb:106:03: warning: constant "OFFSET_X_REG_L_M" is not referenced lsm9ds1.adb:107:03: warning: constant "OFFSET_X_REG_H_M" is not referenced lsm9ds1.adb:108:03: warning: constant "OFFSET_Y_REG_L_M" is not referenced lsm9ds1.adb:109:03: warning: constant "OFFSET_Y_REG_H_M" is not referenced lsm9ds1.adb:110:03: warning: constant "OFFSET_Z_REG_L_M" is not referenced lsm9ds1.adb:111:03: warning: constant "OFFSET_Z_REG_H_M" is not referenced lsm9ds1.adb:112:03: warning: constant "WHO_AM_I_M" is not referenced lsm9ds1.adb:118:03: warning: constant "STATUS_REG_M" is not referenced lsm9ds1.adb:120:03: warning: constant "OUT_X_H_M" is not referenced lsm9ds1.adb:121:03: warning: constant "OUT_Y_L_M" is not referenced lsm9ds1.adb:122:03: warning: constant "OUT_Y_H_M" is not referenced lsm9ds1.adb:123:03: warning: constant "OUT_Z_L_M" is not referenced lsm9ds1.adb:124:03: warning: constant "OUT_Z_H_M" is not referenced lsm9ds1.adb:125:03: warning: constant "INT_CFG_M" is not referenced lsm9ds1.adb:126:03: warning: constant "INT_SRC_M" is not referenced lsm9ds1.adb:127:03: warning: constant "INT_THS_L" is not referenced lsm9ds1.adb:128:03: warning: constant "INT_THS_H" is not referenced lsm9ds1.adb:153:12: warning: function "ReadRegister" is not referenced lsm9ds1.adb:249:16: warning: formal parameter "Self" is not referenced [Ada] mcp23017.adb [Ada] mcp3208.adb [Ada] pca8574.adb mcp3208.adb:62:26: warning: formal parameter "Self" is not referenced [Ada] adc121c021.adb [Ada] tcs3472.adb adc121c021.adb:35:03: warning: constant "AlertStatus" is not referenced adc121c021.adb:37:03: warning: constant "AlertLowLimit" is not referenced adc121c021.adb:38:03: warning: constant "AlertHighLimit" is not referenced adc121c021.adb:39:03: warning: constant "AlertHysteresis" is not referenced adc121c021.adb:40:03: warning: constant "LowestConversion" is not referenced adc121c021.adb:41:03: warning: constant "HighestConversion" is not referenced adc121c021.adb:49:12: warning: function "ReadRegister8" is not referenced adc121c021.adb:95:13: warning: procedure "WriteRegister16" is not referenced adc121c021.adb:129:26: warning: formal parameter "Self" is not referenced [Ada] tlc1543.adb tlc1543.adb:101:26: warning: formal parameter "self" is not referenced [Ada] errno.ads tcs3472.adb:34:03: warning: constant "AILTL" is not referenced tcs3472.adb:35:03: warning: constant "AILTH" is not referenced tcs3472.adb:36:03: warning: constant "AIHTL" is not referenced tcs3472.adb:37:03: warning: constant "AIHTH" is not referenced tcs3472.adb:38:03: warning: constant "PERS" is not referenced tcs3472.adb:40:03: warning: constant "CONTROL" is not referenced tcs3472.adb:41:03: warning: constant "ID" is not referenced tcs3472.adb:44:03: warning: constant "CDATAH" is not referenced tcs3472.adb:45:03: warning: constant "RDATAL" is not referenced tcs3472.adb:46:03: warning: constant "RDATAH" is not referenced tcs3472.adb:47:03: warning: constant "GDATAL" is not referenced tcs3472.adb:48:03: warning: constant "GDATAH" is not referenced tcs3472.adb:49:03: warning: constant "BDATAL" is not referenced tcs3472.adb:50:03: warning: constant "BDATAH" is not referenced tcs3472.adb:62:03: warning: constant "AIEN" is not referenced tcs3472.adb:66:03: warning: constant "POWERON" is not referenced tcs3472.adb:67:03: warning: constant "ACQUIRE" is not referenced Build Libraries [gprlib] remoteio.lexch [archive] libremoteio.a [index] libremoteio.a Note: Building remoteio/programs.gpr (2/2)... Setup [mkdir] exec directory for project Programs Compile [Ada] test_query_hidapi.adb [Ada] test_query_libusb.adb test_query_hidapi.adb:28:21: warning: unit "RemoteIO.Client.hidapi" is not referenced [Ada] test_query_serial.adb [Ada] test_query_udp.adb Bind [gprbind] test_query_hidapi.bexch [gprbind] test_query_libusb.bexch [Ada] test_query_hidapi.ali [Ada] test_query_libusb.ali [gprbind] test_query_serial.bexch [gprbind] test_query_udp.bexch [Ada] test_query_serial.ali [Ada] test_query_udp.ali Link [link] test_query_hidapi.adb [link] test_query_libusb.adb /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_join@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_key_delete@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_mutex_trylock@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_getspecific@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_condattr_setclock@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_key_create@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_setname_np@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_setspecific@GLIBC_2.34' /usr/sbin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to `pthread_create@GLIBC_2.34' collect2: error: ld returned 1 exit status gprbuild: link of test_query_libusb.adb failed gprbuild: failed command was: /usr/bin/gcc test_query_libusb.o b__test_query_libusb.o /home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/lib/libremoteio.a -L/home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/obj/ -L/home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/obj/ -L/home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/lib/ -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/adalib/ -static-libgcc -lusb-1.0 /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/adalib/libgnat.a -ldl -Wl,-rpath-link,/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0//adalib -Wl,-z,origin,-rpath,$ORIGIN/..//obj:$ORIGIN/..//lib:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/adalib -o /home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/bin//test_query_libusb stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/programs.gpr"] exited with code 4 ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/programs.gpr"] exited with code 4 stderr: ALIRE.CHECKED_ERROR stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/244d8265-831e-48ff-86a0-15fc20ac19b7/remoteio_1.20220.1_64576e56/programs.gpr"] exited with code 4 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [/usr/sbin/alr] 0xd65c78 Alire.Raise_Checked_Error at alire.adb:251 0xa2f08f Alire.Os_Lib.Subprocess.Checked_Spawn at alire-os_lib-subprocess.adb:110 0xc49318 Alire.Spawn.Command at alire-spawn.adb:21 0xc49a46 Alire.Spawn.Gprbuild at alire-spawn.adb:41 0xbada9c Alire.Roots.Build.Build_Single_Release.Call_Gprbuild at alire-roots.adb:140 0xbac0fb Alire.Roots.Build.Build_Single_Release at alire-roots.adb:171 0xbc7eaa Alire.Roots.Traverse.Traverse_Wrap at alire-roots.adb:1364 0xc11fbb Alire.Solutions.Traverse.Visit at alire-solutions.adb:1434 0xc10bd2 Alire.Solutions.Traverse at alire-solutions.adb:1509 0xbc7ff8 Alire.Roots.Traverse at alire-roots.adb:1368 0xbac48c Alire.Roots.Build at alire-roots.adb:196 0x48f1e4 Alr.Commands.Build.Execute at alr-commands-build.adb:58 0x49f50a Alr.Commands.Get.Retrieve at alr-commands-get.adb:187 0x4a3d27 Alr.Commands.Get.Execute at alr-commands-get.adb:348 0x52aa2e Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:742 0x53641f Alr.Commands.Execute at alr-commands.adb:492 0x42b9ca Alr.Main at alr-main.adb:10 0x42e297 Main at b__alr-main.adb:2132 [/usr/bin/..//lib/libc.so.6] 0x7fad75cdfb23 [/usr/sbin/alr] 0x42b8a8 _start at ??? 0xfffffffffffffffe Warning: remoteio=1.20220.1 successfully retrieved but its build failed. Dependencies were solved as follows: + libhidapi 0.12.0 (new) + libusb 1.0.26 (new) ERROR: Build ended with errors