bugPSPP - Bugs: bug #43029, Parallel build does not work - at...

 
 

bug #43029: Parallel build does not work - at least for the parallel debian build 0.8.3-3

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Tue 19 Aug 2014 09:15:33 PM UTC  
 
Category: Compilation/PortabilitySeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 24 Aug 2014 04:53:56 PM UTC, comment #6:

> So this should be closed here.

Thanks, closing.

Ben Pfaff <blp>
Project Administrator
Sun 24 Aug 2014 10:41:04 AM UTC, comment #5:

I agree, this is a problem with automake. In order to track the workaround patch in the pspp debian package I opened a bug in the pspp debian package with a reference to the reports here and in automake. The bug report is here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759102

So this should be closed here.

Friedrich Beckmann <beckmanf>
Project Member
Sun 24 Aug 2014 01:15:29 AM UTC, comment #4:

A simpler workaround might be to build each of the targets separately:
make $(PARALLEL) all
make $(PARALLEL) html
make $(PARALLEL) pdf
I guess that this is not actually a bug in PSPP but in automake, so I am tempted to close it. Fredrich, do you object?

Ben Pfaff <blp>
Project Administrator
Sat 23 Aug 2014 06:41:19 PM UTC, comment #3:

The problem is fixed in automake with this patch:

http://git.savannah.gnu.org/cgit/automake.git/commit/?id=74cdef7897da220bf062957ff9699815681441ef

The automake bug

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18301

is closed. As soon as that patch is in the automake package, the pspp debian package patch texi-vers.patch can be removed from the pspp debian package.

Friedrich

Friedrich Beckmann <beckmanf>
Project Member
Wed 20 Aug 2014 04:16:44 PM UTC, comment #2:

I looked a little bit further into this problem and I think the reason is that during parallel builds the make target doc/stamp-vti is executed twice. That will result in a problem. I have a filed a bug for the automake tools here:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18301

I am not too sure if executing that rule twice in parallel builds is to be expected. As described in the bug report there is a possible race condition if it is executed in parallel.

Friedrich Beckmann <beckmanf>
Project Member
Tue 19 Aug 2014 09:17:59 PM UTC, comment #1:

To activate the parallel build, the debian/rules file has to be changed:

dh $@ --parallel --with autoreconf

Friedrich Beckmann <beckmanf>
Project Member
Tue 19 Aug 2014 09:15:33 PM UTC, original submission:

I activated the parallel build in debian package 0.8.3-3 and started a build on amd64 with

debuild -eDEB_BUILD_OPTIONS="parallel=2" -us -uc

The attached log file shows the build problem. I guess this is due to missing dependencies. On my laptop this problem is reproducible, but the problem did not occur when I used "parallel=4".

Friedrich

Friedrich Beckmann <beckmanf>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #31920:  pspp_0.8.3-3_amd64.build added by beckmanf (109KiB - application/octet-stream - Build log showing build problem with parallel build)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blp (Posted a comment)
  • -unavailable- added by beckmanf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 24 Aug 2014 04:53:56 PM UTCblpStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 19 Aug 2014 09:15:33 PM UTCbeckmanfAttached File-=>Added pspp_0.8.3-3_amd64.build, #31920

    Back to the top


    Powered by Savane 3.1-cleanup1