View Issue Details

IDProjectCategoryView StatusLast Update
0000898bareos-coreGeneralpublic2019-12-18 15:25
Reporterncopa Assigned Tojoergs  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
PlatformLinux, s390xOSAlpine LinuxOS Versionedge
Product Version17.2.4 
Fixed in Version18.1.2 
Summary0000898: Parallel build fails on s390x with make -j4
DescriptionBuild fails on Alpine Linux on s390x with 4 CPUs. It looks like there is a missing rule for the `../findlib/libbareosfind.la` dependency.

Output of the build log:
...
Compiling vbackup.c
Compiling verify.c
make[1]: *** No rule to make target '../findlib/libbareosfind.la', needed by 'bareos-dir'. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/buildozer/aports/community/bareos/src/bareos-Release-17.2.4/src/dird'
make: *** [GNUmakefile:167: src/dird] Error 2
make: *** Waiting for unfinished jobs....
Compiling drivetype.c
Compiling enable_priv.c
Compiling find_one.c
Compiling find.c
Compiling fstype.c
Compiling hardlink.c
Compiling match.c
Compiling mkpath.c
Compiling savecwd.c
Compiling shadowing.c
Compiling xattr.c
Making libbareosfind.la ...
/home/buildozer/aports/community/bareos/src/bareos-Release-17.2.4/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -Wl,--as-needed -L../lib -o libbareosfind.la acl.lo attribs.lo bfile.lo create_file.lo drivetype.lo enable_priv.lo find_one.lo find.lo fstype.lo hardlink.lo match.lo mkpath.lo savecwd.lo shadowing.lo xattr.lo -export-dynamic -rpath /usr/lib -release 17.2.4 -lacl -lbareos
==== Make of findlib is good ====
 
make[1]: Leaving directory '/home/buildozer/aports/community/bareos/src/bareos-Release-17.2.4/src/findlib'
Steps To Reproducerun: make -j4 on a multicore machine
Additional InformationThis only happened on s390x. On x86_64 with 16 cores and -j30 it didnt happen. May be related hyperthreading, I dunno.
TagsNo tags attached.

Activities

joergs

joergs

2018-01-27 19:52

developer   ~0002887

Currently, we are in the process to migrate the build process from autoconf to cmake. Our test environment is already quite nicely. So I fear, we will not spend effort to fix this.
I propose for the time being, you compile with "-j1" and I'll send another note, as soon, as cmake is available in github master.
joergs

joergs

2018-02-07 18:50

developer   ~0002900

bareos-master is now using cmake. If therefore assume, that this problem is solved.

Issue History

Date Modified Username Field Change
2018-01-27 03:39 ncopa New Issue
2018-01-27 19:52 joergs Note Added: 0002887
2018-01-27 19:52 joergs Assigned To => joergs
2018-01-27 19:52 joergs Status new => assigned
2018-01-27 19:53 joergs Product Version => 17.2.4
2018-02-07 18:46 joergs Status assigned => resolved
2018-02-07 18:46 joergs Fixed in Version => 18.1.2
2018-02-07 18:46 joergs Resolution open => fixed
2018-02-07 18:50 joergs Note Added: 0002900
2019-12-18 15:25 arogge Status resolved => closed