* [Buildroot] [Bug 12876] putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
@ 2020-05-10 15:23 ` bugzilla at busybox.net
2020-05-10 17:12 ` bugzilla at busybox.net
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-10 15:23 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
--- Comment #1 from Fabrice Fontaine <fontaine.fabrice@gmail.com> ---
I think that the following patch should fix your build failure:
https://patchwork.ozlabs.org/project/buildroot/patch/20200218031521.32988-1-james.hilliard1 at gmail.com
However, it was not yet merged.
Can you confirm that this patch fix your issue?
Best Regards,
Fabrice
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
2020-05-10 15:23 ` [Buildroot] [Bug 12876] " bugzilla at busybox.net
@ 2020-05-10 17:12 ` bugzilla at busybox.net
2020-05-16 13:39 ` bugzilla at busybox.net
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-10 17:12 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
--- Comment #2 from yogesh kumar sharma <yogesh2760781@gmail.com> ---
(In reply to Fabrice Fontaine from comment #1)
it not solve the issue.
what i did was i opened file nodejs.mk and added the line suggested like this
(cd $(@D); \
$(HOST_CONFIGURE_OPTS) \
PATH=$(@D)/bin:$(BR_PATH) \
PYTHON=$(HOST_DIR)/bin/python2 \
$(HOST_DIR)/bin/python2 ./configure \
--prefix=$(HOST_DIR) \
--without-snapshot \
--without-dtrace \
--without-etw \
--shared-openssl \
--shared-openssl-includes=$(HOST_DIR)/include/openssl \
--shared-openssl-libpath=$(HOST_DIR)/lib \
--shared-zlib \
--shared-zlib-includes=$(HOST_ZLIB_SRCDIR) \
--shared-zlib-libpath=$(HOST_DIR)/lib \
--no-cross-compiling \
--with-intl=small-icu \
is that ok? or i have to add through patch. Actual i am not aware of how to add
patch in buildroot.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
2020-05-10 15:23 ` [Buildroot] [Bug 12876] " bugzilla at busybox.net
2020-05-10 17:12 ` bugzilla at busybox.net
@ 2020-05-16 13:39 ` bugzilla at busybox.net
2020-05-18 17:38 ` bugzilla at busybox.net
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-16 13:39 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |critical
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
` (2 preceding siblings ...)
2020-05-16 13:39 ` bugzilla at busybox.net
@ 2020-05-18 17:38 ` bugzilla at busybox.net
2020-05-19 16:37 ` bugzilla at busybox.net
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-18 17:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
--- Comment #3 from Markus Zehnder <zehnder@live.com> ---
(In reply to Fabrice Fontaine from comment #1)
Thanks Fabrice!
I had the exact same issue with Buildroot 2020.02.2 and the linked patch solved
it.
Please include it in the next release.
Best regards,
Markus
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
` (3 preceding siblings ...)
2020-05-18 17:38 ` bugzilla at busybox.net
@ 2020-05-19 16:37 ` bugzilla at busybox.net
2020-05-19 19:07 ` bugzilla at busybox.net
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-19 16:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
--- Comment #4 from yogesh kumar sharma <yogesh2760781@gmail.com> ---
(In reply to Markus Zehnder from comment #3)
can you suggest the steps you followed to solve or you can share some link
where i get the procedure to apply patch.
how to apply this patch to buildroot?
Thanks in advance
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
` (4 preceding siblings ...)
2020-05-19 16:37 ` bugzilla at busybox.net
@ 2020-05-19 19:07 ` bugzilla at busybox.net
2020-05-20 10:30 ` [Buildroot] [Bug 12876] nodejs fails to build when host-icu has been built before bugzilla at busybox.net
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-19 19:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
--- Comment #5 from Peter Seiderer <ps.report@gmx.net> ---
(In reply to yogesh kumar sharma from comment #4)
$ wget https://buildroot.org/downloads/buildroot-2020.02.2.tar.bz2
$ wget -O
v5-1-1-package-nodejs-Use-zlib-headers-from-HOST_ZLIB_SRCDIR-for-host-nodejs.patch
https://patchwork.ozlabs.org/project/buildroot/patch/20200218031521.32988-1-james.hilliard1 at gmail.com/mbox/
$ tar -xvjf buildroot-2020.02.2.tar.bz2
$ cd buildroot-2020.02.2
$ patch -p 1 <
../v5-1-1-package-nodejs-Use-zlib-headers-from-HOST_ZLIB_SRCDIR-for-host-nodejs.patch
Do not forget to do an complete re-build of@least the host-nodejs package,
best by removing the existing host-nodejs build directory, e.g.:
$ rm -rf output/build/host-nodejs-12.16.1
or a global re-build
$ make clean && make
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] nodejs fails to build when host-icu has been built before
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
` (5 preceding siblings ...)
2020-05-19 19:07 ` bugzilla at busybox.net
@ 2020-05-20 10:30 ` bugzilla at busybox.net
2020-05-20 10:30 ` bugzilla at busybox.net
2020-08-08 22:18 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-20 10:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|putilimp.h **error**: |nodejs fails to build when
|missing binary operator |host-icu has been built
|before token "(" #elif |before
|__has_builtin(__c11_atomic_ |
|load) && \ |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] nodejs fails to build when host-icu has been built before
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
` (6 preceding siblings ...)
2020-05-20 10:30 ` [Buildroot] [Bug 12876] nodejs fails to build when host-icu has been built before bugzilla at busybox.net
@ 2020-05-20 10:30 ` bugzilla at busybox.net
2020-08-08 22:18 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-20 10:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |seems.deviant at gmail.com
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 12921 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 12876] nodejs fails to build when host-icu has been built before
2020-05-10 14:51 [Buildroot] [Bug 12876] New: putilimp.h **error**: missing binary operator before token "(" #elif __has_builtin(__c11_atomic_load) && \ bugzilla at busybox.net
` (7 preceding siblings ...)
2020-05-20 10:30 ` bugzilla at busybox.net
@ 2020-08-08 22:18 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-08-08 22:18 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12876
Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
This was fixed by
https://git.buildroot.org/buildroot/commit/package/nodejs?id=319f7b0dab761483c7bf60dd933aa8ec485a06e1.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread