While building haikuporter from source running this statement ./haikuporter mesa -j4 leads to this error Error: The version of the recipe file format used in the ports tree is older than the one supported by haikuporter.
Error: Please upgrade the ports tree.
I have even rechecked TREE_PATH in ~/config/settings/haikuports.conf.
I had this problem before. After rechecking tree_path several times, I discovered I had mistyped it.
I have to set TREE_PATH to the directory which contains the file haikuporter which we run through the command ./haikuporter mesa -j4?
Indeed. A broken path to haikuports will result in a “ports tree version error” message vs a nice “This path is inaccessible” message. Someone should fix that issue in haikuporter’s python code
TREE_PATH should be the path to haikuports, not haikuporter.
(aka this once checked out: https://github.com/haikuports/haikuports)
Thanks, I was able to solve the issue but then another error occured.
build-requires “devel:libllvm_7” of package “mesa-17.1.10” could not be resolved
Error: unable to resolve required packages for build for mesa-17.1.10
Error: [u’/boot/home/haikuports/packages’, ‘/boot/system/packages’]
PS: I was able to solve the error by installing “devel:libllvm_7” through pkgman.