headache on build repeatibility: octave vs BLODA ?

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Sat Jan 25 18:15:00 GMT 2020

On 2020-01-25 09:55, Marco Atzeri wrote:
> Hi All,
> I have recently released Octave 5.1.0
> https://cygwin.com/ml/cygwin-announce/2020-01/msg00010.html
> https://cygwin.com/ml/cygwin-announce/2020-01/msg00011.html
> that I built and packaged around 28 of December without
> any compilation and test issue.
> Than I passed to build the next version and started to see
> unexpected segfault during the package test.
> Trying to investigate I rebuilt the 5.1.0 and now I see also
> there the same thing:
>   libinterp/corefcn/file-io.cc-tst ...............................fatal: caught
> signal Segmentation fault -- stopping myself...
> /bin/sh: line 1:  3771 Segmentation fault      (core dumped) /bin/sh
> ../run-octave --norc --silent --no-history -p
> /cygdrive/d/cyg_pub/devel/octave/prova_311_510/octave-5.1.0-2.x86_64/build/test/mex
> /cygdrive/d/cyg_pub/devel/octave/prova_311_510/octave-5.1.0-2.x86_64/src/octave-5.1.0/test/fntests.m
> /cygdrive/d/cyg_pub/devel/octave/prova_311_510/octave-5.1.0-2.x86_64/src/octave-5.1.0/test
> make[3]: *** [Makefile:31176: check-local] Error 139
> I do not see any new cygwin package released in the last month that I
> installed that could cause the simple file tests to fail
> %!test
> %! f = tempname ();
> %! fid = fopen (f, "w+");
> %! fprintf (fid, "1\n2\n3\n4\n5\n6");
> %! fseek (fid, 0, "bof");
> %! c = textscan (fid, "%f %f", 2);   <- here comes the segfault
> I also tried the cygwin release 3.1.1 and 2020-01-14 snapshot
> in addition to the 3.1.2 to see if something different was
> coming with no difference in the outcome.
> Now I am seriously thinking about BLODA, but I have not
> noted any difference from the two AVs I was using
> Antivir and MS Defender, so I am wandering if last
> update for W10 Home x64 is the culprit.

Also what W10 feature release YYMM and/or build NNNNN are you on?

> Can anyone try to rebuild the Octave package and let me know
> if the segfault during test is present or not in your system ?
> Be aware that build time is very long (~ 4 hours) and requires
> a ton of mathematical libraries.
> Any suggestion will be appreciated

Should this discussion perhaps be handled on cygwin-apps?
We don't always want to advertise just how messy the Cygwin package making
sausage factory can be. ;^>

I believe the following Cygwin tools and libraries packages, pulled from the
package doc build dependencies, and found and filtered using apt-cyg listall, to
be sufficient, but may not all be necessary, and should be added to
octave.cygport, where it can be used as a build dependency install package list
for apt-cyg or setup:

DEPEND="autoconf automake bison flex gcc-core gcc-fortran gcc-g++ gperf gnuplot
libtool make texinfo libopenblas liblapack-devel libpcre-devel libarpack-devel
libparpack-devel libcurl-devel libfftw3-devel libfltk-devel libfontconfig-devel
libfreetype-devel libglpk-devel libgl2ps-devel libGraphicsMagick-devel
libhdf5-devel libllvm-devel libportaudio-devel libQtOpenGL4-devel libqhull-devel
libqrupdate-devel libqscintilla2-devel libqscintilla2_qt4-devel
libqscintilla2_qt5-devel libqt3-devel libsuitesparseconfig-devel
libsundials-devel zlib-devel"

Are there any changes you would make, especially for arpack, OpenGL, qt, scintilla?

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list