Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56597 - ocaml-rebuild.sh needed after dev-lang/ocaml upgrade
Summary: ocaml-rebuild.sh needed after dev-lang/ocaml upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 57696 58309 58938 59142 59522 60817 61081 65338 68135 72910 78004 127837 133771 134905 137212 142899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-10 05:01 UTC by Leonid Podolny
Modified: 2006-08-09 03:30 UTC (History)
19 users (show)

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


Attachments
Build log (mldonkey,54.07 KB, text/plain)
2004-07-10 05:04 UTC, Leonid Podolny
Details
Portage info (info,2.00 KB, text/plain)
2004-07-10 05:05 UTC, Leonid Podolny
Details
List of the installed ebuilds (list,9.61 KB, text/plain)
2004-07-10 05:06 UTC, Leonid Podolny
Details
2.5.21 build log (21buildlog,40.72 KB, application/octet-stream)
2004-07-11 05:06 UTC, Leonid Podolny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Podolny 2004-07-10 05:01:25 UTC
When I try to emerge net-p2p/mldonkey-2.5.16-r4, the emerge fails. See attachment for the full build log.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Leonid Podolny 2004-07-10 05:04:01 UTC
Created attachment 35106 [details]
Build log
Comment 2 Leonid Podolny 2004-07-10 05:05:29 UTC
Created attachment 35107 [details]
Portage info
Comment 3 Leonid Podolny 2004-07-10 05:06:19 UTC
Created attachment 35108 [details]
List of the installed ebuilds
Comment 4 Jon Hood (RETIRED) gentoo-dev 2004-07-10 23:12:18 UTC
2 things- when you upgraded to ocaml 3.07, did you run the rebuild script included with the update? Could you also please try the latest mldonkey-2.5.16 revision in portage?
Comment 5 Leonid Podolny 2004-07-10 23:51:41 UTC
1) rebuild script -- yes, I did. It showed that it has nothing to do, which is odd, because I have mldonkey installed.
I'll check another revision in an hour or so. However, it's a last ebuild marked stable, so it'll ask me to downgrade afterwards.
Comment 6 Leonid Podolny 2004-07-11 05:03:40 UTC
The last 2.4.16-r7 fails with exactly the same error. 2.4.21-r2 is fails with another error, which I attach as a new error log.
Comment 7 Leonid Podolny 2004-07-11 05:06:58 UTC
Created attachment 35172 [details]
2.5.21 build log
Comment 8 Leonid Podolny 2004-07-11 05:07:36 UTC
I meant 2.5.16 and 2.5.21, of course.
Comment 9 Leonid Podolny 2004-07-16 02:37:16 UTC
Some kind soul advised me to re-emerge liblgtk and liblgl. liblgtk failed to remerge with exactly the same error as mldonkey. liblgl emerged flawlessly, and then i emerge both liblgtk and mldonkey without any problem. Should I close this bug or you would rather further investigate on this issue? 
Comment 10 Jon Hood (RETIRED) gentoo-dev 2004-07-19 15:34:15 UTC
I'd like to investigate further on why lablgl needed to be remerged.
mattam- I seemed to get this bug report after the ocaml upgrade- I wasn't sure if you knew of something that might be causing this?
Comment 11 Matthieu Sozeau (RETIRED) gentoo-dev 2004-07-19 16:11:01 UTC
Lablgl needs to be reemerged (like any other caml library) on compiler updates, because caml is not binary compatible from version to version. The problem here is that the rebuilding script did not catch lablgl, which i find bizarre. The fact that lablgtk failed to rebuild without first upgrading to lablgl is another instance of the binary incompatibility problem.
Could you try 'reverting' to the moment when you got the compiler merged and investigate by putting some debug echo's in my rebuild script, or just give us the output of `qpkg -nc -n -q -I dev-lang/ocaml-3.06` in this configuration ?
I have really no idea of the source of the problem...
Comment 12 Leonid Podolny 2004-07-20 02:03:38 UTC
Matthieu,
Tell me exactly what to do. You want me to downgrade to the previous version of mldonkey and that's it? Or do I need to downgrade the gcc then downgrade mldonkey?
Comment 13 Matthieu Sozeau (RETIRED) gentoo-dev 2004-07-20 02:22:02 UTC
I meant when you got the ocaml 3.07 compiler merged. Thinking twice, you may not be able to do so (you'll need to rebuild 3.06, lablgl etc... and 3.07 again), but you can attach your emerge.log so that i can try to reproduce your installation myself.
Comment 14 Jon Hood (RETIRED) gentoo-dev 2004-07-20 17:40:14 UTC
*** Bug 57696 has been marked as a duplicate of this bug. ***
Comment 15 Leonid Podolny 2004-07-20 23:52:09 UTC
Matthieu,
I've attached the emerge.log for mldonkey at the very beginning. Please, let me know what do you want me to provide.
Comment 16 Matthieu Sozeau (RETIRED) gentoo-dev 2004-07-21 10:17:23 UTC
Ok, i've been able to reproduce the problem on another machine and i tracked down the problem. It is my rebuild script that expected a particular output from qpkg which it didn't get (it has changed between versions). Now the script find lablgl and lablgtk as expected (but not mldonkey, i don't know why) and should be more robust regarding qpkg changes.
Comment 17 Jon Hood (RETIRED) gentoo-dev 2004-07-30 11:57:38 UTC
*** Bug 58309 has been marked as a duplicate of this bug. ***
Comment 18 Jon Hood (RETIRED) gentoo-dev 2004-07-30 18:50:04 UTC
*** Bug 58938 has been marked as a duplicate of this bug. ***
Comment 19 David Warde-Farley 2004-08-01 14:52:45 UTC
The fixed described here (re-merge lablgl and lablgtk) works fine, but this wasn't drawn to my attention upon upgrading ocaml. should it have been?
Comment 20 Matthieu Sozeau (RETIRED) gentoo-dev 2004-08-01 15:09:05 UTC
The ocaml upgrade should have informed you about the rebuild script which I fixed one week ago so that it properly reemerges lablgl and lablgtk.
Comment 21 Jon Hood (RETIRED) gentoo-dev 2004-08-02 10:50:58 UTC
*** Bug 59142 has been marked as a duplicate of this bug. ***
Comment 22 Jon Hood (RETIRED) gentoo-dev 2004-08-05 14:27:23 UTC
*** Bug 59522 has been marked as a duplicate of this bug. ***
Comment 23 Jon Hood (RETIRED) gentoo-dev 2004-08-18 14:01:26 UTC
*** Bug 60817 has been marked as a duplicate of this bug. ***
Comment 24 Jon Hood (RETIRED) gentoo-dev 2004-08-21 08:17:15 UTC
*** Bug 61081 has been marked as a duplicate of this bug. ***
Comment 25 Jon Hood (RETIRED) gentoo-dev 2004-08-22 17:43:36 UTC
*** Bug 61228 has been marked as a duplicate of this bug. ***
Comment 26 Jon Hood (RETIRED) gentoo-dev 2004-12-01 10:49:54 UTC
*** Bug 68135 has been marked as a duplicate of this bug. ***
Comment 27 Jon Hood (RETIRED) gentoo-dev 2004-12-01 10:52:35 UTC
*** Bug 65338 has been marked as a duplicate of this bug. ***
Comment 28 Stian Skjelstad 2004-12-02 05:19:19 UTC
rebulding dev-ml/lablgtk solved the problem for me, but yes... that's ugly, so this bug can't me marked as FIXED since there are still affected users with no clues. Perhaps bump up the dev-ml/lablgtk version number to make it rebuild for all users?
Comment 29 Jon Hood (RETIRED) gentoo-dev 2004-12-02 11:27:44 UTC
It's resolved. The ocaml bump should have told you to run the ocaml update script:
sh /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh

I wish ocaml could cause a post-compile dependency on the ocaml programs you have installed. Sadly, it does not. Unless you can think of a better solution, the rebuild script is the best we have.
Comment 30 Jon Hood (RETIRED) gentoo-dev 2004-12-04 09:25:57 UTC
*** Bug 72910 has been marked as a duplicate of this bug. ***
Comment 31 Jon Hood (RETIRED) gentoo-dev 2005-02-27 12:52:01 UTC
*** Bug 78004 has been marked as a duplicate of this bug. ***
Comment 32 Jon Hood (RETIRED) gentoo-dev 2006-05-19 22:15:06 UTC
*** Bug 133771 has been marked as a duplicate of this bug. ***
Comment 33 Jon Hood (RETIRED) gentoo-dev 2006-06-01 08:35:40 UTC
*** Bug 134905 has been marked as a duplicate of this bug. ***
Comment 34 Jon Hood (RETIRED) gentoo-dev 2006-06-19 07:40:00 UTC
*** Bug 137212 has been marked as a duplicate of this bug. ***
Comment 35 Jakub Moc (RETIRED) gentoo-dev 2006-08-05 11:13:37 UTC
*** Bug 142899 has been marked as a duplicate of this bug. ***
Comment 36 Jakub Moc (RETIRED) gentoo-dev 2006-08-09 03:27:32 UTC
*** Bug 127837 has been marked as a duplicate of this bug. ***