Ravenports / ravenadm

Administration tool for Ravenports
http://www.ravenports.com
ISC License
18 stars 3 forks source link

Prebuilt option is broken [linux] #84

Closed EarldridgeJazzedPineda closed 1 month ago

EarldridgeJazzedPineda commented 1 month ago

I'm working on a new port for Halibut locally and I added "cmake" to the USES variable. However, I got a lot of "Download failed" errors, even though the packages seem to be downloaded successfully. Below is the log produced by ravenadm:

Cached catalog is still valid.
done.

Scanning existing packages.
 progress: 16.82%              
 progress: 24.39%              
 progress: 46.30%              
 progress: 69.74%              

The latest versions of the requested packages are already cached.
Download failed: zlib~primary~std~1.3.1.rvn
Download failed: zlib~dev~std~1.3.1.rvn
Download failed: zlib~man~std~1.3.1.rvn
Download failed: indexinfo~single~std~0.3.1.rvn
Download failed: libiconv~primary~std~1.17_1.rvn
Download failed: libiconv~dev~std~1.17_1.rvn
Download failed: libiconv~man~std~1.17_1.rvn
Download failed: gettext~primary~std~0.22.5.rvn
Download failed: gettext~asprintf~std~0.22.5.rvn
Download failed: gettext~tools~std~0.22.5.rvn
Download failed: gettext~bldtools~std~0.22.5.rvn
Download failed: gettext~dev~std~0.22.5.rvn
Download failed: gettext~solinks~std~0.22.5.rvn
Download failed: gettext~nls~std~0.22.5.rvn
Download failed: gettext~man~std~0.22.5.rvn
Download failed: gettext~docs~std~0.22.5.rvn
Download failed: gettext~info~std~0.22.5.rvn
Download failed: gmake~primary~std~4.4.rvn
Download failed: gmake~dev~std~4.4.rvn
Download failed: gmake~nls~std~4.4.rvn
Download failed: gmake~man~std~4.4.rvn
Download failed: gmake~info~std~4.4.rvn
Download failed: pkgconf~primary~std~2.3.0.rvn
Download failed: pkgconf~dev~std~2.3.0.rvn
Download failed: pkgconf~man~std~2.3.0.rvn
Download failed: ncurses~primary~std~6.5.rvn
Download failed: ncurses~tools~std~6.5.rvn
Download failed: ncurses~dev~std~6.5.rvn
Download failed: ncurses~man~std~6.5.rvn
Download failed: ncurses~terminfo~std~6.5.rvn
Download failed: ncurses~docs~std~6.5.rvn
Download failed: readline~primary~std~8.2.13.rvn
Download failed: readline~dev~std~8.2.13.rvn
Download failed: readline~man~std~8.2.13.rvn
Download failed: readline~examples~std~8.2.13.rvn
Download failed: readline~docs~std~8.2.13.rvn
Download failed: readline~info~std~8.2.13.rvn
Download failed: gdbm~primary~std~1.24.rvn
Download failed: gdbm~dev~std~1.24.rvn
Download failed: gdbm~tools~std~1.24.rvn
Download failed: gdbm~nls~std~1.24.rvn
Download failed: gdbm~man~std~1.24.rvn
Download failed: gdbm~info~std~1.24.rvn
Download failed: db5~primary~std~5.3.28_5.rvn
Download failed: db5~cxx~std~5.3.28_5.rvn
Download failed: db5~dev~std~5.3.28_5.rvn
Download failed: db5~tools~std~5.3.28_5.rvn
Download failed: db5~docs~std~5.3.28_5.rvn
Download failed: autoselect-perl~single~std~7.rvn
Download failed: perl-5.38~set~std~5.38.2.rvn
Download failed: perl-5.38~primary~std~5.38.2.rvn
Download failed: perl-5.38~man~std~5.38.2.rvn
Download failed: libsigsegv~primary~std~2.14_1.rvn
Download failed: libsigsegv~dev~std~2.14_1.rvn
Download failed: help2man~set~std~1.49.3.rvn
Download failed: help2man~primary~std~1.49.3.rvn
Download failed: help2man~man~std~1.49.3.rvn
Download failed: help2man~info~std~1.49.3.rvn
Download failed: m4~primary~std~1.4.19_2.rvn
Download failed: m4~examples~std~1.4.19_2.rvn
Download failed: m4~man~std~1.4.19_2.rvn
Download failed: m4~info~std~1.4.19_2.rvn
Download failed: autoconf-switch~single~std~20220527_1.rvn
Download failed: autoconf~set~std~2.72_1.rvn
Download failed: autoconf~primary~std~2.72_1.rvn
Download failed: autoconf~man~std~2.72_1.rvn
Download failed: texinfo~set~std~7.1.1.rvn
Download failed: texinfo~primary~std~7.1.1.rvn
Download failed: texinfo~nls~std~7.1.1.rvn
Download failed: texinfo~man~std~7.1.1.rvn
Download failed: texinfo~info~std~7.1.1.rvn
Download failed: libtool~set~std~2.4.7_1.rvn
Download failed: libtool~primary~std~2.4.7_1.rvn
Download failed: libtool~man~std~2.4.7_1.rvn
Download failed: automake~set~std~1.17_1.rvn
Download failed: automake~primary~std~1.17_1.rvn
Download failed: automake~man~std~1.17_1.rvn
Download failed: automake~info~std~1.17_1.rvn
Download failed: autoselect-ssl~single~std~3.rvn
Download failed: xz~primary~std~5.6.2,1.rvn
Download failed: xz~tools~std~5.6.2,1.rvn
Download failed: xz~dev~std~5.6.2,1.rvn
Download failed: xz~man~std~5.6.2,1.rvn
Download failed: xz~docs~std~5.6.2,1.rvn
Download failed: xz~examples~std~5.6.2,1.rvn
Download failed: bzip2~primary~std~1.0.8_1.rvn
Download failed: bzip2~dev~std~1.0.8_1.rvn
Download failed: bzip2~tools~std~1.0.8_1.rvn
Download failed: bzip2~man~std~1.0.8_1.rvn
Download failed: bzip2~docs~std~1.0.8_1.rvn
Download failed: expat~primary~std~2.6.3.rvn
Download failed: expat~dev~std~2.6.3.rvn
Download failed: expat~man~std~2.6.3.rvn
Download failed: libressl~primary~std~3.8.4_1.rvn
Download failed: libressl~dev~std~3.8.4_1.rvn
Download failed: libressl~man~std~3.8.4_1.rvn
Download failed: zstd~primary~std~1.5.6.rvn
Download failed: zstd~dev~std~1.5.6.rvn
Download failed: zstd~man~std~1.5.6.rvn
Download failed: libarchive~primary~std~3.7.4.rvn
Download failed: libarchive~tools~std~3.7.4.rvn
Download failed: libarchive~dev~std~3.7.4.rvn
Download failed: libarchive~man~std~3.7.4.rvn
Download failed: jsoncpp~primary~std~1.9.5_1.rvn
Download failed: jsoncpp~dev~std~1.9.5_1.rvn
Download failed: rhash~primary~std~1.4.4.rvn
Download failed: rhash~tools~std~1.4.4.rvn
Download failed: rhash~dev~std~1.4.4.rvn
Download failed: rhash~man~std~1.4.4.rvn
Download failed: libuv~primary~std~1.48.0.rvn
Download failed: libuv~dev~std~1.48.0.rvn
Download failed: cmake~set~std~3.30.3.rvn
Download failed: cmake~primary~std~3.30.3.rvn
Download failed: cmake~man~std~3.30.3.rvn
Download failed: cmake~docs~std~3.30.3.rvn
At least one package failed to fetch, aborting build!
After inspection, it has been determined that there are no packages that
require rebuilding; the task is therefore complete.

