Opened 8 years ago

Last modified 8 years ago

#51399 closed defect

octave-4.0.2_0 upgrade fails — at Version 4

Reported by: neilt (Neil Tiffin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: lupincho25@…, kpreid@…, michaelld@…, mcalhoun@…, ram@…
Port: octave

Description (last modified by skymoo (Adam Mercer))

octave-4.0.2_0+app+atlas+docs+fltk+gcc5+java+qt4gui+sound.darwin_15.x86_64 failed to install.

:info:build In file included from /opt/local/include/gcc5/c++/cstdlib:72:0,
:info:build                  from /opt/local/include/gcc5/c++/bits/stl_algo.h:59,
:info:build                  from /opt/local/include/gcc5/c++/algorithm:62,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/qglobal.h:68,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/qnamespace.h:45,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:45,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/qobject.h:47,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/QObject:1,
:info:build                  from /opt/local/libexec/qt4/include/Qsci/qscilexeroctave.h:28,
:info:build                  from src/m-editor/file-editor-tab.cc:32:
:info:build ../libgnu/stdio.h:1039:1: error: conflicting declaration of 'char* gets(char*)' with 'C++' linkage
:info:build  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
:info:build  ^
:info:build In file included from ../libgnu/stdio.h:43:0,
:info:build                  from ../libgnu/wchar.h:71,
:info:build                  from /opt/local/include/gcc5/c++/cwchar:44,
:info:build                  from /opt/local/include/gcc5/c++/bits/postypes.h:40,
:info:build                  from /opt/local/include/gcc5/c++/bits/char_traits.h:40,
:info:build                  from /opt/local/include/gcc5/c++/string:40,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/qstring.h:54,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/qobject.h:48,
:info:build                  from /opt/local/libexec/qt4/include/QtCore/QObject:1,
:info:build                  from /opt/local/libexec/qt4/include/Qsci/qscilexeroctave.h:28,
:info:build                  from src/m-editor/file-editor-tab.cc:32:
:info:build /usr/include/stdio.h:257:7: note: previous declaration with 'C' linkage
:info:build  char *gets(char *);

Change History (5)

Changed 8 years ago by neilt (Neil Tiffin)

Attachment: main.log added

comment:1 Changed 8 years ago by neilt (Neil Tiffin)

MacPorts 2.3.4 OS X 10.11.4 (15E65)

comment:2 Changed 8 years ago by lpn25

Cc: lupincho25@… added

Cc Me!

comment:3 Changed 8 years ago by kpreid (Kevin Reid)

Cc: kpreid@… added

Cc Me!

comment:4 Changed 8 years ago by skymoo (Adam Mercer)

Cc: michaelld@… mcalhoun@… ram@… added
Description: modified (diff)
Keywords: octave removed
Note: See TracTickets for help on using tickets.