You are not logged in.
Has there been some change to makepkg or something that would cause a failure when cross compiling with aarch64-linux-gnu-gcc? Specifically, the source tarball is not in the $srcdir it seems.
Example trying to build linux-rpi:
% CARCH=aarch64 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- nice -19 makepkg -sRf
==> Making package: linux-rpi 6.3.9-4 (Fri Jun 30 14:15:44 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Entering fakeroot environment...
==> Starting package_linux-rpi()...
/scratch/linux-rpi/PKGBUILD: line 136: cd: /scratch/linux-rpi/src/linux-e8616fd177567dbcecf66b4981b0bf2aa324e1df: No such file or directory
==> ERROR: A failure occurred in package_linux-rpi().
Aborting...Indeed, makepkg did not extract the source.
Last edited by graysky (2023-06-30 19:13:13)
Offline
You're repackaging (-R), so the source should already have been extracted (and built) by the first run of makepkg, no?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Keen eye, WorMzy. Thank you. I did not mean to have that switch included. Removing it gives the expected behavior. Thank you!
This works as expected:
% CARCH=aarch64 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- nice -19 makepkg -sCAfdLast edited by graysky (2023-06-30 19:13:42)
Offline