Package Details: orpie 1.5.2-10

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/
Keywords: calculator RPN
Licenses: GPL
Submitter: None
Maintainer: aksr
Last Packager: aksr
Votes: 15
Popularity: 0.099884
First Submitted: 2007-09-26 16:54
Last Updated: 2016-05-04 16:25

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

trickyelf commented on 2016-08-28 16:48

Can we just grab it from debian?

jshuping commented on 2016-08-28 16:14

Flagged out of date due to mirror being down.

Moxon commented on 2016-07-28 16:19

Somehow the download link is not working for me (times out). I tried over a couple of days but with no success. Any hints?

aksr commented on 2016-05-04 16:30

trickyelf, kazuo: For now, the debian patch is applied.

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?

parrotbsd commented on 2014-04-14 22:22

ocaml-gsl shouldn't be a dependency. I successfully compiled from source without it. I did install 'ocaml' package from the 'extra' repository.

OliK commented on 2014-04-12 11:39

Got an error:

ocamllex.opt txtin_lexer.mll
25 states, 706 transitions, table size 2974 bytes
ocamlopt.opt -c -pp camlp4o -I ./curses -I ./gsl -I ./units -thread curses_keys.ml
File "curses_keys.ml", line 35, characters 45-75:
Error: Unbound module Curses_assist
Makefile:285: recipe for target 'curses_keys.cmx' failed
make: *** [curses_keys.cmx] Error 2
make: *** Waiting for unfinished jobs....
rm txtin_parser.mli txtin_lexer.ml

calculuswhiz commented on 2014-04-10 05:07

Got an error:
gcc: error: /usr/lib/ocaml/gsl/gsl.a: No such file or directory

kazuo commented on 2010-06-15 11:09

Ouch, I copied a tab from somewhere... can you change the tab for spaces on pkgbuild (in the patch lines)? Dont change anything but well, tab and space mixed are ugly...

Anonymous comment on 2010-06-14 11:24

Thanks!

kazuo commented on 2010-06-14 10:57

Hi. This PKGBUILD dont build, I used the patch's from gentoo and its builds and works with the last ocaml (remember that you need to rebuild ocaml-gsl). A modified PKGBUILD can be found at http://fma.if.usp.br/~kazuo/orpie-1.5.1-5.src.tar.gz