[rkward-tracker] [ rkward-Bugs-3249805 ] rkward-0.5.5: compilation failed / FreeBSD / rksignalsupport

SourceForge.net noreply at sourceforge.net
Tue May 31 08:21:51 UTC 2011


Bugs item #3249805, was opened at 2011-03-27 18:26
Message generated for change (Settings changed) made by tfry
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3249805&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Thierry Thomas (tthierry)
Assigned to: Thomas Friedrichsmeier (tfry)
Summary: rkward-0.5.5: compilation failed / FreeBSD / rksignalsupport

Initial Comment:
Hello,

I'm trying to upgrade rkward from 0.5.4 to 0.5.5 (FreeBSD) and it fails with the hereunder error:

cd /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend && /usr/local/libexec/ccache/c++   -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DRKWARD_SPLIT_PROCESS -O2 -pipe -march=pentiumpro -fno-strict-aliasing -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -I/usr/local/lib/R/include -I/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend -I/usr/local/kde4/include -I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative -I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/QtAssistant -I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4 -o CMakeFiles/rkward.rbackend.dir/rksignalsupport.o -c /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp
/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:27: error: conflicting declaration 'typedef void (* __sighandler_t)(int)'
/usr/include/sys/signal.h:141: error: '__sighandler_t' has a previous declaration as 'typedef void (__sighandler_t)(int)'
/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:46: error: function 'void RKSignalSupportPrivate::r_sigint_handler(int)' is initialized like a variable
/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp: In function 'void RKSignalSupport::installSigIntAndUsrHandlers(void (*)())':
/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:164: error: 'r_sigint_handler' is not a member of 'RKSignalSupportPrivate'
/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:166: error: 'r_sigint_handler' is not a member of 'RKSignalSupportPrivate'
/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp: In function 'void RKSignalSupport::callOldSigIntHandler()':
/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:177: error: 'r_sigint_handler' is not a member of 'RKSignalSupportPrivate'
*** Error code 1

No patch available ATM!

----------------------------------------------------------------------

Comment By: Thierry Thomas (tthierry)
Date: 2011-05-01 16:37

Message:
No problem for the delay: I was traveling abroad, and didn't work on this
problem.

Just tested rksignalsupport.cpp revision=3522 and, indeed, it fixes the
problem on FreeBSD! Thanks.

----------------------------------------------------------------------

Comment By: Thomas Friedrichsmeier (tfry)
Date: 2011-04-23 14:00

Message:
Whoops. Somehow, apparently, sourceforge did send me the usual e-mail
notification for your report, and so I missed it until today. Sorry!

Could you please try replacing rksignalsupport.cpp with this version:
http://rkward.svn.sourceforge.net/viewvc/rkward/trunk/rkward/rkward/rbackend/rksignalsupport.cpp?revision=3522
? Does that fix the problem?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3249805&group_id=50231




More information about the rkward-tracker mailing list