Re: Having problem building on macOS Mojave

classic Classic list List threaded Threaded
49 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

Anadi Kashyap


On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

Anadi Kashyap


On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

apjanke-floss


On 12/25/18 10:40 PM, Anadi Kashyap wrote:

>
>
> On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>
>     You’re configure script is still not working.
>
>     Ben
>
>
> But I didn't get any warnings after my last configure, no Qt warning or
> anything at all. So my configure script could still be wrong?
> I'll try to find out what's happening in the meanwhile.

On my end, I'm getting through the configure and most of the way through the
build. But late in the build process, when it's calling octave itself
(maybe for
documentation generation), the built octave segfaults.

Error from the build log:

rm -f src/octave-gui-6.0.0 && \
     cd src && ln -s octave-gui octave-gui-6.0.0
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
--eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"


fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/interpft.txt'
make[2]: *** Waiting for unfinished jobs....

fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/convhull.txt'


Full build logs: https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79

Does that look familiar?

Cheers,
Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator

> On Dec 26, 2018, at 11:53, Andrew Janke <[hidden email]> wrote:
>
>> On 12/25/18 10:40 PM, Anadi Kashyap wrote:
>> On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email] <mailto:[hidden email]>> wrote:
>>    You’re configure script is still not working.
>>    Ben
>> But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong?
>> I'll try to find out what's happening in the meanwhile.
>
> On my end, I'm getting through the configure and most of the way through the
> build. But late in the build process, when it's calling octave itself (maybe for
> documentation generation), the built octave segfaults.
>
> Error from the build log:
>
> rm -f src/octave-gui-6.0.0 && \
>    cd src && ln -s octave-gui octave-gui-6.0.0
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
>
>
> fatal: caught signal Segmentation fault: 11 -- stopping myself...
> make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
> make[2]: *** Deleting file `doc/interpreter/interpft.txt'
> make[2]: *** Waiting for unfinished jobs....
>
> fatal: caught signal Segmentation fault: 11 -- stopping myself...
> make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
> make[2]: *** Deleting file `doc/interpreter/convhull.txt'
>
>
> Full build logs: https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79
>
> Does that look familiar?
>
> Cheers,
> Andrew

Hi Andrew,

Yeah. I get the same. There’s a clumsy patch needed to avoid that (same as needed for 4.4)

Ben

Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator
In reply to this post by Anadi Kashyap
On Dec 26, 2018, at 11:40, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 

Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.

Ben
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

apjanke-floss
In reply to this post by bpabbott


On 12/25/18 11:01 PM, Ben Abbott wrote:

>> On Dec 26, 2018, at 11:53, Andrew Janke <[hidden email]> wrote:
>>
>>> On 12/25/18 10:40 PM, Anadi Kashyap wrote:
>>> On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email] <mailto:[hidden email]>> wrote:
>>>     You’re configure script is still not working.
>>>     Ben
>>> But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong?
>>> I'll try to find out what's happening in the meanwhile.
>> On my end, I'm getting through the configure and most of the way through the
>> build. But late in the build process, when it's calling octave itself (maybe for
>> documentation generation), the built octave segfaults.
>>
>> Error from the build log:
>>
>> rm -f src/octave-gui-6.0.0 && \
>>     cd src && ln -s octave-gui octave-gui-6.0.0
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
>>
>>
>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>> make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
>> make[2]: *** Deleting file `doc/interpreter/interpft.txt'
>> make[2]: *** Waiting for unfinished jobs....
>>
>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>> make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
>> make[2]: *** Deleting file `doc/interpreter/convhull.txt'
>>
>>
>> Full build logs: https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79
>>
>> Does that look familiar?
>>
>> Cheers,
>> Andrew
> Hi Andrew,
>
> Yeah. I get the same. There’s a clumsy patch needed to avoid that (same as needed for 4.4)
>
> Ben
Is the patch on Savannah somewhere? I'm searching for "segmentation
fault" and "geometryimages" and not finding a relevant bug.

Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator
In reply to this post by bpabbott
On Dec 26, 2018, at 12:07, Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:40, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 

Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.

Ben

The end of my summary looks like below

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes

Ben
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

Anadi Kashyap


On Wed, Dec 26, 2018 at 9:43 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 12:07, Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:40, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 

Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.

Ben

The end of my summary looks like below

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes

Ben

This is the end of my summary:

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes 
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator
In reply to this post by apjanke-floss
On Dec 26, 2018, at 12:13, Andrew Janke <[hidden email]> wrote:

On 12/25/18 11:01 PM, Ben Abbott wrote:
On Dec 26, 2018, at 11:53, Andrew Janke <[hidden email]> wrote:

