#101 Parallel build with internal gsl

v1.0_(example)
closed-fixed
nobody
None
5
2013-11-11
2006-12-05
No

A parallel build (-j3 to make) of bogofilter-1.3.3 just got me these three lines among others:

i686-pc-linux-gnu-gcc -DBOGOFILTER ... -o bogofilter bogofilter.o main.o libbogofilter.a strlcpy.o strlcat.o /usr/lib/libdb.so libbf_gsl.a -lm

i686-pc-linux-gnu-ar cru libbf_gsl.a libbf_gsl_a-chisq.o ... libbf_gsl_a-minmax.o

i686-pc-linux-gnu-gcc: libbf_gsl.a: No such file or directory

So the archive is still being built when another process tries to link against it. Reason is probably that libbf_gsl.a is not mentioned in bogofilter_DEPENDENCIES. Adding this inside the NEED_GSL conditional part of Makefile.am might solve the problem, but I'm no autotools wizard, so I'm not sure.

I will also note my observation in this Gentoo bug:
http://bugs.gentoo.org/show_bug.cgi?id=112638
The bug report was started for 0.92.8, but the problem looks the same to me.

Discussion

  • David Relson

    David Relson - 2006-12-06

    Logged In: YES
    user_id=30510
    Originator: NO

    The patch, as suggested, causes a complaint of "+=" being used before bogofilter_DEPENDENCIES has been set. The attached patch puts the GSL test after setting bogofilter_DEPENDENCIES thus handling the complaint. However not having an SMP system I can't test the patch.

    Note: just running "make" will regenerate src/Makefile from src/Makefile.am (without manually running autoconf).

    Please let me know if the patch works!

    File Added: patch.1205.Makefile.am.txt

     
  • Matthias Andree

    Matthias Andree - 2009-08-05

    Hi Martin,

    could you confirm if David's solution fixes the build for you?

    I've set this report to pending, i. e. it will be automatically closed in a fortnight, barring further input.

    Thank you.

    Best regards
    Matthias

     
  • Matthias Andree

    Matthias Andree - 2009-08-05
    • status: open --> pending-fixed
     
  • Martin von Gagern

    • status: pending-fixed --> open-fixed
     
  • Martin von Gagern

    Haven't encountered build issues with bogofilter for some time now, so I take it that r6607 did fix the issue.

    Feel free to close, and thanks for the fix in the first place.

     
  • Matthias Andree

    Matthias Andree - 2013-11-11

    Closing according to Martin's feedback.

     
  • Matthias Andree

    Matthias Andree - 2013-11-11
    • status: open-fixed --> closed-fixed
    • Group: --> v1.0_(example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks