[kde-freebsd] DISABLE_MAKE_JOBS for kde4
Mel Flynn
mel.flynn+fbsd.kde at mailing.thruhere.net
Tue Apr 21 17:13:49 CEST 2009
On Tuesday 21 April 2009 15:27:59 Matt wrote:
> On Tue, Apr 21, 2009 at 7:18 AM, Mel Flynn
>
> <mel.flynn+fbsd.kde at mailing.thruhere.net> wrote:
> > On Tuesday 21 April 2009 12:18:43 Max Brazhnikov wrote:
> >> On Tue, 21 Apr 2009 09:59:37 +0200, Mel Flynn wrote:
> >> > Hi,
> >> >
> >> > I saw a commit to disable make jobs by default for kde4. Except for
> >> > not getting colored output, I have only seen problems with kdeedu4.
> >> > These ports being a very large compile, are the problems documented
> >> > somewhere so that one may look into the CMake files to fix them?
> >>
> >> All kde4 ports except kdeedu and kdebase are jobs safe (at least on my
> >> box
> >>
> >> :). For some reason automoc hangs while building packages on pointyhat,
> >> : so
> >>
> >> ports have been marked as unsafe.
> >
> > There's a clear difference when building with 2 jobs and 1 job. The 2nd
> > job will do all mocs while the first starts compiling. I don't have a
> > machine with more then 2 cpu's, I suspect the pointyhat servers do and I
> > can see this going wrong if 2 or more jobs go after the mocs.
> > If the above assumption about the CPU's in pointyhat is correct, would it
> > be possible to set MAKE_JOBS_NUMBER=2 in one of the ports (kdepim would
> > be my pick, but any will do that is not edu or base), and remove
> > DISABLE_MAKE_JOBS? --
> > Mel
>
> As another data point, I've noticed random hangs in my personal
> tinderboxes which run with only 2 CPUs each. I had it happen last
> night while running a build of audio/amarok-kde4, which is the first
> time I've seen it happen on a port outside of the standard KDE4
> packages. I haven't had time to troubleshoot it at all though.
In the category "what does tinderbox different from me", it would be -DBATCH
for my laptop and locally patched Mk/bsd.cmake.mk [1] on the buildserver which
removes CMAKE_VERBOSE, as I don't need that much log. amarok-2.0.2_1 built
without problems Apr 13 on the build server.
--
Mel
[1]
Index: Mk/bsd.cmake.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.cmake.mk,v
retrieving revision 1.5
diff -u -u -r1.5 bsd.cmake.mk
--- Mk/bsd.cmake.mk 24 Mar 2009 19:11:21 -0000 1.5
+++ Mk/bsd.cmake.mk 30 Mar 2009 21:15:28 -0000
@@ -80,7 +81,7 @@
#
# Force makefile verbosity if needed
#
-.if defined(CMAKE_VERBOSE) || defined(BATCH)
+.if defined(CMAKE_VERBOSE)
CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
.endif
More information about the kde-freebsd
mailing list