[FS#572] OpenSSL STAMP_CONFIGURED can lead to filename too long

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 28 22:02:37 PST 2017


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

User who did this - Florian Fainelli (ffainelli) 

Attached to Project - LEDE Project
Summary - OpenSSL STAMP_CONFIGURED can lead to filename too long
Task Type - Build Failure
Category - Base system
Status - New
Assigned To - 
Operating System - All
Severity - Low
Priority - Medium
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Build OpenSSL with the default set of options, the STAMP_CONFIGURED line can result in the following:

rm -f /home/fainelli/dev/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/openssl-1.0.2k/.configured_*
touch /home/fainelli/dev/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/openssl-1.0.2k/.configured_bc7334694fa4b40acb40d6b11be8a816_shared_no-err_no-sse2_no-ssl2_no-ssl2-method_no-heartbeats_no-engines_no-ec2m_no-ssl3_no-ssl3-method_no-hw_no-dtls_no-comp_no-sse2
touch: cannot touch '/home/fainelli/dev/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/openssl-1.0.2k/.configured_bc7334694fa4b40acb40d6b11be8a816_shared_no-err_no-sse2_no-ssl2_no-ssl2-method_no-heartbeats_no-engines_no-ec2m_no-ssl3_no-ssl3-method_no-hw_no-dtls_no-comp_no-sse2': File name too long
Makefile:258: recipe for target '/home/fainelli/dev/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/openssl-1.0.2k/.configured_bc7334694fa4b40acb40d6b11be8a816_shared_no-err_no-sse2_no-ssl2_no-ssl2-method_no-heartbeats_no-engines_no-ec2m_no-ssl3_no-ssl3-method_no-hw_no-dtls_no-comp_no-sse2' failed

Which is a filename too long for "touch" from Ubuntu 16.10, coreutils-8.25-2ubuntu2.

OpenSSL .config:

fainelli at fainelli-laptop:[~/../trunk]$ grep -i openssl .config
# CONFIG_BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL is not set
CONFIG_PACKAGE_libopenssl=m
CONFIG_OPENSSL_WITH_EC=y
# CONFIG_OPENSSL_WITH_EC2M is not set
# CONFIG_OPENSSL_WITH_SSL3 is not set
CONFIG_OPENSSL_WITH_DEPRECATED=y
# CONFIG_OPENSSL_WITH_DTLS is not set
# CONFIG_OPENSSL_WITH_COMPRESSION is not set
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
# CONFIG_OPENSSL_HARDWARE_SUPPORT is not set
# CONFIG_OPENSSL_ENGINE_CRYPTO is not set
# CONFIG_PACKAGE_libevent2-openssl is not set
# CONFIG_PACKAGE_libustream-openssl is not set
# CONFIG_PACKAGE_openvpn-openssl is not set
CONFIG_PACKAGE_openssl-util=m


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=572



More information about the lede-bugs mailing list