<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 25/12/21 07:43, Jonathan Kelly
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:b9e6373c-53b4-16c7-5e5f-f902f3bb87c0@fastmail.fm">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">On 25/12/21 01:23, Andy Pieters
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAB2L6a-F45icxGAr1p023XS6E37_U+aDi3pbZvNrO7jB22RxnA@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="ltr">
          <div dir="ltr"><br>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Fri, 24 Dec 2021 at
              10:11, Jonathan Kelly <<a
                href="mailto:jonkelly@fastmail.fm"
                moz-do-not-send="true" class="moz-txt-link-freetext">jonkelly@fastmail.fm</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div>
                <div>On 24/12/21 19:45, Andy Pieters wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div dir="ltr"><br>
                    </div>
                    <br>
                    <div class="gmail_quote">
                      <div dir="ltr" class="gmail_attr">On Fri, 24 Dec
                        2021 at 01:53, Jonathan Kelly <<a
                          href="mailto:jonkelly@fastmail.fm"
                          target="_blank" moz-do-not-send="true"
                          class="moz-txt-link-freetext">jonkelly@fastmail.fm</a>>
                        wrote:<br>
                      </div>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">make[2]:
                        Entering directory
                        '/usr/local/src/unicon/uni/lib'<br>
                        ../../bin/unicon -s -c gui.icn<br>
                        Assertion '(size_t) r < n' failed at
                        src/basic/random-util.c:232, <br>
                        function genuine_random_bytes(). Aborting.<br>
                        make[2]: *** [../../Makedefs.uni:48: gui.u]
                        Aborted (core dumped)<br>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>What points you to suspect systems?</div>
                    </div>
                  </div>
                </blockquote>
                <p><br>
                </p>
                <p>the line from the error<br>
                </p>
                <p><font face="Courier New, Courier, monospace">Assertion
                    '(size_t) r < n' failed at
                    src/basic/random-util.c:232, <br>
                  </font> </p>
                <p>that's from systemd.</p>
                <p><br>
                </p>
                <p><font face="Courier New, Courier, monospace"><a
href="https://github.com/systemd/systemd/blob/main/src/basic/random-util.c"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">https://github.com/systemd/systemd/blob/main/src/basic/random-util.c</a></font></p>
                <p>look at line 232<br>
                </p>
                <p><br>
                </p>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div class="gmail_quote">
                      <div><br>
                      </div>
                      <div>Have you looked at the coredump? (i.e.
                        coredumpctl)</div>
                      <div> </div>
                    </div>
                  </div>
                </blockquote>
                <p>No. I'm in the middle here ... trying to compile
                  unicon and it borks ... the unicon people don't know
                  anything about random-util.c ... it not part of their
                  software.</p>
                <p>If it comes to it, I can look at more technical
                  sleuthing, but I'd need some direction.</p>
                <p><br>
                </p>
                <p>Jonathan.<br>
                </p>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>After googling this for 1 minute I came across this [1]</div>
            <div><br>
            </div>
            <div>Arch AUR package is out of date, use  the GIT version
              as documented in [1] </div>
            <div><br>
            </div>
            <div>Not the fault of systemd, the fault of using an old
              package. They explain that they stopped using svn in 2019,
              and having just downloaded the Arch AUR package it shows
              svn checkout in the prepare function...</div>
            <div><br>
            </div>
            <div>[1]  <a
href="https://sourceforge.net/p/unicon/discussion/starters/thread/4ea4931e8e/?limit=25"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://sourceforge.net/p/unicon/discussion/starters/thread/4ea4931e8e/?limit=25</a>
              <br>
            </div>
          </div>
        </div>
      </blockquote>
      <p><br>
      </p>
      <p>I'm not using the AUR, I'm cloning from GIT</p>
      <p><br>
      </p>
      <font face="Courier New, Courier, monospace">git clone
        git://git.code.sf.net/p/unicon/unicon<br>
        ./configure<br>
        make</font>
      <p><br>
      </p>
      <p>I do know how to use google: that's how I found out
        src/basic/random-util.c was part of systemd<br>
      </p>
      <p><br>
      </p>
      <p>Jonathan.<br>
      </p>
    </blockquote>
    <p>Just wanted to add, I'm not assuming it's JUST a problem with
      systemd, but rather looking for some clues that I can feed back to
      the unicon people.</p>
    <p>Though, it is an assert that is failing. From looking at the
      code, it seems getrandom() is returning more than requested, which
      is the size of a buffer - that doesn't sound good.</p>
    <p> In any case, could someone say what would be triggering a call
      to genuine_random_bytes()?</p>
    <p><br>
    </p>
    <p>Thanks</p>
    <p>Jonathan.<br>
    </p>
  </body>
</html>