* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
@ 2020-03-20 17:26 ` bugzilla at busybox.net
2020-03-20 18:50 ` bugzilla at busybox.net
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-20 17:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
Please try a complete re-build:
make clean
make
If it fails again, please provide a complete .config file (or defconfig - after
make savedefconfig)...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
2020-03-20 17:26 ` [Buildroot] [Bug 12686] " bugzilla at busybox.net
@ 2020-03-20 18:50 ` bugzilla at busybox.net
2020-03-20 18:52 ` bugzilla at busybox.net
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-20 18:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #2 from Juan <jrmcorreo-linux@yahoo.es> ---
I attach a defconfig file for one of the Sunxi A20 boards that gives me the
same error.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
2020-03-20 17:26 ` [Buildroot] [Bug 12686] " bugzilla at busybox.net
2020-03-20 18:50 ` bugzilla at busybox.net
@ 2020-03-20 18:52 ` bugzilla at busybox.net
2020-03-20 21:35 ` bugzilla at busybox.net
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-20 18:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #3 from Juan <jrmcorreo-linux@yahoo.es> ---
Created attachment 8411
--> https://bugs.busybox.net/attachment.cgi?id=8411&action=edit
defconfig file that reproduces the issue I'm facing
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
` (2 preceding siblings ...)
2020-03-20 18:52 ` bugzilla at busybox.net
@ 2020-03-20 21:35 ` bugzilla at busybox.net
2020-03-23 9:32 ` bugzilla at busybox.net
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-20 21:35 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #4 from Peter Seiderer <ps.report@gmx.net> ---
Given defconfig compiles without failure here (host: openSUSE Tumbleweed),
anything special with your build system?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
` (3 preceding siblings ...)
2020-03-20 21:35 ` bugzilla at busybox.net
@ 2020-03-23 9:32 ` bugzilla at busybox.net
2020-03-23 18:50 ` bugzilla at busybox.net
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-23 9:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #5 from Juan <jrmcorreo-linux@yahoo.es> ---
Hi,
My build system is old but compliant with requirements:
- gcc/gcc++ 4.9.2-6.fc21
- make 4.0-3.fc21
except perl version (5.18.4-310.fc21), but 2019.02 compiles well in my system
and perl requirements are the same... and this error does not appear to be
related with perl.
Best Regards
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
` (4 preceding siblings ...)
2020-03-23 9:32 ` bugzilla at busybox.net
@ 2020-03-23 18:50 ` bugzilla at busybox.net
2020-03-24 10:13 ` bugzilla at busybox.net
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-23 18:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #6 from Peter Seiderer <ps.report@gmx.net> ---
Two last (from my side) options/suggestions:
- maybe a parallel build issue, try to re-build libopenssl with BR2_JLEVEL=1
set in the .config file
- check your environment variables, your log excerpt shows something
with
Makefile:358: recipe for target 'install_dev' failed
and
buildrootpath/host/bin/arm-buildroot-linux-gnueabihf-ar:
/buildrootpath/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libcrypto.so:
file format not recognized
In my Makefile (build/libopenssl-1.1.1d/Makefile) the target install_dev
is form line 310 to 355 and contains install/cp/$(RANLIB)/chmod/mv commands for
.new files....no 'ar' call...and RANLIB is specified as
RANLIB=$(CROSS_COMPILE)<my_working_dir>/host/bin/arm-buildroot-linux-gnueabihf-ranlib
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
` (5 preceding siblings ...)
2020-03-23 18:50 ` bugzilla at busybox.net
@ 2020-03-24 10:13 ` bugzilla at busybox.net
2020-05-17 20:20 ` bugzilla at busybox.net
2020-05-27 10:03 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-24 10:13 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #7 from Juan <jrmcorreo-linux@yahoo.es> ---
Hi again,
I tried changing value for the variable BR2_JLEVEL from 0 to 1 with no success.
About Makefile, the 358 line is next one:
357: install_dev: install_runtime_libs
358: @[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit
1)
359: @$(ECHO) "*** Installing development files"
360: @$(PERL) $(SRCDIR)/util/mkdir-p.pl
$(DESTDIR)$(INSTALLTOP)/include/openssl
361: @ :
If you want I can attach the whole Makefile (1.2 MB), but my point is that only
will serve to waste disk space on server.
About environment variables, I see no other value related to building
environment except PATH including entry to perl5, also PERL_LOCAL_LIB_ROOT and
PERL_LOCAL_LIB_ROOT entries.
Thank you and best regards
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
` (6 preceding siblings ...)
2020-03-24 10:13 ` bugzilla at busybox.net
@ 2020-05-17 20:20 ` bugzilla at busybox.net
2020-05-27 10:03 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-17 20:20 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #8 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
The issue you are pointing to seems to be known in OpenSSL upstream:
- https://github.com/openssl/openssl/issues/6641
- https://github.com/openssl/openssl/issues/9086
So, I setup a Docker container with CentOS 7, checked out Buildroot 2020.02 and
built OpenSSL 1.1.1d, without any problem.
The first issue mentioned above indicates that the problem came from a perl
module called Text::Template, which I do not have installed in my Docker
container:
# perl -e 'use Text::Template; print $Text::Template::VERSION,"\n";'
Can't locate Text/Template.pm in @INC (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Since you mentioned you had some Perl-related environment variables defined,
perhaps there is an issue with this ?
Since we're not able to reproduce, we won't be able to help a lot here. Could
you work on some way of reproducing this?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 12686] recipe for target 'install_dev' failed (libcrypto.so: file format not recognized)
2020-03-20 16:34 [Buildroot] [Bug 12686] New: recipe for target 'install_dev' failed (libcrypto.so: file format not recognized) bugzilla at busybox.net
` (7 preceding siblings ...)
2020-05-17 20:20 ` bugzilla at busybox.net
@ 2020-05-27 10:03 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-05-27 10:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12686
--- Comment #9 from Juan <jrmcorreo-linux@yahoo.es> ---
Hello Thomas,
I'm sorry to answer too late, but due to the COVID-19 I have been compelled to
spend my time on other matters.
Today I've uninstalled the perl module and its dependencies and now I'm
compiling again buildroot 2020.02 without experiencing any error from
libopenssl.
Prior to post the bug I've searched a lot looking for the error, but i've got
no result about perl-Text-Template issues.
Let me to say your commitment with this issue exceeded the one that could be
expected. You had the possibility to answer saying it is an external issue to
buildroot and only related with libopenssl. Your answer could have been
shorter, but you made a test and provided the solution.
Thanks a lot
Juan
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread