Subject: Re: gtk2 built twice?
To: None <tech-pkg@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-pkg
Date: 02/07/2005 19:09:53
On Mon, Feb 07, 2005 at 01:35:27PM +0100, Julio M. Merino Vidal wrote:
> On Mon, 2005-02-07 at 11:06 +0100, Adam Ciarcinski wrote:
> > Hi,
> >
> > I have a feeling x11/gtk2 is compiled twice - once in the build phase,
> > then again in the install phase. Can we do something about that?
>
> AFAICT, this happens with lots of packages: during the install phase,
> stuff gets relinked (not rebuilt) because the libraries used from the
> buildlink directory do not match the installed ones. I think libtool
> ought to spit out a warning message saying so.
No, its not only a relink. Its a complete rebuild in the case of gtk2+.
I had the same problem yesterday.
If you want i can send you the .work.log.
Here is a part of the work.i386 directory:
38451 Feb 5 12:19:11 2005 .PLIST
0 Feb 5 12:08:24 2005 .build_done
1024 Feb 5 11:55:34 2005 .buildlink
0 Feb 5 11:56:19 2005 .configure_done
12 Feb 5 11:55:22 2005 .extract_done
5807 Feb 5 12:08:23 2005 .install-dirs
7510 Feb 5 12:08:23 2005 .install-files
2138 Feb 5 12:08:23 2005 .install-perms
7552 Feb 5 12:08:23 2005 .install-rcd-scripts
10512 Feb 5 12:08:23 2005 .install-usergroup
0 Feb 5 12:19:19 2005 .install_done
0 Feb 5 11:55:23 2005 .patch_done
512 Feb 5 12:19:17 2005 .pkgdb
100 Feb 5 11:55:36 2005 .subst_pkgconfig_done
47 Feb 5 11:55:35 2005 .subst_pkglocaledir_done
0 Feb 5 12:08:24 2005 .subst_unwrap_done
0 Feb 5 11:55:23 2005 .tools_done
27209437 Feb 5 12:19:14 2005 .work.log
512 Feb 5 11:55:27 2005 .wrapper
0 Feb 5 11:55:34 2005 .wrapper_done
As you can see it took 13min to build it and then 11min to install it.
1min of the build was the configure run. So, there is 1min which was
saved during the make install, maybe because a small part wasn't rebuild.
Bernd