Test ran at 2025-07-14 13:13:02.308093+00:00 SOLUTION: controlled_io=20240401.0.1: Files that are open while they exist and closed when they don't Origin: commit 0cfe3ed52318bed75926d2bfb22950cecc8599f3 from https://github.com/bracke/Controlled_IO.git Properties: Author: Jeffrey Carter Build Switches: Description: Files that are open while they exist and closed when they don't License: BSD-3-Clause Long_Description: # Controlled_IO Files that are open while they exist and closed when they don't This is a draft response to a request for a library for [Scope-based files](https://forum.ada-lang.io/t/ada-library-wishlist/14/5). Both binary and text I/O is supported. Please comment on whether or not you find this useful. The library is completely portable. It has been compiled and tested with GNAT and ObjectAda, on Linux and Windows. Controlled_Test and Controlled_Text are test programs. Both are user-unfriendly file-copy programs. Controlled_Test performs a binary copy; the output should always be identical to the input. Controlled_Text performs a line-by-line copy of text files; the output may have different line terminators than the input. Controlled_UTF is a user-unfriendly program to convert a native text file to a [Universal Text File](https://github.com/jrcarter/Universal-Text-File). Maintainer: Bent Bracke Maintainers_Logins: bracke Name: controlled_io Tag: io Tag: files Tag: controlled Tag: scope Tag: binary Tag: text Version: 20240401.0.1 Website: https://github.com/bracke/Controlled_IO Dependencies (direct): gnat<13.0 | >=13.3 Dependencies (solution): gnat=13.3.0 (gnat_external) Dependencies (graph): controlled_io=20240401.0.1 --> gnat=13.3.0 (gnat_external) (<13.0 | >=13.3) LOG: Spawning: alr -d -n get --build controlled_io=20240401.0.1 Note: Deploying controlled_io=20240401.0.1... Note: Alire has selected automatically this toolchain: gprbuild=22.0.1 gnat_native=14.2.1 You can select a different toolchain at any time with `alr toolchain --select` Download will start now: Note: Deploying gprbuild=22.0.1... #=#=# ##################### 29.4% ######################################################################## 100.0% Note: gprbuild=22.0.1 installed successfully. Note: Deploying gnat_native=14.2.1... #=#=# 1.0% ######## 11.2% ############## 19.8% ##################### 29.2% ############################ 39.0% ################################### 49.1% ######################################### 58.2% ################################################# 68.6% ###################################################### 76.2% ############################################################## 86.2% ##################################################################### 96.9% ######################################################################## 100.0% Note: gnat_native=14.2.1 installed successfully. Note: Building controlled_io=20240401.0.1/controlled_io.gpr... gprconfig: can't find a native toolchain for language 'ada' gprconfig: can't find a native toolchain for language 'ada' Setup [mkdir] object directory for project Controlled_IO [mkdir] library directory for project Controlled_IO controlled_io.gpr:3:25: warning: libraries are not supported on this platform controlled_io.gpr:2:09: no compiler for language "Ada", cannot compile "controlled_io_config.ads" gprbuild: *** compilation phase failed stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/c97d8ec7-fff6-4b16-ab5c-d8e898755639/controlled_io_20240401.0.1_0cfe3ed5/controlled_io.gpr"] exited with code 4 ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/c97d8ec7-fff6-4b16-ab5c-d8e898755639/controlled_io_20240401.0.1_0cfe3ed5/controlled_io.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/c97d8ec7-fff6-4b16-ab5c-d8e898755639/controlled_io_20240401.0.1_0cfe3ed5/controlled_io.gpr"] exited with code 4 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [/usr/bin/alr] 0xe16f5e Alire.Raise_Checked_Error at alire.adb:284 0xa845be Alire.Os_Lib.Subprocess.Checked_Spawn at alire-os_lib-subprocess.adb:111 0xcef7be Alire.Spawn.Command at alire-spawn.adb:21 0xcefdde Alire.Spawn.Gprbuild at alire-spawn.adb:41 0xc31d1f Alire.Roots.Build at alire-roots.adb:186 0xc304da Alire.Roots.Build at alire-roots.adb:252 0xc53d6f Alire.Roots.Traverse at alire-roots.adb:2075 0xcba1fd Alire.Solutions.Traverse.Visit at alire-solutions.adb:1480 0xcb9344 Alire.Solutions.Traverse at alire-solutions.adb:1563 0xc53e62 Alire.Roots.Traverse at alire-roots.adb:2079 0xc53f21 Alire.Roots.Traverse at alire-roots.adb:2059 0xc30a46 Alire.Roots.Build at alire-roots.adb:283 0xc30b2b Alire.Roots.Build at alire-roots.adb:111 0x4a5e38 Alr.Commands.Get.Retrieve at alr-commands-get.adb:205 0x4a94f3 Alr.Commands.Get.Execute at alr-commands-get.adb:378 0x4a96a1 Alr.Commands.Get.Execute at alr-commands-get.adb:256 0x533c96 Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749 0x53eff7 Alr.Commands.Execute at alr-commands.adb:561 0x43953a Alr.Main at alr-main.adb:13 0x43c1d3 Main at b__alr-main.adb:2299 [/lib/x86_64-linux-gnu/libc.so.6] 0x7f65f57ba1c8 0x7f65f57ba289 [/usr/bin/alr] 0x4393dc _start at ??? 0xfffffffffffffffe Warning: controlled_io=20240401.0.1 successfully retrieved but its build failed. Dependencies were solved as follows: +b gnat 13.3.0 (new,gnat_external,executable in path) ERROR: Build ended with errors