Modify

Opened 16 months ago

#24901 new defect

vsftpd for x86 compile Error

Reported by: k25c2yf Owned by: developers
Priority: high Milestone: Designated Driver (Trunk)
Component: packages Version: Trunk
Keywords: vsftpd x86 Cc:

Description

compile system=CENTOS7

[openwrt@localhost openwrt]$ make package/vsftpd/clean

make[1] package/vsftpd/clean
make[2] -C feeds/packages/net/vsftpd clean
make[2] -C feeds/packages/net/vsftpd clean

[openwrt@localhost openwrt]$ make package/vsftpd/compile V=99
make[1]: Entering directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt'
make[2]: Entering directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/toolchain'
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean; fi; echo "libstdcpp" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install.clean; fi; echo "librt" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/toolchain.default.install
make[2]: Leaving directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/toolchain'
make[2]: Entering directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/ocf-crypto-headers'
make[2]: Leaving directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/ocf-crypto-headers'
make[2]: Entering directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/zlib'
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/zlib.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/zlib.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/zlib.default.install.clean; fi; echo "zlib" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/zlib.default.install
make[2]: Leaving directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/zlib'
make[2]: Entering directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/openssl'
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install.clean; fi; echo "libopenssl" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install
if [ -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install.clean ]; then rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install.clean; fi; echo "openssl-util" >> /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/pkginfo/openssl.default.install
make[2]: Leaving directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/package/libs/openssl'
make[2]: Entering directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/feeds/packages/net/vsftpd'
. /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/include/shell.sh; gzip -dc /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/dl/vsftpd-3.0.3.tar.gz | tar -C /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/.. -xf -

Applying ./patches/001-destdir.patch using plaintext:
patching file Makefile

Applying ./patches/002-find_libs.patch using plaintext:
patching file Makefile

Applying ./patches/003-chroot.patch using plaintext:
patching file tunables.c

Applying ./patches/004-disable-capabilities.patch using plaintext:
patching file sysdeputil.c

Applying ./patches/005-disable-pam.patch using plaintext:
patching file builddefs.h

Applying ./patches/006-musl-compatibility.patch using plaintext:
patching file sysdeputil.c

Applying ./patches/007-CVE-2015-1419.patch using plaintext:
patching file ls.c
patching file str.c
patching file str.h
touch /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/.prepared_ec18b546c4c17acf6d7f33385eb3596e
rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/stamp/.vsftpd.notls_installed
(cd /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/./; if [ -x ./configure ]; then find /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/ -name config.guess | xargs -r chmod u+w; find /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/ -name config.guess | xargs -r -n1 cp --remove-destination /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/scripts/config.guess; find /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/ -name config.sub | xargs -r chmod u+w; find /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/ -name config.sub | xargs -r -n1 cp --remove-destination /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/scripts/config.sub; AR="i486-openwrt-linux-musl-gcc-ar" AS="i486-openwrt-linux-musl-gcc -c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=i486-openwrt-linux-musl-ld NM="i486-openwrt-linux-musl-gcc-nm" CC="i486-openwrt-linux-musl-gcc" GCC="i486-openwrt-linux-musl-gcc" CXX="i486-openwrt-linux-musl-g++" RANLIB="i486-openwrt-linux-musl-gcc-ranlib" STRIP=i486-openwrt-linux-musl-strip OBJCOPY=i486-openwrt-linux-musl-objcopy OBJDUMP=i486-openwrt-linux-musl-objdump SIZE=i486-openwrt-linux-musl-size CFLAGS="-Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/usr/include -I/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/include -I/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/usr/include -I/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/include/fortify -I/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/include " LDFLAGS="-L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/usr/lib -L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/lib -L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/usr/lib -L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/lib -znow -zrelro " ./configure --target=i486-openwrt-linux --host=i486-openwrt-linux --build=x86_64-redhat-linux --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info ; fi; )
rm -f /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/.configured_*
touch /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/.configured_yyyyyyyy
/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/host/bin/sed -i -e 's/-lcrypt -lnsl/-lcrypt/' /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/Makefile
make -C /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3 CC="i486-openwrt-linux-musl-gcc" CFLAGS="-Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LDFLAGS="-L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/usr/lib -L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/target-i386_i486_musl-1.1.14/lib -L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/usr/lib -L/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/lib -znow -zrelro" vsftpd
make[3]: Entering directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3'
i486-openwrt-linux-musl-gcc -c main.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c utility.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c prelogin.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c ftpcmdio.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c postlogin.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c privsock.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c tunables.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c ftpdataio.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c secbuf.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c ls.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
ls.c: In function 'vsf_filename_passes_filter':
ls.c:395:8: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

free(normname);


In file included from ls.c:10:0:
/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/include/stdlib.h:41:6: note: expected 'void *' but argument is of type 'const char *'

void free (void *);


ls.c:396:8: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

free(path);


In file included from ls.c:10:0:
/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/staging_dir/toolchain-i386_i486_gcc-5.3.0_musl-1.1.14/include/stdlib.h:41:6: note: expected 'void *' but argument is of type 'const char *'

void free (void *);


i486-openwrt-linux-musl-gcc -c postprivparent.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c logging.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c str.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c netstr.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c sysstr.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c strlist.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c banner.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c filestr.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c parseconf.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c secutil.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c ascii.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c oneprocess.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c twoprocess.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c privops.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c standalone.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c hash.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c tcpwrap.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c ipaddrparse.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c access.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c features.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c readwrite.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c opts.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c ssl.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c sslslave.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
i486-openwrt-linux-musl-gcc -c ptracesandbox.c -Os -pipe -march=i486 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3:vsftpd-3.0.3 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -idirafter dummyinc
ptracesandbox.c: In function 'validate_fcntl':
ptracesandbox.c:857:15: error: 'F_SETLK64' undeclared (first use in this function)

arg2 != F_SETLK64 &&


ptracesandbox.c:857:15: note: each undeclared identifier is reported only once for each function it appears in
ptracesandbox.c:858:15: error: 'F_SETLKW64' undeclared (first use in this function)

arg2 != F_SETLKW64 &&


make[3]: * [ptracesandbox.o] Error 1
make[3]: Leaving directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3'
make[2]: * run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/build_dir/target-i386_i486_musl-1.1.14/vsftpd-notls/vsftpd-3.0.3/.built Error 2
make[2]: Leaving directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt/feeds/packages/net/vsftpd'
make[1]:
* [package/feeds/packages/vsftpd/compile] Error 2
make[1]: Leaving directory `/run/media/openwrt/1600cf1c-9946-48c4-bb0c-7d2526b2b015/openwrt'
make: * [package/vsftpd/compile] Error 2
[openwrt@localhost openwrt]$

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.