Building haikuporter from source


#1

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.


#2

I had this problem before. After rechecking tree_path several times, I discovered I had mistyped it.


#3

I have to set TREE_PATH to the directory which contains the file haikuporter which we run through the command ./haikuporter mesa -j4?


#4

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 :slight_smile:

TREE_PATH should be the path to haikuports, not haikuporter.
(aka this once checked out: https://github.com/haikuports/haikuports)


#5

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: dependency-infos:
Error: /boot/home/haikuports/repository/mesa-17.1.10.DependencyInfo
Error: /boot/home/haikuports/repository/mesa_debuginfo-17.1.10.DependencyInfo
Error: /boot/home/haikuports/repository/mesa_devel-17.1.10.DependencyInfo
Error: /boot/home/haikuports/repository/mesa_swpipe-17.1.10.DependencyInfo
Error: /boot/home/haikuports/repository/mesa_source-17.1.10.DependencyInfo
Error: repositories:
Error: [u’/boot/home/haikuports/packages’, ‘/boot/system/packages’]
Error:

PS: I was able to solve the error by installing “devel:libllvm_7” through pkgman.