How to reproduce:

  1. Create a new port for Halibut (don't add the USES variable yet)
  2. Run /raven/bin/ravenadm test halibut
  3. Add USES=cmake to the specification file
  4. Run /raven/bin/ravenadm test halibut again
jrmarino commented 1 month ago

i don't think USES= has anything to do with this. a) what operationing system? b) are you using the "prefetch" option to use prebuild packages first? I can't say I've tested this recently. c) try clearing the cache? "rvn clean -a" I think

EarldridgeJazzedPineda commented 1 month ago

a) Ubuntu 24.04 LTS b) ravenadm is configured to fetch binary packages for dependencies c) I tried that and it didn't work

jrmarino commented 1 month ago

did you check the cache directory to see if the packages are there? the download failure message might be real

EarldridgeJazzedPineda commented 1 month ago

What directory are the cached packages in? I will check that later.

jrmarino commented 1 month ago

ah, I was going to say "/var/cache/rvn" but that's rvn cache. you are using prefetch, so it's going to put in the profiles packages directory. you can check "ravenadm configure" and look for [H], e.g.

[H] Packages directory         /var/ravenports/tilde/packages

there's a "files" subdirectory used.

so in my case the packages should be put at /var/ravenports/tilde/packages/files

EarldridgeJazzedPineda commented 1 month ago

I've cleared the packages cache multiple times and ran the commands, but it still doesn't work. Here is the log after clearing the packages cache:

Stand by, updating external repository catalogs ... Cached catalog is still valid.
done.

