Package Details: orpie 1.5.2-9

Git Clone URL: https://aur.archlinux.org/orpie.git (read-only)
Package Base: orpie
Description: A console-based RPN (reverse polish notation) desktop calculator.
Upstream URL: http://pessimization.com/software/orpie/
Licenses: GPL
Submitter: None
Maintainer: aksr
Last Packager: aksr
Votes: 15
Popularity: 1.190607
First Submitted: 2007-09-26 16:54
Last Updated: 2015-06-23 09:28

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

trickyelf commented on 2016-04-28 22:33

Any update on this? Including gentoo or debian patches seems reasonable.

aksr commented on 2016-04-15 05:18

The maintainer responded very fast before.
I contacted him again (a week or so ago).
kazuo, typoofcem: I'll see what can be done. ;)

kazuo commented on 2016-04-14 22:38

The upstream can take sometime (like years) to include patches. So for a long time the aur/orpie included gentoo/debian patches.

typoofcem commented on 2016-04-14 21:34

Package fails to build with GSL 2.x. Temporary fix is to use GSL 1.16, as upstream hasn't issued a patch, afaik. Debain did patch it to use GSL 2 for stretch and sid. Macports simply removed some function calls.

Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804497

Macports patch: https://trac.macports.org/ticket/50338

trickyelf commented on 2016-04-02 21:49

This package fails to build for me.

cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_matrix_complex.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_matrix_double.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_matrix_float.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_matrix_complex_float.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_vector_double.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_vector_float.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_permut.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_linalg.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_linalg_complex.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_fun.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_math.c
cd gsl && ocamlc.opt -ccopt "-I/usr/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_sf.c
In file included from mlgsl_sf.c:10:0:
mlgsl_sf.c: In function ‘ml_gsl_sf_ellint_D’:
mlgsl_sf.c:95:7: error: too many arguments to function ‘gsl_sf_ellint_D’
ML4(gsl_sf_##name, conv1, conv2, conv3, conv4, copy_double) \
^
/usr/lib/ocaml/caml/memory.h:226:29: note: in definition of macro ‘CAMLreturnT’
type caml__temp_result = (result); \
^
wrappers.h:74:5: note: in expansion of macro ‘CAMLreturn’
CAMLreturn(convr(name(conv1(arg1), conv2(arg2), conv3(arg3), conv4(arg4)))) ; }
^
mlgsl_sf.c:95:3: note: in expansion of macro ‘ML4’
ML4(gsl_sf_##name, conv1, conv2, conv3, conv4, copy_double) \
^
mlgsl_sf.c:261:1: note: in expansion of macro ‘SF4’
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
^
In file included from /usr/include/gsl/gsl_sf.h:17:0,
from mlgsl_sf.c:6:
/usr/include/gsl/gsl_sf_ellint.h:85:8: note: declared here
double gsl_sf_ellint_D(double phi, double k, gsl_mode_t mode);
^
In file included from mlgsl_sf.c:8:0:
mlgsl_sf.c: In function ‘ml_gsl_sf_ellint_D_e’:
/usr/lib/ocaml/caml/mlvalues.h:76:20: warning: passing argument 4 of ‘gsl_sf_ellint_D_e’ makes pointer from integer without a cast [-Wint-conversion]
#define Int_val(x) ((int) Long_val(x))
^
mlgsl_sf.c:77:49: note: in expansion of macro ‘Int_val’
name(conv1(arg1), conv2(arg2), conv3(arg3), conv4(arg4), &res); \
^
mlgsl_sf.c:96:3: note: in expansion of macro ‘ML4_res’
ML4_res(gsl_sf_##name##_e, conv1, conv2, conv3, conv4)
^
mlgsl_sf.c:261:1: note: in expansion of macro ‘SF4’
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
^
mlgsl_sf.c:261:51: note: in expansion of macro ‘GSL_MODE_val’
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
^
In file included from /usr/include/gsl/gsl_sf.h:17:0,
from mlgsl_sf.c:6:
/usr/include/gsl/gsl_sf_ellint.h:84:5: note: expected ‘gsl_sf_result * {aka struct gsl_sf_result_struct *}’ but argument is of type ‘int’
int gsl_sf_ellint_D_e(double phi, double k, gsl_mode_t mode, gsl_sf_result * result);
^
mlgsl_sf.c:96:11: error: too many arguments to function ‘gsl_sf_ellint_D_e’
ML4_res(gsl_sf_##name##_e, conv1, conv2, conv3, conv4)
^
mlgsl_sf.c:77:5: note: in definition of macro ‘ML4_res’
name(conv1(arg1), conv2(arg2), conv3(arg3), conv4(arg4), &res); \
^
mlgsl_sf.c:261:1: note: in expansion of macro ‘SF4’
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
^
In file included from /usr/include/gsl/gsl_sf.h:17:0,
from mlgsl_sf.c:6:
/usr/include/gsl/gsl_sf_ellint.h:84:5: note: declared here
int gsl_sf_ellint_D_e(double phi, double k, gsl_mode_t mode, gsl_sf_result * result);
^
Makefile:219: recipe for target 'gsl/mlgsl_sf.o' failed
make: *** [gsl/mlgsl_sf.o] Error 2
==> ERROR: A failure occurred in build().
Aborting...

ryanmjacobs commented on 2014-09-26 22:32

@emlimik31
Turns out the package camlp4 is needed for the build. https://www.archlinux.org/packages/extra/i686/camlp4/

This should be added to the PKGBUILD build dependencies.

ryanmjacobs commented on 2014-09-26 22:31

#elimik31
Turns out the package camlp4 is needed to build. https://www.archlinux.org/packages/extra/i686/camlp4/

It should be added to the PKGBUILD build dependencies.

elimik31 commented on 2014-09-26 15:51

I get the error ("Kommando nicht gefunden" is German for "Command not found":
...
config.status: creating Makefile
config.status: creating install.ml
ocamlopt.opt -c -pp camlp4o -I ./curses -I ./gsl -I ./units -thread big_int_str.ml
sh: camlp4o: Kommando nicht gefunden.
File "big_int_str.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4o 'big_int_str.ml' > /tmp/ocamlpp6e1114
...
With ocaml, ncurses and gsl I should have all the dependencies. What is the matter?

ryanmjacobs commented on 2014-08-29 04:43

Yup. ocaml-gsl should not be a dependency. However, GSL (GNU Scientific Library) is. It says right there on Orpie's website: http://pessimization.com/software/orpie/.

Here's the fixed PKGBUILD: https://gist.github.com/ryanmjacobs/e2f367bd676d07a67076

fionn commented on 2014-05-10 06:41

Getting the same error as OliK on 2014-04-12 with identical output.

Once this one is addressed, are there other dependencies that need to be taken care of?

All comments