~sircmpwn/sr.ht-discuss

1

Error with a build in alpinelinux with cargo install

Details
Message ID
<20231128102949.ba676c66fad23c969ef36721@posteo.net>
DKIM signature
missing
Download raw message
Hi,

I try to make a simply build:

arch: null
artifacts: []
environment:
  BUILD_SUBMITTER: git.sr.ht
  GIT_REF: refs/heads/main
  site: candoc.cc
image: alpine/edge
packages:
- hut
- openssl
- mdbook
- cargo
- ruby
- ruby-rake
repositories: {}
secrets: []
shell: false
sources:
- https://git.sr.ht/~xavierb/candoc-repositori#ead72073ad74a26e66c4aaf35c8337f287729630
tasks:
- package: |
    cargo install mdbook-linkcheck
    cd candoc-repositori
    rake
    cd output/html
    tar -cvz . > ../../../site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz
triggers: []
oauth: pages.sr.ht/PAGES:RW

but it fails when it runs `cargo install mdbook-linkcheck`:

https://builds.sr.ht/~xavierb/job/1102511

I think the problem is this:

https://github.com/sfackler/rust-openssl/issues/1624

but I don't know how to handle in .build.yml. Can anyone say me how to modify it?

Thanks in advance,
Xavier
Details
Message ID
<6580af0de32d602bec69b76b5aed28ae@purelymail.com>
In-Reply-To
<20231128102949.ba676c66fad23c969ef36721@posteo.net> (view parent)
DKIM signature
missing
Download raw message
On 2023-11-28 09:29, Xavier B. wrote:
> but I don't know how to handle in .build.yml. Can anyone say me how to 
> modify it?
> 

It feels like the easiest solution would be to use a different base 
image.
Are there some other constraints that prevent you from doing that?

/Marius
Reply to thread Export thread (mbox)