ocaml-rebuild.sh depends on deprecated qpkg Reproducible: Always Steps to Reproduce:
Yep. $ sudo sh /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh You need to emerge gentoolkit for this script to work [17:23:50 alexander@server:~] $ sudo emerge -vat gentoolkit These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild R ] app-portage/gentoolkit-0.2.1_pre4 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] n Notice that gentoolkit is already installed.
but notice that qpkg is deprecated, in the gentoolkit package, and btw. i got it installed
Other packages cannnot be emerged due to this bug, ex: >>> emerge (1 of 2) net-p2p/mldonkey-2.6.0 to / >>> md5 files ;-) mldonkey-2.6.0.ebuild >>> md5 files ;-) mldonkey-2.5.16-r10.ebuild >>> md5 files ;-) mldonkey-2.5.16-r9.ebuild >>> md5 files ;-) mldonkey-2.5.27-r1.ebuild >>> md5 files ;-) mldonkey-2.5.21-r2.ebuild >>> md5 files ;-) mldonkey-2.5.28-r4.ebuild >>> md5 files ;-) files/mldonkey.png >>> md5 files ;-) files/mldonkey.confd >>> md5 files ;-) files/mldonkey.initd >>> md5 files ;-) files/digest-mldonkey-2.6.0 >>> md5 files ;-) files/digest-mldonkey-2.5.16-r9 >>> md5 files ;-) files/digest-mldonkey-2.5.21-r2 >>> md5 files ;-) files/digest-mldonkey-2.5.27-r1 >>> md5 files ;-) files/digest-mldonkey-2.5.28-r4 >>> md5 files ;-) files/digest-mldonkey-2.5.16-r10 >>> md5 files ;-) files/2.5.28-config.patch >>> md5 files ;-) files/mldonkey-2.5.21-configure.patch >>> md5 files ;-) files/mldonkey >>> md5 files ;-) files/mldonkey-2.5.16-configure.patch >>> md5 src_uri ;-) mldonkey-2.6.0.tar.bz2 * If the compile with gui fails, and you have updated ocaml * recently, you may have forgotten that you need to run * /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh * to learn which ebuilds you need to recompile * each time you update ocaml to a different version * see the ocaml ebuild for details !!! ERROR: net-p2p/mldonkey-2.6.0 failed. !!! Function pkg_setup, Line 41, Exitcode 1 !!! dev-ml/lablgtk must be built with the 'svg' USE flag to use the gtk2 gui !!! If you need support, post the topmost build error, NOT this status message. ->emerge -s gentoolkit Searching... [ Results for search key : gentoolkit ] [ Applications found : 2 ] * app-portage/gentoolkit Latest version available: 0.2.1_pre4 Latest version installed: 0.2.1_pre4 Size of downloaded files: 64 kB Homepage: http://www.gentoo.org/proj/en/portage/tools/index.xml Description: Collection of administration scripts for Gentoo License: GPL-2 >sh /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh You need to emerge gentoolkit for this script to work ------------------------------------------------------ gpkg is deprecated...
Actually, it doesn't use it anymore (see code) but does a raw grep in /var/db/pkg. I will make a new version with equery soon.
Also, the script: /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh is not executable by default, you have to change the attributes and make i executable before you can run the script.
It's on purpose, you can run it with `sh`.
ocaml-rebuild.sh does not need qpkg anymore, closing.