Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

/dgr/usr/bin/systemd-nspawn: undefined symbol: strjoin #262

Closed
ghost opened this issue Jun 6, 2018 · 0 comments
Closed

/dgr/usr/bin/systemd-nspawn: undefined symbol: strjoin #262

ghost opened this issue Jun 6, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 6, 2018

Seems related to #248

Building with a complete debian system, got error with the systemd lib.

+ mkdir -p /opt/stage2/aci-java/rootfs/dgr/bin
+ cmp -s /dgr/bin/busybox /opt/stage2/aci-java/rootfs/dgr/bin/busybox
+ cmp -s /dgr/bin/functions.sh /opt/stage2/aci-java/rootfs/dgr/bin/functions.sh
+ cmp -s /dgr/bin/prestart /opt/stage2/aci-java/rootfs/dgr/bin/prestart
+ cmp -s /dgr/bin/templater /opt/stage2/aci-java/rootfs/dgr/bin/templater
+ cp /dgr/bin/templater /opt/stage2/aci-java/rootfs/dgr/bin/templater
+ mkdir -p /opt/stage2/aci-java/rootfs/usr/bin
+ [ -d /dgr/aci-home/runlevels/inherit-build-early ]
+ [ -d /dgr/aci-home/runlevels/inherit-build-late ]
+ [ -d /dgr/aci-home/runlevels/build ]
+ [ -d /dgr/aci-home/runlevels/build-late ]
+ [ -d /dgr/aci-home/runlevels/build ]
+ [ -d /dgr/aci-home/runlevels/build-late ]
+ [ -d /opt/stage2/aci-java/rootfs/dgr/runlevels/inherit-build-early ]
+ LD_LIBRARY_PATH=/dgr/usr/lib /dgr/usr/lib/ld-linux-x86-64.so.2 /dgr/usr/bin/systemd-nspawn --register=no -q --directory=/opt/stage2/aci-java/rootfs --capability=all --bind=/dgr/builder:/dgr/builder dgr/builder/stage2/step-build.sh
/dgr/usr/bin/systemd-nspawn: symbol lookup error: /dgr/usr/bin/systemd-nspawn: undefined symbol: strjoin
+ onError Build
+ [ true == true ]
+ echo_red Build failed. dropping to shell in builder
+ echo -e \033[0;31mBuild failed. dropping to shell in builder\033[0m
Build failed. dropping to shell in builder
/ # ldd /dgr/usr/bin/systemd-nspawn
	linux-vdso.so.1 (0x00007ffcd3bd0000)
	libsystemd-shared-232.so => /lib/systemd/libsystemd-shared-232.so (0x00007f6b3e50d000)
	libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f6b3e2c7000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6b3e0aa000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6b3dd0b000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f6b3dae3000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f6b3d8dd000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6b3d6d5000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6b3d4af000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6b3d29d000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6b3cf8d000)
	libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f6b3cd84000)
	libidn.so.11 => /lib/x86_64-linux-gnu/libidn.so.11 (0x00007f6b3cb50000)
	libseccomp.so.2 => /lib/x86_64-linux-gnu/libseccomp.so.2 (0x00007f6b3c90b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f6b3e955000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f6b3c706000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6b3c493000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6b3c28f000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6b3c07b000)
	libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007f6b3be76000)

Using

dgr

version    : 93
build date : 2018-04-04_16:33:56_UTC
CommitHash : c699b43

sha512-d82a6dbf266c	blablacar.github.io/dgr/aci-builder:1	37MiB	11 minutes ago	11 minutes ago
@ghost ghost changed the title /dgr/usr/bin/systemd-nspawn: symbol lookup error: /dgr/usr/bin/systemd-nspawn: undefined symbol: strjoin /dgr/usr/bin/systemd-nspawn: undefined symbol: strjoin Jun 6, 2018
@n0rad n0rad closed this as completed in #263 Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

0 participants