[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1121890: vamp-plugin-sdk: FTBFS with high number of parallel compiling processes



Source: vamp-plugin-sdk
Version: 2.10.0-5
Tags: patch, upstream, fixed-upstream, ftbfs
Severity: important

Dear maintainer,

I found the package vamp-plugin-sdk randomly fails to be built with the
following error:

> g++ -Wl,-z,relro -Wl,-z,now  -o host/vamp-simple-host host/vamp-simple-host.o ./libvamp-hostsdk.a -lsndfile  
> ranlib ./libvamp-hostsdk.a
> collect2: fatal error: ld terminated with signal 7 [Bus error]
> compilation terminated.

This is due to the race in the Makefile, where ranlib and g++ are executed
simultaneously and ld is reading the .a file while ranlib is changing the .a
file at the same time. It has already been fixed by upstream [1]. I hope you
can integrate the patch.

Cheers,

Miao Wang

[1]: https://github.com/vamp-plugins/vamp-plugin-sdk/commit/da2d66f570b1


Reply to: