Package Details: gnudatalanguage 0.9.6-6

Git Clone URL: https://aur.archlinux.org/gnudatalanguage.git (read-only)
Package Base: gnudatalanguage
Description: An IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs)
Upstream URL: http://gnudatalanguage.sourceforge.net/
Licenses: GPL
Submitter: Snowman
Maintainer: migueldvb
Last Packager: migueldvb
Votes: 15
Popularity: 0.065028
First Submitted: 2005-10-19 19:37
Last Updated: 2016-06-08 01:41

Latest Comments

Universebenzene commented on 2016-06-07 03:32

Well the -DHDF5 should be NO, or compiling will fail. Thanks georgeg and migueldvb.

migueldvb commented on 2016-06-06 20:56

Thanks georgeg, I have included those patches in the PKGBUILD.

georgeg commented on 2016-06-06 20:20

I compiled it successfully from yaourt by adding a prepare() to PKGBUILD to apply the patches and also changing -DHDF5=Yes to -DHDF5=No

https://bpaste.net/show/c99e313cb2ef

Universebenzene commented on 2016-06-03 02:42

Hello, when I use yaourt to build the new version of gdl, several error occured:
https://bpaste.net/show/a441b1ad3242

Any ideas?

migueldvb commented on 2016-06-02 19:22

Thanks for figuring out how to fix the compilation problem. I have modified the PKGBUILD and added the available patch until there is a new upstream release.

jwalker commented on 2016-06-02 17:46

I've done some digging and found a workaround. There are two bugs of which the developers are aware and have a patch, and a third which doesn't have a patch. The first two are here:

https://sourceforge.net/p/gnudatalanguage/bugs/686/#9469
https://sourceforge.net/p/gnudatalanguage/bugs/688/#4622

The third bug involves a compatibility issue with HDF5 (https://sourceforge.net/p/gnudatalanguage/bugs/699/). The workaround that I've used is to disable HDF5 (I don't need it) by adding a flag to cmake in the PKGBUILD:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON=YES -DPYTHONVERSION=2.7 \
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DMAGICK=NO -DFFTW=YES -DHDF5=YES -DHDF=NO -DGRIB=YES -DUDUNITS=YES \
-DCMAKE_C_FLAGS="-I/usr/include/ImageMagick \
-I/usr/include/python2.7 \
-I/usr/lib/python2.7/site-packages/numpy/core/include" ..\
-DHDF5=NO

To build the package, do the following. (1) Run makepkg to download and extract the resources. (2) Either wait for the compilation to fail, or cancel it at some point during compilation. (3) Patch the two files with the patches above. (4) Build with the command "makepkg --noextract". The "--noextract" option prevents makepkg from overwriting the patches. I actually used the command "makepkg -sri --noextract".

jwalker commented on 2016-06-01 22:37

Hello, I've run into some errors while compiling. I don't know whether these are due to the packaging or the source itself. Here's the relevant portion of the log:

In file included from /home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/envt.hpp:24:0,
from /home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/FMTIn.hpp:14,
from /home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/FMTIn.cpp:5:
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/typedefs.hpp: In member function ‘Guard<T>& Guard<T>::operator=(Guard<T>&)’:
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/typedefs.hpp:238:21: error: return-statement with no value, in function returning ‘Guard<T>&’ [-fpermissive]
if( &r == this) return;
^~~~~~
In file included from /home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/datatypes.hpp:499:0,
from /home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/envt.hpp:27,
from /home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/FMTIn.hpp:14,
from /home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/FMTIn.cpp:5:
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/specializations.hpp: At global scope:
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/specializations.hpp:537:65: error: ‘operator>>’ is not a template function
std::istream& operator>>(std::istream& i, Data_<SpDFloat>& data_);
^
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/specializations.hpp:539:66: error: ‘operator>>’ is not a template function
std::istream& operator>>(std::istream& i, Data_<SpDDouble>& data_);
^
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/specializations.hpp:541:67: error: ‘operator>>’ is not a template function
std::istream& operator>>(std::istream& i, Data_<SpDComplex>& data_);
^
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/specializations.hpp:543:70: error: ‘operator>>’ is not a template function
std::istream& operator>>(std::istream& i, Data_<SpDComplexDbl>& data_);
^
/home/user/aur/gnudatalanguage/src/gdl-0.9.6/src/specializations.hpp:545:67: error: ‘operator>>’ is not a template function
std::istream& operator>>(std::istream& is, Data_<SpDString>& data_);
^
src/CMakeFiles/gdl.dir/build.make:86: recipe for target 'src/CMakeFiles/gdl.dir/FMTIn.cpp.o' failed
make[2]: *** [src/CMakeFiles/gdl.dir/FMTIn.cpp.o] Error 1
CMakeFiles/Makefile2:124: recipe for target 'src/CMakeFiles/gdl.dir/all' failed
make[1]: *** [src/CMakeFiles/gdl.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

Morn commented on 2016-01-27 18:15

Thanks, that was fast! :-)

migueldvb commented on 2016-01-27 17:22

Sorry about the missing docs directory. It has been fixed in 0.9.6-2.

Morn commented on 2016-01-27 17:09

There is an error during packaging:

==> Making package: gnudatalanguage 0.9.6-1 (Wed Jan 27 18:07:15 CET 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
[ 16%] Built target antlr
[100%] Built target gdl
[100%] Built target symlink_gdl
Install the project...
-- Install configuration: "Release"
-- Installing: /home/martin/aur/gnudatalanguage/pkg/gnudatalanguage/usr/share/gnudatalanguage/AUTHORS
-- Installing: /home/martin/aur/gnudatalanguage/pkg/gnudatalanguage/usr/share/gnudatalanguage/README
CMake Error at cmake_install.cmake:59 (file):
file INSTALL cannot find
"/home/martin/aur/gnudatalanguage/src/gdl-0.9.6/doc/gdl.1".


Makefile:71: recipe for target 'install' failed
make: *** [install] Error 1
==> ERROR: A failure occurred in package().
Aborting...

All comments