Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19743 - Ebuild for gTybalt
Summary: Ebuild for gTybalt
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-21 21:56 UTC by Hypnos
Modified: 2005-04-18 16:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for gTybalt v0.1.4 (new) (gtybalt-0.1.4.ebuild,1.51 KB, text/plain)
2003-04-21 21:59 UTC, Hypnos
Details
Ebuild for ROOT v3.03.09 (root-3.03.09.ebuild,1.70 KB, text/plain)
2003-04-21 22:00 UTC, Hypnos
Details
Ebuild for nestedsums v 1.1.0 (new) (nestedsums-1.1.0.ebuild,824 bytes, text/plain)
2003-04-21 22:01 UTC, Hypnos
Details
Ebuild for NTL v5.0c (ntl-5.0c.ebuild,899 bytes, text/plain)
2003-04-21 22:02 UTC, Hypnos
Details
Corrected ebuild for gTybalt v0.1.4 (gtybalt-0.1.4.ebuild,1.48 KB, text/plain)
2003-04-28 19:27 UTC, Hypnos
Details
Corrected ebuild for NTL v5.0c (ntl-5.0c.ebuild,918 bytes, text/plain)
2003-04-28 19:28 UTC, Hypnos
Details
gtybalt-1.1.2.ebuild (gtybalt-1.1.2.ebuild,1.14 KB, text/plain)
2004-04-24 17:25 UTC, Hypnos
Details
ginac-1.1.5.ebuild (ginac-1.1.5.ebuild,586 bytes, text/plain)
2004-04-24 17:26 UTC, Hypnos
Details
root-3.05.07.ebuild (root-3.05.07.ebuild,1.49 KB, text/plain)
2004-04-24 17:26 UTC, Hypnos
Details
nestedsums-1.3.3.ebuild (nestedsums-1.3.3.ebuild,636 bytes, text/plain)
2004-04-24 17:27 UTC, Hypnos
Details
ntl-5.3.1.ebuild (ntl-5.3.1.ebuild,814 bytes, text/plain)
2004-04-24 17:27 UTC, Hypnos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2003-04-21 21:56:20 UTC
This is an ebuild for gTybalt, a heavy-duty symbolic algebra and numerical
computation system which incorporates ROOT (CERN's successor to PAW) and GiNAC
(C++ symbolic algebra library).  You can find out more here:

http://www.fis.unipr.it/~stefanw/gtybalt.html

The following ebuilds are attached subsequently:

* app-sci/gtybalt-0.1.4

* dev-libs/root-3.03.09 (newer than what is in Portage now; required by gTybalt)

* dev-libs/nestedsums-1.1.0 (not currently in Portage at all; option for gTybalt
in case you want sophisticated polynomial reduction)

* dev-libs/ntl-5.0c (older than what is in Portage now; option for gTybalt in
case you want exotic identities for transcendental functions)

Known issue:  gtybalt won't compile with NTL v5.0c, so the option is turned off.
 This is in disagreement with the docs, so perhaps there's some external
problem, like CFLAGS or glibc.
Comment 1 Hypnos 2003-04-21 21:59:23 UTC
Created attachment 10971 [details]
Ebuild for gTybalt v0.1.4 (new)
Comment 2 Hypnos 2003-04-21 22:00:20 UTC
Created attachment 10972 [details]
Ebuild for ROOT v3.03.09
Comment 3 Hypnos 2003-04-21 22:01:51 UTC
Created attachment 10973 [details]
Ebuild for nestedsums v 1.1.0 (new)
Comment 4 Hypnos 2003-04-21 22:02:56 UTC
Created attachment 10974 [details]
Ebuild for NTL v5.0c
Comment 5 Hypnos 2003-04-28 19:25:00 UTC
I have corrected the bug that keeps NTL from being compiled into gTybalt.  The revised ebuilds for gTybalt and NTL are attached below.

NOTE:  The fix for NTL should be incorporated into the ebuild for the newer NTL revision (v5.3).
Comment 6 Hypnos 2003-04-28 19:27:31 UTC
Created attachment 11275 [details]
Corrected ebuild for gTybalt v0.1.4
Comment 7 Hypnos 2003-04-28 19:28:42 UTC
Created attachment 11276 [details]
Corrected ebuild for NTL v5.0c
Comment 8 Hypnos 2004-04-24 17:23:50 UTC
New ebuild stack for gtybalt, for new release 1.1.2:

app-sci/gtybalt-1.1.2  (new)
app-sci/ginac-1.1.5  (just a version bump down)
dev-libs/root-3.05.07  (just a version bump up)
dev-libs/nestedsums-1.3.3  (new)
dev-libs/ntl-5.3.1  (version bump up + correction to compilation options)

Deps summary excerpted from ebuild:

---------

# Some specific versions required by gtybalt
# to maintain validation
DEPEND="=sys-devel/gcc-3.3*
               =app-sci/ginac-1.1.5
               =dev-libs/root-3.05.07
               >=app-office/texmacs-1.0.1.21
               >=dev-libs/gsl-1.2
               >=dev-libs/cln-1.1.5
               =dev-libs/nestedsums-1.3.3
               >=dev-libs/ntl-5.3.1"  # Must be built with NTL_STD_XX=on
#RDEPEND=""

----------

Ebuilds follow.
Comment 9 Hypnos 2004-04-24 17:25:32 UTC
Created attachment 29981 [details]
gtybalt-1.1.2.ebuild
Comment 10 Hypnos 2004-04-24 17:26:16 UTC
Created attachment 29982 [details]
ginac-1.1.5.ebuild
Comment 11 Hypnos 2004-04-24 17:26:46 UTC
Created attachment 29983 [details]
root-3.05.07.ebuild
Comment 12 Hypnos 2004-04-24 17:27:17 UTC
Created attachment 29984 [details]
nestedsums-1.3.3.ebuild
Comment 13 Hypnos 2004-04-24 17:27:39 UTC
Created attachment 29985 [details]
ntl-5.3.1.ebuild
Comment 14 David Grant 2004-10-14 00:10:28 UTC
All that one really needs is gtybalt and nestedsums.  Versions of ginac, root, and ntl are all available in portage.  They are all newer versions of these packages in fact, and should work with gtybalt (one would hope).

I changed it so that gtybalt depends on >= versions instead of = for ginac and root.

I then added:
app-sci/ginac ~x86
dev-libs/root ~x86
dev-libs/nestedsums ~x86
dev-libs/ntl ~x86

to my /etc/portage/package.keywords file.  I think it may be better to make gtybalt have hard dependancies on the version in portage which is closest to those recommended by the gtybalt upstream, since many higher version numbers are still ~x86 in portage.  I'll test.



--- gtybalt-1.1.2.ebuild.old    2004-10-14 00:02:32.249161861 -0700
+++ gtybalt-1.1.2.ebuild        2004-10-14 00:03:15.005254681 -0700
@@ -14,8 +14,8 @@
 # Some specific versions required by gtybalt 
 # to maintain validation
 DEPEND="=sys-devel/gcc-3.3*
-               =app-sci/ginac-1.1.5
-               =dev-libs/root-3.05.07
+               >=app-sci/ginac-1.1.5
+               >=dev-libs/root-3.05.07
                >=app-office/texmacs-1.0.1.21
                >=dev-libs/gsl-1.2
                >=dev-libs/cln-1.1.5
Comment 15 David Grant 2004-10-14 00:31:34 UTC
I've modified the dependancies as follows.  This only requires new ebuilds in your local portage for root, gtybalt, and nestedsums.  I just use ntl and ginac from portage.  Just trying to eliminate possible problems and reduce the number of ebuilds which would need to be added to portage.

--- gtybalt-1.1.2.ebuild.old    2004-10-14 00:02:32.000000000 -0700
+++ gtybalt-1.1.2.ebuild        2004-10-14 00:29:14.276825792 -0700
@@ -14,15 +14,15 @@
 # Some specific versions required by gtybalt 
 # to maintain validation
 DEPEND="=sys-devel/gcc-3.3*
-               =app-sci/ginac-1.1.5
-               =dev-libs/root-3.05.07
-               >=app-office/texmacs-1.0.1.21
-               >=dev-libs/gsl-1.2
-               >=dev-libs/cln-1.1.5
-               =dev-libs/nestedsums-1.3.3
-               >=dev-libs/ntl-5.3.1"  # Must be built with NTL_STD_XX=on
+               =app-sci/ginac-1.1.6*
+               =dev-libs/root-3.05.07*
+               >=app-office/texmacs-1.0.1.21*
+               =dev-libs/gsl-1.3*
+               =dev-libs/nestedsums-1.3.3*
+               =dev-libs/ntl-5.3.2*"  # Must be built with NTL_STD_XX=on
 #RDEPEND=""
 
+               #=dev-libs/cln-1.1.5
 src_compile() {
        econf --with-nestedsums --with-ntl || die
        emake || die "emake failed"

What is about to be built:

Calculating dependencies ...done!
[ebuild  N    ] dev-libs/ntl-5.3.2   0 kB 
[ebuild  N    ] dev-libs/cln-1.1.5  -debug  1,995 kB 
[ebuild  N    ] app-sci/ginac-1.1.6  -debug  635 kB 
[ebuild  N    ] dev-libs/nestedsums-1.3.3   [empty/missing/bad digest] [1] 
[ebuild  N    ] app-text/ispell-3.2.06-r6   575 kB 
[ebuild  N    ] app-office/texmacs-1.0.4  -debug +spell  5,358 kB 
[ebuild  N    ] dev-libs/gsl-1.3  -debug  2,003 kB 
[ebuild  N    ] dev-libs/root-3.05.07  -debug +mysql +opengl +postgres  0 kB [1] 
[ebuild  N    ] app-sci/gtybalt-1.1.2   0 kB [1] 
Comment 16 David Grant 2004-10-15 01:27:39 UTC
I was wrong, we do need ginac-1.1.5 for gtybalt
Comment 17 David Grant 2004-10-15 10:01:48 UTC
I'm getting the following error during compilation:

 g++ -g -D_REENTRANT -I/usr/include/root -c gtybaltdict.cc -o gtybaltdict.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mfpmath=sse -mmmx   -o libgtybaltdict.la -rpath /usr/lib -version-info 0:0:0  gtybaltdict.lo -L/usr/lib -lginac -L/usr/lib -lcln -lgmp ../gtybalt-lib/libgtybalt.la -L/usr/lib -lnestedsums -L/usr/lib -lginac -L/usr/lib -lcln -lgmp
rm -fr .libs/libgtybaltdict.la .libs/libgtybaltdict.* .libs/libgtybaltdict.*
gcc -shared  gtybaltdict.lo  -Wl,--rpath -Wl,/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2/gtybalt-lib/.libs  -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2/eqascii/.libs -L/usr/lib/root -L/usr/lib ../gtybalt-lib/.libs/libgtybalt.so /usr/lib/libnestedsums.so /usr/lib/libginac.so /usr/lib/libcln.so /usr/lib/libgmp.so   -Wl,-soname -Wl,libgtybaltdict.so.0 -o .libs/libgtybaltdict.so.0.0.0
gtybaltdict.lo: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [libgtybaltdict.la] Error 1
make[2]: Leaving directory `/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2/dictionary'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2'
make: *** [all] Error 2
Comment 18 David Grant 2004-10-18 11:58:55 UTC
Sourav,

I haven't heard any response from you, are you interested in helping get this into portage?
Comment 19 Hypnos 2004-10-27 22:15:39 UTC
sorry for the late response, but I've been sick.

I have to question the value of gTybalt at this point -- the development has been choppy and uncommitted.

Comment 20 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-04-18 16:14:07 UTC
Closing for now. Please reopen if the development improves and you feel it would be worth adding to portage. Thanks.