[MacPorts] #51399: octave-4.0.2_0 upgrade fails

MacPorts noreply at macports.org
Sun May 15 06:07:43 PDT 2016


#51399: octave-4.0.2_0 upgrade fails
--------------------+--------------------------------
 Reporter:  neil@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:  octave  |       Port:  octave
--------------------+--------------------------------
 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 *);

-- 
Ticket URL: <https://trac.macports.org/ticket/51399>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list