Scanning existing packages.
 progress: 16.82%              
 progress: 24.39%              
 progress: 51.52%              
 progress: 76.56%              

The following packages will be downloaded:

   1. autoconf-switch~single~std~20220527_1                      890 B     0.0%
   2. autoconf~man~std~2.72_1                                     11 KiB   0.0%
   3. autoconf~primary~std~2.72_1                                357 KiB   0.5%
   4. autoconf~set~std~2.72_1                                    417 B     0.0%
   5. automake~info~std~1.17_1                                   171 KiB   0.2%
   6. automake~man~std~1.17_1                                   4037 B     0.0%
   7. automake~primary~std~1.17_1                                350 KiB   0.5%
   8. automake~set~std~1.17_1                                    472 B     0.0%
   9. autoselect-perl~single~std~7                              4106 B     0.0%
  10. autoselect-ssl~single~std~3                               3769 B     0.0%
  11. bzip2~dev~std~1.0.8_1                                       33 KiB   0.0%
  12. bzip2~docs~std~1.0.8_1                                     378 KiB   0.5%
  13. bzip2~man~std~1.0.8_1                                       10 KiB   0.0%
  14. bzip2~primary~std~1.0.8_1                                   33 KiB   0.0%
  15. bzip2~tools~std~1.0.8_1                                     46 KiB   0.1%
  16. cmake~docs~std~3.30.3                                      655 KiB   0.9%
  17. cmake~man~std~3.30.3                                       384 B     0.0%
  18. cmake~primary~std~3.30.3                                    18 MiB  24.1%
  19. cmake~set~std~3.30.3                                       432 B     0.0%
  20. db5~cxx~std~5.3.28_5                                      1024 KiB   1.3%
  21. db5~dev~std~5.3.28_5                                      1477 KiB   1.9%
  22. db5~docs~std~5.3.28_5                                       12 MiB  15.9%
  23. db5~primary~std~5.3.28_5                                  1240 KiB   1.6%
  24. db5~tools~std~5.3.28_5                                     119 KiB   0.2%
  25. expat~dev~std~2.6.3                                        132 KiB   0.2%
  26. expat~man~std~2.6.3                                       4847 B     0.0%
  27. expat~primary~std~2.6.3                                     78 KiB   0.1%
  28. gdbm~dev~std~1.24                                           42 KiB   0.1%
  29. gdbm~info~std~1.24                                          51 KiB   0.1%
  30. gdbm~man~std~1.24                                           23 KiB   0.0%
  31. gdbm~nls~std~1.24                                           78 KiB   0.1%
  32. gdbm~primary~std~1.24                                       48 KiB   0.1%
  33. gdbm~tools~std~1.24                                         63 KiB   0.1%
  34. gettext~asprintf~std~0.22.5                                  8 KiB   0.0%
  35. gettext~bldtools~std~0.22.5                               2721 KiB   3.6%
  36. gettext~dev~std~0.22.5                                    1334 KiB   1.8%
  37. gettext~docs~std~0.22.5                                    606 KiB   0.8%
  38. gettext~info~std~0.22.5                                    195 KiB   0.3%
  39. gettext~man~std~0.22.5                                      41 KiB   0.1%
  40. gettext~nls~std~0.22.5                                     597 KiB   0.8%
  41. gettext~primary~std~0.22.5                                 754 KiB   1.0%
  42. gettext~solinks~std~0.22.5                                 804 B     0.0%
  43. gettext~tools~std~0.22.5                                   751 KiB   1.0%
  44. gmake~dev~std~4.4                                         2016 B     0.0%
  45. gmake~info~std~4.4                                         156 KiB   0.2%
  46. gmake~man~std~4.4                                            5 KiB   0.0%
  47. gmake~nls~std~4.4                                          240 KiB   0.3%
  48. gmake~primary~std~4.4                                      135 KiB   0.2%
  49. help2man~info~std~1.49.3                                     7 KiB   0.0%
  50. help2man~man~std~1.49.3                                   2476 B     0.0%
  51. help2man~primary~std~1.49.3                                 20 KiB   0.0%
  52. help2man~set~std~1.49.3                                    431 B     0.0%
  53. indexinfo~single~std~0.3.1                                   5 KiB   0.0%
  54. jsoncpp~dev~std~1.9.5_1                                     18 KiB   0.0%
  55. jsoncpp~primary~std~1.9.5_1                                 89 KiB   0.1%
  56. libarchive~dev~std~3.7.4                                   461 KiB   0.6%
  57. libarchive~man~std~3.7.4                                    75 KiB   0.1%
  58. libarchive~primary~std~3.7.4                               360 KiB   0.5%
  59. libarchive~tools~std~3.7.4                                 433 KiB   0.6%
  60. libiconv~dev~std~1.17_1                                    755 KiB   1.0%
  61. libiconv~man~std~1.17_1                                      9 KiB   0.0%
  62. libiconv~primary~std~1.17_1                                728 KiB   1.0%
  63. libressl~dev~std~3.8.4_1                                  1515 KiB   2.0%
  64. libressl~man~std~3.8.4_1                                   560 KiB   0.7%
  65. libressl~primary~std~3.8.4_1                              1706 KiB   2.2%
  66. libsigsegv~dev~std~2.14_1                                    9 KiB   0.0%
  67. libsigsegv~primary~std~2.14_1                               14 KiB   0.0%
  68. libtool~man~std~2.4.7_1                                   2644 B     0.0%
  69. libtool~primary~std~2.4.7_1                                317 KiB   0.4%
  70. libtool~set~std~2.4.7_1                                    481 B     0.0%
  71. libuv~dev~std~1.48.0                                       118 KiB   0.2%
  72. libuv~primary~std~1.48.0                                    90 KiB   0.1%
  73. m4~examples~std~1.4.19_2                                     6 KiB   0.0%
  74. m4~info~std~1.4.19_2                                        94 KiB   0.1%
  75. m4~man~std~1.4.19_2                                       2522 B     0.0%
  76. m4~primary~std~1.4.19_2                                    135 KiB   0.2%
  77. ncurses~dev~std~6.5                                        455 KiB   0.6%
  78. ncurses~docs~std~6.5                                       305 KiB   0.4%
  79. ncurses~man~std~6.5                                        441 KiB   0.6%
  80. ncurses~primary~std~6.5                                    335 KiB   0.4%
  81. ncurses~terminfo~std~6.5                                   295 KiB   0.4%
  82. ncurses~tools~std~6.5                                      488 B     0.0%
  83. perl-5.38~man~std~5.38.2                                     6 MiB   7.5%
  84. perl-5.38~primary~std~5.38.2                                11 MiB  14.8%
  85. perl-5.38~set~std~5.38.2                                   541 B     0.0%
  86. pkgconf~dev~std~2.3.0                                       37 KiB   0.0%
  87. pkgconf~man~std~2.3.0                                        7 KiB   0.0%
  88. pkgconf~primary~std~2.3.0                                   51 KiB   0.1%
  89. readline~dev~std~8.2.13                                    177 KiB   0.2%
  90. readline~docs~std~8.2.13                                    29 KiB   0.0%
  91. readline~examples~std~8.2.13                                18 KiB   0.0%
  92. readline~info~std~8.2.13                                    66 KiB   0.1%
  93. readline~man~std~8.2.13                                     24 KiB   0.0%
  94. readline~primary~std~8.2.13                                169 KiB   0.2%
  95. rhash~dev~std~1.4.4                                        146 KiB   0.2%
  96. rhash~man~std~1.4.4                                          6 KiB   0.0%
  97. rhash~primary~std~1.4.4                                    128 KiB   0.2%
  98. rhash~tools~std~1.4.4                                       43 KiB   0.1%
  99. texinfo~info~std~7.1.1                                     347 KiB   0.5%
 100. texinfo~man~std~7.1.1                                       11 KiB   0.0%
 101. texinfo~nls~std~7.1.1                                      501 KiB   0.7%
 102. texinfo~primary~std~7.1.1                                 1824 KiB   2.4%
 103. texinfo~set~std~7.1.1                                      511 B     0.0%
 104. xz~dev~std~5.6.2,1                                         159 KiB   0.2%
 105. xz~docs~std~5.6.2,1                                         51 KiB   0.1%
 106. xz~examples~std~5.6.2,1                                      9 KiB   0.0%
 107. xz~man~std~5.6.2,1                                          28 KiB   0.0%
 108. xz~primary~std~5.6.2,1                                     106 KiB   0.1%
 109. xz~tools~std~5.6.2,1                                       146 KiB   0.2%
 110. zlib~dev~std~1.3.1                                          98 KiB   0.1%
 111. zlib~man~std~1.3.1                                        2695 B     0.0%
 112. zlib~primary~std~1.3.1                                      53 KiB   0.1%
 113. zstd~dev~std~1.5.6                                         517 KiB   0.7%
 114. zstd~man~std~1.5.6                                          13 KiB   0.0%
 115. zstd~primary~std~1.5.6                                     517 KiB   0.7%

