Patch the Source
Learn how to add a patch to fix shaer's install() phase.
Preface
In the previous lesson, we created an APKBUILD
for shaer
, a simple C++ project with a few dependencies. The build()
and test()
phases already work with the automatically generated APKBUILD
from newapkbuild
. However, the package()
phase currently fails with the following error:
Press + to interact
-- Install configuration: "None">>> shaer: Running postcheck for shaerfind: /shaer/pkg/shaer: No such file or directoryfind: /shaer/pkg/shaer: No such file or directoryfind: /shaer/pkg/shaer: No such file or directoryfind: /shaer/pkg/shaer: No such file or directoryfind: /shaer/pkg/shaer: No such file or directory>>> shaer: Preparing package shaer.../usr/bin/abuild: cd: line 2461: can't cd to /shaer/pkg/shaer: No such file or directory
Find the cause
In the output of abuild
, we can see that multiple ...
Get hands-on with 1400+ tech skills courses.