Bug 380724 - rkward-0.5.5: compilation failed / FreeBSD / rksignalsupport
Summary: rkward-0.5.5: compilation failed / FreeBSD / rksignalsupport
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-27 15:26 UTC by RKWard Team
Modified: 2011-05-31 07:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RKWard Team 2011-03-27 15:26:48 UTC
-- Originally posted by (AT sourceforge.net): tthierry --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/83 on 2017-05-30 15:26:44 +0100 --
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 1 Thomas Friedrichsmeier 2011-04-23 11:00:32 UTC
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?
Comment 2 Thomas Friedrichsmeier 2011-04-23 11:00:32 UTC
- **assigned_to**: nobody --> tfry
Comment 3 RKWard Team 2011-05-01 13:37:51 UTC
-- Originally posted by (AT sourceforge.net): tthierry --
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 4 RKWard Team 2011-05-01 13:38:18 UTC
-- Originally posted by (AT sourceforge.net): tthierry --
- **status**: open --> open-fixed
Comment 5 Thomas Friedrichsmeier 2011-05-31 07:21:51 UTC
- **status**: open-fixed --> closed-fixed