<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>76477</bug_id>
          
          <creation_ts>2004-03-01 03:51:37 +0000</creation_ts>
          <short_desc>kdemultimedia build fails with parallel make</short_desc>
          <delta_ts>2004-03-08 14:03:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>8</classification_id>
          <classification>I don&apos;t know</classification>
          <product>kde</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Caleb Tennis">caleb</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>211147</commentid>
    <comment_count>0</comment_count>
    <who name="Caleb Tennis">caleb</who>
    <bug_when>2004-03-01 03:51:37 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3 
OS:          Linux

There are parallel make errors in kdemultimedia/arts/gui.

Some of the .cc files are dependent on .h files, which must first be created from running mcop on the .idl files.

For example, arts/gui/common/genericguifactory_impl.cc relies on artsgui.h, which is built after running mcop on artsgui.idl.  However, for users using make with the &quot;-j N&quot; option, in most cases the compilation for genericguifactory_impl.cc gets run before mcop has had a chance to run, causing the build to fail.

(This also seems to persist with some of the other .idl files in the the arts/ subdirectory, and it may manifest itself in other subdirectories as well.)

Solution:

I can either recommend to add a &quot;-j1&quot; to the compiler flags in the Makefile to override the parallel make behavior, or to add a .NOTPARALLEL argument to the makefile to disable the parallel building.  There may be other, smarter, options as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213149</commentid>
    <comment_count>1</comment_count>
    <who name="Caleb Tennis">caleb</who>
    <bug_when>2004-03-08 03:11:57 +0000</bug_when>
    <thetext>I&apos;ve committed this (NOTPARALLEL) fix for HEAD.  I&apos;ll plan to fix it in the 3.2 branch too as long as nobody complains about it in head.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213256</commentid>
    <comment_count>2</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2004-03-08 14:03:59 +0000</bug_when>
    <thetext>or you fix it the right way instead of adding nonsense work arounds?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>