[FS#3432] fakeroot: segmentation fault

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Nov 3 15:08:12 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - mp (mp) 

Attached to Project - OpenWrt/LEDE Project
Summary - fakeroot: segmentation fault
Task Type - Bug Report
Category - Toolchain
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Try to compile the vim package using the current snapshot SDK openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64.
The compilation fails with a segmentation fault within fakeroot.

Steps to reproduce:
  * Download OpenWrt SDK as of Nov 2 or Nov 3 from: https://downloads.openwrt.org/snapshots/targets/mxs/generic/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64.tar.xz
  * ./scripts/feeds install -a
  * ./scripts/feeds update -a
  * make menuconfig # disable building ALL packages
  * make -j1 V=s package/vim/download
  * make -j1 V=s package/vim/compile
  * make -j1 V=s package/vim/prepare

Output:

make[1]: Entering directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64'
make[2]: Entering directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/feeds/base/package/libs/ncurses'
find /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/hostpkg/ncurses-6.2 -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' | xargs -r rm -rf
make[2]: Leaving directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/feeds/base/package/libs/ncurses'
time: package/feeds/base/ncurses/host-compile#0.14#0.14#0.24
make[2]: Entering directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/package/toolchain'
Makefile:762: WARNING: skipping libgomp -- package has no install section
mkdir -p /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/CONTROL /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/target-arm_arm926ej-s_musl_eabi/pkginfo
install -d -m0755 /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/lib
cp -fpR /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/toolchain-arm_arm926ej-s_gcc-8.4.0_musl_eabi/lib/libgcc_s.so.* /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/lib/
find /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="arm-openwrt-linux-muslgnueabi-"  NO_RENAME=1 ; NM="arm-openwrt-linux-muslgnueabi-nm" STRIP="/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/scripts/strip-kmod.sh" PATCHELF="/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/patchelf" /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/scripts/rstrip.sh /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc
rstrip.sh: /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/lib/libgcc_s.so.1: shared object
(cd /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
install -d -m0755 /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages
/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/fakeroot /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/scripts/ipkg-build -m "" /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages
/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/fakeroot: line 185: 66480 Segmentation fault      (core dumped) FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
make[2]: *** [Makefile:764: /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages/libgcc1_8.4.0-2_arm_arm926ej-s.ipk] Error 139
make[2]: Leaving directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/package/toolchain'
time: package/toolchain/compile#0.18#0.13#0.34
make[1]: *** [package/Makefile:114: package/toolchain/compile] Error 2
make[1]: Leaving directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64'
make: *** [/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/include/toplevel.mk:229: package/vim/compile] Error 2



More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3432

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list