Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2017 21:21:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218859] net/dhcp6: sometimes fails to build with poudriere due to parallel make issues
Message-ID:  <bug-218859-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218859

            Bug ID: 218859
           Summary: net/dhcp6: sometimes fails to build with  poudriere
                    due to parallel make issues
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: leres@ee.lbl.gov
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@FreeBSD.org

I have 24-core poudriere build server that does daily builds and is great f=
or
detecting parallel build problems. Occasionally it fails to build net/dhcp6=
 and
when it does the build log shows three attempts to rename y.tab.c to cfpars=
e.c
but only the two succeed (see attached).

I believe the problem is that the Makefile has an explicit (but unnecessary
dependency) for y.tab.h. When a parallel make happens to build y.tab.h and
cftoken.c at the same time one of these fails.

Clearly y.tab.h will be created as a side effect of running flex on cftoken=
.l
to create cftoken.c and only cftoken.c includes y.tab.h so my patch removes=
 the
unnecessary dependency.=20

I also submitted the attached patch to upstream back in February:

    https://sourceforge.net/p/wide-dhcpv6/bugs/38/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218859-13>