I guess there aren’t many experts in that Docker image… or they just didn’t see the thread. I guess there remains nothing but to debug it yourself… or move onto another project .
With the image itself I am fine, then I’ll try to rephrase the question: which conditions cause the package tool to produce such error messages? Can you link me the code of the tool itself to let me inspect it?
By the looks of it, haiku/3rdparty/docker/cross-compiler might be it. I found the link from the older docker hub package. It definitely would be nice if that were easier to find directly from the cross-compiler package from GitHub.
I may guess the pile of standard licenses is missing at the docker image then, my package uses GPLv3 license. I am right now out of home, so I’ll try to check this later.
How did you declare the license in your packageinfo file exactly? It has to match the filename of the file providing the license, stored I think in /boot/system/data/licenses/
At me is specified GNU GPL v3, and on the true Haiku it works just fine. But the package tool built as a cross tool fails to even add the path according to the code, it didn’t reached the code piece when it should check the presense of the license file.
Ping? Any news regarding this? As I can see, the current version of package util still have a bug that it can’t find the path to licenses (or it was been specified wrong path during the build?).
Do you build the package on haiku or other system?
Haiku does not have usr/bin only system/bin.
For testing you can use my HPKG Creator from our repository software.besly.de. With my little program you can create a stand alone package for your own repository or testing.
If you get problms with licences, add them to your package too and descript them on the right positon in your package script:
On Linux. On Haiku itself everything works perfectly. As I said at the begin of topic, I trying to set up the CI that builds my project to Haiku using the Linux host using cross-compilation toolchain.
Your files are in /system/data/licenses; the tool probably checks for them in /boot/system/data/licenses. On Haiku, the root filesystem is mounted in /boot/, not in / as in Linux. Some symlinks in / are provided, but typically not used by Haiku apps.
Maybe you can workaround this by linking /boot to /?