On 12/25/18 10:40 PM, Anadi Kashyap wrote:
On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email] <[hidden email]>> wrote:
   You’re configure script is still not working.
   Ben
But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong?
I'll try to find out what's happening in the meanwhile.
On my end, I'm getting through the configure and most of the way through the
build. But late in the build process, when it's calling octave itself (maybe for
documentation generation), the built octave segfaults.

Error from the build log:

rm -f src/octave-gui-6.0.0 && \
   cd src && ln -s octave-gui octave-gui-6.0.0
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"


fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/interpft.txt'
make[2]: *** Waiting for unfinished jobs....

fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/convhull.txt'


Full build logs: https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79

Does that look familiar?

Cheers,
Andrew
Hi Andrew,

Yeah. I get the same. There’s a clumsy patch needed to avoid that (same as needed for 4.4)

Ben
Is the patch on Savannah somewhere? I'm searching for "segmentation fault" and "geometryimages" and not finding a relevant bug.

Andrew


Ben
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

apjanke-floss


On 12/25/18 11:35 PM, Ben Abbott wrote:

> On Dec 26, 2018, at 12:13, Andrew Janke <[hidden email]
> <mailto:[hidden email]>> wrote:
>>
>> On 12/25/18 11:01 PM, Ben Abbott wrote:
>>>> On Dec 26, 2018, at 11:53, Andrew Janke <[hidden email]
>>>> <mailto:[hidden email]>> wrote:
>>>>
>>>>> On 12/25/18 10:40 PM, Anadi Kashyap wrote:
>>>>> On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]
>>>>> <mailto:[hidden email]> <mailto:[hidden email]>> wrote:
>>>>>    You’re configure script is still not working.
>>>>>    Ben
>>>>> But I didn't get any warnings after my last configure, no Qt
>>>>> warning or anything at all. So my configure script could still be
>>>>> wrong?
>>>>> I'll try to find out what's happening in the meanwhile.
>>>> On my end, I'm getting through the configure and most of the way
>>>> through the
>>>> build. But late in the build process, when it's calling octave
>>>> itself (maybe for
>>>> documentation generation), the built octave segfaults.
>>>>
>>>> Error from the build log:
>>>>
>>>> rm -f src/octave-gui-6.0.0 && \
>>>>    cd src && ln -s octave-gui octave-gui-6.0.0
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/
>>>> --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
>>>>
>>>>
>>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>>> make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
>>>> make[2]: *** Deleting file `doc/interpreter/interpft.txt'
>>>> make[2]: *** Waiting for unfinished jobs....
>>>>
>>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>>> make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
>>>> make[2]: *** Deleting file `doc/interpreter/convhull.txt'
>>>>
>>>>
>>>> Full build logs:
>>>> https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79
>>>>
>>>> Does that look familiar?
>>>>
>>>> Cheers,
>>>> Andrew
>>> Hi Andrew,
>>>
>>> Yeah. I get the same. There’s a clumsy patch needed to avoid that
>>> (same as needed for 4.4)
>>>
>>> Ben
>> Is the patch on Savannah somewhere? I'm searching for "segmentation
>> fault" and "geometryimages" and not finding a relevant bug.
>>
>> Andrew
>
> https://savannah.gnu.org/bugs/?50025
>
> Ben


I've applied the updated patch, but I'm afraid I'm still getting a crash
in the build. It's erroring out on fewer files, though.

/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path
/private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
--eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
fatal: caught signal Segmentation fault: 11 -- stopping myself...
fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/inpolygon.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/inpolygon.txt'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [doc/interpreter/delaunay.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/delaunay.txt'


Cheers,
Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator
In reply to this post by Anadi Kashyap
On Dec 26, 2018, at 12:21 PM, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:43 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 12:07, Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:40, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 

Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.

Ben

The end of my summary looks like below

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes

Ben

This is the end of my summary:

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes 

Ok. This is the entire summary. If your’s matches, try “make maintainer-clean” followed by running the configure script and then the make script.

