You are not logged in.

#1 2023-08-05 17:32:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,621
Website

Build errors with mesa upon doing a git bitsect [SOLVED]

I need to bisect mesa due to this bug.  I modified the PKGBUILD for mesa-23.1.1-1 to grab the various commits identified by git bisect.  I am building in a clean chroot.

I am running into build issues that a little over my head.  Grateful for any pointers.

1. is my strategy to build the bisected commits sound?  Perhaps the build deps also need to be downgraded in order to achieve?
2. Should Use the Arch RollBack Machine archive to setup the buildroot with older build deps?

Here is the PKGBUILD I created.  Note that I manually define _commit= based on a git bisect I have going on a clone of the gitrepo:

% cd mesa
% git bisect bad $(git show-ref -s mesa-23.1.1)
% git bisect good $(git show-ref -s mesa-23.0.3) 
Bisecting: a merge base must be tested
[ebdf6a79266b2b2249b549707fcdbaf9eae905ce] intel/genxml: Drop CACHE_MODE_SS definition.

EDIT: even pointing the buildroot to ALA from 25-May-2023 is not helping.

The build log with errors.

Last edited by graysky (2023-08-05 21:22:19)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2023-08-05 19:00:19

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,115

Re: Build errors with mesa upon doing a git bitsect [SOLVED]

/build/mesa/src/mesa-ebdf6a79266b2b2249b549707fcdbaf9eae905ce/src/./util/simple_mtx.h:34:12: fatal error: 'valgrind.h' file not found

Missing dependency, perhaps? I'm not familiar with building mesa, specifically, but I think that's the error that causes the build to fail.

Offline

#3 2023-08-05 21:22:08

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,621
Website

Re: Build errors with mesa upon doing a git bitsect [SOLVED]

I ended up adjusting the PKGBUILD like this to get it working.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2023-08-05 21:28:13

loqs
Member
Registered: 2014-03-06
Posts: 17,764

Re: Build errors with mesa upon doing a git bitsect [SOLVED]

Offline

Board footer

Powered by FluxBB