oasislinux / oasis

a small statically-linked linux system
Other
2.75k stars 84 forks source link

'pax' command not found #10

Closed PaulBatchelor closed 4 years ago

PaulBatchelor commented 4 years ago

Currently trying to follow the wiki

This happens with scripts/fetch-curl.sh:

./scripts/fetch-curl.sh: line 34: pax: not found FAILED: pkg/byacc/fetch sh ./scripts/fetch-curl.sh pkg/byacc && touch pkg/byacc/fetch ninja: build stopped: subcommand failed.

It seems I need to install the "pax" utility on my system. This is proving to be very difficult to do on Alpine (it doesn't exist in the repo, and the sources have an archaic autotools system).

Is there any possible workaround for this?

michaelforney commented 4 years ago

Yep, the workaround is to install bsdtar from libarchive-tools, and set PAXREAD='bsdtar -x -f -'. This is what the continuous build script does, which runs from an Alpine image.

PaulBatchelor commented 4 years ago

Awesome. I think that worked.