[Slackbuilds-users] Unstated requirement (apparently) to build octave

Matteo Bernardini matteo.bernardini at gmail.com
Sat Mar 21 19:46:12 UTC 2020


Il giorno sab 21 mar 2020 alle ore 20:29 James Diamond via
SlackBuilds-users <slackbuilds-users at slackbuilds.org> ha scritto:
>
> On Sat, Mar 21, 2020 at 19:52 (+0100), Matteo Bernardini wrote:
>
> > Il giorno sab 21 mar 2020 alle ore 18:22 James Diamond via
> > SlackBuilds-users <slackbuilds-users at slackbuilds.org> ha scritto:
>
> >> Hi,
>
> >> I often ssh in to a much faster machine to run sboupgrade to build new
> >> versions of various SB packages.  It turns out that when I try this
> >> with octave, it fails repeatably.  But if I VNC in and run it from a
> >> terminal open on that machine, it succeeds.
>
> >> It seems that while building it wants to use/access/look at/investigate/...
> >> the graphics, and that fails during an ssh -Y connection.  Possibly if I
> >> reset DISPLAY it would be happy.  Or didn't use -Y.  Or something else...
>
> >> In any case, should someone add a comment to the README about this, to
> >> keep other people who might run into this from wasting too much of
> >> their time?
>
> >> Cheers.
>
> >> Jim
>
> > Hi Jim,
>
> > I don't know what's happening there but I just built octave
> > successfully on my headless slackware64-14.2 virtual machine.
>
> Hi Matteo,
>
> interesting.  I wish I had saved the error messages (I will regenerate
> them if anyone is particularly interested, but they occur after a lot
> of compiling, when the tests are being done).
>
> Perhaps in your case the test suite recognizes that there is no
> graphics card and doesn't try various tests, or, at least, doesn't get
> fooled by the fact that the local graphics card and the $DISPLAY
> graphics card don't match.
>
> Cheers
>
>                                 Jim

FWIW,

# lspci | grep VGA
00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual
graphic card (rev 04)
# set | grep DISPLAY
#

IMHO code running on the host executing the SlackBuild has no way to
know which hardware is on a remote DISPLAY.

Matteo


More information about the SlackBuilds-users mailing list