From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 351862C340; Thu, 19 May 2022 07:25:37 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 89B392C390; Thu, 19 May 2022 07:25:33 +0000 (UTC) Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by atuin.qyliss.net (Postfix) with ESMTPS id 2A06E2C33A for ; Thu, 19 May 2022 07:25:29 +0000 (UTC) Received: by mail-lj1-x236.google.com with SMTP id s5so5160634ljd.10 for ; Thu, 19 May 2022 00:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wlMcvXYoIS5qt842cAhzD4slVT4+84Zgn88tgu483ag=; b=SiQckuLQYEoC0DH3KgON7MeBFDxgDTAVeij+Re/hm/p1cT0W5eaaAKiSAVYSUDBvCE RzpUHwVeMH4y1qNvQHBnQ2L+zF6cQY+9S/YP3L6LANX0yUycgaxGiCIX/yUBKxQuQ8hY BemTCeV4HLJi3oouMEPbCgfTargtC47QtUJpv1hB8cICxHJmHSTvgqNEskh7633umF2R qGChQflwYzGkw4PYGfc15dom2nqd4ydx6H3vfPMoPWU16vJHKmYb6VMmgSUatIMNVlCz t8orcQSk2ay4HAJiugdaYqFGo/GYJbqVnYtsxGmKrt4VPZzgNJYdA3wkQUIVVcM9X5SV Ru6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wlMcvXYoIS5qt842cAhzD4slVT4+84Zgn88tgu483ag=; b=cGLFdxVOU/1lzM0KDZRKlmQAPq9Rpomj3cnwpOGip0YMqfulUfC/RBLv8Mj2zkPfEs JiVF70dmPQCcZP1rabMm6VyDCd+kPIfWBZDQ/rw5C4LnWG4P7sRVzvt97O3V9ocbEEYJ Q8IPdlPbv5vofmTxNVASqIPaNZBQ10VMNhbpL8x9C+FsxQQbpPv1hCPenLhXGk1XJkon v44L/CtRyYGM8wC6Frfq/tTOw4XP9ZIvLlVntzIO7ketYRD/bo3j1XslFgeQHO6J3Hcr PTUj1jwBg1gyXA1UExMqczJoevTVOCQFsCj/+F6NFnGHmov3tqemT/JXVcZcdej8AifJ ygBQ== X-Gm-Message-State: AOAM532sKPCggOA0pmneD78cfw8StS0x8Tu9oFcyblLG26sb9u6Jc14f FHLFsF8rqxzOsFNLpoKKXzuzTWjf/Ii6vEupvPzDW9Pp6r/8Mw== X-Google-Smtp-Source: ABdhPJzpng44FsLsGemm+NO1uL744vV5gc113vOnt4Wh9bTHhppKVauvT5SJMvZC4EtccE0RRsU49jh210mfXUGX4PM= X-Received: by 2002:a2e:9c43:0:b0:24b:469:2bb6 with SMTP id t3-20020a2e9c43000000b0024b04692bb6mr1970329ljj.248.1652945127158; Thu, 19 May 2022 00:25:27 -0700 (PDT) MIME-Version: 1.0 References: <165276675569.2703.7962474952768136863@atuin.qyliss.net> <20220517122508.ioizqbm6rcpk3waw@eve> <1efedd1a-739f-4569-0d97-ff3233dc4416@ecomail.io> <20220518125353.cw4faxgab22r2jr5@eve> <20220518131137.sv7qvdy6cllwszu7@eve> In-Reply-To: <20220518131137.sv7qvdy6cllwszu7@eve> From: Ville Ilvonen Date: Thu, 19 May 2022 10:25:16 +0300 Message-ID: Subject: Re: Documentation and diagrams To: Alyssa Ross Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: 4XKYT4SWUWKZLTM3XO4WL7HIWAITJAJU X-Message-ID-Hash: 4XKYT4SWUWKZLTM3XO4WL7HIWAITJAJU X-MailFrom: ville.ilvonen@unikie.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-discuss.spectrum-os.org-0; header-match-discuss.spectrum-os.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Paco , discuss@spectrum-os.org X-Mailman-Version: 3.3.5 Precedence: list List-Id: General high-level discussion about Spectrum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, May 18, 2022 at 4:11 PM Alyssa Ross 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