All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14366] New: 2021.11-rc2: Build of nodejs fails with "version `GLIBC_2.34' not found" on Ubuntu 20.04
Date: Sat, 20 Nov 2021 11:35:33 +0000	[thread overview]
Message-ID: <bug-14366-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=14366

            Bug ID: 14366
           Summary: 2021.11-rc2: Build of nodejs fails with "version
                    `GLIBC_2.34' not found" on Ubuntu 20.04
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: mail@jens-maus.de
                CC: buildroot@uclibc.org
  Target Milestone: ---

After upgrading from 2021.08.2 to the latest 2021.11-rc2 the following error
appear when compiling nodejs-14.18.1:

-- cut here --
 
LD_LIBRARY_PATH=/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/lib.host:/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd ../tools/v8_gypfiles; mkdir -p
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/obj/gen/inspector-generated-output-root/include/inspector
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/obj/gen/inspector-generated-output-root/src/inspector/protocol;
python ../../deps/v8/third_party/inspector_protocol/code_generator.py
--jinja_dir ../../deps/v8/third_party --output_base
"/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/obj/gen/inspector-generated-output-root/src/inspector"
--config ../../deps/v8/src/inspector/inspector_protocol_config.json
--inspector_protocol_dir ../../deps/v8/third_party/inspector_protocol
 
LD_LIBRARY_PATH=/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/lib.host:/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd ../tools/v8_gypfiles; mkdir -p
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/obj/gen/inspector-generated-output-root/include/inspector
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/obj/gen/inspector-generated-output-root/src/inspector/protocol;
python ../../deps/v8/third_party/inspector_protocol/code_generator.py
--jinja_dir ../../deps/v8/third_party --output_base
"/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/obj/gen/inspector-generated-output-root/src/inspector"
--config ../../deps/v8/src/inspector/inspector_protocol_config.json
--inspector_protocol_dir ../../deps/v8/third_party/inspector_protocol
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/bytecode_builtins_list_generator:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/bytecode_builtins_list_generator)
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/bytecode_builtins_list_generator:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/bytecode_builtins_list_generator)
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/bytecode_builtins_list_generator:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/bytecode_builtins_list_generator)
make[3]: *** [tools/v8_gypfiles/generate_bytecode_builtins_list.target.mk:13:
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h]
Error 1
make[3]: *** Waiting for unfinished jobs....
rm e730c40db4707fa90e26f9a1f4e233545a966191.intermediate
f851aa033254e58b7e35f943f6814ef5e8f9642a.intermediate
make[2]: *** [Makefile:109: node] Error 2
make[2]: Leaving directory
'/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1'
make[1]: *** [package/pkg-generic.mk:294:
/home/damato/projekte/linux/RaspberryMatic/build-raspmatic_ova/build/nodejs-14.18.1/.stamp_built]
Error 2
make[1]: Leaving directory
'/home/damato/projekte/linux/RaspberryMatic/buildroot-2021.11-rc2'
make: *** [Makefile:51: build] Error 2
-- cut here --

Thus, it looks like the host system libc.so.6 is used for the
"bytecode_builtins_list_generator" tool that is automatically build during the
nodejs-14.18.1 build run. However, as buildroot 2021.11 introduced GLIBC_2.34
the execution of "bytecode_builtins_list_generator" fails because Ubuntu 20.04
does not come with a glibc with GLIBC_2.34 symbols in libc.so. Thus, the
dedicated compiled 2.34 glibc for the host in
"host/x86_64-buildroot-linux-gnu/sysroot/lib" should be used instead so that
the "bytecode_builtins_list_generator" tool can be correctly executed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2021-11-20 11:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20 11:35 bugzilla [this message]
2022-01-31 10:32 ` [Buildroot] [Bug 14366] 2021.11-rc2: Build of nodejs fails with "version `GLIBC_2.34' not found" on Ubuntu 20.04 bugzilla
2022-01-31 10:54 ` bugzilla
2022-01-31 15:52 ` bugzilla
2022-01-31 15:56 ` [Buildroot] [Bug 14366] Nodejs " bugzilla
2022-02-04 11:03 ` bugzilla
2022-02-23  8:20 ` bugzilla
2022-02-23  8:48   ` David Laight
2022-03-01  9:49 ` bugzilla
2022-03-09 10:05 ` bugzilla
2022-03-09 10:19 ` bugzilla
2022-04-13 14:35 ` bugzilla
2022-04-13 15:16 ` bugzilla
2022-06-09 14:59 ` bugzilla
2023-09-24 16:37 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14366-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.