Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220823 - sci-libs/scotch ebuild for use with Code-Aster
Summary: sci-libs/scotch ebuild for use with Code-Aster
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://www.labri.u-bordeaux.fr/perso/...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-05-07 22:29 UTC by Richard Westwell
Modified: 2009-09-03 16:58 UTC (History)
4 users (show)

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


Attachments
/sci-libs/scotch/scotch-4.0.1.ebuild (scotch-4.0.1.ebuild,1.37 KB, text/plain)
2008-05-07 22:32 UTC, Richard Westwell
Details
/sci-libs/scotch/scotch-5.0.5.ebuild (scotch-5.0.5.ebuild,1.11 KB, text/plain)
2008-05-07 22:33 UTC, Richard Westwell
Details
/sci-libs/scotch/scotch-4.0.1.ebuild (scotch-4.0.1.ebuild,1.55 KB, text/plain)
2008-05-10 17:30 UTC, Richard Westwell
Details
/sci-libs/scotch/scotch-5.0.5.ebuild (scotch-5.0.5.ebuild,1.27 KB, text/plain)
2008-05-10 17:30 UTC, Richard Westwell
Details
scotch-5.1.6 version bump (scotch-5.1.6.ebuild,1.47 KB, text/plain)
2009-08-06 18:56 UTC, Oliver Borm
Details
Makefile.inc (Makefile.inc,334 bytes, patch)
2009-08-06 18:56 UTC, Oliver Borm
Details | Diff
metis-header.patch (metis-header.patch,381 bytes, patch)
2009-08-06 18:57 UTC, Oliver Borm
Details | Diff
mmkt-typo.patch (mmkt-typo.patch,569 bytes, patch)
2009-08-06 18:57 UTC, Oliver Borm
Details | Diff
shared-libs.patch (shared-libs.patch,1.76 KB, patch)
2009-08-06 18:58 UTC, Oliver Borm
Details | Diff
scotch-5.1.6 new version (scotch-5.1.6.ebuild,1.48 KB, text/plain)
2009-08-23 11:57 UTC, Oliver Borm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Westwell 2008-05-07 22:29:56 UTC
Hi attached should be a couple of ebuild scripts for the sci lib scotch
this seems to be one of the things bundled with the code aster source
and it may be useful in other cases

version 4.0.1 appears to be the one bundled with code aster
version 5.0.5 is the one downloadable from the scotch site
Comment 1 Richard Westwell 2008-05-07 22:32:18 UTC
Created attachment 152387 [details]
/sci-libs/scotch/scotch-4.0.1.ebuild

this one is bundled with code aster
the source isn't downloadble from the main scotch page
so I had to set it to download the code aster source instead to get a copy
Comment 2 Richard Westwell 2008-05-07 22:33:41 UTC
Created attachment 152389 [details]
/sci-libs/scotch/scotch-5.0.5.ebuild

this is the one downloadable from the main scotch site
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-07 23:41:01 UTC
- yacc (via sys-devel/bison) and flex are given by the system set, so they do not need to be stated and I guess they're not needed at runtime, right!?
- if you want to state them, depend on bison, not yacc
- ${S} and ${D} quoted, please.
- use emake, instead make
- on 64 bit, libraries go into /usr/lib64, do dodir "/usr/$(get_libdir)" etc.
Comment 4 Richard Westwell 2008-05-10 17:30:12 UTC
Created attachment 152753 [details]
/sci-libs/scotch/scotch-4.0.1.ebuild

changes made
Comment 5 Richard Westwell 2008-05-10 17:30:39 UTC
Created attachment 152755 [details]
/sci-libs/scotch/scotch-5.0.5.ebuild

changes made
Comment 6 Richard Westwell 2008-05-10 17:38:06 UTC
i think I've made all te changes mentioned above
let me know if I've missed anything

(the install script installs into /usr/lib even under amd64 like I'm using, so I had to create a symlink as part of the ebuild)
Comment 7 Oliver Borm 2009-08-06 18:56:04 UTC
Created attachment 200407 [details]
scotch-5.1.6 version bump

This is a versions bump for scotch. Included the patches from debian. Changed EAPI=2, installed more needed headers and dynamic libraries.
Comment 8 Oliver Borm 2009-08-06 18:56:42 UTC
Created attachment 200408 [details, diff]
Makefile.inc
Comment 9 Oliver Borm 2009-08-06 18:57:32 UTC
Created attachment 200409 [details, diff]
metis-header.patch
Comment 10 Oliver Borm 2009-08-06 18:57:53 UTC
Created attachment 200410 [details, diff]
mmkt-typo.patch
Comment 11 Oliver Borm 2009-08-06 18:58:06 UTC
Created attachment 200411 [details, diff]
shared-libs.patch
Comment 12 Patrick Lauer gentoo-dev 2009-08-17 14:20:17 UTC
gcc -g -O3 -I. -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -c mesh.c -o mesh.o                                  
library_mesh_order_f.c:57:20: error: scotch.h: No such file or directory                                                                                                         
library_mesh_order_f.c:66: error: expected ')' before '*' token                                                                                                                  
library_mesh_order_f.c:66: error: expected ')' before '*' token                                                                                                                  
library_mesh_order_f.c:66: error: expected ')' before '*' token                                                                                                                  
library_mesh_order_f.c:66: error: expected ')' before '*' token                                                                                                                  
library_mesh_order_f.c:66: error: expected ')' before '*' token 

Doesn't compile here out of the box ...
Comment 13 Oliver Borm 2009-08-23 10:16:53 UTC
(In reply to comment #12)
> gcc -g -O3 -I. -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD
> -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -c mesh.c -o mesh.o 
> library_mesh_order_f.c:57:20: error: scotch.h: No such file or directory
> 
> Doesn't compile here out of the box ...
> 
For me it does. Could you please post the complete build log, at least the starting of the log file?
Comment 14 Oliver Borm 2009-08-23 11:57:47 UTC
Created attachment 202017 [details]
scotch-5.1.6 new version

Seemed to be a problem with parallel make. So restricted to -j1, hope that solves the problem.
Comment 15 Patrick Lauer gentoo-dev 2009-09-03 16:58:54 UTC
+  03 Sep 2009; Patrick Lauer <patrick@gentoo.org> +scotch-5.1.6.ebuild,
+  +files/Makefile.inc, +files/metis-header.patch, +files/mmkt-typo.patch,
+  +files/shared-libs.patch, +metadata.xml:
+  Initial import of scotch, dependency of OpenFoam. Ebuild by Richard
+  Westwell and Oliver Borm. Fixes #220823