Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156973 - ocaml-rebuild.sh script doesn't choose the correct order for reemerge apps
Summary: ocaml-rebuild.sh script doesn't choose the correct order for reemerge apps
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-03 02:38 UTC by Pacho Ramos
Modified: 2007-08-23 07:52 UTC (History)
0 users

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 Pacho Ramos gentoo-dev 2006-12-03 02:38:45 UTC
After upgrating to a newer ocaml (for building the latest mldonkey) I run:
sh /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh

And I get:
Cleaning "dev-libs/gmetadom-0.2.3" "net-p2p/mldonkey-2.8.2" "media-gfx/graphviz-2.8-r2" "dev-ml/lablgl-1.00" "dev-ml/lablgtk-2.6.0"
Building ">=dev-libs/gmetadom-0.2.3" ">=net-p2p/mldonkey-2.8.2" ">=media-gfx/graphviz-2.8-r2" ">=dev-ml/lablgl-1.00" "=dev-ml/lablgtk-2.6.0"

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/gmetadom-0.2.3
[ebuild   R   ] net-p2p/mldonkey-2.8.2
[ebuild   R   ] media-gfx/graphviz-2.8-r2
[ebuild   R   ] dev-ml/lablgl-1.00
[ebuild   R   ] dev-ml/lablgtk-2.6.0


But dev-ml/lablgl-1.00 and dev-ml/lablgtk-2.6.0 should be rebuilt before reemerge mldonkey for making it able to compile and work fine.

Thanks
Comment 1 Alexis Ballier gentoo-dev 2007-08-23 07:52:44 UTC
ocaml-rebuild.sh will call emerge --pretend with the list of packages it has grabbed, thus in random order.
ocaml-rebuild.sh -f, the one that effectively does something, will unmerge the packages first, leaving to portage the job to handle the dependencies, so there shouldn't be a problem.

Please reopen if I missed something.