Re: Time to abandon recursive pulling of dependencies?

2007-05-20 Thread Stefan Bethke
Am 17.05.2007 um 22:58 schrieb Stephen Montgomery-Smith: Stephen Montgomery-Smith wrote: Alexander Leidinger wrote: As portupgrade cleans before and after updating a port, optimizing this may also be beneficial. Maybe first trying to construct all dependencies of the installed ports like

Re: Time to abandon recursive pulling of dependencies?

2007-05-19 Thread Garrett Cooper
Stephen Montgomery-Smith wrote: Alexander Leidinger wrote: Quoting Robert Noland [EMAIL PROTECTED] (Wed, 16 May 2007 18:14:01 -0400): On Wed, 2007-05-16 at 16:01 -0500, Stephen Montgomery-Smith wrote: Ok chaps, I think I have it. This involves no recursive calls of make. Furthermore the

Re: Time to abandon recursive pulling of dependencies?

2007-05-19 Thread Stephen Montgomery-Smith
On Sat, 19 May 2007, Garrett Cooper wrote: My lord.. now I see what everyone means in terms of taking a long time to update the ports / package databases. If you use portsnap, it doesn't take a long time. However, if you use csup/cvsup, it appears to take a long time running make and ruby

Re: Time to abandon recursive pulling of dependencies?

2007-05-19 Thread Garrett Cooper
Stephen Montgomery-Smith wrote: On Sat, 19 May 2007, Garrett Cooper wrote: My lord.. now I see what everyone means in terms of taking a long time to update the ports / package databases. If you use portsnap, it doesn't take a long time. However, if you use csup/cvsup, it appears to

Re: Time to abandon recursive pulling of dependencies?

2007-05-19 Thread KAYVEN RIESE
On Sat, 19 May 2007, Garrett Cooper wrote: Stephen Montgomery-Smith wrote: On Sat, 19 May 2007, Garrett Cooper wrote: Don't try. portupgrade is maintained by someone else, and the scripts are a mess. If someone could have improved the scripts, they would have tried a while ago.. oh

Re: Time to abandon recursive pulling of dependencies?

2007-05-17 Thread Alexander Leidinger
Quoting Robert Noland [EMAIL PROTECTED] (Wed, 16 May 2007 18:14:01 -0400): On Wed, 2007-05-16 at 16:01 -0500, Stephen Montgomery-Smith wrote: Ok chaps, I think I have it. This involves no recursive calls of make. Furthermore the dependencies it creates are the real dependencies on

Re: Time to abandon recursive pulling of dependencies?

2007-05-17 Thread Alexander Leidinger
Quoting Alexander Leidinger [EMAIL PROTECTED] (Thu, 17 May 2007 11:44:36 +0200): For the difference between the redirected output case: I think the gnome terminal needs a lot of time to print all the lines. But still, the awk version takes around 3/4 of the time (interesting is the user

Re: Time to abandon recursive pulling of dependencies?

2007-05-17 Thread Stephen Montgomery-Smith
Alexander Leidinger wrote: Quoting Robert Noland [EMAIL PROTECTED] (Wed, 16 May 2007 18:14:01 -0400): On Wed, 2007-05-16 at 16:01 -0500, Stephen Montgomery-Smith wrote: Ok chaps, I think I have it. This involves no recursive calls of make. Furthermore the dependencies it creates are the

Re: Time to abandon recursive pulling of dependencies?

2007-05-17 Thread Stephen Montgomery-Smith
Alexander Leidinger wrote: Quoting Alexander Leidinger [EMAIL PROTECTED] (Thu, 17 May 2007 11:44:36 +0200): For the difference between the redirected output case: I think the gnome terminal needs a lot of time to print all the lines. But still, the awk version takes around 3/4 of the time

Re: Time to abandon recursive pulling of dependencies?

2007-05-17 Thread Alexander Leidinger
Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Thu, 17 May 2007 08:14:43 -0500): Alexander Leidinger wrote: Quoting Alexander Leidinger [EMAIL PROTECTED] (Thu, 17 May 2007 11:44:36 +0200): For the difference between the redirected output case: I think the gnome terminal needs a

Re: Time to abandon recursive pulling of dependencies?

2007-05-17 Thread Alexander Leidinger
Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Wed, 16 May 2007 16:01:56 -0500): If I get some positive feedback on this one, I'll submit a PR. You can try it out by typing make actual-package-depends as opposed to make package-depends. Did you my chance also had a look how to speed

Re: Time to abandon recursive pulling of dependencies?

