BEG0 int x,y; getsyx(y,x); r_int_int(x,y); END ^ make: *** No rule to make target '/usr/lib/ocaml/gsl/gsl.cmxa', needed by 'orpie.opt'. Stop. * ERROR: sci-calculators/orpie-1.5.2-r1::gentoo failed (compile phase): * emake failed * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-systemd_20190207-072302 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * Available Rust versions: [1] rust-1.32.0 * emerge -qpvO sci-calculators/orpie [ebuild N ] sci-calculators/orpie-1.5.2-r1 USE="-doc"
Created attachment 564564 [details] emerge-info.txt
Created attachment 564566 [details] emerge-history.txt
Created attachment 564568 [details] environment
Created attachment 564570 [details] etc.portage.tbz2
Created attachment 564572 [details] logs.tbz2
Created attachment 564574 [details] sci-calculators:orpie-1.5.2-r1:20190210-151351.log
Created attachment 564576 [details] temp.tbz2
*** Bug 759499 has been marked as a duplicate of this bug. ***
I see that there is a version 1.6.1 on github at: https://github.com/pelzlpj/orpie
The curses library required to build against newer ncurses releases should be this one: https://github.com/mbacarella/curses and not the depreciated ocaml-curses/ocaml-tmk library. After having tried building orpie for years without success I have found the "new" library just yesterday and, finally, was able to write some ebuilds that seem to work. Feel free to adapt them if you like.
Created attachment 764016 [details] dev-ml/curses-1.0.10 (the "new" OCaml Curses bindings)
Created attachment 764017 [details] erroneous sci-calculators/orpie-1.6.1 ebuild
(In reply to gertoe from comment #10) emerge: there are no ebuilds to satisfy ">=dev-ml/gsl-ocaml-4.03". (dependency required by "sci-calculators/orpie-1.6.1::my-overlays" [ebuild]) (dependency required by "orpie" [argument]) However if we specify: DEPEND="dev-ml/gsl-ocaml" Then it compiles and runs as expected. Thank you for the tip and the ebuilds.
(In reply to Andreas Proteus from comment #13) Thank you for your reply and your feedback. Of course, DEPEND should rather be: DEPEND=">=dev-lang/ocaml-4.03 [...] dev-ml/gsl-ocaml [...]" My apologies.
Comment on attachment 764017 [details] erroneous sci-calculators/orpie-1.6.1 ebuild ># Copyright 1999-2022 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >DESCRIPTION="A fullscreen RPN calculator for the console" >HOMEPAGE="https://github.com/pelzlpj/orpie" >SRC_URI="https://github.com/pelzlpj/${PN}/archive/refs/tags/release-${PV}.tar.gz" > >LICENSE="GPL-3" > >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="doc man utils" > >DEPEND=">=dev-lang/ocaml-4.03 > sys-libs/ncurses:0= > dev-ml/curses > dev-ml/camlp5 > dev-ml/gsl-ocaml > dev-ml/num > dev-ml/dune" > >RDEPEND="${DEPEND}" > >S="${WORKDIR}/${PN}-release-${PV}" > >src_prepare() { > default >} > >src_compile() { > emake PREFIX="/" -j1 >} > >src_install() { > newbin _build/default/src/orpie/main.exe orpie > > if use man; > then > doman doc/orpie.1 doc/orpierc.5 > fi > > insinto /etc/orpie > doins etc/orpierc > > if use doc; > then > HTML_DOCS=( doc/manual.html ) > dodoc doc/manual.pdf ${HTML_DOCS} > fi > > if use utils; > then > newbin _build/default/src/orpie-curses-keys/curses_keys.exe orpie-curses-keys > if use man; > then > doman doc/orpie-curses-keys.1 > fi > fi >}
Created attachment 764056 [details] Fixed sci-calculators/orpie ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e0909a62a238edfe9a1f8618ddf580a967ffc7 commit c3e0909a62a238edfe9a1f8618ddf580a967ffc7 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2022-03-25 07:04:27 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2022-03-25 07:04:27 +0000 sci-calculators/orpie: remove old Closes: https://bugs.gentoo.org/677660 Closes: https://bugs.gentoo.org/716602 Closes: https://bugs.gentoo.org/832679 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> sci-calculators/orpie/Manifest | 1 - .../orpie/files/orpie-1.5.1-ocaml311.patch | 200 --------------------- .../orpie/files/orpie-1.5.1-orpierc.patch | 11 -- .../orpie/files/orpie-1.5.1-tinfo.patch | 10 -- .../orpie/files/orpie-1.5.2-nogsl.patch | 51 ------ sci-calculators/orpie/orpie-1.5.2-r1.ebuild | 47 ----- 6 files changed, 320 deletions(-)