Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100111 - ocaml-rebuild.sh depends on deprecated qpkg
Summary: ocaml-rebuild.sh depends on deprecated qpkg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-24 05:41 UTC by Jedrzej Lisowski
Modified: 2005-09-22 01:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jedrzej Lisowski 2005-07-24 05:41:02 UTC
ocaml-rebuild.sh depends on deprecated qpkg 

Reproducible: Always
Steps to Reproduce:
Comment 1 Alexander Skwar 2005-07-24 08:25:22 UTC
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.
Comment 2 Jedrzej Lisowski 2005-07-24 08:51:31 UTC
but notice that qpkg is deprecated, in the gentoolkit package, and btw. i got 
it installed 
Comment 3 kwant 2005-07-25 10:30:02 UTC
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...
Comment 4 Matthieu Sozeau (RETIRED) gentoo-dev 2005-07-25 16:56:17 UTC
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. 
Comment 5 Lasse Bigum 2005-07-26 06:20:50 UTC
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.
Comment 6 Matthieu Sozeau (RETIRED) gentoo-dev 2005-07-26 06:52:47 UTC
It's on purpose, you can run it with `sh`. 
Comment 7 Matthieu Sozeau (RETIRED) gentoo-dev 2005-09-22 01:58:06 UTC
ocaml-rebuild.sh does not need qpkg anymore, closing.