No, it has nothing to do with the chroot. I believe the error message is somewhat misleading as it only shows up when I build with LTO on. Trimmed log is here if you're curious: https://pastebin.com/XEJv2JVL
Search Criteria
Package Details: lib32-llvm-minimal-git 17.0.0_r457946.26e164fada37-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/lib32-llvm-minimal-git.git (read-only, click to copy) |
---|---|
Package Base: | lib32-llvm-minimal-git |
Description: | Collection of modular and reusable compiler and toolchain technologies (32-bit) |
Upstream URL: | http://llvm.org/ |
Licenses: | custom:Apache 2.0 with LLVM Exception |
Conflicts: | lib32-llvm |
Provides: | lib32-llvm |
Submitter: | Lone_Wolf |
Maintainer: | Lone_Wolf |
Last Packager: | Lone_Wolf |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2019-05-14 19:33 (UTC) |
Last Updated: | 2023-04-15 15:35 (UTC) |
Dependencies (11)
- lib32-llvm-libs-minimal-git
- llvm-minimal-git
- cmake (cmake-git) (make)
- git (git-vfs, git-run-command-patch-git, git-git, git-fc) (make)
- lib32-gcc-libs (lib32-gccrs-libs-git, lib32-gcc-libs-git) (make)
- lib32-libffi (lib32-libffi-minimal-git) (make)
- lib32-libxml2 (make)
- lib32-zlib (make)
- lib32-zstd (lib32-zstd-git) (make)
- llvm-minimal-git (make)
- python (nogil-python, python36, python32, python39, python38, python37, python310, python312) (make)
Required by (15)
- lib32-libva-mesa-driver-steamos (requires lib32-llvm) (make)
- lib32-mesa-amdonly-gaming-git (requires lib32-llvm) (make)
- lib32-mesa-git (requires lib32-llvm) (make)
- lib32-mesa-minimal+-git (make)
- lib32-mesa-minimal-git (make)
- lib32-mesa-steamos (requires lib32-llvm) (make)
- lib32-mesa-vdpau-steamos (requires lib32-llvm) (make)
- lib32-opencl-mesa-steamos (requires lib32-llvm) (make)
- lib32-python (requires lib32-llvm) (make)
- lib32-spirv-llvm-translator (requires lib32-llvm) (make)
- lib32-vulkan-intel-steamos (requires lib32-llvm) (make)
- lib32-vulkan-mesa-layers-steamos (requires lib32-llvm) (make)
- lib32-vulkan-radeon-steamos (requires lib32-llvm) (make)
- lib32-vulkan-swrast-steamos (requires lib32-llvm) (make)
- lutris-wine-git (requires lib32-llvm) (optional)
Sources (1)
eclairevoyant commented on 2023-01-18 22:32 (UTC) (edited on 2023-01-18 22:33 (UTC) by eclairevoyant)
Lone_Wolf commented on 2023-01-18 11:44 (UTC) (edited on 2023-01-18 11:46 (UTC) by Lone_Wolf)
The out of space is due to chroots using systemd-nspawn which defaults to reserving 10% of available ram for /tmp. https://bbs.archlinux.org/viewtopic.php?id=277304 has more info.
I will look into building with lto disabled and check if lib32-zstd should be a makedepend.
eclairevoyant commented on 2023-01-17 22:41 (UTC)
I would also suggest adding !lto
to the options
array, otherwise it says I'm out of free space despite having over 120G free. Similar approach is done in llvm-minimal-git
.
eclairevoyant commented on 2023-01-17 20:41 (UTC) (edited on 2023-01-17 21:13 (UTC) by eclairevoyant)
@0xSigi I also have issues building in a clean chroot (via aurutils): https://pastebin.com/uCSkV6P4
Based on this message:
/usr/bin/ld: /usr/lib/libzstd.so: error adding symbols: file in wrong format
it looks like we are missing a makedep (lib32-zstd
).
0xSigi commented on 2022-10-21 13:32 (UTC) (edited on 2022-10-21 15:20 (UTC) by 0xSigi)
Unfortunately it seems that the latest version (lib32-llvm-minimal-git...I tried to build it via makepkg -src; in chroot via devtools, and via aurutils, all three end in the same way.. Anyone else having same issues building it? Sorry, seems like this was an issue with this system.. build it sucessfuly on a different one..
Lone_Wolf commented on 2020-07-16 10:35 (UTC)
12.0.0_r360444.2762da0a16a-1 only gives the usual test failures, no build failure.
Try building in a clean chroot, https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot
Maltahl commented on 2020-07-15 17:15 (UTC)
Sorry but i have trouble building current version 12.0.0_r360380.8ef47244b95-1
lib32-llvm-minimal-git/src/llvm-project/llvm/lib/Analysis/TFUtils.cpp:20:10: fatal error: tensorflow/c/c_api.h: No such file or directory
20 | #include "tensorflow/c/c_api.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[1178/2100] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolution.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Strunkenbold commented on 2020-05-09 21:08 (UTC)
Found the problem. For some strange reason it didnt removed .so.10 files from the src folder. So it packed the same old stuff over and over again in the package. I actually did git reset --hard, but it didnt helped. Sorry for the noise.
Lone_Wolf commented on 2020-05-02 14:16 (UTC)
The libraries installed by this pacakge should have version number 11 .
I checked and can install lib32-llvm-libs and lib32-llvm-libs-minimal-git together without problems.
Try installing lib32-llvm-libs while ib32-llvm-libs-minimal-git is already present. If that works the error is in another program and I'll need to see pacman -Syu log.
Strunkenbold commented on 2020-05-01 18:24 (UTC)
I upgraded already the lib32 minimal package but still getting an error during sys upgrafe that the following packages already exist in filesystem:
lib32-llvm-libs: /usr/lib32/libLLVM-10.0.0.so lib32-llvm-libs: /usr/lib32/libLLVM-10.so lib32-llvm-libs: /usr/lib32/libLTO.so.10
Pinned Comments
Lone_Wolf commented on 2019-08-21 13:47 (UTC)
When building this you're likely to get test failures.
The ones related to tools/gold are a consequence of certain choices and should be unimportant.
Use --nocheck option to prevent makepkg from running the check() function