Octave is now configured for x86_64-apple-darwin18.2.0

  Source directory:              .
  Installation prefix:           /usr/local/bpabbott/octave
  C compiler:                    gcc  -D_THREAD_SAFE -pthread  -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  C++ compiler:                  g++ -std=gnu++11  -D_THREAD_SAFE -pthread  -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  Fortran compiler:              gfortran -g -O2 -std=legacy
  Fortran libraries:              -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin18.0.0/8.2.0 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin18.0.0/8.2.0/../../.. -lgfortran -lquadmath -lm
  Lex libraries:                 
  LIBS:                           -lm 
  LDFLAGS:                        -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -F/usr/local/opt/qt/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib
  Extra LDFLAGS:                 

  AMD CPPFLAGS:                  
  AMD LDFLAGS:                   
  AMD libraries:                 -lamd
  ARPACK CPPFLAGS:               -I/usr/local/Cellar/arpack/3.6.3/libexec/include/arpack
  ARPACK LDFLAGS:                -L/usr/local/Cellar/arpack/3.6.3/libexec/lib
  ARPACK libraries:              -larpack
  BLAS libraries:                -L/usr/local/opt/veclibfort/lib -lvecLibFort
  BZ2 CPPFLAGS:                  
  BZ2 LDFLAGS:                   
  BZ2 libraries:                 -lbz2
  CAMD CPPFLAGS:                 
  CAMD LDFLAGS:                  
  CAMD libraries:                -lcamd
  CARBON libraries:              -framework Carbon
  CCOLAMD CPPFLAGS:              
  CCOLAMD LDFLAGS:               
  CCOLAMD libraries:             -lccolamd
  CHOLMOD CPPFLAGS:              
  CHOLMOD LDFLAGS:               
  CHOLMOD libraries:             -lcholmod
  COLAMD CPPFLAGS:               
  COLAMD LDFLAGS:                
  COLAMD libraries:              -lcolamd
  CURL CPPFLAGS:                 
  CURL LDFLAGS:                  
  CURL libraries:                -lcurl
  CXSPARSE CPPFLAGS:             
  CXSPARSE LDFLAGS:              
  CXSPARSE libraries:            -lcxsparse
  DL libraries:                  -ldl
  FFTW3 CPPFLAGS:                -I/usr/local/Cellar/fftw/3.3.8/include
  FFTW3 LDFLAGS:                 -L/usr/local/Cellar/fftw/3.3.8/lib
  FFTW3 libraries:               -lfftw3_threads -lfftw3
  FFTW3F CPPFLAGS:               -I/usr/local/Cellar/fftw/3.3.8/include
  FFTW3F LDFLAGS:                -L/usr/local/Cellar/fftw/3.3.8/lib
  FFTW3F libraries:              -lfftw3f_threads -lfftw3f
  FLTK CPPFLAGS:                 -I/usr/local/Cellar/fltk/1.3.4-2/include
  FLTK LDFLAGS:                  -L/usr/local/Cellar/fltk/1.3.4-2/lib -framework OpenGL -framework Cocoa
  FLTK libraries:                -lfltk_gl -lfltk -lpthread
  fontconfig CPPFLAGS:           -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2
  fontconfig libraries:          -lfontconfig -lfreetype
  FreeType2 CPPFLAGS:            -I/usr/local/opt/freetype/include/freetype2
  FreeType2 libraries:           -L/usr/local/opt/freetype/lib -lfreetype
  GLPK CPPFLAGS:                 
  GLPK LDFLAGS:                  
  GLPK libraries:                -lglpk
  HDF5 CPPFLAGS:                 -I/usr/local/opt/hdf5/include
  HDF5 LDFLAGS:                  -L/usr/local/opt/hdf5/lib
  HDF5 libraries:                -lhdf5
  Java home:                     /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
  Java JVM path:                 /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/lib/server
  Java CPPFLAGS:                 -I/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/include/darwin
  Java libraries:                
  KLU CPPFLAGS:                  
  KLU LDFLAGS:                   
  KLU libraries:                 -lklu
  LAPACK libraries:              
  LLVM CPPFLAGS:                 
  LLVM LDFLAGS:                  
  LLVM libraries:                
  Magick++ CPPFLAGS:             -I/usr/local/Cellar/graphicsmagick/1.3.31/include/GraphicsMagick
  Magick++ LDFLAGS:              -L/usr/local/Cellar/graphicsmagick/1.3.31/lib
  Magick++ libraries:            -lGraphicsMagick++ -lGraphicsMagick
  OpenGL libraries:              -framework OpenGL
  PCRE CPPFLAGS:                 -I/usr/local/Cellar/pcre/8.42/include
  PCRE LDFLAGS:                  -L/usr/local/Cellar/pcre/8.42/lib
  PCRE libraries:                -lpcre
  PortAudio CPPFLAGS:            -I/usr/local/Cellar/portaudio/19.6.0/include
  PortAudio LDFLAGS:             -L/usr/local/Cellar/portaudio/19.6.0/lib
  PortAudio libraries:           -lportaudio
  PTHREAD flags:                 -D_THREAD_SAFE -pthread
  PTHREAD libraries:             
  QHULL CPPFLAGS:                
  QHULL LDFLAGS:                 
  QHULL libraries:               -lqhull
  QRUPDATE CPPFLAGS:             
  QRUPDATE LDFLAGS:              
  QRUPDATE libraries:            -lqrupdate
  Qt CPPFLAGS:                   -I/usr/local/Cellar/qt/5.12.0/lib/QtNetwork.framework/Headers -I/usr/local/Cellar/qt/5.12.0/lib/QtPrintSupport.framework/Headers -I/usr/local/Cellar/qt/5.12.0/lib/QtHelp.framework/Headers -I/usr/local/Cellar/qt/5.12.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.12.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.12.0/lib/QtSql.framework/Headers -I/usr/local/Cellar/qt/5.12.0/lib/QtXml.framework/Headers -I/usr/local/Cellar/qt/5.12.0/lib/QtCore.framework/Headers
  Qt LDFLAGS:                    -F/usr/local/Cellar/qt/5.12.0/lib 
  Qt GUI libraries:              -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore  -lqscintilla2_qt5
  Qt OpenGL libraries:           -framework QtOpenGL -framework QtWidgets -framework QtGui -framework QtCore 
  Qt moc:                        moc 
  Qt uic:                        uic 
  Qt rcc:                        rcc 
  Qt lrelease:                   lrelease 
  Qt qcollectiongenerator:       qhelpgenerator 
  Qt qhelpgenerator:             qhelpgenerator 
  READLINE libraries:            -lreadline
  Sndfile CPPFLAGS:              -I/usr/local/Cellar/libsndfile/1.0.28/include
  Sndfile LDFLAGS:               -L/usr/local/Cellar/libsndfile/1.0.28/lib
  Sndfile libraries:             -lsndfile
  SuiteSparse config libraries:  -lsuitesparseconfig
  SUNDIALS IDA CPPFLAGS:         
  SUNDIALS IDA LDFLAGS:          
  SUNDIALS IDA libraries:        -lsundials_ida
  SUNDIALS NVECTOR CPPFLAGS:     
  SUNDIALS NVECTOR LDFLAGS:      
  SUNDIALS NVECTOR libraries:    -lsundials_nvecserial
  TERM libraries:                -lncurses
  UMFPACK CPPFLAGS:              
  UMFPACK LDFLAGS:               
  UMFPACK libraries:             -lumfpack
  X11 include flags:             
  X11 libraries:                 
  Z CPPFLAGS:                    
  Z LDFLAGS:                     
  Z libraries:                   -lz

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes


Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator
In reply to this post by apjanke-floss
On Dec 26, 2018, at 1:22 PM, Andrew Janke <[hidden email]> wrote:

