OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by tiagogaspar8 - 19.08.2019

FS#2454 - libopenssl: Compile error with "Enable Engine support" enabled

Supply the following if possible:
- Device problem occurs on

All

- Software versions of OpenWrt/LEDE release, packages, etc.

Latest OpenWRT Trunk

- Steps to reproduce

Try to build a image with “Enable Engine support” enabled and the compilation will spit out an error. Tried to debug it but couldn’t

 configure: WARNING: rpmbuild not found, some optional functionalities will be missing
configure: creating ./config.status
config.status: creating Makefile

quilt version 0.65 configured.

Using '/mnt/sdb/ss_mod/staging_dir/host' for installation prefix.

Report bugs to quilt-dev@nongnu.org
[ -f /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/Makefile ]
touch /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/.configured
make -C /mnt/sdb/ss_mod/build_dir/host/quilt-0.65 SHELL="bash" all
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
bin/quilt.in -> bin/quilt
bin/guards.in -> bin/guards
quilt/mail.in -> quilt/mail
quilt/upgrade.in -> quilt/upgrade
quilt/refresh.in -> quilt/refresh
quilt/fold.in -> quilt/fold
quilt/files.in -> quilt/files
quilt/revert.in -> quilt/revert
quilt/top.in -> quilt/top
quilt/header.in -> quilt/header
quilt/remove.in -> quilt/remove
quilt/annotate.in -> quilt/annotate
quilt/diff.in -> quilt/diff
quilt/applied.in -> quilt/applied
quilt/graph.in -> quilt/graph
quilt/edit.in -> quilt/edit
quilt/pop.in -> quilt/pop
quilt/fork.in -> quilt/fork
quilt/delete.in -> quilt/delete
quilt/new.in -> quilt/new
quilt/import.in -> quilt/import
quilt/previous.in -> quilt/previous
quilt/grep.in -> quilt/grep
quilt/series.in -> quilt/series
quilt/patches.in -> quilt/patches
quilt/snapshot.in -> quilt/snapshot
quilt/add.in -> quilt/add
quilt/push.in -> quilt/push
quilt/setup.in -> quilt/setup
quilt/rename.in -> quilt/rename
quilt/next.in -> quilt/next
quilt/unapplied.in -> quilt/unapplied
quilt/scripts/patchfns.in -> quilt/scripts/patchfns
quilt/scripts/inspect-wrapper.in -> quilt/scripts/inspect-wrapper
quilt/scripts/dependency-graph.in -> quilt/scripts/dependency-graph
quilt/scripts/edmail.in -> quilt/scripts/edmail
quilt/scripts/remove-trailing-ws.in -> quilt/scripts/remove-trailing-ws
quilt/scripts/backup-files.in -> quilt/scripts/backup-files
README.in -> README
quilt.1.in -> quilt.1
/usr/bin/pod2man bin/guards > bin/guards.1
rm -f po/quilt.pot; touch po/quilt.pot
for file in bin/guards.in bin/quilt.in bin/patch-wrapper.in quilt/mail.in quilt/upgrade.in quilt/refresh.in quilt/fold.in quilt/files.in quilt/revert.in quilt/top.in quilt/header.in quilt/remove.in quilt/annotate.in quilt/diff.in quilt/applied.in quilt/graph.in quilt/edit.in quilt/pop.in quilt/fork.in quilt/delete.in quilt/new.in quilt/import.in quilt/previous.in quilt/grep.in quilt/series.in quilt/patches.in quilt/snapshot.in quilt/add.in quilt/push.in quilt/setup.in quilt/rename.in quilt/next.in quilt/unapplied.in compat/column.in compat/date.in compat/getopt.in compat/mktemp.in compat/sendmail.in quilt/scripts/backup-files.in quilt/scripts/patchfns.in quilt/scripts/remove-trailing-ws.in quilt/scripts/inspect-wrapper.in quilt/scripts/edmail.in quilt/scripts/dependency-graph.in ; do						\
  if test -n "`/mnt/sdb/ss_mod/staging_dir/host/bin/sed -ne '1{ /@BASH''@/p }' $file`"		\
       -o "$file" = quilt/scripts/patchfns.in; then		\
    /usr/bin/env bash --dump-po-strings $file ;				\
  elif test -n "`/mnt/sdb/ss_mod/staging_dir/host/bin/sed -ne '1{ /@PERL''@/p }' $file`"; then	\
    /usr/bin/xgettext --from-code=UTF-8 --omit-header --language=Perl	\
		--keyword=_ -o - $file;			\
  else								\
    echo "Don't know how to handle $file" >&2 ;		\
    exit 1;							\
  fi								\
