From owner-freebsd-alpha Sun May 5 6:30: 9 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 1C03737B409; Sun, 5 May 2002 06:29:58 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA16723; Sun, 5 May 2002 09:29:57 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g45DTRC68278; Sun, 5 May 2002 09:29:27 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15573.13239.472652.640403@grasshopper.cs.duke.edu> Date: Sun, 5 May 2002 09:29:27 -0400 (EDT) To: obrien@FreeBSD.ORG Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: kdebase3 In-Reply-To: <20020504221948.B1043@dragon.nuxi.com> References: <20020504151121.A1813@dragon.nuxi.com> <15572.24953.530925.959853@grasshopper.cs.duke.edu> <20020504221948.B1043@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org David O'Brien writes: > On Sat, May 04, 2002 at 06:32:25PM -0400, Andrew Gallatin wrote: > > Anyway, what's happening seems to be the build process somehow causes > > the configure script to get rebuilt after our port starts the build > > (eg, the .configure_done.kdebase-3.0_1 is there _before_ the configure > > script grows an "-O2" & is re-run). > > This suggests a problem with your clock (or something else); such that > gmake thinks something is out of date and needs to rerun configure. Something is causing it to be re-run: % ls -l work/kdebase-3.0/configure work/.configure_done.kdebase-3.0_1 -rw-r--r-- 1 gallatin wheel 0 May 4 18:20 work/.configure_done.kdebase-3.0_1 -rwxr-xr-x 1 gallatin wheel 1089599 May 4 18:21 work/kdebase-3.0/configure* And this isn't an x86 w/ACPI or something, my clock only runs one direction ;) > > > I think our autoconf is part of the problem, as it sets the cflags to > > O2. So, I've hit the autoconf port over the head with this patch: > > autoconf isn't being run when building the kdebase3 port. So this patch, Its being run out of gmake itself after the port is configured. Take a peek at http://people.freebsd.org/~gallatin/kde.log.gz > could be useful maybe, but will not help you with kdebase3. > (but the patch would totally screw me when submitting things back to FSF) > > > And the kdebase3 port with this: > > +pre-configure: > > + ${PERL} -pi -e "s@-O2@-O@g" ${WRKSRC}/configure > > + ${PERL} -pi -e "s@-O2@-O@g" ${WRKSRC}/aclocal.m4 > > + ${PERL} -pi -e "s@-O2@-O@g" ${WRKSRC}/admin/acinclude.m4.in > > + ${PERL} -pi -e "s@-O2@-O@g" ${WRKSRC}/admin/libtool.m4.in > > The aclocal.m4 (and maybe all the .m4 files) should not need this patch > -- as we aren't regenerating `configure'. The patch to configure would > fix your problem -- but I think it is just masking the real problem. One of them was the magic bullet, I'm not sure which. I'm going to start pulling things out one by one & see when the O2 creeps back in. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message