On 12/25/18 11:35 PM, Ben Abbott wrote:
On Dec 26, 2018, at 12:13, Andrew Janke <[hidden email] <[hidden email]>> wrote:

On 12/25/18 11:01 PM, Ben Abbott wrote:
On Dec 26, 2018, at 11:53, Andrew Janke <[hidden email] <[hidden email]>> wrote:

On 12/25/18 10:40 PM, Anadi Kashyap wrote:
On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email] <[hidden email]> <[hidden email]>> wrote:
   You’re configure script is still not working.
   Ben
But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong?
I'll try to find out what's happening in the meanwhile.
On my end, I'm getting through the configure and most of the way through the
build. But late in the build process, when it's calling octave itself (maybe for
documentation generation), the built octave segfaults.

Error from the build log:

rm -f src/octave-gui-6.0.0 && \
   cd src && ln -s octave-gui octave-gui-6.0.0
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"


fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/interpft.txt'
make[2]: *** Waiting for unfinished jobs....

fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/convhull.txt'


Full build logs: https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79

Does that look familiar?

Cheers,
Andrew
Hi Andrew,

Yeah. I get the same. There’s a clumsy patch needed to avoid that (same as needed for 4.4)

Ben
Is the patch on Savannah somewhere? I'm searching for "segmentation fault" and "geometryimages" and not finding a relevant bug.

Andrew
https://savannah.gnu.org/bugs/?50025
Ben


I've applied the updated patch, but I'm afraid I'm still getting a crash in the build. It's erroring out on fewer files, though.

/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
fatal: caught signal Segmentation fault: 11 -- stopping myself...
fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/inpolygon.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/inpolygon.txt'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [doc/interpreter/delaunay.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/delaunay.txt'


Cheers,
Andrew

Carlo’s word-around for this problem is attached to the bug-report below.


Ben


Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

Anadi Kashyap
In reply to this post by bpabbott
On Dec 26, 2018, at 12:21 PM, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:43 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 12:07, Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:40, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 

Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.

Ben

The end of my summary looks like below

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes

Ben

This is the end of my summary:

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes 
 
Okay so I checked the Building for Macintosh platform wiki page again and noticed I hadn't pasted this...

   export PATH=$PATH:/usr/local/bin:/usr/X11R6/bin
   export CFLAGS="-I/usr/local/include"
   export CPPFLAGS="-I/usr/local/include"
   export LDFLAGS="-L/usr/local/lib" 

...in my .zshrc file. (I use zsh.)

I cloned the repository in a new folder and ran the scripts you provided(which I slightly modified) for configure and make and went out for a while. It built without any errors this time!

I ran it with --gui and it  ran. Once I pressed the red exit button, it just froze on the screen and I had to close the terminal window. IIRC that's a known bug, I'm gonna have to apply the patches I think.
 
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

Anadi Kashyap


On Wed, Dec 26, 2018 at 3:35 PM Anadi Kashyap <[hidden email]> wrote:
On Dec 26, 2018, at 12:21 PM, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:43 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 12:07, Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:40, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 

Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.

Ben

The end of my summary looks like below

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes

Ben

This is the end of my summary:

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes 
 
Okay so I checked the Building for Macintosh platform wiki page again and noticed I hadn't pasted this...

   export PATH=$PATH:/usr/local/bin:/usr/X11R6/bin
   export CFLAGS="-I/usr/local/include"
   export CPPFLAGS="-I/usr/local/include"
   export LDFLAGS="-L/usr/local/lib" 

...in my .zshrc file. (I use zsh.)

I cloned the repository in a new folder and ran the scripts you provided(which I slightly modified) for configure and make and went out for a while. It built without any errors this time!

I ran it with --gui and it  ran. Once I pressed the red exit button, it just froze on the screen and I had to close the terminal window. IIRC that's a known bug, I'm gonna have to apply the patches I think.
 

I ran the "make check" command and I got this at the end: 