2007-05-17 Thread Alexander Leidinger
Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (from Thu, 17 May 2007 15:58:38 -0500): Stephen Montgomery-Smith wrote: Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Wed, 16 May 2007 16:01:56 -0500): If I get some positive feedback on this one, I'll

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Alexander Leidinger
Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (from Tue, 15 May 2007 16:53:35 -0500): Ulrich Spoerlein wrote: Stephen Montgomery-Smith wrote: 2. Sorting the dependencies in pkg_create. My fix now cuts this out completely. Thus there is no need to change the structure of

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Matthew D. Fuller
On Wed, May 16, 2007 at 10:13:41AM +0200 I heard the voice of Ulrich Spoerlein, and lo! it spake thus: True, true. And as pointed out above, if you don't build the INDEX with your current pkg options, it is useless anyway. Oh, worse. If you don't build INDEX with your current _installed

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Ulrich Spoerlein
On 5/16/07, Matthew D. Fuller [EMAIL PROTECTED] wrote: On Wed, May 16, 2007 at 10:13:41AM +0200 I heard the voice of Ulrich Spoerlein, and lo! it spake thus: True, true. And as pointed out above, if you don't build the INDEX with your current pkg options, it is useless anyway. Oh, worse. If

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread J. Porter Clark
What I don't like about the flattening of the dependencies is that there seems to be information loss; that is, I can't figure out why one port (e.g., gweled) requires another port (e.g., cdrtools). Is there any tool to unflatten the dependencies? -- J. Porter Clark [EMAIL PROTECTED]

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Alexander Leidinger
Quoting J. Porter Clark [EMAIL PROTECTED] (from Wed, 16 May 2007 06:25:32 -0500): What I don't like about the flattening of the dependencies is that there seems to be information loss; that is, I can't figure out why one port (e.g., gweled) requires another port (e.g., cdrtools). Is there

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Stephen Montgomery-Smith
Ulrich Spoerlein wrote: On 5/15/07, Stephen Montgomery-Smith [EMAIL PROTECTED] wrote: Ulrich Spoerlein wrote: I also need to quickly look up origin - pkgname and would suggest placing this in the INDEX file. Then you have the foundation in place to be able to run 'make vim-7.1.2.tbz' in,

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: Stephen Montgomery-Smith wrote: [LoN]Kamikaze wrote: Stephen Montgomery-Smith wrote: Basically I think we are stuck on making make package-depends go any faster. However I do think that the modifications I made to pkg_create go a very significant way to

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Ulrich Spoerlein
On 5/16/07, Alexander Leidinger [EMAIL PROTECTED] wrote: Quoting J. Porter Clark [EMAIL PROTECTED] (from Wed, 16 May 2007 06:25:32 -0500): What I don't like about the flattening of the dependencies is that there seems to be information loss; that is, I can't figure out why one port (e.g.,

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Alexander Leidinger
Quoting Ulrich Spoerlein [EMAIL PROTECTED] (Wed, 16 May 2007 18:28:55 +0200): The problem not discussed so far is: some ports may not have all first order dependencies. So anyone wanting to change this should install a tinderbox and start testing fixing those ports. Hmmm, this is a red

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Ulrich Spoerlein
Alexander Leidinger wrote: Quoting Ulrich Spoerlein [EMAIL PROTECTED] (Wed, 16 May 2007 18:28:55 +0200): The problem not discussed so far is: some ports may not have all first order dependencies. So anyone wanting to change this should install a tinderbox and start testing fixing those

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Stephen Montgomery-Smith
Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Wed, 16 May 2007 07:59:11 -0500): Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (from Tue, 15 May 2007 16:53:35 -0500): Ulrich Spoerlein wrote: Stephen Montgomery-Smith wrote:

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Stephen Montgomery-Smith
Ok chaps, I think I have it. This involves no recursive calls of make. Furthermore the dependencies it creates are the real dependencies on your system, not what ports thinks it should be, because it gets all the information from /var/db/pkg. On my system it takes a second or two to

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Robert Noland
On Wed, 2007-05-16 at 16:01 -0500, Stephen Montgomery-Smith wrote: Ok chaps, I think I have it. This involves no recursive calls of make. Furthermore the dependencies it creates are the real dependencies on your system, not what ports thinks it should be, because it gets all the

Re: Time to abandon recursive pulling of dependencies?

2007-05-16 Thread Stephen Montgomery-Smith
Robert Noland wrote: On Wed, 2007-05-16 at 16:01 -0500, Stephen Montgomery-Smith wrote: Ok chaps, I think I have it. This involves no recursive calls of make. Furthermore the dependencies it creates are the real dependencies on your system, not what ports thinks it should be, because it

Re: Time to abandon recursive pulling of dependencies?

