Package Details: aaru-git v6.0.0.7136b0613-1

Git Clone URL: https://aur.archlinux.org/aaru-git.git (read-only, click to copy)
Package Base: aaru-git
Description: Disc image management and creation tool for disks, tapes, optical and solid state media
Upstream URL: http://www.aaru.app
Licenses: GPL
Conflicts: aaru
Provides: aaru
Submitter: claunia
Maintainer: claunia
Last Packager: claunia
Votes: 0
Popularity: 0.000000
First Submitted: 2020-03-01 14:59 (UTC)
Last Updated: 2023-09-27 15:18 (UTC)

Latest Comments

hogehoge61 commented on 2025-05-19 09:41 (UTC) (edited on 2025-05-19 09:42 (UTC) by hogehoge61)

The current PKGBUILD fails to build.

[hogehoge61@META-DESK-ONE aaru-git]$ makepkg -si
==> Making package: aaru-git v6.0.0.7136b0613-1 (Mon 19 May 2025 06:35:23 PM JST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning Aaru git repo...
Cloning into bare repository '/data/ssd/240g/hogehoge61/git/aaru-git/Aaru'...
remote: Enumerating objects: 102892, done.
remote: Counting objects: 100% (23250/23250), done.
remote: Compressing objects: 100% (5971/5971), done.
remote: Total 102892 (delta 17717), reused 22538 (delta 17072), pack-reused 79642 (from 1)
Receiving objects: 100% (102892/102892), 62.27 MiB | 11.34 MiB/s, done.
Resolving deltas: 100% (84407/84407), done.
==> Validating source files with sha256sums...
    Aaru ... Skipped
==> Extracting sources...
  -> Creating working copy of Aaru git repo...
Cloning into 'Aaru'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: aaru-git v6.0.0.21368f001-1
==> Starting build()...
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'publish' does not exist.
  * You intended to execute a .NET SDK command:
      A compatible .NET SDK was not found.

Requested SDK version: 9.0.100
global.json file: /data/ssd/240g/hogehoge61/git/aaru-git/src/Aaru/global.json

Installed SDKs:
3.1.426 [/usr/share/dotnet/sdk]
6.0.136 [/usr/share/dotnet/sdk]
7.0.120 [/usr/share/dotnet/sdk]
8.0.115 [/usr/share/dotnet/sdk]
9.0.105 [/usr/share/dotnet/sdk]

Install the [9.0.100] .NET SDK or update [/data/ssd/240g/hogehoge61/git/aaru-git/src/Aaru/global.json] to match an installed SDK.

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
==> ERROR: A failure occurred in build().
    Aborting...
[hogehoge61@META-DESK-ONE aaru-git]$ 

After trial and error, I succeeded in building by applying a workaround: changing _netcoretarget to net9.0 and changing rollForward in global.json to latestPatch. I'm not sure if this is the 'correct' fix. Given that the LTS aaru package is no longer available, I hope a more accurate fix can be implemented than my temporary workaround.

--- PKGBUILD.orig       2025-05-19 18:21:08.004022124 +0900
+++ PKGBUILD    2025-05-19 18:30:48.562399020 +0900
@@ -1,6 +1,6 @@
 #@IgnoreInspection BashAddShebang
 # Maintainer: Natalia Portillo <claunia@claunia.com>
-_netcoretarget='net8.0'
+_netcoretarget='net9.0'
 _aarubase='Aaru'
 packager='Natalia Portillo <claunia@claunia.com>'
 pkgbase='aaru-git'
@@ -38,8 +38,15 @@
 }

 build() {
-    cd "${srcdir}"/"${_aarubase}"/Aaru
-    dotnet publish -f ${_netcoretarget} -c Debug --self-contained -r ${dotnet_rid}
+  cd "${srcdir}"/"${_aarubase}"/Aaru
+  GLOBAL_JSON_PATH="../global.json"
+
+  if [ -f "${GLOBAL_JSON_PATH}" ]; then
+    msg "INFO: Modifying ${GLOBAL_JSON_PATH} to set rollForward to latestPatch."
+    sed -i -E 's/("rollForward":\s*)"disable"(.*)/\1"latestPatch"\2/' "${GLOBAL_JSON_PATH}"
+  fi
+
+  dotnet publish -f ${_netcoretarget} -c Debug --self-contained -r ${dotnet_rid}
 }

 package() {

claunia commented on 2023-09-14 02:18 (UTC)

I still have not been able to replicate @cgarz error, at all.

Just got a timeout now, that wasn't happening on May 2023.

cgarz commented on 2022-05-07 01:17 (UTC) (edited on 2022-05-07 10:45 (UTC) by cgarz)

Got a few errors when building 6.0.0-alpha8+22aa46e7 but managed to resolve them and its working good now.

fatal: remote error:               
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information

Can be fixed either by updating source line in PKGBUILD from git:// to https://
or by running: git config --global url."https://".insteadOf git:// to make git replace it automatically for github links.

error NETSDK1005: Assets file '/tmp/trizen-cgar/aaru-git/src/Aaru/Aaru/obj/project.assets.json' doesn't have a target for
 'net6'. Ensure that restore has run and that you have included 'net6' in the TargetFrameworks for your project.

Fixed by updating _netcoretarget in PKGBUILD from net6 to net6.0

jswagner commented on 2020-04-02 02:47 (UTC)

aaru stable version doesn't seem to be packaged in the official Arch repos or in its AUR. I'll install the stable binary locally from the github release page, but ideally I'd love to have a stable package that's simply maintained with my package manager.

Thanks for the reply!

claunia commented on 2020-04-01 22:29 (UTC)

Hi @jswagner.

Strange. Anyway right now git doesn't have much over stable and soon I'll move git to dotnet core 3.1 so can you use the stable one meanwhile?

jswagner commented on 2020-03-31 07:36 (UTC)

Thanks for making this available. I ran into this:

==> Starting prepare()...
/home/jason/tmp/aaru/aaru-git/PKGBUILD: line 36: cd: /home/jason/tmp/aaru/aaru-git/src/aaru: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

I changed line 4 of the PKGBUILD from _aarubase=aaru to _aarubase=Aaru to proceed. Later, the build failed with this (followed by a cascade of identical faults as it looped through the other .csproj files):

  Version: 5.1.99.2880
  InformationalVersion: 5.1.99.2880-914bf45d built by arkiva in Debug
/usr/share/dotnet/sdk/3.1.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error NETSDK1005: Assets file '/home/jason/bin/aaru/aaru-git/src/Aaru/Aaru/obj/project.assets.json' doesn't have a target for '.NETCoreApp,Version=v
2.0'. Ensure that restore has run and that you have included 'netcoreapp2.0' in the TargetFrameworks for your project. [/home/jason/bin/aaru/aaru-git/src/Aaru/Aaru/Aaru.csproj]