Total data to download: 74 MiB
Disk space required to install these packages: 281 MiB
[001/115] autoconf-switch~single~std~20220527_1                    890 B   [ok]
[002/115] autoconf~man~std~2.72_1                                   11 KiB [ok]
[003/115] autoconf~primary~std~2.72_1                              357 KiB [ok]
[004/115] autoconf~set~std~2.72_1                                  417 B   [ok]
[005/115] automake~info~std~1.17_1                                 171 KiB [ok]
[006/115] automake~man~std~1.17_1                                 4037 B   [ok]
[007/115] automake~primary~std~1.17_1                              350 KiB [ok]
[008/115] automake~set~std~1.17_1                                  472 B   [ok]
[009/115] autoselect-perl~single~std~7                            4106 B   [ok]
[010/115] autoselect-ssl~single~std~3                             3769 B   [ok]
[011/115] bzip2~dev~std~1.0.8_1                                     33 KiB [ok]
[012/115] bzip2~docs~std~1.0.8_1                                   378 KiB [ok]
[013/115] bzip2~man~std~1.0.8_1                                     10 KiB [ok]
[014/115] bzip2~primary~std~1.0.8_1                                 33 KiB [ok]
[015/115] bzip2~tools~std~1.0.8_1                                   46 KiB [ok]
[016/115] cmake~docs~std~3.30.3                                    655 KiB [ok]
[017/115] cmake~man~std~3.30.3                                     384 B   [ok]
[018/115] cmake~primary~std~3.30.3                                  18 MiB [ok]
[019/115] cmake~set~std~3.30.3                                     432 B   [ok]
[020/115] db5~cxx~std~5.3.28_5                                    1024 KiB [ok]
[021/115] db5~dev~std~5.3.28_5                                    1477 KiB [ok]
[022/115] db5~docs~std~5.3.28_5                                     12 MiB [ok]
[023/115] db5~primary~std~5.3.28_5                                1240 KiB [ok]
[024/115] db5~tools~std~5.3.28_5                                   119 KiB [ok]
[025/115] expat~dev~std~2.6.3                                      132 KiB [ok]
[026/115] expat~man~std~2.6.3                                     4847 B   [ok]
[027/115] expat~primary~std~2.6.3                                   78 KiB [ok]
[028/115] gdbm~dev~std~1.24                                         42 KiB [ok]
[029/115] gdbm~info~std~1.24                                        51 KiB [ok]
[030/115] gdbm~man~std~1.24                                         23 KiB [ok]
[031/115] gdbm~nls~std~1.24                                         78 KiB [ok]
[032/115] gdbm~primary~std~1.24                                     48 KiB [ok]
[033/115] gdbm~tools~std~1.24                                       63 KiB [ok]
[034/115] gettext~asprintf~std~0.22.5                                8 KiB [ok]
[035/115] gettext~bldtools~std~0.22.5                             2721 KiB [ok]
[036/115] gettext~dev~std~0.22.5                                  1334 KiB [ok]
[037/115] gettext~docs~std~0.22.5                                  606 KiB [ok]
[038/115] gettext~info~std~0.22.5                                  195 KiB [ok]
[039/115] gettext~man~std~0.22.5                                    41 KiB [ok]
[040/115] gettext~nls~std~0.22.5                                   597 KiB [ok]
[041/115] gettext~primary~std~0.22.5                               754 KiB [ok]
[042/115] gettext~solinks~std~0.22.5                               804 B   [ok]
[043/115] gettext~tools~std~0.22.5                                 751 KiB [ok]
[044/115] gmake~dev~std~4.4                                       2016 B   [ok]
[045/115] gmake~info~std~4.4                                       156 KiB [ok]
[046/115] gmake~man~std~4.4                                          5 KiB [ok]
[047/115] gmake~nls~std~4.4                                        240 KiB [ok]
[048/115] gmake~primary~std~4.4                                    135 KiB [ok]
[049/115] help2man~info~std~1.49.3                                   7 KiB [ok]
[050/115] help2man~man~std~1.49.3                                 2476 B   [ok]
[051/115] help2man~primary~std~1.49.3                               20 KiB [ok]
[052/115] help2man~set~std~1.49.3                                  431 B   [ok]
[053/115] indexinfo~single~std~0.3.1                                 5 KiB [ok]
[054/115] jsoncpp~dev~std~1.9.5_1                                   18 KiB [ok]
[055/115] jsoncpp~primary~std~1.9.5_1                               89 KiB [ok]
[056/115] libarchive~dev~std~3.7.4                                 461 KiB [ok]
[057/115] libarchive~man~std~3.7.4                                  75 KiB [ok]
[058/115] libarchive~primary~std~3.7.4                             360 KiB [ok]
[059/115] libarchive~tools~std~3.7.4                               433 KiB [ok]
[060/115] libiconv~dev~std~1.17_1                                  755 KiB [ok]
[061/115] libiconv~man~std~1.17_1                                    9 KiB [ok]
[062/115] libiconv~primary~std~1.17_1                              728 KiB [ok]
[063/115] libressl~dev~std~3.8.4_1                                1515 KiB [ok]
[064/115] libressl~man~std~3.8.4_1                                 560 KiB [ok]
[065/115] libressl~primary~std~3.8.4_1                            1706 KiB [ok]
[066/115] libsigsegv~dev~std~2.14_1                                  9 KiB [ok]
[067/115] libsigsegv~primary~std~2.14_1                             14 KiB [ok]
[068/115] libtool~man~std~2.4.7_1                                 2644 B   [ok]
[069/115] libtool~primary~std~2.4.7_1                              317 KiB [ok]
[070/115] libtool~set~std~2.4.7_1                                  481 B   [ok]
[071/115] libuv~dev~std~1.48.0                                     118 KiB [ok]
[072/115] libuv~primary~std~1.48.0                                  90 KiB [ok]
[073/115] m4~examples~std~1.4.19_2                                   6 KiB [ok]
[074/115] m4~info~std~1.4.19_2                                      94 KiB [ok]
[075/115] m4~man~std~1.4.19_2                                     2522 B   [ok]
[076/115] m4~primary~std~1.4.19_2                                  135 KiB [ok]
[077/115] ncurses~dev~std~6.5                                      455 KiB [ok]
[078/115] ncurses~docs~std~6.5                                     305 KiB [ok]
[079/115] ncurses~man~std~6.5                                      441 KiB [ok]
[080/115] ncurses~primary~std~6.5                                  335 KiB [ok]
[081/115] ncurses~terminfo~std~6.5                                 295 KiB [ok]
[082/115] ncurses~tools~std~6.5                                    488 B   [ok]
[083/115] perl-5.38~man~std~5.38.2                                   6 MiB [ok]
[084/115] perl-5.38~primary~std~5.38.2                              11 MiB [ok]
[085/115] perl-5.38~set~std~5.38.2                                 541 B   [ok]
[086/115] pkgconf~dev~std~2.3.0                                     37 KiB [ok]
[087/115] pkgconf~man~std~2.3.0                                      7 KiB [ok]
[088/115] pkgconf~primary~std~2.3.0                                 51 KiB [ok]
[089/115] readline~dev~std~8.2.13                                  177 KiB [ok]
[090/115] readline~docs~std~8.2.13                                  29 KiB [ok]
[091/115] readline~examples~std~8.2.13                              18 KiB [ok]
[092/115] readline~info~std~8.2.13                                  66 KiB [ok]
[093/115] readline~man~std~8.2.13                                   24 KiB [ok]
[094/115] readline~primary~std~8.2.13                              169 KiB [ok]
[095/115] rhash~dev~std~1.4.4                                      146 KiB [ok]
[096/115] rhash~man~std~1.4.4                                        6 KiB [ok]
[097/115] rhash~primary~std~1.4.4                                  128 KiB [ok]
[098/115] rhash~tools~std~1.4.4                                     43 KiB [ok]
[099/115] texinfo~info~std~7.1.1                                   347 KiB [ok]
[100/115] texinfo~man~std~7.1.1                                     11 KiB [ok]
[101/115] texinfo~nls~std~7.1.1                                    501 KiB [ok]
[102/115] texinfo~primary~std~7.1.1                               1824 KiB [ok]
[103/115] texinfo~set~std~7.1.1                                    511 B   [ok]
[104/115] xz~dev~std~5.6.2,1                                       159 KiB [ok]
[105/115] xz~docs~std~5.6.2,1                                       51 KiB [ok]
[106/115] xz~examples~std~5.6.2,1                                    9 KiB [ok]
[107/115] xz~man~std~5.6.2,1                                        28 KiB [ok]
[108/115] xz~primary~std~5.6.2,1                                   106 KiB [ok]
[109/115] xz~tools~std~5.6.2,1                                     146 KiB [ok]
[110/115] zlib~dev~std~1.3.1                                        98 KiB [ok]
[111/115] zlib~man~std~1.3.1                                      2695 B   [ok]
[112/115] zlib~primary~std~1.3.1                                    53 KiB [ok]
[113/115] zstd~dev~std~1.5.6                                       517 KiB [ok]
[114/115] zstd~man~std~1.5.6                                        13 KiB [ok]
[115/115] zstd~primary~std~1.5.6                                   517 KiB [ok]
Download failed: zlib~primary~std~1.3.1.rvn
Download failed: zlib~dev~std~1.3.1.rvn
Download failed: zlib~man~std~1.3.1.rvn
Download failed: indexinfo~single~std~0.3.1.rvn
Download failed: libiconv~primary~std~1.17_1.rvn
Download failed: libiconv~dev~std~1.17_1.rvn
Download failed: libiconv~man~std~1.17_1.rvn
Download failed: gettext~primary~std~0.22.5.rvn
Download failed: gettext~asprintf~std~0.22.5.rvn
Download failed: gettext~tools~std~0.22.5.rvn
Download failed: gettext~bldtools~std~0.22.5.rvn
Download failed: gettext~dev~std~0.22.5.rvn
Download failed: gettext~solinks~std~0.22.5.rvn
Download failed: gettext~nls~std~0.22.5.rvn
Download failed: gettext~man~std~0.22.5.rvn
Download failed: gettext~docs~std~0.22.5.rvn
Download failed: gettext~info~std~0.22.5.rvn
Download failed: gmake~primary~std~4.4.rvn
Download failed: gmake~dev~std~4.4.rvn
Download failed: gmake~nls~std~4.4.rvn
Download failed: gmake~man~std~4.4.rvn
Download failed: gmake~info~std~4.4.rvn
Download failed: pkgconf~primary~std~2.3.0.rvn
Download failed: pkgconf~dev~std~2.3.0.rvn
Download failed: pkgconf~man~std~2.3.0.rvn
Download failed: ncurses~primary~std~6.5.rvn
Download failed: ncurses~tools~std~6.5.rvn
Download failed: ncurses~dev~std~6.5.rvn
Download failed: ncurses~man~std~6.5.rvn
Download failed: ncurses~terminfo~std~6.5.rvn
Download failed: ncurses~docs~std~6.5.rvn
Download failed: readline~primary~std~8.2.13.rvn
Download failed: readline~dev~std~8.2.13.rvn
Download failed: readline~man~std~8.2.13.rvn
Download failed: readline~examples~std~8.2.13.rvn
Download failed: readline~docs~std~8.2.13.rvn
Download failed: readline~info~std~8.2.13.rvn
Download failed: gdbm~primary~std~1.24.rvn
Download failed: gdbm~dev~std~1.24.rvn
Download failed: gdbm~tools~std~1.24.rvn
Download failed: gdbm~nls~std~1.24.rvn
Download failed: gdbm~man~std~1.24.rvn
Download failed: gdbm~info~std~1.24.rvn
Download failed: db5~primary~std~5.3.28_5.rvn
Download failed: db5~cxx~std~5.3.28_5.rvn
Download failed: db5~dev~std~5.3.28_5.rvn
Download failed: db5~tools~std~5.3.28_5.rvn
Download failed: db5~docs~std~5.3.28_5.rvn
Download failed: autoselect-perl~single~std~7.rvn
Download failed: perl-5.38~set~std~5.38.2.rvn
Download failed: perl-5.38~primary~std~5.38.2.rvn
Download failed: perl-5.38~man~std~5.38.2.rvn
Download failed: libsigsegv~primary~std~2.14_1.rvn
Download failed: libsigsegv~dev~std~2.14_1.rvn
Download failed: help2man~set~std~1.49.3.rvn
Download failed: help2man~primary~std~1.49.3.rvn
Download failed: help2man~man~std~1.49.3.rvn
Download failed: help2man~info~std~1.49.3.rvn
Download failed: m4~primary~std~1.4.19_2.rvn
Download failed: m4~examples~std~1.4.19_2.rvn
Download failed: m4~man~std~1.4.19_2.rvn
Download failed: m4~info~std~1.4.19_2.rvn
Download failed: autoconf-switch~single~std~20220527_1.rvn
Download failed: autoconf~set~std~2.72_1.rvn
Download failed: autoconf~primary~std~2.72_1.rvn
Download failed: autoconf~man~std~2.72_1.rvn
Download failed: texinfo~set~std~7.1.1.rvn
Download failed: texinfo~primary~std~7.1.1.rvn
Download failed: texinfo~nls~std~7.1.1.rvn
Download failed: texinfo~man~std~7.1.1.rvn
Download failed: texinfo~info~std~7.1.1.rvn
Download failed: libtool~set~std~2.4.7_1.rvn
Download failed: libtool~primary~std~2.4.7_1.rvn
Download failed: libtool~man~std~2.4.7_1.rvn
Download failed: automake~set~std~1.17_1.rvn
Download failed: automake~primary~std~1.17_1.rvn
Download failed: automake~man~std~1.17_1.rvn
Download failed: automake~info~std~1.17_1.rvn
Download failed: autoselect-ssl~single~std~3.rvn
Download failed: xz~primary~std~5.6.2,1.rvn
Download failed: xz~tools~std~5.6.2,1.rvn
Download failed: xz~dev~std~5.6.2,1.rvn
Download failed: xz~man~std~5.6.2,1.rvn
Download failed: xz~docs~std~5.6.2,1.rvn
Download failed: xz~examples~std~5.6.2,1.rvn
Download failed: bzip2~primary~std~1.0.8_1.rvn
Download failed: bzip2~dev~std~1.0.8_1.rvn
Download failed: bzip2~tools~std~1.0.8_1.rvn
Download failed: bzip2~man~std~1.0.8_1.rvn
Download failed: bzip2~docs~std~1.0.8_1.rvn
Download failed: expat~primary~std~2.6.3.rvn
Download failed: expat~dev~std~2.6.3.rvn
Download failed: expat~man~std~2.6.3.rvn
Download failed: libressl~primary~std~3.8.4_1.rvn
Download failed: libressl~dev~std~3.8.4_1.rvn
Download failed: libressl~man~std~3.8.4_1.rvn
Download failed: zstd~primary~std~1.5.6.rvn
Download failed: zstd~dev~std~1.5.6.rvn
Download failed: zstd~man~std~1.5.6.rvn
Download failed: libarchive~primary~std~3.7.4.rvn
Download failed: libarchive~tools~std~3.7.4.rvn
Download failed: libarchive~dev~std~3.7.4.rvn
Download failed: libarchive~man~std~3.7.4.rvn
Download failed: jsoncpp~primary~std~1.9.5_1.rvn
Download failed: jsoncpp~dev~std~1.9.5_1.rvn
Download failed: rhash~primary~std~1.4.4.rvn
Download failed: rhash~tools~std~1.4.4.rvn
Download failed: rhash~dev~std~1.4.4.rvn
Download failed: rhash~man~std~1.4.4.rvn
Download failed: libuv~primary~std~1.48.0.rvn
Download failed: libuv~dev~std~1.48.0.rvn
Download failed: cmake~set~std~3.30.3.rvn
Download failed: cmake~primary~std~3.30.3.rvn
Download failed: cmake~man~std~3.30.3.rvn
Download failed: cmake~docs~std~3.30.3.rvn
At least one package failed to fetch, aborting build!
After inspection, it has been determined that there are no packages that
require rebuilding; the task is therefore complete.
jrmarino commented 1 month ago