2007-05-15 Thread Pav Lucistnik
Stephen Montgomery-Smith píše v po 14. 05. 2007 v 09:39 -0500: Someone pointed out that what I was proposing in +DEPENDENCIES is already to be found in +CONTENTS. So here is a proof of concept patch to /usr/ports/Mk/bsd.port.mk (proof of concept because no error checking, and things like

Re: Time to abandon recursive pulling of dependencies?

2007-05-15 Thread Stephen Montgomery-Smith
Pav Lucistnik wrote: Stephen Montgomery-Smith píše v po 14. 05. 2007 v 09:39 -0500: Someone pointed out that what I was proposing in +DEPENDENCIES is already to be found in +CONTENTS. So here is a proof of concept patch to /usr/ports/Mk/bsd.port.mk (proof of concept because no error

Re: Time to abandon recursive pulling of dependencies?

2007-05-15 Thread Garrett Cooper
Stephen Montgomery-Smith wrote: Pav Lucistnik wrote: Stephen Montgomery-Smith píše v po 14. 05. 2007 v 09:39 -0500: Someone pointed out that what I was proposing in +DEPENDENCIES is already to be found in +CONTENTS. So here is a proof of concept patch to /usr/ports/Mk/bsd.port.mk (proof of

Re: Time to abandon recursive pulling of dependencies?

2007-05-15 Thread Stephen Montgomery-Smith
Ulrich Spoerlein wrote: Stephen Montgomery-Smith wrote: And also, the only reason it goes slow is because it has to do (cd $$dir; make -V PKGNAME) for every dir in _LIB_RUN_DEPENDS. But if instead we kept a file in /var/db/pkg called something like +PACKAGE_NAMES, where as each port is

Re: Time to abandon recursive pulling of dependencies?

2007-05-15 Thread Stephen Montgomery-Smith
Ulrich Spoerlein wrote: Stephen Montgomery-Smith wrote: 1. Pulling in the dependencies. This is in effect doing a make package-depends. You can do this for yourself, and see that it takes a long time. I honestly don't see how to make this faster, as presumably it involves calling make on

Re: Time to abandon recursive pulling of dependencies?

2007-05-15 Thread Ulrich Spoerlein
Stephen Montgomery-Smith wrote: 1. Pulling in the dependencies. This is in effect doing a make package-depends. You can do this for yourself, and see that it takes a long time. I honestly don't see how to make this faster, as presumably it involves calling make on all the dependency

Re: Time to abandon recursive pulling of dependencies?

2007-05-15 Thread Ulrich Spoerlein
Stephen Montgomery-Smith wrote: And also, the only reason it goes slow is because it has to do (cd $$dir; make -V PKGNAME) for every dir in _LIB_RUN_DEPENDS. But if instead we kept a file in /var/db/pkg called something like +PACKAGE_NAMES, where as each port is created we add in a one

RE: Time to abandon recursive pulling of dependencies?

2007-05-14 Thread Thomas Sparrevohn
If you follow the thread, there's already some success in reducing the time required to register ports with many dependencies. On my system registering x11/xorg now takes between 2 to 3 minutes instead of 10, with all the changes. I consider that a remarkable improvement. Absolutely a

Re: Time to abandon recursive pulling of dependencies?

2007-05-14 Thread [LoN]Kamikaze
Thomas Sparrevohn wrote: If you follow the thread, there's already some success in reducing the time required to register ports with many dependencies. On my system registering x11/xorg now takes between 2 to 3 minutes instead of 10, with all the changes. I consider that a remarkable

Re: Time to abandon recursive pulling of dependencies?

2007-05-14 Thread Stephen Montgomery-Smith
[LoN]Kamikaze wrote: Stephen Montgomery-Smith wrote: Basically I think we are stuck on making make package-depends go any faster. However I do think that the modifications I made to pkg_create go a very significant way to solving the problem of registration taking so very long. Stephen You

Re: Time to abandon recursive pulling of dependencies?

2007-05-14 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: [LoN]Kamikaze wrote: Stephen Montgomery-Smith wrote: Basically I think we are stuck on making make package-depends go any faster. However I do think that the modifications I made to pkg_create go a very significant way to solving the problem of registration

Re: Time to abandon recursive pulling of dependencies?

2007-05-14 Thread Alexander Leidinger
Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (from Mon, 14 May 2007 09:39:13 -0500): Someone pointed out that what I was proposing in +DEPENDENCIES is Probably me... already to be found in +CONTENTS. So here is a proof of concept patch to /usr/ports/Mk/bsd.port.mk (proof of concept

Re: Time to abandon recursive pulling of dependencies?

2007-05-14 Thread Stephen Montgomery-Smith
Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (from Mon, 14 May 2007 09:39:13 -0500): Someone pointed out that what I was proposing in +DEPENDENCIES is Probably me... Yes already to be found in +CONTENTS. So here is a proof of concept patch to

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread [LoN]Kamikaze
Stephen Montgomery-Smith wrote: OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it turns the pkg_create from taking about 4 minutes to the blink of an eye. Now people need to figure out how

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Kris Kennaway
On Sun, May 13, 2007 at 10:44:19AM +0200, [LoN]Kamikaze wrote: [LoN]Kamikaze wrote: Stephen Montgomery-Smith wrote: OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it turns the

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread [LoN]Kamikaze
Kris Kennaway wrote: On Sun, May 13, 2007 at 10:44:19AM +0200, [LoN]Kamikaze wrote: [LoN]Kamikaze wrote: Stephen Montgomery-Smith wrote: OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it

Re[2]: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Lev Serebryakov
Hello Kris, Saturday, May 12, 2007, 9:40:11 PM, you wrote: KK I think that before you abandon something you should first understand KK it. Can you explain, why we need to register A depends on C / C required by A in A - B - C chain? I can not see any advantages, only disadvantages: (1)

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread [LoN]Kamikaze
Lev Serebryakov wrote: Hello Kris, Saturday, May 12, 2007, 9:40:11 PM, you wrote: KK I think that before you abandon something you should first understand KK it. Can you explain, why we need to register A depends on C / C required by A in A - B - C chain? I can not see any

Re[2]: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Lev Serebryakov
Hello [LoN]Kamikaze, Sunday, May 13, 2007, 3:53:29 PM, you wrote: LK the decision has been made long ago I want to understand: WHY has such decision been made? -- Best regards, Levmailto:[EMAIL PROTECTED] ___

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Pav Lucistnik
Stephen Montgomery-Smith píše v ne 13. 05. 2007 v 00:02 -0500: Stephen Montgomery-Smith wrote: Stephen Montgomery-Smith wrote: OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it turns

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread [LoN]Kamikaze
Lev Serebryakov wrote: Hello [LoN]Kamikaze, Sunday, May 13, 2007, 3:53:29 PM, you wrote: LK the decision has been made long ago I want to understand: WHY has such decision been made? Then I suppose you should take a look at CVS and have a look way back in time when ports were first

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Stephen Montgomery-Smith
Kris Kennaway wrote: On Sun, May 13, 2007 at 10:44:19AM +0200, [LoN]Kamikaze wrote: [LoN]Kamikaze wrote: Stephen Montgomery-Smith wrote: OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Kris Kennaway
On Sun, May 13, 2007 at 03:14:50PM +0400, Lev Serebryakov wrote: Hello Kris, Saturday, May 12, 2007, 9:40:11 PM, you wrote: KK I think that before you abandon something you should first understand KK it. Can you explain, why we need to register A depends on C / C required by A in A -

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Stephen Montgomery-Smith
I have looked into making the registration and package-building process even faster. It seems to me that the easiest way would be to redesign the package database so that it also includes a package-name/+DEPENDENCIES file, which would be a kind of reverse of package-name/+REQUIRED_BY. This

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Pav Lucistnik
Stephen Montgomery-Smith píše v ne 13. 05. 2007 v 17:32 -0500: I have looked into making the registration and package-building process even faster. It seems to me that the easiest way would be to redesign the package database so that it also includes a package-name/+DEPENDENCIES file,

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Stephen Montgomery-Smith
Pav Lucistnik wrote: Stephen Montgomery-Smith píše v ne 13. 05. 2007 v 17:32 -0500: I have looked into making the registration and package-building process even faster. It seems to me that the easiest way would be to redesign the package database so that it also includes a

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Pav Lucistnik
Stephen Montgomery-Smith píše v ne 13. 05. 2007 v 17:53 -0500: Pav Lucistnik wrote: Stephen Montgomery-Smith píše v ne 13. 05. 2007 v 17:32 -0500: I have looked into making the registration and package-building process even faster. It seems to me that the easiest way would be to

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: I have looked into making the registration and package-building process even faster. It seems to me that the easiest way would be to redesign the package database so that it also includes a package-name/+DEPENDENCIES file, which would be a kind of reverse of

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread Garrett Cooper
[LoN]Kamikaze wrote: With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the recursive pulling in of dependencies. I think that you're missing the point of modular X; it was designed so that things could be

Re: Time to abandon recursive pulling of dependencies?

2007-05-13 Thread [LoN]Kamikaze
Stephen Montgomery-Smith wrote: Basically I think we are stuck on making make package-depends go any faster. However I do think that the modifications I made to pkg_create go a very significant way to solving the problem of registration taking so very long. Stephen You are right about

Time to abandon recursive pulling of dependencies?

2007-05-12 Thread [LoN]Kamikaze
With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the recursive pulling in of dependencies. ___ freebsd-ports@freebsd.org mailing list

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread RW
On Sat, 12 May 2007 12:32:38 +0200 [LoN]Kamikaze [EMAIL PROTECTED] wrote: With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the recursive pulling in of dependencies. Does that matter all that much when there are

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread [LoN]Kamikaze
RW wrote: On Sat, 12 May 2007 12:32:38 +0200 [LoN]Kamikaze [EMAIL PROTECTED] wrote: With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the recursive pulling in of dependencies. Does that matter all that much

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Kris Kennaway
On Sat, May 12, 2007 at 12:32:38PM +0200, [LoN]Kamikaze wrote: With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the recursive pulling in of dependencies. I think that before you abandon something you should

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread [LoN]Kamikaze
Kris Kennaway wrote: On Sat, May 12, 2007 at 12:32:38PM +0200, [LoN]Kamikaze wrote: With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the recursive pulling in of dependencies. I think that before you abandon

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Thierry Thomas
Le Sam 12 mai 07 à 19:40:11 +0200, Kris Kennaway [EMAIL PROTECTED] écrivait : On Sat, May 12, 2007 at 12:32:38PM +0200, [LoN]Kamikaze wrote: With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the recursive

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Kris Kennaway
On Sat, May 12, 2007 at 07:54:57PM +0200, [LoN]Kamikaze wrote: Kris Kennaway wrote: On Sat, May 12, 2007 at 12:32:38PM +0200, [LoN]Kamikaze wrote: With Xorg updated to 7.2 many ports take much longer to register than to download, build and install. I think it's time to abandon the

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Kris Kennaway
On Sat, May 12, 2007 at 01:33:40PM -0500, Stephen Montgomery-Smith wrote: On Sat, 12 May 2007, Kris Kennaway wrote: On Sat, May 12, 2007 at 07:54:57PM +0200, [LoN]Kamikaze wrote: Kris Kennaway wrote: On Sat, May 12, 2007 at 12:32:38PM +0200, [LoN]Kamikaze wrote: With Xorg updated to

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Jeremy Chadwick
On Sat, May 12, 2007 at 01:33:40PM -0500, Stephen Montgomery-Smith wrote: I've done a little poking around. As of right now, I think that the registering takes a huge amount of time inside of a function called sortdeps which may be found in /usr/src/usr.sbin/pkg_install/lib/deps.c. Has

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Stephen Montgomery-Smith
On Sat, 12 May 2007, Kris Kennaway wrote: On Sat, May 12, 2007 at 01:33:40PM -0500, Stephen Montgomery-Smith wrote: I've done a little poking around. As of right now, I think that the registering takes a huge amount of time inside of a function called sortdeps which may be found in

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Kris Kennaway
On Sat, May 12, 2007 at 11:53:22AM -0700, Jeremy Chadwick wrote: On Sat, May 12, 2007 at 01:33:40PM -0500, Stephen Montgomery-Smith wrote: I've done a little poking around. As of right now, I think that the registering takes a huge amount of time inside of a function called sortdeps

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Kris Kennaway
On Sat, May 12, 2007 at 12:30:52PM -0700, Jeremy Chadwick wrote: On Sat, May 12, 2007 at 01:53:36PM -0500, Stephen Montgomery-Smith wrote: I believe that if this function is optimized, that practically all of the slowness issues we have seen with pkg_add, pkg_deinstall, etc, will be

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread [LoN]Kamikaze
Stephen Montgomery-Smith wrote: On Sat, 12 May 2007, Kris Kennaway wrote: On Sat, May 12, 2007 at 07:54:57PM +0200, [LoN]Kamikaze wrote: Kris Kennaway wrote: On Sat, May 12, 2007 at 12:32:38PM +0200, [LoN]Kamikaze wrote: With Xorg updated to 7.2 many ports take much longer to register

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Stephen Montgomery-Smith
OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it turns the pkg_create from taking about 4 minutes to the blink of an eye. Now people need to figure out how to speed up the make

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it turns the pkg_create from taking about 4 minutes to the blink of an eye. Now people need to figure out how

Re: Time to abandon recursive pulling of dependencies?

2007-05-12 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: Stephen Montgomery-Smith wrote: OK chaps, this is what I came up with. So for example, if I do make install on /usr/ports/x11/xorg (having made all the dependencies), on my computer it turns the pkg_create from taking about 4 minutes to the blink of an eye.