When trying to emerge lilypond this errors appears: ERROR: Please install required programs: mpost (due to a bug in metapost, versions 1.600 <= x < 1.803 are not supported; installed: 1.802) Reproducible: Always
Created attachment 386852 [details] build.log
For my metapost version: # eix metapost * dev-tex/metapost Available versions: ~1.212 ~1.504 ~1.780 ~1.803 Homepage: http://tug.org/metapost.html Description: System for producing graphics [I] dev-texlive/texlive-metapost Available versions: 2011 2012 ~2013 {doc source} Installed versions: 2012(20:14:37 07.09.2013)(-doc -source) Homepage: http://www.tug.org/texlive/ Description: TeXLive MetaPost and Metafont packages
It seems like devs stabilizing 2.18.2 should have run into this. Anyway I can't reproduce it right now since I mostly run ~arch, but at some point I may try reproducing this in a chroot.
Same error here on my non-~arch system. I have texlive-metapost-2012 installed and no dev-tex/metapost. metapost dependencies in lilypond ebuild look strange: || ( ( >=dev-texlive/texlive-metapost-2013 >=dev-tex/metapost-1.803 ) <dev-texlive/texlive-metapost-2013 ) I guess it actually should be <dev-texlive/texlive-metapost-2012
I just created a clean chroot with the latest stable amd64 stage3 and failed to reproduce this so the deps appear correct for a clean, new system. Anyway, this should definitively go away once a newer texlive gets stabilized.
(In reply to Tim Harder from comment #5) > Anyway, this should definitively go away once a newer texlive gets > stabilized. Meanwhile texlive-metapost-2014 got stabilized. Now lilypond also wants =dev-tex/metapost-1.902 which did not get stabilized. See bug 558544#c5 (In reply to Alexis Ballier from comment #5) > lilypond deps are wrong; dev-tex/metapost wont be used unless user eselects > it; mpost command is provided by texlive-core...
Could a dev please check about https://bugs.gentoo.org/show_bug.cgi?id=558544#c5
(In reply to charles17 from comment #7) > Could a dev please check about > https://bugs.gentoo.org/show_bug.cgi?id=558544#c5 Charles, this version that you are dealing with is 2 years old. Upstream released an a version 2 weeks ago. Probably worth investigating with a newer version.
(In reply to NP-Hardass from comment #8) > > Charles, this version that you are dealing with is 2 years old. Upstream > released an a version 2 weeks ago. Probably worth investigating with a > newer version. How could I do? I am running mostly stable amd64. And lilypond still wants unstable dependencies.
Created attachment 427192 [details] Lilypond tries to pull-in unstable dev-tex/metapost-1.902
TeX Live 2014 has MetaPost 1.902. So lilypond should not depend on dev-tex/metapost when dev-texlive/texlive-metapost-2014 is installed.
*** Bug 557596 has been marked as a duplicate of this bug. ***
Okay. I have done some digging in the build system, both in version 2.18.2 and the live version. I have found the following results, which are the same regardless of whether we are talking about 2.18.2 or 9999. The build system checks for the required file mfpath.mp [1][2] using the program kpsewhich. mfpath.mp is included in dev-texlive/texlive-metapost, but in neither dev-tex/metapost nor app-text/texlive-core. Therefore the dependency on texlive-metapost cannot be dispensed with. Also there is a dependency missing on dev-libs/kpathsea since kpsewhích belongs to that package [6]. The build system checks for the program mpost, which is required [7][8]. This program is supplied by either dev-tex/metapost or app-text/texlive-core. The symlink /usr/bin/mpost is managed by eselect mpost. Which package that supplies us with mpost is not important. Thus, the build system should allow any of them to be used. I will correct the deps in the ebuilds and send a PR soon. [1] http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=aclocal.m4;h=0037c58ca807c403a206647415ed64ef8c00bf05;hb=HEAD#l1169 [2] http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=configure.ac;h=0a753325d1eec6384b6c0972ae2d8330543bfdb6;hb=HEAD#l133 [3] equery f texlive-metapost * Searching for texlive-metapost ... * Contents of dev-texlive/texlive-metapost-2015: [snip...] /usr/share/texmf-dist/metapost/automata/automata.mp /usr/share/texmf-dist/metapost/base /usr/share/texmf-dist/metapost/base/TEX.mp /usr/share/texmf-dist/metapost/base/boxes.mp /usr/share/texmf-dist/metapost/base/format.mp /usr/share/texmf-dist/metapost/base/graph.mp /usr/share/texmf-dist/metapost/base/marith.mp /usr/share/texmf-dist/metapost/base/mfplain.mp /usr/share/texmf-dist/metapost/base/mpost.mp /usr/share/texmf-dist/metapost/base/plain.mp /usr/share/texmf-dist/metapost/base/rboxes.mp /usr/share/texmf-dist/metapost/base/sarith.mp /usr/share/texmf-dist/metapost/base/string.mp /usr/share/texmf-dist/metapost/base/texnum.mp /usr/share/texmf-dist/metapost/base/troffnum.mp /usr/share/texmf-dist/metapost/bbcard [snip...] [4] equery f metapost * Searching for metapost ... * Contents of dev-tex/metapost-1.902: /usr /usr/bin /usr/bin/mpost-metapost-1.902 /usr/share /usr/share/doc /usr/share/doc/metapost-1.902 /usr/share/doc/metapost-1.902/CHANGES.bz2 /usr/share/doc/metapost-1.902/README.bz2 [5] equery f texlive-core * Searching for texlive-core ... * Contents of app-text/texlive-core-2015: [snip...] /usr/bin/mkocp /usr/bin/mkofm /usr/bin/mktexfmt -> fmtutil /usr/bin/mpost -> mpost-texlive-core-2015 /usr/bin/mpost-texlive-core-2015 /usr/bin/msxlint /usr/bin/odvicopy /usr/bin/odvitype [snip...] [6] equery b /usr/bin/kpsewhich * Searching for /usr/bin/kpsewhich ... dev-libs/kpathsea-6.2.1_p20150521 (/usr/bin/kpsewhich) [7] http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=aclocal.m4;h=0037c58ca807c403a206647415ed64ef8c00bf05;hb=HEAD#l1184 [8] http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=configure.ac;h=0a753325d1eec6384b6c0972ae2d8330543bfdb6;hb=HEAD#l132
A pull request is filed at ${URL}. A month or so after merge I will request 2.18.2-r2 to be stabilized. When that is done and the problematic version is removed this will be closed.
commit f7824d6e3a2dd6874157d9fc4f008987d49aa89f (HEAD -> master, origin/master, origin/HEAD) Author: Karl Linden <karl.j.linden@gmail.com> AuthorDate: Sat May 28 19:08:34 2016 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Sun Jun 12 21:32:45 2016 +0000 media-sound/lilypond: Various updates. * Fix metapost deps in 2.18.2-r1, wrt bug 525712. * Do not install HACKING in 2.18.2-r1 because it is irrelevant. * EAPI 6 for version 2.18.2 and revbump to -r2. * Sync live ebuild with version 2.18.2-r2. * Make -9999 version a "conditional live ebuild". * Version bump to 2.19.42. * Drop 2.19.15. Package-Manager: portage-2.3.0_rc1 Gentoo-Bug: https://bugs.gentoo.org/525712 Closes: https://github.com/gentoo/gentoo/pull/1552 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> media-sound/lilypond/Manifest | 2 +- media-sound/lilypond/lilypond-2.18.2-r1.ebuild | 8 ++++--- media-sound/lilypond/lilypond-2.18.2-r2.ebuild | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ media-sound/lilypond/lilypond-2.19.15.ebuild | 125 ----------------------------------------------------------------------------------------------------------- media-sound/lilypond/lilypond-2.19.42.ebuild | 137 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ media-sound/lilypond/lilypond-9999.ebuild | 30 ++++++++++++++++++-------- 6 files changed, 302 insertions(+), 138 deletions(-) create mode 100644 media-sound/lilypond/lilypond-2.18.2-r2.ebuild delete mode 100644 media-sound/lilypond/lilypond-2.19.15.ebuild create mode 100644 media-sound/lilypond/lilypond-2.19.42.ebuild