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

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( 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>
Project 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:


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


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>
Project 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.

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>
Project 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:


Any idea where else to look at?



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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.7