New ebuild: giac-0.5.0.ebuild Giac is a free computer algebra system. Reproducible: Always Steps to Reproduce:
Created attachment 60207 [details] giac-0.5.0.ebuild Ebuild for the giac computer algebra system.
Comment on attachment 60207 [details] giac-0.5.0.ebuild giac-0.5.0.ebuild Ebuild for the giac computer algebra system.
I suggest to put it in sci-mathematics.
This ebuild produces a bunch of sandbox violations when it calls bakefile from its src_compile. I'd offer some pointers on correcting the problem, but I personaly know nothing about working with bakefile.
Created attachment 62225 [details] giac-0.5.0.ebuild Better ebuild for giac... anyway, it still needs FEATURES="-sandbox" to avoid sandbox violation, due to bakefile.
Created attachment 62277 [details] giac-0.5.0.ebuild Ebuild no longer searches for files on mirrors... It is more logical as 0.5.0 is still a development snapshot and is subject to updates.
Created attachment 62305 [details] giac-0.5.0.ebuild Added "inherit python", so there is no sandbox violation anymore.
Created attachment 66796 [details] giac-0.5.0.ebuild - package was tested only on x86, so just leave one KEYWORD "~x86". - added SLOT="0". - Changed messages for "die" cases.
Created attachment 67183 [details] giac-0.5.0.ebuild Removed bakefile dependency.
Created attachment 67268 [details] giac-0.5.0.ebuild Moved source URI from .tar.gz to .tar.bz2.
Created attachment 67271 [details] xcas-0.5.0.ebuild Removed unused autoconf dependency.
Created attachment 67273 [details] giac-0.5.0.ebuild Forgot to pass config to einstall.
Created attachment 67634 [details] giac-0.5.0.ebuild - Removed unneeded src_unpack block. - Removed dodoc COPYING.
How can RESTRICT="mirror" and LICENSE="GPL-2" be in the same ebuild?
Created attachment 153719 [details] text relocations warning I emerged xcas successfully, using http://osdir.com/ml/gentoo.science/2005-05/msg00016.html with proposed ebuilds for xcas, giac and flvw. See below for instructions. The emerge of giac generated this complaint : " QA Notice: the following shared libraries lack a SONAME /var/tmp/portage/giac-0.5.0/image/usr/lib/libgiac.so QA Notice: the following files contain runtime text relocations Text relocations force the dynamic linker to perform extra work at startup, waste system resources, and may pose a security risk. On some architectures, the code may not even function properly, if at all. For more information, see http://hardened.gentoo.org/pic-fix-guide.xml Please include this file in your report: /var/tmp/portage/giac-0.5.0/temp/scanelf-textrel.log TEXTREL usr/lib/libgiac.so " The file /var/tmp/portage/giac-0.5.0/temp/scanelf-textrel.log is attached. My installation steps are: lynx -source 'http://bugs.gentoo.org/attachment.cgi?id=67635&action=view' > /usr/portage/local/manual/sci-mathematics/xcas/xcas-0.5.0.ebuild lynx -source 'http://bugs.gentoo.org/attachment.cgi?id=67634&action=view' > /usr/portage/local/manual/sci-mathematics/giac/giac-0.5.0.ebuild idem pour x11-libs/flvw-20000224 ... depuis http://bugs.gentoo.org/attachment.cgi?bugid=94403&action=viewall ebuild /usr/portage/local/manual/sci-mathematics/xcas/xcas-0.5.0.ebuild digest ebuild /usr/portage/local/manual/sci-mathematics/giac/giac-0.5.0.ebuild digest ebuild /usr/portage/local/manual/x11-libs/flvw/flvw-20000224.ebuild digest echo "=sci-mathematics/xcas-0.5.0 ~x86" >> /etc/portage/package.keywords echo "=sci-mathematics/giac-0.5.0 ~x86" >> /etc/portage/package.keywords echo "=x11-libs/flvw-20000224 ~x86" >> /etc/portage/package.keywords FEATURES=sandbox PORTDIR_OVERLAY="/usr/portage/local/manual" emerge xcas
Created attachment 153721 [details] output of `ebuild giac-0.5.0.ebuild install` Here is the full ebuild output for my emerge of giac.
Created attachment 153723 [details] output of `emerge --info` Here is the full output of emerge --info.
Created attachment 153725 [details] /var/log/emerge.log List of packages I ever installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=320334104e3e56e4fff1f1f821e74f7a122dfd57 commit 320334104e3e56e4fff1f1f821e74f7a122dfd57 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2021-03-31 12:42:19 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2021-04-01 21:48:37 +0000 sci-mathematics/giac: new package for the Giac/Xcas math systems. We have bugzilla requests for this package going back to 2005! The SageMath suite has recently gained the ability to use Giac from the system, so now is an especially good time to add it to the tree. François Bissey has been maintaining this package for years in the sage-on-gentoo overlay and contributing fixes upstream, so the ebuild required only minor changes at this point. I personally thank him and you should too. Closes: https://bugs.gentoo.org/94539 Closes: https://bugs.gentoo.org/94542 Closes: https://bugs.gentoo.org/760684 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> sci-mathematics/giac/Manifest | 1 + .../giac/files/giac-1.6.0-pari-2.11.patch | 17 +++ .../giac/files/giac-1.7.0.1-gsl_lapack.patch | 84 +++++++++++ sci-mathematics/giac/giac-1.7.0.1.ebuild | 163 +++++++++++++++++++++ sci-mathematics/giac/metadata.xml | 39 +++++ 5 files changed, 304 insertions(+)