parallel make failure?

Joel Sherrill joel at rtems.org
Thu Nov 16 23:57:42 UTC 2017


On Thu, Nov 16, 2017 at 4:13 PM, Chris Johns <chrisj at rtems.org> wrote:

> Hi,
>
> I have pushed a patch to #3083 [1] that attempts to resolve this issue. I
> suspect it is related to Linux's install and some checks it is making.
>
> I would appreciate testing and feedback, on the ticket if that is OK.
>
> As noted in the ticket `make install` is broken with this change. I will
> look at
> that if this resolves the issue. I have tested on FreeBSD, Windows and
> MacOS.
>

I started a build on rtbf64c which is Centos 7 (6 real cores, 12 virtual). I
I built "everything". It pretty quickly had the Altera BSP do this:

/usr/bin/install -c -m 644
/home/joel/rtems-work/rtems/c/src/libchip/i2c/spi-flash-m25p40.h
../../../altcycv_devkit_smp/lib/include/libchip/spi-flash-m25p40.h
/usr/bin/install: cannot create regular file
‘../../../altcycv_devkit_smp/lib/include/libchip/spi-flash-m25p40.h’: File
exists
/usr/bin/install -c -m 644
/home/joel/rtems-work/rtems/c/src/libchip/i2c/spi-fram-fm25l256.h
../../../altcycv_devkit_smp/lib/include/libchip/spi-fram-fm25l256.h
gmake[5]: Leaving directory
`/data/home/joel/rtems-work/build/arm/altcycv_devkit_smp.profiling/arm-rtems5/c/altcycv_devkit_smp/libchip'
gmake[5]: ***
[../../../altcycv_devkit_smp/lib/include/libchip/spi-flash-m25p40.h] Error 1

The command was

/rtems-tools/tester/rtems-bsp-builder \
  --rtems=/home/joel/rtems-work/rtems \
  --build-path=build \
  --prefix=/home/joel/rtems-work/bsps \
  --log=build.log \
  --warnings-report=warnings.log \
   --mail \
   --mail-from=joel at rtems.org \
   --mail-to=build at rtems.org \
  --profiles=everything \
  --jobs=4/3

A separate issue is that there is still the %s from the bsp builder.

run: %s: arm/altcycv_devkit.posix-debug\
         /home/joel/rtems-work/rtems/configure --target=arm-rtems5\
         --enable-rtemsbsp=altcycv_devkit --prefix=/home/joel/rtems-\
         work/bsps --enable-debug --enable-posix

The full log should pop out in about 20 hours.

--joel


> Thanks
> Chris
>
> [1] https://devel.rtems.org/ticket/3083
>
> On 22/07/2017 02:55, Kirspel, Kevin wrote:
> > I have seen similar things as well.  In my case it fails in different
> places randomly.  Sometimes it will get all the way through.
> >
> > Kevin Kirspel
> > Electrical Engineer - Sr. Staff
> > Idexx Roswell
> > 235 Hembree Park Drive
> > Roswell GA 30076
> > Tel: (770)-510-4444 ext. 81642
> > Direct: (770)-688-1642
> > Fax: (770)-510-4445
> >
> > -----Original Message-----
> > From: devel [mailto:devel-bounces at rtems.org] On Behalf Of Gedare Bloom
> > Sent: Friday, July 21, 2017 11:24 AM
> > To: devel at rtems.org
> > Subject: parallel make failure?
> >
> > I'm building a clean master with current tools and observed the
> following using make -j4:
> >
> > /usr/bin/install -c -m 644
> > ../../../../../../rtems/c/src/libchip/i2c/i2c-ds1621.h
> > ../../../erc32/lib/include/libchip/i2c-ds1621.h
> > /usr/bin/install: cannot create regular file
> > '../../../erc32/lib/include/libchip/ds1375-rtc.h': File exists
> > Makefile:2147: recipe for target
> > '../../../erc32/lib/include/libchip/ds1375-rtc.h' failed
> > make[5]: *** [../../../erc32/lib/include/libchip/ds1375-rtc.h] Error 1
> > make[5]: Leaving directory
> > '/home/gedare/work/rtems/builds/b-erc32/sparc-rtems4.12/c/erc32/libchip'
> > Makefile:916: recipe for target 'preinstall-libchip' failed
> > make[4]: *** [preinstall-libchip] Error 1
> >
> > With just 'make' it passes this step.
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.
> rtems.org_mailman_listinfo_devel&d=DwICAg&c=2do6VJGs3LvEOe4OFFM1bA&r=
> HDiJ93ANMEQ32G5JGdpyUxbdebuwKHBbeiHMr3RbR74&m=H9XvezTNiH4W-
> H2EFj7UpeWTK8A3pj_g9545ys--tXQ&s=NK5spqMDGykOoOeFKNlO88-
> 8y9mrj6y9saEinGMqxkw&e=
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
> >
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20171116/a4bb5cb3/attachment-0001.html>


More information about the devel mailing list