Re: FreeBSD_HEAD_amd64_gcc4.9 - Build #652 - Failure

From: Bryan Drewery <bryan-lists_at_shatow.net>
Date: Tue, 13 Oct 2015 21:44:13 -0700
On 10/13/2015 3:08 PM, Bryan Drewery wrote:
> On 10/13/2015 12:24 PM, Craig Rodrigues wrote:
>> On Tue, Oct 13, 2015 at 12:05 AM, <jenkins-admin_at_freebsd.org> wrote:
>>
>>> --- env_test ---
>>> /usr/local/bin/x86_64-portbld-freebsd10.1-g++ -isystem
>>> /builds/FreeBSD_HEAD_amd64_gcc4.9/obj/builds/FreeBSD_HEAD_amd64_gcc4.9/tmp/usr/include
>>> -L/builds/FreeBSD_HEAD_amd64_gcc4.9/obj/builds/FreeBSD_HEAD_amd64_gcc4.9/tmp/usr/lib
>>> --sysroot=/builds/FreeBSD_HEAD_amd64_gcc4.9/obj/builds/FreeBSD_HEAD_amd64_gcc4.9/tmp
>>> -B/usr/local/x86_64-freebsd/bin/
>>> -I/builds/FreeBSD_HEAD_amd64_gcc4.9/obj/builds/FreeBSD_HEAD_amd64_gcc4.9/tmp/usr/include/c++/v1
>>> -std=gnu++11
>>> -L/builds/FreeBSD_HEAD_amd64_gcc4.9/obj/builds/FreeBSD_HEAD_amd64_gcc4.9/tmp/../lib/libc++
>>> --sysroot=/builds/FreeBSD_HEAD_amd64_gcc4.9/obj/builds/FreeBSD_HEAD_amd64_gcc4.9/tmp
>>> -B/usr/local/x86_64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H
>>> -DATF_C_TESTS_BASE='"/usr/tests/lib/atf/libatf-c"'
>>> -DATF_INCLUDEDIR='"/usr/include"'
>>> -I/builds/FreeBSD_HEAD_amd64_gcc4.9/contrib/atf -fstack-protector-strong
>>> -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter
>>> -Wpointer-arith -Wno-uninitialized    -o env_test env_test.o test_helpers.o
>>> -lprivateatf-c++ -lprivateatf-c -lprivateatf-c
>>> test_helpers.o: file not recognized: File truncated
>>>
>>
>>
>> I think that there is a race condition in
>> src//lib/atf/libatf-c++/tests/detail/Makefile ,
>> where if built with parallel jobs ( -j ), once in a while, test_helpers.o
>> is not fully built
>> before another job tries to link it.  This doesn't fail all the time, but
>> fails intermittently,
>> which makes it hard to spot.
>>
> 
> It looks like a bsd.progs.mk issue. I'll look more.
> 
> 

r289286 will handle this and similar cases. Hopefully this holds.

-- 
Regards,
Bryan Drewery
bdrewery_at_freenode/EFNet
Received on Wed Oct 14 2015 - 02:44:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC