| Summary: | app-office/texstudio on PPC - debughelper.cpp: In member function 'void SimulatedCPU::set_all(void*)': debughelper.cpp:796:20: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | Justin Lecher (RETIRED) <jlec> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | PATCH |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | Linux | ||
| URL: | https://sourceforge.net/p/texstudio/bugs/769/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 476558 | ||
| Attachments: |
texstudio-2.6.0:20130713-172750.log
texstudio-2.6.0-ppc-backport.patch gcc -dM -E - < /dev/null |
||
|
Description
Agostino Sarubbo
2013-07-13 17:37:11 UTC
Created attachment 353232 [details]
texstudio-2.6.0:20130713-172750.log
build log
Created attachment 353252 [details, diff]
texstudio-2.6.0-ppc-backport.patch
Could you please test this patch?
Debian has a similar buf report and this commit was the upstream fix for it.
same result Please test version 2.6.2. (In reply to Justin Lecher from comment #4) > Please test version 2.6.2. same result Could you please try this patch https://sourceforge.net/p/texstudio/code/4133/tree//trunk/debughelper.cpp?diff=507ebff6fd48f809a6ccfa48:4132 And attach the output of gcc -dM -E - < /dev/null Created attachment 354854 [details]
gcc -dM -E - < /dev/null
(In reply to Agostino Sarubbo from comment #8) > Created attachment 354854 [details] > gcc -dM -E - < /dev/null then the patch should work. (In reply to Justin Lecher from comment #6) > Could you please try this patch > > https://sourceforge.net/p/texstudio/code/4133/tree//trunk/debughelper. > cpp?diff=507ebff6fd48f809a6ccfa48:4132 it doesn't help (In reply to Agostino Sarubbo from comment #10) > (In reply to Justin Lecher from comment #6) > > Could you please try this patch > > > > https://sourceforge.net/p/texstudio/code/4133/tree//trunk/debughelper. > > cpp?diff=507ebff6fd48f809a6ccfa48:4132 > > it doesn't help Could you additionally add this? sorry for the sliced patches, but I can't test myself. https://sourceforge.net/p/texstudio/code/4147/ Could you please try this patch for the ebuild
Index: texstudio-2.6.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.6.2.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 texstudio-2.6.2.ebuild
--- texstudio-2.6.2.ebuild 23 Jul 2013 13:50:08 -0000 1.2
+++ texstudio-2.6.2.ebuild 25 Aug 2013 17:58:45 -0000
@@ -51,6 +51,11 @@
if use video; then
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
fi
+
+ cat > texmakerx_my.pri <<- EOF
+ NO_CRASH_HANDLER=true
+ EOF
+
qt4-r2_src_prepare
}
(In reply to Justin Lecher from comment #12) > Could you please try this patch for the ebuild > > Index: texstudio-2.6.2.ebuild > =================================================================== > RCS file: > /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.6.2.ebuild,v > retrieving revision 1.2 > diff -u -B -r1.2 texstudio-2.6.2.ebuild > --- texstudio-2.6.2.ebuild 23 Jul 2013 13:50:08 -0000 1.2 > +++ texstudio-2.6.2.ebuild 25 Aug 2013 17:58:45 -0000 > @@ -51,6 +51,11 @@ > if use video; then > sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die > fi > + > + cat > texmakerx_my.pri <<- EOF > + NO_CRASH_HANDLER=true > + EOF > + > qt4-r2_src_prepare > } It works without the previous patch. (In reply to Agostino Sarubbo from comment #13) > It works without the previous patch. Thanks for testing. So we will follow the debian maintainers route until this issue is fixed. + 26 Aug 2013; Justin Lecher <jlec@gentoo.org> texstudio-2.6.0.ebuild, + texstudio-2.6.2.ebuild: + Debian style fix for compilation problem on ppc, #476728 + + |