Summary: | dev-ml/cairo2-0.6.1 : Error: Library lablgtk2 not found. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Mark Wright <gienah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proteuss |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-ml:cairo2-0.6.1:20201013-204900.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
Description
Toralf Förster
![]() Created attachment 665131 [details]
emerge-info.txt
Created attachment 665134 [details]
dev-ml:cairo2-0.6.1:20201013-204900.log
Created attachment 665137 [details]
emerge-history.txt
Created attachment 665140 [details]
environment
Created attachment 665143 [details]
etc.portage.tbz2
Created attachment 665146 [details]
temp.tbz2
Thanks, I'm also seeing this. This is a circular dependency as dev-ml/lablgtk will give the same (finally unhelpful) "hint" that cairo2 was not found. Any suggestion on how to break this loop? Downgrade back to ocaml-4.09.0? I now got dev-ml/cairo2 and dev-ml/lablgtk-3.1.1 to compile. Since ocaml was recently updated to dev-lang/ocaml-4.11.1 and no 'ocaml-updater' exists, I had to manually recompile =dev-ml/lablgtk-2.18.10 and dev-ml/ocamlbuild first as the first error was that my lablgtk was not compiled with the current version of ocaml. (Actually, I first removed a dangling /usr/lib64/ocaml/liblablgtksourceview2.a symlink.) After that, dev-ml/cairo2 could be emerged. After also emerging dev-ml/camlp5 which is not in the dependencies of dev-ml/lablgtk-3.1.1, this one could be emerged as well. Alas, the whole reason for the procedure was unison, which fails to emerge with the current ocaml toolchain... (In reply to Bernd Feige from comment #8) > I now got dev-ml/cairo2 and dev-ml/lablgtk-3.1.1 to compile. Since ocaml was > recently updated to dev-lang/ocaml-4.11.1 and no 'ocaml-updater' exists, I > had to manually recompile =dev-ml/lablgtk-2.18.10 and dev-ml/ocamlbuild > first as the first error was that my lablgtk was not compiled with the > current version of ocaml. (Actually, I first removed a dangling > /usr/lib64/ocaml/liblablgtksourceview2.a symlink.) > > After that, dev-ml/cairo2 could be emerged. Can you please rebuild dev-ml/cairo2 with the commit that closes this bug, as otherwise your ocaml libs might be confused because I'm applying the patch from Debian to remove the (previously needed but missing, and now no longed needed) dependency on dev-ml/lablgk:2 > After also emerging dev-ml/camlp5 which is not in the dependencies of > dev-ml/lablgtk-3.1.1, this one could be emerged as well. Thanks, I'll add it this to my long list, any more problems please file new bugs if they are on recently updated packages. (For old ml packages that have not been updated recently they might be removed soon). > Alas, the whole reason for the procedure was unison, which fails to emerge > with the current ocaml toolchain... Hmm, unsure if I want to fix it or remove it, will look later. Please feel free to comment in: https://bugs.gentoo.org/749348 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31121592db17d8905a57468952f6e05aeb0f9e63 commit 31121592db17d8905a57468952f6e05aeb0f9e63 Author: Mark Wright <gienah@gentoo.org> AuthorDate: 2020-10-16 01:29:13 +0000 Commit: Mark Wright <gienah@gentoo.org> CommitDate: 2020-10-16 01:32:10 +0000 dev-ml/ocaml2: Remove lablgtk2 dep cairo2 should not depend on labltk2: https://github.com/Chris00/ocaml-cairo/issues/21 Follow Debian with patching out the lablgtk2 dependency: https://salsa.debian.org/ocaml-team/ocaml-cairo2/-/blob/master/debian/patches/ignore-gtk-and-pango Also add the Debian patch for the tests, however the tests still fail. Closes: https://bugs.gentoo.org/748546 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Mark Wright <gienah@gentoo.org> dev-ml/cairo2/cairo2-0.6.1.ebuild | 7 +- ...6.1-Fix-multiple-definitions-of-variables.patch | 102 +++++++++++++++++++++ .../files/cairo2-0.6.1-ignore-gtk-and-pango.patch | 82 +++++++++++++++++ 3 files changed, 190 insertions(+), 1 deletion(-) (In reply to Mark Wright from comment #9) > Can you please rebuild dev-ml/cairo2 with the commit that closes this bug, > as otherwise your ocaml libs might be confused because I'm applying > the patch from Debian to remove the (previously needed but missing, > and now no longed needed) dependency on dev-ml/lablgk:2 Thanks, that worked better now! Problem with dangling symlink and camlp5 remain. |