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

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Tue 19 Aug 2014 09:15:33 PM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group 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>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by beckmanf (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-24 blp StatusNone Fixed
        Open/ClosedOpen Closed
    2014-08-19 beckmanf Attached File- Added pspp_0.8.3-3_amd64.build, #31920

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code