okay, I'll take a look. like I said, it's been a long time since prefetch was checked since we've been building all deps too.

jrmarino commented 1 month ago

by the way, I just released that the repo wasn't signed, so the next time I push an update, you'll need to (re-?) enable the fingerprint to validate.

jrmarino commented 1 month ago

first, a question: Is this file installed? "/raven/share/certs/ca-root-nss.crt"

secondly, if the answer is "no", can you install "nss\~caroot\~std" and let me know if prebuilt option works as expected?

EarldridgeJazzedPineda commented 1 month ago

by the way, I just released that the repo wasn't signed, so the next time I push an update, you'll need to (re-?) enable the fingerprint to validate.

I've enabled the fingerprint in /raven/etc/rvn/repos/raven.conf , then ran /raven/sbin/rvn upgrade and /raven/bin/ravenadm update-ports (for good measure).

EarldridgeJazzedPineda commented 1 month ago

first, a question: Is this file installed? "/raven/share/certs/ca-root-nss.crt"

secondly, if the answer is "no", can you install "nss\~caroot\~std" and let me know if prebuilt option works as expected?

Yes, /raven/share/certs/ca-root-nss.crt is installed in my system, it was left over from a previous installation of Ravenports that had ravensw(8). I cleared the packages cache once more, then tried building my port. It still fails. Installing "nss\~caroot\~std" using rvn(8) didn't help.

EarldridgeJazzedPineda commented 1 month ago

I later found that ravenadm is using rvn to install packages to dir_packages (which in my case, is /var/ravenports/primary/packages/): https://github.com/Ravenports/ravenadm/blob/cdf05b061e89246f5c2a1235b1c739eabdec115a/src/portscan-operations.adb#L1549-L1550 rvn is supposed to install the packages to a subdirectory called "files", but for whatever reason, it installs them directly to the specified directory.

ravenadm expects the installed packages to be found in dir_repository (which is the subdirectory called "files" in dir_packages, so in my case, it is /var/ravenports/primary/packages/files/): https://github.com/Ravenports/ravenadm/blob/cdf05b061e89246f5c2a1235b1c739eabdec115a/src/portscan-operations.adb#L1425-L1430 That directory doesn't exist because rvn doesn't install to it, so ravenadm will print "Download failed".

I've finally found the culprit. It is a bug found in rvn. I created an issue in the rvn repository.

jrmarino commented 1 month ago

ah, there's another location to fix.