bugGNU Octave - Bugs: bug #60749, Vanilla CentOS 7 (gcc 4.8.2)...

 
 

bug #60749: Vanilla CentOS 7 (gcc 4.8.2) cannot build Octave 6

Submitter:  None
Submitted:  Tue 08 Jun 2021 04:28:02 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Wont Fix Assigned to:  None
Originator Name:  Thomas Doczkal Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.2.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 09 Jun 2021 06:20:32 AM UTC, comment #6: 

Thanks for the hint @dasergatskov and @doczkal for ​opening this thread https://octave.discourse.group/t/centos-7-cannot-build-octave-6/1242

The new title hopefully reflects the problem and we find a solution on Discourse.

Closing report.

Kai Torben Ohlhus <siko1056>
Group Member
Wed 09 Jun 2021 06:14:44 AM UTC, comment #5: 

Apparently you can also get gcc-7 from the same add-on repos:
https://centos.pkgs.org/7/centos-sclo-rh-x86_64/devtoolset-7-gcc-c++-7.3.1-5.16.el7.x86_64.rpm.html

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Wed 09 Jun 2021 05:53:52 AM UTC, comment #4: 
Dmitri A. Sergatskov <dasergatskov>
Wed 09 Jun 2021 05:15:57 AM UTC, comment #3: 

Thank you for uploading your log file.

It looks like this bug

https://www.cplusplus.com/forum/unices/238480/

cased by an too old gcc 4.8.2 and the lack of a move-constructor for streams.

@OP: which was the last Octave version that built successful on CentOS 7?

If you never build Octave 6 on CentOS, it is no regression and I suggest to follow jwe's suggestion to move to Octave Discourse Help with the discussion and close this report.

Kai Torben Ohlhus <siko1056>
Group Member
Wed 09 Jun 2021 05:09:05 AM UTC, comment #2: 

"UNEXPECTED: found nth_element broken in g++ $GXX_VERSION.  Refusing to fix except for g++ 4.8.0, 4.8.1, or 4.8.2.  You appear to have g++ $GXX_VERSION."

I have tried 10.3.0 and 9.2.0 both show the above error and fail.
Then I have tried 4.8.2 with the error attached now.

Anonymous
Tue 08 Jun 2021 08:14:09 PM UTC, comment #1: 

I don't see any files attached to this message.

What is the error?

What is the "error that's fixed for version 4.8.0 up to 4.8.2 only"?

GCC 4.8.x was first released more than 8 years ago.  We don't generally support building current versions of Octave with ancient versions of GCC.  For now I'm marking this as "need info" but I'm inclined to close as invalid or won't fix.

If you are looking for help building Octave please use the discourse help forum here: https://octave.discourse.group/c/help/6

John W. Eaton <jwe>
Group administrator
Tue 08 Jun 2021 04:28:02 PM UTC, original submission:  

I want to build gnu octave 6.2.0 release on CENTOS 7 but get a build failure as attached.
I have compiled and installed several packages in a non-standard path.
E.g. system gcc is 4.8.5 but there is an error that's fixed for version 4.8.0 up to 4.8.2 only.

Full List below:

GCC="4.8.2"
MAKE="4.2.1"
JAVA_JDK="1.8.0_202"
QHULL="2015.2"
HDF5="1.10.4"
GLPK="5.0"
FLTK="1.3.4-2"
GNUPLOT="5.2.6"
GPERF="3.1"
FLEX="2.6.4"
BISON="3.0.5"
TEXINFO="6.5"
OPENBLAS="0.3.13"
BZIP2="1.0.6"
FFTW="3.3.9"
GRAPHICSMAGICK="1.3.36"
CURL="7.77.0"
LIBSNDFILE="1.0.31"
PORTAUDIO="v190700_20210406"
SUITESPARSE="4.4.5"
LAPACK="3.8.0"

Any idea where else to look at?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #51527:  gnu-octave-make-error.txt added by None (46KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-09 siko1056 StatusNeed Info Wont Fix
        Open/ClosedOpen Closed
        SummaryVanilla CentOS 7 cannot build Octave 6 Vanilla CentOS 7 (gcc 4.8.2) cannot build Octave 6
    2021-06-09 siko1056 Summary[octave-6.2.0] build failure Vanilla CentOS 7 cannot build Octave 6
    2021-06-09 None Attached File- Added gnu-octave-make-error.txt, #51527
    2021-06-08 jwe StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code