Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677660 - sci-calculators/orpie-1.5.2-r1 : make: *** No rule to make target /usr/lib/ocaml/gsl/gsl.cmxa , needed by orpie.opt . Stop.
Summary: sci-calculators/orpie-1.5.2-r1 : make: *** No rule to make target /usr/lib/oc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 759499 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-10 15:17 UTC by Toralf Förster
Modified: 2022-03-25 07:05 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.66 KB, text/plain)
2019-02-10 15:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,182.06 KB, text/plain)
2019-02-10 15:17 UTC, Toralf Förster
Details
environment (environment,57.19 KB, text/plain)
2019-02-10 15:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.81 KB, application/x-bzip)
2019-02-10 15:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.80 KB, application/x-bzip)
2019-02-10 15:17 UTC, Toralf Förster
Details
sci-calculators:orpie-1.5.2-r1:20190210-151351.log (sci-calculators:orpie-1.5.2-r1:20190210-151351.log,4.89 KB, text/plain)
2019-02-10 15:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,16.45 KB, application/x-bzip)
2019-02-10 15:17 UTC, Toralf Förster
Details
dev-ml/curses-1.0.10 (the "new" OCaml Curses bindings) (curses-1.0.10.ebuild,556 bytes, text/plain)
2022-01-31 04:01 UTC, gertoe
Details
erroneous sci-calculators/orpie-1.6.1 ebuild (orpie-1.6.1.ebuild,1.00 KB, text/plain)
2022-01-31 04:02 UTC, gertoe
Details
Fixed sci-calculators/orpie ebuild. (orpie-1.6.1-r1.ebuild,1.02 KB, text/plain)
2022-01-31 17:11 UTC, gertoe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-02-10 15:17:06 UTC
 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"
Comment 1 Toralf Förster gentoo-dev 2019-02-10 15:17:09 UTC
Created attachment 564564 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-10 15:17:12 UTC
Created attachment 564566 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-02-10 15:17:14 UTC
Created attachment 564568 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-02-10 15:17:17 UTC
Created attachment 564570 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-02-10 15:17:20 UTC
Created attachment 564572 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-10 15:17:23 UTC
Created attachment 564574 [details]
sci-calculators:orpie-1.5.2-r1:20190210-151351.log
Comment 7 Toralf Förster gentoo-dev 2019-02-10 15:17:26 UTC
Created attachment 564576 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-17 19:24:44 UTC
*** Bug 759499 has been marked as a duplicate of this bug. ***
Comment 9 Jeremy Stent 2022-01-17 19:17:05 UTC
I see that there is a version 1.6.1 on github at:
https://github.com/pelzlpj/orpie
Comment 10 gertoe 2022-01-31 03:59:26 UTC
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.
Comment 11 gertoe 2022-01-31 04:01:03 UTC
Created attachment 764016 [details]
dev-ml/curses-1.0.10 (the "new" OCaml Curses bindings)
Comment 12 gertoe 2022-01-31 04:02:56 UTC
Created attachment 764017 [details]
erroneous sci-calculators/orpie-1.6.1 ebuild
Comment 13 Andreas Proteus 2022-01-31 15:28:54 UTC
(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.
Comment 14 gertoe 2022-01-31 17:00:07 UTC
(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 15 gertoe 2022-01-31 17:06:50 UTC
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
>}
Comment 16 gertoe 2022-01-31 17:11:26 UTC
Created attachment 764056 [details]
Fixed sci-calculators/orpie ebuild.
Comment 17 Larry the Git Cow gentoo-dev 2022-03-25 07:05:23 UTC
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(-)