image/movie.m ................................................../var/folders/cs/yy5bwrkn29n8dsqzp94fnnq40000gn/T/octave-help-x7c9Zl:114: Unknown command `codequoteundirected'.
fatal: caught signal Segmentation fault: 11 -- stopping myself...
/bin/sh: line 1: 18996 Segmentation fault: 11  /bin/sh ../run-octave --norc --silent --no-history -p /Users/katokateki/o1/octave/.build/test/mex /Users/katokateki/o1/octave/.build/../test/fntests.m /Users/katokateki/o1/octave/.build/../test
make[3]: *** [check-local] Error 139
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

What does it mean?
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator
In reply to this post by Anadi Kashyap
On Dec 26, 2018, at 6:05 PM, Anadi Kashyap <[hidden email]> wrote:

On Dec 26, 2018, at 12:21 PM, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:43 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 12:07, Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:40, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <[hidden email]> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <[hidden email]> wrote:

Proceeded to build with the script you provided for make and got this in the end:

error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 

That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.

Please run by “./run-octave —gui” and let us know what happens? ... gui or error?

Ben

Error...
octave: GUI features missing or disabled in this build

When the build started I noticed a similar warning as we got during configure earlier:

WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version. 

It went out of the screen pretty quick though. So this is all I can surely recall.

You’re configure script is still not working.

Ben

But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? 
I'll try to find out what's happening in the meanwhile. 

Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.

Ben

The end of my summary looks like below

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes

Ben

This is the end of my summary:

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                  yes (version: 5)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            no
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes 
 
Okay so I checked the Building for Macintosh platform wiki page again and noticed I hadn't pasted this...

   export PATH=$PATH:/usr/local/bin:/usr/X11R6/bin
   export CFLAGS="-I/usr/local/include"
   export CPPFLAGS="-I/usr/local/include"
   export LDFLAGS="-L/usr/local/lib" 

...in my .zshrc file. (I use zsh.)

I cloned the repository in a new folder and ran the scripts you provided(which I slightly modified) for configure and make and went out for a while. It built without any errors this time!

I ran it with --gui and it  ran. Once I pressed the red exit button, it just froze on the screen and I had to close the terminal window. IIRC that's a known bug, I'm gonna have to apply the patches I think.

Very good! All you need to do is add a clumsy patch and a patch work around unstable output of graphics. You can find the patched attached to the bug reports below.



They may be applied from the root directory of your local sources by …

patch -p1 < ../octave-qt_wait_on_worker_thread-djs2018Oct19.patch
patch -p1 < ../open_kEClIYyW.patch

Ben



Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

Anadi Kashyap
On Wed, Dec 26, 2018 at 3:53 PM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 6:05 PM, Anadi Kashyap <[hidden email]> wrote:
 
Okay so I checked the Building for Macintosh platform wiki page again and noticed I hadn't pasted this...

   export PATH=$PATH:/usr/local/bin:/usr/X11R6/bin
   export CFLAGS="-I/usr/local/include"
   export CPPFLAGS="-I/usr/local/include"
   export LDFLAGS="-L/usr/local/lib" 

...in my .zshrc file. (I use zsh.)

I cloned the repository in a new folder and ran the scripts you provided(which I slightly modified) for configure and make and went out for a while. It built without any errors this time!

I ran it with --gui and it  ran. Once I pressed the red exit button, it just froze on the screen and I had to close the terminal window. IIRC that's a known bug, I'm gonna have to apply the patches I think.

Very good! All you need to do is add a clumsy patch and a patch work around unstable output of graphics. You can find the patched attached to the bug reports below.



They may be applied from the root directory of your local sources by …

patch -p1 < ../octave-qt_wait_on_worker_thread-djs2018Oct19.patch
patch -p1 < ../open_kEClIYyW.patch

Ben


So I had to specify the file to patch:

File to patch: ../libgui/src/main-window.cc
patching file ../libgui/src/main-window.cc
Hunk #1 succeeded at 2833 (offset 47 lines).
Hunk #2 succeeded at 2898 (offset 47 lines). 

And then:

patch -p1 < ../open_kEClIYyW.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/doc/interpreter/images.awk b/doc/interpreter/images.awk
|--- a/doc/interpreter/images.awk
|+++ b/doc/interpreter/images.awk
--------------------------
File to patch: ../doc/interpreter/images.awk
patching file ../doc/interpreter/images.awk

Also, I have to make sure I'm doing it right, I changed open_kEClIYyW.txt to open_kEClIYyW.patch.
And notice no Hunk succeeded message at the end for images.awk.
Is that normal?

Thanks for helping me out!

Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

Anadi Kashyap


On Wed, Dec 26, 2018 at 4:09 PM Anadi Kashyap <[hidden email]> wrote:
On Wed, Dec 26, 2018 at 3:53 PM Ben Abbott <[hidden email]> wrote:
On Dec 26, 2018, at 6:05 PM, Anadi Kashyap <[hidden email]> wrote:
 
Okay so I checked the Building for Macintosh platform wiki page again and noticed I hadn't pasted this...

   export PATH=$PATH:/usr/local/bin:/usr/X11R6/bin
   export CFLAGS="-I/usr/local/include"
   export CPPFLAGS="-I/usr/local/include"
   export LDFLAGS="-L/usr/local/lib" 

...in my .zshrc file. (I use zsh.)

I cloned the repository in a new folder and ran the scripts you provided(which I slightly modified) for configure and make and went out for a while. It built without any errors this time!

I ran it with --gui and it  ran. Once I pressed the red exit button, it just froze on the screen and I had to close the terminal window. IIRC that's a known bug, I'm gonna have to apply the patches I think.

Very good! All you need to do is add a clumsy patch and a patch work around unstable output of graphics. You can find the patched attached to the bug reports below.



They may be applied from the root directory of your local sources by …

patch -p1 < ../octave-qt_wait_on_worker_thread-djs2018Oct19.patch
patch -p1 < ../open_kEClIYyW.patch

Ben


So I had to specify the file to patch:

File to patch: ../libgui/src/main-window.cc
patching file ../libgui/src/main-window.cc
Hunk #1 succeeded at 2833 (offset 47 lines).
Hunk #2 succeeded at 2898 (offset 47 lines). 

And then:

patch -p1 < ../open_kEClIYyW.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/doc/interpreter/images.awk b/doc/interpreter/images.awk
|--- a/doc/interpreter/images.awk
|+++ b/doc/interpreter/images.awk
--------------------------
File to patch: ../doc/interpreter/images.awk
patching file ../doc/interpreter/images.awk

Also, I have to make sure I'm doing it right, I changed open_kEClIYyW.txt to open_kEClIYyW.patch.
And notice no Hunk succeeded message at the end for images.awk.
Is that normal?

Thanks for helping me out!


I ran the make check again after the patches and it ended with this without any errors:


>>>>> processing /Users/katokateki/o1/octave/test/leftdiv.tst
>>>>> processing /Users/katokateki/o1/octave/test/line-continue.tst
>>>>> processing /Users/katokateki/o1/octave/test/logical-index.tst
>>>>> processing /Users/katokateki/o1/octave/test/null-assign.tst
>>>>> processing /Users/katokateki/o1/octave/test/parser.tst
>>>>> processing /Users/katokateki/o1/octave/test/prefer.tst
>>>>> processing /Users/katokateki/o1/octave/test/range.tst
>>>>> processing /Users/katokateki/o1/octave/test/recursion.tst
>>>>> processing /Users/katokateki/o1/octave/test/return.tst
>>>>> processing /Users/katokateki/o1/octave/test/single-index.tst
>>>>> processing /Users/katokateki/o1/octave/test/slice.tst
>>>>> processing /Users/katokateki/o1/octave/test/struct.tst
>>>>> processing /Users/katokateki/o1/octave/test/switch.tst
>>>>> processing /Users/katokateki/o1/octave/test/system.tst
>>>>> processing /Users/katokateki/o1/octave/test/transpose.tst
>>>>> processing /Users/katokateki/o1/octave/test/try.tst
>>>>> processing /Users/katokateki/o1/octave/test/unwind.tst
>>>>> processing /Users/katokateki/o1/octave/test/while.tst 
Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

apjanke-floss
In reply to this post by bpabbott


On 12/26/18 1:13 AM, Ben Abbott wrote:

>> On Dec 26, 2018, at 1:22 PM, Andrew Janke <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>> On 12/25/18 11:35 PM, Ben Abbott wrote:
>>> On Dec 26, 2018, at 12:13, Andrew Janke <[hidden email]
>>> <mailto:[hidden email]> <mailto:[hidden email]>> wrote:
>>>>
>>>> On 12/25/18 11:01 PM, Ben Abbott wrote:
>>>>>> On Dec 26, 2018, at 11:53, Andrew Janke <[hidden email]
>>>>>> <mailto:[hidden email]> <mailto:[hidden email]>> wrote:
>>>>>>
>>>>>>> On 12/25/18 10:40 PM, Anadi Kashyap wrote:
>>>>>>> On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email]
>>>>>>> <mailto:[hidden email]> <mailto:[hidden email]>
>>>>>>> <mailto:[hidden email]>> wrote:
>>>>>>>    You’re configure script is still not working.
>>>>>>>    Ben
>>>>>>> But I didn't get any warnings after my last configure, no Qt
>>>>>>> warning or anything at all. So my configure script could still be
>>>>>>> wrong?
>>>>>>> I'll try to find out what's happening in the meanwhile.
>>>>>> On my end, I'm getting through the configure and most of the way
>>>>>> through the
>>>>>> build. But late in the build process, when it's calling octave
>>>>>> itself (maybe for
>>>>>> documentation generation), the built octave segfaults.
>>>>>>
>>>>>> Error from the build log:
>>>>>>
>>>>>> rm -f src/octave-gui-6.0.0 && \
>>>>>>    cd src && ln -s octave-gui octave-gui-6.0.0
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "interpimages ('doc/interpreter/', 'interpft', 'txt');"
>>>>>> /bin/sh run-octave --norc --silent --no-history --path
>>>>>> /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval
>>>>>> "interpimages ('doc/interpreter/', 'interpn', 'txt');"
>>>>>>
>>>>>>
>>>>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>>>>> make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
>>>>>> make[2]: *** Deleting file `doc/interpreter/interpft.txt'
>>>>>> make[2]: *** Waiting for unfinished jobs....
>>>>>>
>>>>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>>>>> make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
>>>>>> make[2]: *** Deleting file `doc/interpreter/convhull.txt'
>>>>>>
>>>>>>
>>>>>> Full build logs:
>>>>>> https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79
>>>>>>
>>>>>> Does that look familiar?
>>>>>>
>>>>>> Cheers,
>>>>>> Andrew
>>>>> Hi Andrew,
>>>>>
>>>>> Yeah. I get the same. There’s a clumsy patch needed to avoid that
>>>>> (same as needed for 4.4)
>>>>>
>>>>> Ben
>>>> Is the patch on Savannah somewhere? I'm searching for "segmentation
>>>> fault" and "geometryimages" and not finding a relevant bug.
>>>>
>>>> Andrew
>>> https://savannah.gnu.org/bugs/?50025
>>> Ben
>>
>>
>> I've applied the updated patch, but I'm afraid I'm still getting a
>> crash in the build. It's erroring out on fewer files, though.
>>
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
>> /bin/sh run-octave --norc --silent --no-history --path
>> /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/
>> --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>> make[2]: *** [doc/interpreter/inpolygon.txt] Segmentation fault: 11
>> make[2]: *** Deleting file `doc/interpreter/inpolygon.txt'
>> make[2]: *** Waiting for unfinished jobs....
>> make[2]: *** [doc/interpreter/delaunay.txt] Segmentation fault: 11
>> make[2]: *** Deleting file `doc/interpreter/delaunay.txt'
>>
>>
>> Cheers,
>> Andrew
>
> Carlo’s word-around for this problem is attached to the bug-report below.
>
> https://savannah.gnu.org/bugs/index.php?55268
>
> Ben
>
>

That worked. Now it's getting through more of the build and failing at the
"error: __gnuplot_get_var__: Can not make FIFO (Function not
implemented)", which
is discussed elsewhere.

Thanks!

Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Having problem building on macOS Mojave

bpabbott
Administrator
> On Dec 27, 2018, at 01:24, Andrew Janke <[hidden email]> wrote:
>
> On 12/26/18 1:13 AM, Ben Abbott wrote:
>>> On Dec 26, 2018, at 1:22 PM, Andrew Janke <[hidden email] <mailto:[hidden email]>> wrote:
>>>
>>>> On 12/25/18 11:35 PM, Ben Abbott wrote:
>>>>> On Dec 26, 2018, at 12:13, Andrew Janke <[hidden email] <mailto:[hidden email]> <mailto:[hidden email]>> wrote:
>>>>>
>>>>> On 12/25/18 11:01 PM, Ben Abbott wrote:
>>>>>>> On Dec 26, 2018, at 11:53, Andrew Janke <[hidden email] <mailto:[hidden email]> <mailto:[hidden email]>> wrote:
>>>>>>>
>>>>>>>> On 12/25/18 10:40 PM, Anadi Kashyap wrote:
>>>>>>>> On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <[hidden email] <mailto:[hidden email]> <mailto:[hidden email]> <mailto:[hidden email]>> wrote:
>>>>>>>>    You’re configure script is still not working.
>>>>>>>>    Ben
>>>>>>>> But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong?
>>>>>>>> I'll try to find out what's happening in the meanwhile.
>>>>>>> On my end, I'm getting through the configure and most of the way through the
>>>>>>> build. But late in the build process, when it's calling octave itself (maybe for
>>>>>>> documentation generation), the built octave segfaults.
>>>>>>>
>>>>>>> Error from the build log:
>>>>>>>
>>>>>>> rm -f src/octave-gui-6.0.0 && \
>>>>>>>    cd src && ln -s octave-gui octave-gui-6.0.0
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
>>>>>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-1347-s7cbw0/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
>>>>>>>
>>>>>>>
>>>>>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>>>>>> make[2]: *** [doc/interpreter/interpft.txt] Segmentation fault: 11
>>>>>>> make[2]: *** Deleting file `doc/interpreter/interpft.txt'
>>>>>>> make[2]: *** Waiting for unfinished jobs....
>>>>>>>
>>>>>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>>>>>> make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
>>>>>>> make[2]: *** Deleting file `doc/interpreter/convhull.txt'
>>>>>>>
>>>>>>>
>>>>>>> Full build logs: https://gist.github.com/980b25ffa7544632a4993ed38e4b3b79
>>>>>>>
>>>>>>> Does that look familiar?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andrew
>>>>>> Hi Andrew,
>>>>>>
>>>>>> Yeah. I get the same. There’s a clumsy patch needed to avoid that (same as needed for 4.4)
>>>>>>
>>>>>> Ben
>>>>> Is the patch on Savannah somewhere? I'm searching for "segmentation fault" and "geometryimages" and not finding a relevant bug.
>>>>>
>>>>> Andrew
>>>> https://savannah.gnu.org/bugs/?50025
>>>> Ben
>>>
>>>
>>> I've applied the updated patch, but I'm afraid I'm still getting a crash in the build. It's erroring out on fewer files, though.
>>>
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'txt');"
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'txt');"
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'txt');"
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'txt');"
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'txt');"
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'txt');"
>>> /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181226-82826-kq1c55/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');"
>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>> fatal: caught signal Segmentation fault: 11 -- stopping myself...
>>> make[2]: *** [doc/interpreter/inpolygon.txt] Segmentation fault: 11
>>> make[2]: *** Deleting file `doc/interpreter/inpolygon.txt'
>>> make[2]: *** Waiting for unfinished jobs....
>>> make[2]: *** [doc/interpreter/delaunay.txt] Segmentation fault: 11
>>> make[2]: *** Deleting file `doc/interpreter/delaunay.txt'
>>>
>>>
>>> Cheers,
>>> Andrew
>> Carlo’s word-around for this problem is attached to the bug-report below.
>> https://savannah.gnu.org/bugs/index.php?55268
>> Ben
>
> That worked. Now it's getting through more of the build and failing at the
> "error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)", which
> is discussed elsewhere.

GNUPLOT is only needed if Qt did not build correctly.

Check to see what happened when building init_qt.

Ben

Ben

123