Package Details: orpie 1.5.2-11

Git Clone URL: https://aur.archlinux.org/orpie.git (read-only)
Package Base: orpie
Description: https://github.com/pelzlpj/orpie
Upstream URL: http://pessimization.com/software/orpie/
Keywords: calculator RPN
Licenses: GPL
Submitter: None
Maintainer: aksr
Last Packager: aksr
Votes: 16
Popularity: 0.000237
First Submitted: 2007-09-26 16:54
Last Updated: 2016-08-31 18:08

Latest Comments

kazuo commented on 2017-07-09 22:55

I needed new/updated patches to build it. I don't understand ocaml, ocamlgsl and orpie source base, so... But its build and run.

This is the updated PKGBUILD:
https://gist.github.com/2247bdebcdbeec95a616125daeba7b58

I split the mlgsl_sf.patch:
https://gist.github.com/f32ea2ad1b433bc8017cbd1b15cd9d6c
and:
https://gist.github.com/ae89f2e0829e1d42e31edcbb29857f41
for this one I also needed to remove the definitions in `gsl/gsl_sf.ml`

This `Makefile.in` comes from [1]:
https://gist.github.com/6931adc398a5cc9aeb618147642b792b

And this comes from [2]:
https://gist.github.com/4167fb5d9ce82f996d5d56c950df9fb7

Thanks!

1: https://github.com/pelzlpj/orpie/pull/2
2: https://github.com/pelzlpj/orpie/issues/10

ecocode commented on 2017-05-02 15:03

Hello,

I'm trying to install orpie with the AUR package, but orpie seems to fail to build. I added the complete build log below. Appreciate if anyone can help! Thanks!

==> Building and installing package
==> Making package: orpie 1.5.2-11 (Tue May 2 16:59:24 CEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading orpie-1.5.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 594 0 594 0 0 235 0 --:--:-- 0:00:02 --:--:-- 235
100 370k 100 370k 0 0 104k 0 0:00:03 0:00:03 --:--:-- 1382k
-> Found mlgsl_sf.patch
==> Validating source files with md5sums...
orpie-1.5.2.tar.gz ... Passed
mlgsl_sf.patch ... Passed
==> Validating source files with sha1sums...
orpie-1.5.2.tar.gz ... Passed
mlgsl_sf.patch ... Passed
==> Validating source files with sha256sums...
orpie-1.5.2.tar.gz ... Passed
mlgsl_sf.patch ... Passed
==> Extracting sources...
-> Extracting orpie-1.5.2.tar.gz with bsdtar
==> Starting prepare()...
patching file mlgsl_sf.c
==> Starting build()...
checking for ocamlc... ocamlc
ocaml version is 4.04.0
ocaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking ocamlopt version... ok
checking for ocamlc.opt... ocamlc.opt
checking ocamlc.opt version... ok
checking for ocamlopt.opt... ocamlopt.opt
checking ocamlc.opt version... ok
checking for ocamldep... ocamldep
checking for ocamllex... ocamllex
checking for ocamllex.opt... ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking platform... not Win32
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for working curses... yes
checking for gsl-config... /usr/bin/gsl-config
checking for GNU Scientific Library... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install.ml
ocamlc.opt -c -g -I ./curses -thread curses/curses.mli
ocamlopt.opt -c -I ./curses -thread curses/curses.ml
cd curses && ocamlc.opt -ccopt "-Wall -fPIC -DPIC -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" -c ml_curses.c
functions.c: In function ‘mlcurses_unctrl’:
functions.c:407:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ML1(unctrl,string,chtype)
^
ml_curses.c:50:15: note: in definition of macro ‘r_string’
{ char *ret=f; \
^
functions.c:407:1: note: in expansion of macro ‘ML1’
ML1(unctrl,string,chtype)
^~~
functions.c: In function ‘mlcurses_keyname’:
functions.c:408:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ML1(keyname,string,int)
^
ml_curses.c:50:15: note: in definition of macro ‘r_string’
{ char *ret=f; \
^
functions.c:408:1: note: in expansion of macro ‘ML1’
ML1(keyname,string,int)
^~~
In file included from ml_curses.c:176:0:
functions.c: In function ‘mlcurses_getsyx’:
functions.c:295:10: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
BEG0 int x,y; getsyx(y,x); r_int_int(x,y); END
^
functions.c:295:12: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
BEG0 int x,y; getsyx(y,x); r_int_int(x,y); END
^
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_error.c
In file included from mlgsl_error.c:9:0:
mlgsl_error.c: In function ‘ml_gsl_raise_exn’:
/usr/lib/ocaml/caml/memory.h:236:12: error: ‘caml__frame’ undeclared (first use in this function)
(void) caml__frame, \
^
/usr/lib/ocaml/caml/memory.h:309:3: note: in expansion of macro ‘CAMLxparam2’
CAMLxparam2 (x, y)
^~~~~~~~~~~
mlgsl_error.c:37:3: note: in expansion of macro ‘CAMLlocal2’
CAMLlocal2(exn_msg, exn_arg);
^~~~~~~~~~
/usr/lib/ocaml/caml/memory.h:236:12: note: each undeclared identifier is reported only once for each function it appears in
(void) caml__frame, \
^
/usr/lib/ocaml/caml/memory.h:309:3: note: in expansion of macro ‘CAMLxparam2’
CAMLxparam2 (x, y)
^~~~~~~~~~~
mlgsl_error.c:37:3: note: in expansion of macro ‘CAMLlocal2’
CAMLlocal2(exn_msg, exn_arg);
^~~~~~~~~~
/usr/lib/ocaml/caml/memory.h:236:23: warning: left-hand operand of comma expression has no effect [-Wunused-value]
(void) caml__frame, \
^
/usr/lib/ocaml/caml/memory.h:309:3: note: in expansion of macro ‘CAMLxparam2’
CAMLxparam2 (x, y)
^~~~~~~~~~~
mlgsl_error.c:37:3: note: in expansion of macro ‘CAMLlocal2’
CAMLlocal2(exn_msg, exn_arg);
^~~~~~~~~~
make: *** [Makefile:219: gsl/mlgsl_error.o] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build orpie.

aksr commented on 2016-08-31 18:09

Updated, thank you.

pigmonkey commented on 2016-08-31 16:15

Orpie is now on GitHub. Can we update the PKGBUILD?

https://github.com/pelzlpj/orpie
https://github.com/pelzlpj/orpie/releases/tag/release-1.5.2

pigmonkey commented on 2016-08-31 01:56

I contacted the Orpie author and asked him if he would mind putting the source on GitHub. He said he would get it moved in a few days. When that happens we can change the PKGBUILD to pull from there.

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.

All comments