Bug 182076 - [build] Race condition with -j24 when WITH_ICONV= is set
Summary: [build] Race condition with -j24 when WITH_ICONV= is set
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 03:10 UTC by Enji Cooper
Modified: 2019-07-25 17:45 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 2013-09-14 03:10:00 UTC
Ran into this issue when running the build with -j24 and -DWITH_ICONV

$ make -VMK_ICONV -f share/mk/bsd.own.mk 
yes


In file included from /usr/src/lib/libc/iconv/citrus_iconv.c:37:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
In file included from /usr/src/lib/libc/iconv/citrus_none.c:36:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
In file included from /usr/src/lib/libc/iconv/citrus_stdenc_local.h:34,
                 from /usr/src/lib/libc/iconv/citrus_stdenc.h:53,
                 from /usr/src/lib/libc/iconv/citrus_stdenc.c:41:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
In file included from /usr/src/lib/libc/iconv/iconv.c:37:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
In file included from /usr/src/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from /usr/src/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src/lib/libc/locale/cXXrtomb_iconv.h:39,
                 from /usr/src/lib/libc/locale/c16rtomb_iconv.c:8:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
In file included from /usr/src/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from /usr/src/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src/lib/libc/locale/cXXrtomb_iconv.h:39,
                 from /usr/src/lib/libc/locale/c32rtomb_iconv.c:8:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
In file included from /usr/src/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from /usr/src/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src/lib/libc/locale/mbrtocXX_iconv.h:41,
                 from /usr/src/lib/libc/locale/mbrtoc16_iconv.c:8:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
In file included from /usr/src/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from /usr/src/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src/lib/libc/locale/mbrtocXX_iconv.h:41,
                 from /usr/src/lib/libc/locale/mbrtoc32_iconv.c:8:
/usr/src/lib/libc/../../include/iconv.h:43:30: error: _libiconv_compat.h: No such file or directory
mkdep: compile failed
*** [.depend] Error code 1

bmake[3]: stopped in /usr/src/lib/libc
1 error

bmake[3]: stopped in /usr/src/lib/libc
A failure has been detected in another branch of the parallel make

bmake[2]: stopped in /usr/src
*** [libraries] Error code 2

bmake[1]: stopped in /usr/src
1 error

bmake[1]: stopped in /usr/src
*** [_libraries] Error code 2

bmake: stopped in /usr/src
1 error

bmake: stopped in /usr/src
*** [buildworld] Error code 2
1 error
+ [ -f /home/gcooper/bw.s ]

How-To-Repeat: make -j24 -DWITH_ICONV buildworld
Comment 1 Enji Cooper freebsd_committer 2013-09-16 22:22:34 UTC
On Sep 13, 2013, at 7:10 PM, FreeBSD-gnats-submit@FreeBSD.org wrote:

> Thank you very much for your problem report.
> It has the internal identification `bin/182076'.
> The individual assigned to look at your
> report is: freebsd-bugs.=20
>=20
> You can access the state of your problem report at any time
> via this link:
>=20
> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D182076
>=20
>> Category:       bin
>> Responsible:    freebsd-bugs
>> Synopsis:       Race condition with -j24 when WITH_ICONV=3D is set
>> Arrival-Date:   Sat Sep 14 02:10:00 UTC 2013

	Running into this issue on my Macbook as well with lower -j and =
a vanilla svn checkout, so it might be something special with my =
environment=85 I've posted my .conf files here: =
http://pastebin.com/xAeJtB6C , and can post the build log somewhere else =
if need be.
Thanks..

In file included from /usr/src.svn/lib/libc/iconv/citrus_iconv.c:37:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
In file included from /usr/src.svn/lib/libc/iconv/citrus_none.c:36:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
In file included from =
/usr/src.svn/lib/libc/iconv/citrus_stdenc_local.h:34,
                 from /usr/src.svn/lib/libc/iconv/citrus_stdenc.h:53,
                 from /usr/src.svn/lib/libc/iconv/citrus_stdenc.c:41:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
In file included from /usr/src.svn/lib/libc/iconv/iconv.c:37:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
In file included from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src.svn/lib/libc/locale/cXXrtomb_iconv.h:39,
                 from /usr/src.svn/lib/libc/locale/c16rtomb_iconv.c:8:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
In file included from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src.svn/lib/libc/locale/cXXrtomb_iconv.h:39,
                 from /usr/src.svn/lib/libc/locale/c32rtomb_iconv.c:8:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
In file included from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src.svn/lib/libc/locale/mbrtocXX_iconv.h:41,
                 from /usr/src.svn/lib/libc/locale/mbrtoc16_iconv.c:8:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
In file included from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv_local.h:33,
                 from =
/usr/src.svn/lib/libc/locale/../iconv/citrus_iconv.h:45,
                 from /usr/src.svn/lib/libc/locale/mbrtocXX_iconv.h:41,
                 from /usr/src.svn/lib/libc/locale/mbrtoc32_iconv.c:8:
/usr/src.svn/lib/libc/../../include/iconv.h:43:30: error: =
_libiconv_compat.h: No such file or directory
mkdep: compile failed
*** [.depend] Error code 1

bmake[3]: stopped in /usr/src.svn/lib/libc
1 error

bmake[3]: stopped in /usr/src.svn/lib/libc
A failure has been detected in another branch of the parallel make

bmake[2]: stopped in /usr/src.svn
*** [libraries] Error code 2

bmake[1]: stopped in /usr/src.svn
1 error

bmake[1]: stopped in /usr/src.svn
*** [_libraries] Error code 2

bmake: stopped in /usr/src.svn
1 error

bmake: stopped in /usr/src.svn
*** [buildworld] Error code 2
1 error
+ [ -f /root/bw.s ]
# svnversion=20
255620
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:08 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Ed Maste freebsd_committer 2019-07-25 17:45:39 UTC
I can find no recent (newer than 2013) references to this issue, perhaps it has been fixed.