done								\
|/usr/bin/msguniq							\
|/usr/bin/msgcat --force-po -F - po/quilt.pot -o po/quilt.pot
/usr/bin/msgmerge -o po/fr.po po/fr.po po/quilt.pot
..................... done.
/usr/bin/msgfmt --statistics -o po/fr.mo po/fr.po
182 translated messages.
/usr/bin/msgmerge -o po/de.po po/de.po po/quilt.pot
..................... done.
/usr/bin/msgfmt --statistics -o po/de.mo po/de.po
182 translated messages.
/usr/bin/msgmerge -o po/ja.po po/ja.po po/quilt.pot
...................... done.
/usr/bin/msgfmt --statistics -o po/ja.mo po/ja.po
182 translated messages.
/usr/bin/msgmerge -o po/ru.po po/ru.po po/quilt.pot
...................... done.
/usr/bin/msgfmt --statistics -o po/ru.mo po/ru.po
182 translated messages.
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
touch /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/.built
make -C /mnt/sdb/ss_mod/build_dir/host/quilt-0.65 SHELL="bash" install
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/bin
/usr/bin/install -c -m 755 bin/quilt bin/guards /mnt/sdb/ss_mod/staging_dir/host/bin/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/quilt
/usr/bin/install -c -m 755 quilt/mail quilt/add quilt/upgrade quilt/patches quilt/refresh quilt/fold quilt/diff quilt/files quilt/revert quilt/top quilt/header quilt/remove quilt/annotate quilt/applied quilt/graph quilt/edit quilt/pop quilt/fork quilt/delete quilt/new quilt/previous quilt/grep quilt/series quilt/import quilt/snapshot quilt/push quilt/setup quilt/rename quilt/next quilt/unapplied /mnt/sdb/ss_mod/staging_dir/host/share/quilt/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/quilt/scripts
/usr/bin/install -c -m 755 quilt/scripts/inspect-wrapper quilt/scripts/dependency-graph quilt/scripts/edmail quilt/scripts/remove-trailing-ws quilt/scripts/backup-files		\
	   /mnt/sdb/ss_mod/staging_dir/host/share/quilt/scripts
/usr/bin/install -c -m 644 quilt/scripts/patchfns quilt/scripts/utilfns	\
	   /mnt/sdb/ss_mod/staging_dir/host/share/quilt/scripts
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/doc/quilt/
/usr/bin/install -c -m 644 doc/README					\
	   /mnt/sdb/ss_mod/staging_dir/host/share/doc/quilt/
/usr/bin/install -c -m 644 doc/quilt.pdf doc/README.MAIL			\
	   /mnt/sdb/ss_mod/staging_dir/host/share/doc/quilt/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/man/man1
/usr/bin/install -c -m 644 doc/quilt.1 bin/guards.1 /mnt/sdb/ss_mod/staging_dir/host/share/man/man1/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/etc
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/etc/bash_completion.d
/usr/bin/install -c -m 644 bash_completion				\
	   /mnt/sdb/ss_mod/staging_dir/host/etc/bash_completion.d/quilt
/usr/bin/install -c -m 644 quilt.quiltrc /mnt/sdb/ss_mod/staging_dir/host/etc/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/emacs/site-lisp/
/usr/bin/install -c -m 644 lib/quilt.el /mnt/sdb/ss_mod/staging_dir/host/share/emacs/site-lisp/
for lang in fr de ja ru ; do					\
	dir=/mnt/sdb/ss_mod/staging_dir/host/share/locale/$lang/LC_MESSAGES;	\
	/usr/bin/install -c -d $dir;					\
	/usr/bin/install -c -m 644 po/$lang.mo				\
	    $dir/quilt.mo ;					\
