Package Details: lib32-mesa-minimal-git 23.1.0_devel.165928.3131c2fc7ad-1

Git Clone URL: https://aur.archlinux.org/lib32-mesa-minimal-git.git (read-only, click to copy)
Package Base: lib32-mesa-minimal-git
Description: an open-source implementation of the OpenGL specification, git version
Upstream URL: https://www.mesa3d.org
Licenses: custom
Conflicts: lib32-libva-mesa-driver, lib32-mesa, lib32-mesa-vdpau, lib32-mesa-vulkan, lib32-vulkan-intel, lib32-vulkan-mesa-layers, lib32-vulkan-radeon
Provides: lib32-libva-mesa-driver, lib32-mesa, lib32-mesa-vdpau, lib32-mesa-vulkan, lib32-opengl-driver, lib32-vulkan-driver, lib32-vulkan-intel, lib32-vulkan-mesa-layers, lib32-vulkan-radeon
Submitter: shoober420
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 6
Popularity: 0.093907
First Submitted: 2020-12-10 00:42 (UTC)
Last Updated: 2023-01-31 14:50 (UTC)

Required by (107)

Sources (3)

Latest Comments

1 2 Next › Last »

Lone_Wolf commented on 2022-10-08 10:03 (UTC)

makechrootpkg uses systemd-nspawn which limits /tmp to 20% of total memory so it may still be an issue.

create a new folder, git clone https://aur.archlinux.org/lib32-mesa-minimal-git.git (to ensure you're using the same files as I do).

run multilib-build (or the equivalent for your chosen chroot setup) .

The partial error looks like it is after meson has run, but the cause may still lie in the configure part.

After it fails upload the build log & src/_build/meson-logs/meson-log.txt somewhere public.

Incase you need help with that, see https://wiki.archlinux.org/title/List_of_applications#Pastebin_services

0xSigi commented on 2022-10-08 07:51 (UTC)

Yes, the vdpau is enabled in mesa-minimal-git hence I am wondering why it trips here.. As for regular building and the clang error, yes, I did clean the chroot and made sure to pull the latest updates before trying to build yesterday..

Overall tried it few times across past three days, always ends up same way.. System have 64GB of ram so this should not be an issue..

Lone_Wolf commented on 2022-10-07 18:33 (UTC) (edited on 2022-10-07 18:33 (UTC) by Lone_Wolf)

It also errors out with dependency vdpau not found if I'd change the vdpau to enabled in the PKGBUILD.. Not sure if this an issue on my end, or upstream since I don't see anyone reporting similar issues..

vdpau needs to be enabled in mesa-minimal-git for vdpau in lib32-mesa-minimal-git to work. I am not entirely happy with the way my pacakges deal with vdpau now and am considering to enable it, probably 2nd half of this month due to time constraints.

No issue here with normal build or multilib-build .

I recently updated the PKGBUILD, make sure you use the latest one.

does adding -c (Clean the chroot before building) to the build command help ?

How much memory does your system have ?

0xSigi commented on 2022-10-07 08:19 (UTC)

Hello, I am having trouble building this package for the past few days on a new system, both llvm and mesa-minimal builds fine.. I am building everything in clean chroot. Here's an excerpt from the log file:

Compiler stderr:

Compiler for C++ supports arguments -Wno-ignored-attributes: YES Got config-tool variable libdir : /usr/lib32 Got config-tool variable libdir : /usr/lib32 Library Polly found: NO Library PollyISL found: NO Library clang-cpp found: NO Running compile: Working directory: /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmppbzhjfxq Command line: g++ -m32 /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmppbzhjfxq/testfile.cpp -o /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmppbzhjfxq/output.exe -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,--fatal-warnings -Wl,--rpath=/usr/lib32 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Code: int main(void) { return 0; }

Compiler stdout:

Compiler stderr:

Compiler for C++ supports link arguments -Wl,--rpath=/usr/lib32: YES Running compile: Working directory: /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmpfbatpfo4 Command line: g++ -m32 /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmpfbatpfo4/testfile.cpp -o /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmpfbatpfo4/output.exe -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pthread -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -std=c++17 -Wl,--rpath=/usr/lib32 -Wl,--start-group -lLLVM-16 -Wl,--end-group -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Code:

#include <clang/Basic/Version.h> int main (void) { size_t found_pos = clang::getClangFullVersion().find(CLANG_VERSION_STRING); return found_pos == ::std::string::npos ? 1 : 0; }

Compiler stdout:

Compiler stderr: In file included from /usr/include/c++/12.2.0/x86_64-pc-linux-gnu/32/bits/os_defines.h:39, from /usr/include/c++/12.2.0/x86_64-pc-linux-gnu/32/bits/c++config.h:655, from /usr/include/c++/12.2.0/cassert:43, from /usr/include/llvm/ADT/DenseMapInfo.h:17, from /usr/include/llvm/ADT/StringRef.h:12, from /usr/include/clang/Basic/Version.h:19, from /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmpfbatpfo4/testfile.cpp:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | >~~~~~~ /usr/bin/ld: /tmp/ccds0y6Y.o: in function main': testfile.cpp:(.text+0x35): undefined reference toclang::getClangFullVersionabi:cxx11' collect2: error: ld returned 1 exit status

Could not compile test file /tmp/makepkg/lib32-mesa-minimal-git/src/_build/meson-private/tmpfbatpfo4/testfile.cpp: 1

Checking if "dep-clang-usable" with dependencies LLVM, -lclang-cpp, threads runs: DID NOT COMPILE

mesa/src/gallium/targets/opencl/meson.build:62:2: ERROR: C++ shared or static library 'clangCodeGen' not found

It also errors out with dependency vdpau not found if I'd change the vdpau to enabled in the PKGBUILD.. Not sure if this an issue on my end, or upstream since I don't see anyone reporting similar issues..

Lone_Wolf commented on 2021-09-20 09:04 (UTC)

Seems I forgot to upload the adjusted version, done mow (after fresh build)

xenu commented on 2021-09-19 18:18 (UTC)

"use hasParamAttr" patch should be removed here as well as it has been merged. Thank you.

Lone_Wolf commented on 2021-09-08 12:40 (UTC)

Correct, I was already working on it.

Patch applied.

xenu commented on 2021-09-08 12:21 (UTC)

Same patch as https://aur.archlinux.org/packages/mesa-minimal-git/#comment-825734 needs to be applied here for llvm14 compatibility.

Lone_Wolf commented on 2021-07-24 12:14 (UTC)

Upstream solved build failure, patch reverted.

Lone_Wolf commented on 2021-06-18 11:37 (UTC)

I looked into this but couldn't figure out how to use the new method for StackAlignmentOverride .The bugreport doesn't show any activity.

Mesa only uses this for PIPE_ARCH_X86 and it's unclear to me what it does.

Commenting out the command makes build continue without issues as far as I know.

do-not-use-StackAlignmentOverride.patch is applied as a workaround until a better solution is found.