Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176455 - [science overlay] sci-libs/cgnstools sci-libs/cgnslib sci-libs/cgnsfoam (New ebuilds)
Summary: [science overlay] sci-libs/cgnstools sci-libs/cgnslib sci-libs/cgnsfoam (New ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.cgns.org
Whiteboard: [sci overlay]
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-29 12:13 UTC by Maxim Loginov
Modified: 2013-01-17 03:40 UTC (History)
2 users (show)

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


Attachments
sci-libs/cgnslib-2.4.5.ebuild (cgnslib-2.4.5.ebuild,841 bytes, text/plain)
2007-04-29 12:20 UTC, Maxim Loginov
Details
sci-libs/cgnslib-2.5.1.ebuild (cgnslib-2.5.1.ebuild,1.03 KB, text/plain)
2007-04-29 12:22 UTC, Maxim Loginov
Details
sci-misc/cgnstools-2.5.1.ebuild (cgnstools-2.5.1.ebuild,693 bytes, text/plain)
2007-04-29 12:26 UTC, Maxim Loginov
Details
working cgnslib-2.5.1.ebuild (cgnslib-2.5.1.ebuild,971 bytes, text/plain)
2007-07-25 15:12 UTC, Maxim Loginov
Details
files/DESTDIR.patch (cgnslib-2.4.5-DESTDIR.patch,723 bytes, patch)
2007-07-25 15:14 UTC, Maxim Loginov
Details | Diff
Version bump. (cgnslib-2.5.2.ebuild,1.28 KB, text/plain)
2007-11-20 21:51 UTC, Oliver Borm
Details
working version bump (cgnstools-2.5.2.ebuild,2.22 KB, text/plain)
2007-11-20 21:53 UTC, Oliver Borm
Details
change wired $SYSTEM directory (system.patch,240 bytes, text/plain)
2007-11-22 07:28 UTC, Maxim Loginov
Details
Improved ebuild. (cgnslib-2.5.2.ebuild,1.35 KB, text/plain)
2007-11-26 21:55 UTC, Oliver Borm
Details
Version bump to 2.5-3 (cgnslib-2.5.3.ebuild,1.61 KB, text/plain)
2008-07-14 22:02 UTC, Oliver Borm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Loginov 2007-04-29 12:13:11 UTC
from website:
The CFD General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysis data. It consists of a collection of conventions, and free and open software implementing those conventions. It is self-descriptive, machine-independent, well-documented, and administered by an international steering committee. It is also an American Institute of Aeronautics and Astronautics (AIAA) Recommended Practice.

Reproducible: Always




I tried to create ebuilds for sci-libs/cgnslib and sci-misc/cgnstools but they do not work, please help me to fix them.
Comment 1 Maxim Loginov 2007-04-29 12:20:35 UTC
Created attachment 117635 [details]
sci-libs/cgnslib-2.4.5.ebuild

ebuild for stable version.
1. failed on install, have no idea why, it package uses autotools, but "emake DESTDIR=${D} install" and einstall do not work.
2. configure cannot find fortran
it would be good if sombody can help me...
Comment 2 Maxim Loginov 2007-04-29 12:22:25 UTC
Created attachment 117637 [details]
sci-libs/cgnslib-2.5.1.ebuild

this is for newer version, which considered to be beta
the problems are the same...
Comment 3 Maxim Loginov 2007-04-29 12:26:50 UTC
Created attachment 117638 [details]
sci-misc/cgnstools-2.5.1.ebuild

tools for viewing/editing ADF file (Tcl/Tk based), cannot not check/install because of dependance on cgnslib. some questions anyway: how to make proper dependance on X? how to obtain tcl/tk version installed on the system, since configure need it?
Comment 4 Maxim Loginov 2007-07-25 15:12:00 UTC
Created attachment 125985 [details]
working cgnslib-2.5.1.ebuild

ugly hack for ${D}  variable, ebuild installed with notice message:

 * QA Notice: Pre-stripped files found:
 * /var/tmp/portage/sci-libs/cgnslib-2.5.1/image/usr/lib/libcgns.so

 * QA Notice: The following files contain insecure RUNPATH's
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.
 * /var/tmp/portage/sci-libs/cgnslib-2.5.1/work/cgnslib_2.5/LINUX usr/lib/libcgns.so

Auto fixing rpaths for /var/tmp/portage/sci-libs/cgnslib-2.5.1/work/cgnslib_2.5/LINUX usr/lib/libcgns.so

 * QA Notice: The following shared libraries lack a SONAME
 *  /var/tmp/portage/sci-libs/cgnslib-2.5.1/image/usr/lib/libcgns.so

what does it mean and how to fix it?
thanks...
Comment 5 Maxim Loginov 2007-07-25 15:14:06 UTC
Created attachment 125987 [details, diff]
files/DESTDIR.patch

patch for Makefile.in in order to use DESTDIR variable
Comment 6 Oliver Borm 2007-11-20 21:51:38 UTC
Created attachment 136548 [details]
Version bump.

This is a working version bump of the cgnslib-2.5.2
Comment 7 Oliver Borm 2007-11-20 21:53:08 UTC
Created attachment 136550 [details]
working version bump

This is a working version bump for cgnstools-2.5.2
Comment 8 Maxim Loginov 2007-11-22 07:28:23 UTC
Created attachment 136652 [details]
change wired $SYSTEM directory

LINUX64 directory name was wired in ebuild and it did not worked on x86 where LINUX directory expected
Comment 9 Oliver Borm 2007-11-26 21:55:01 UTC
Created attachment 137080 [details]
Improved ebuild.

The system.patch won't work for amd64 systems!
Comment 11 Maxim Loginov 2007-11-27 07:00:49 UTC
it is still old version in sunrise overlay (with LINUX64 bug). one more note: could you please add  || die "install failed" string for lines in src_install(), it would be easy to debug on other architectures (now there is no error if installation failed, you have to check log manually)
Comment 12 Oliver Borm 2007-11-30 01:04:27 UTC
The ebuild's should now be in the reviewed sunrise tree.
Comment 13 Oliver Borm 2008-07-14 22:02:06 UTC
Created attachment 160393 [details]
Version bump to 2.5-3

Added some additional functionality. But I think there are some remaining issues with the right soname.
Comment 15 James Cloos 2013-01-16 05:52:27 UTC
The science overlay ebuilds need the tk/tcl update mentioned in the recent post to gentoo-dev about converting Tcl_Interp->result to use the new accessor function.
Comment 16 Justin Lecher gentoo-dev 2013-01-16 15:16:20 UTC
(In reply to comment #15)
> The science overlay ebuilds need the tk/tcl update mentioned in the recent
> post to gentoo-dev about converting Tcl_Interp->result to use the new
> accessor function.

Could you please use githubs fork and pul-request and add the fix to this package?
Comment 17 James Cloos 2013-01-16 20:39:52 UTC
Just to confirm, you are asking for a pull request for the overlay and not for cgns upstream, yes?
Comment 18 Justin Lecher gentoo-dev 2013-01-16 20:47:55 UTC
(In reply to comment #17)
> Just to confirm, you are asking for a pull request for the overlay and not
> for cgns upstream, yes?

right, the overlay.
Comment 19 James Cloos 2013-01-17 01:31:49 UTC
OK.

It will take a while.  The way cgnstools uses the result pointer makes the conversion non-trivial.
Comment 20 James Cloos 2013-01-17 01:46:32 UTC
Or not.

It turns out upstream already fixed this, so I just copied the required changes (only).  Pull request forthcoming.