done
rm -rf /mnt/sdb/ss_mod/staging_dir/host/share/quilt/compat
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
mkdir -p /mnt/sdb/ss_mod/staging_dir/host/stamp
touch /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/.built
touch /mnt/sdb/ss_mod/staging_dir/host/stamp/.quilt_installed
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/quilt'
time: tools/quilt/compile#3.52#1.32#6.42
make[3]: Entering directory '/mnt/sdb/ss_mod/tools/padjffs2'
mkdir -p /mnt/sdb/ss_mod/build_dir/host/padjffs2-1
cp -fpR ./src/* /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/
find /mnt/sdb/ss_mod/build_dir/host/padjffs2-1 -name .svn | xargs -r rm -rf
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.preparedecc7edeb6ada6b3bdcdbd188ed1d7abb_6664517399ebbbc92a37c5bb081b5c53
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.configured
make -C /mnt/sdb/ss_mod/build_dir/host/padjffs2-1
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/padjffs2-1'
gcc  -Wall -Werror -c -o padjffs2.o padjffs2.c
gcc  -o padjffs2 padjffs2.o
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/padjffs2-1'
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.built
cp -fpR /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/padjffs2 /mnt/sdb/ss_mod/staging_dir/host/bin/
mkdir -p /mnt/sdb/ss_mod/staging_dir/host/stamp
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.built
touch /mnt/sdb/ss_mod/staging_dir/host/stamp/.padjffs2_installed
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/padjffs2'
time: tools/padjffs2/compile#0.21#0.08#0.43
make[3]: Entering directory '/mnt/sdb/ss_mod/tools/mm-macros'
. /mnt/sdb/ss_mod/include/shell.sh; xzcat /mnt/sdb/ss_mod/dl/mm-common-0.9.12.tar.xz | tar -C /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.preparedb57a3a4d3d4ac73305a42c848cc7171b_6664517399ebbbc92a37c5bb081b5c53
(cd /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/; if [ -x configure ]; then cp -fpR /mnt/sdb/ss_mod/scripts/config.{guess,sub} /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12// && CC="gcc" CFLAGS="-O2 -I/mnt/sdb/ss_mod/staging_dir/host/include " CXX="g++" CPPFLAGS="-I/mnt/sdb/ss_mod/staging_dir/host/include " LDFLAGS="-L/mnt/sdb/ss_mod/staging_dir/host/lib " CONFIG_SHELL="/usr/bin/env bash"  bash ./configure --target=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/mnt/sdb/ss_mod/staging_dir/host --exec-prefix=/mnt/sdb/ss_mod/staging_dir/host --sysconfdir=/mnt/sdb/ss_mod/staging_dir/host/etc --localstatedir=/mnt/sdb/ss_mod/staging_dir/host/var --sbindir=/mnt/sdb/ss_mod/staging_dir/host/bin ; fi )
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /mnt/sdb/ss_mod/staging_dir/host/bin/sed
checking for tar... tar
checking whether to download libstdc++ tags... no
checking for curl... no
checking for wget... wget
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doctags/mm-common-libstdc++.pc
config.status: creating doctags/mm-common-libstdc++-uninstalled.pc
config.status: creating macros/mm-common.m4
config.status: creating util/mm-common-prepare
config.status: creating util/mm-common-util.pc
config.status: creating util/mm-common-util-uninstalled.pc
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.configured
CFLAGS="-O2 -I/mnt/sdb/ss_mod/staging_dir/host/include " CPPFLAGS="-I/mnt/sdb/ss_mod/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/mnt/sdb/ss_mod/staging_dir/host/lib " make -j1 -C /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12  
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12'
/mnt/sdb/ss_mod/staging_dir/host/bin/sed 's|[@]PACKAGE_STRING[@]|mm-common 0.9.12|g;s|[@]docdir[@]|/mnt/sdb/ss_mod/staging_dir/host/share/doc/mm-common|g' ./util/mm-common-prepare.1.in >util/mm-common-prepare.1
(cd . >/dev/null && tar chof - skeletonmm/autogen.sh skeletonmm/codegen/generate_defs_and_docs.sh skeletonmm/.gitignore skeletonmm/AUTHORS skeletonmm/COPYING skeletonmm/ChangeLog skeletonmm/Makefile.am skeletonmm/README skeletonmm/configure.ac skeletonmm/skeletonmm.doap skeletonmm/build/.gitignore skeletonmm/codegen/Makefile.am skeletonmm/codegen/extradefs/generate_extra_defs_skeleton.cc skeletonmm/codegen/m4/convert.m4 skeletonmm/codegen/m4/convert_skeleton.m4 skeletonmm/codegen/m4/filelist.am skeletonmm/doc/Makefile.am skeletonmm/doc/reference/.gitignore skeletonmm/doc/reference/Doxyfile.in skeletonmm/examples/.gitignore skeletonmm/examples/Makefile.am skeletonmm/examples/example/example.cc skeletonmm/skeleton/.gitignore skeletonmm/skeleton/skeletonmm-uninstalled.pc.in skeletonmm/skeleton/skeletonmm.h skeletonmm/skeleton/skeletonmm.pc.in skeletonmm/skeleton/skeletonmmconfig.h.in skeletonmm/skeleton/skeletonmm/Makefile.am skeletonmm/skeleton/skeletonmm/filelist.am skeletonmm/skeleton/skeletonmm/wrap_init.h skeletonmm/skeleton/skeletonmm/private/.gitignore skeletonmm/skeleton/src/Makefile.am skeletonmm/skeleton/src/filelist.am skeletonmm/skeleton/src/skeleton.ccg skeletonmm/skeleton/src/skeleton.defs skeletonmm/skeleton/src/skeleton.hg skeletonmm/skeleton/src/skeleton_docs.xml skeletonmm/skeleton/src/skeleton_enum.defs skeletonmm/skeleton/src/skeleton_method.defs skeletonmm/skeleton/src/skeleton_signal.defs skeletonmm/skeleton/src/skeleton_vfunc.defs) | gzip -c -n >skeletonmm.tar.gz
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12'
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.built
install -d -m0755 /mnt/sdb/ss_mod/staging_dir/host/share/aclocal
install -m0644 /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/macros/*.m4 /mnt/sdb/ss_mod/staging_dir/host/share/aclocal/
mkdir -p /mnt/sdb/ss_mod/staging_dir/host/stamp
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.built
touch /mnt/sdb/ss_mod/staging_dir/host/stamp/.mm-macros_installed
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/mm-macros'
time: tools/mm-macros/compile#0.78#0.35#2.27
make[3]: Entering directory '/mnt/sdb/ss_mod/tools/scons'
./files/pywrap.sh /mnt/sdb/ss_mod/build_dir/host/scons-3.1.1/setup.py install --prefix=/mnt/sdb/ss_mod/staging_dir/host
Traceback (most recent call last):
  File "/mnt/sdb/ss_mod/build_dir/host/scons-3.1.1/setup.py", line 26, in <module>
    import distutils.command.build_scripts
ModuleNotFoundError: No module named 'distutils.command'
make[3]: *** [Makefile:35: /mnt/sdb/ss_mod/staging_dir/host/stamp/.scons_installed] Error 1
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/scons'
time: tools/scons/compile#0.24#0.06#0.35
make[2]: *** [tools/Makefile:159: tools/scons/compile] Error 2
make[2]: Leaving directory '/mnt/sdb/ss_mod'
make[1]: *** [tools/Makefile:155: /mnt/sdb/ss_mod/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.tools_compile_yynyynnyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnyyy] Error 2
make[1]: Leaving directory '/mnt/sdb/ss_mod'
make: *** [/mnt/sdb/ss_mod/include/toplevel.mk:218: world] Error 2
diizzyy commented on 25.08.2019 12:07

libopenssl isn't related it's something related to python/scons. It would help if you could tell distro, version and installed version of python (2 and/or 3) and git hash of repo checkout.

tiagogaspar8 commented on 26.08.2019 14:25

I thought so,
I have Ubuntu 19.04 with the latest updates installed, as for python I have both 2.7.16 and 3.7.3 the githash I have no idea (I'm new to this) but if it's the version I have the latest patches from master

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing