From: Ville Ilvonen <ville.ilvonen@unikie.com>
To: Alyssa Ross <hi@alyssa.is>
Cc: Paco <paco@ecomail.io>, discuss@spectrum-os.org
Subject: Re: Documentation and diagrams
Date: Thu, 19 May 2022 10:25:16 +0300 [thread overview]
Message-ID: <CAP-nJwHpzcCPtnR1CLwgHvObns9QwvRNqKqYCsSCZYF5qxe4kA@mail.gmail.com> (raw)
In-Reply-To: <20220518131137.sv7qvdy6cllwszu7@eve>
On Wed, May 18, 2022 at 4:11 PM Alyssa Ross <hi@alyssa.is> wrote:
> Actually, this looking more closely at the stack trace, this is more
> likely to be it not having a writeable XDG_CONFIG_HOME or HOME
> directory. So you could try setting those to temporary directories in
> the build. Something like
>
> export XDG_CONFIG_HOME="$(mktemp -d)"
I think it was a good idea to test but unfortunately it did not work out:
''
export XDG_CONFIG_HOME="$(mktemp -d)"
echo $XDG_CONFIG_HOME
drawio in.drawio --export --output test.svg
jekyll build --disable-disk-cache -s $src -d $out
''
$ nix-build
this derivation will be built:
/nix/store/k2z4xgs1dpp5p52sds98vl46x7myl924-spectrum-docs.drv
building '/nix/store/k2z4xgs1dpp5p52sds98vl46x7myl924-spectrum-docs.drv'...
/build/tmp.mOBtFDpZlO
Fontconfig error: Cannot load default config file: No such file: (null)
/build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90:
line 3: 4 Segmentation fault (core dumped) drawio in.drawio
--export --output test.svg
error: builder for
'/nix/store/k2z4xgs1dpp5p52sds98vl46x7myl924-spectrum-docs.drv' failed
with exit code 139;
last 3 log lines:
> /build/tmp.mOBtFDpZlO
> Fontconfig error: Cannot load default config file: No such file: (null)
> /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90:
line 3: 4 Segmentation fault (core dumped) drawio in.drawio
--export --output test.svg
For full logs, run 'nix log
/nix/store/k2z4xgs1dpp5p52sds98vl46x7myl924-spectrum-docs.drv'.
Best,
-Ville
next prev parent reply other threads:[~2022-05-19 7:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-17 5:52 Documentation and diagrams ville.ilvonen
2022-05-17 11:42 ` Mark Stosberg
2022-05-17 12:25 ` Alyssa Ross
2022-05-17 19:00 ` Paco
2022-05-18 12:44 ` Ville Ilvonen
2022-05-18 12:53 ` Alyssa Ross
2022-05-18 13:11 ` Alyssa Ross
2022-05-19 7:25 ` Ville Ilvonen [this message]
2022-05-19 7:35 ` Alyssa Ross
2022-05-19 8:33 ` Ville Ilvonen
2022-05-19 8:49 ` Alyssa Ross
2022-05-18 13:09 ` Michael Raskin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAP-nJwHpzcCPtnR1CLwgHvObns9QwvRNqKqYCsSCZYF5qxe4kA@mail.gmail.com \
--to=ville.ilvonen@unikie.com \
--cc=discuss@spectrum-os.org \
--cc=hi@alyssa.is \
--cc=paco@ecomail.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).