AnsweredAssumed Answered

LTIB build fails because of Perl dependencies

Question asked by M G on Jun 13, 2014
Latest reply on May 6, 2015 by Dean Matsen

Hello,

I'm trying to add openssh to my LTIB Linux build, but the build is failing because of Perl dependencies.

Here is the build error message:

.......

Processing files: openssl-1.0.1c-1

Finding  Provides: (using /opt/freescale/ltib/usr/lib/rpm/find-provides)...

Finding  Requires: (using /opt/freescale/ltib/usr/lib/rpm/find-requires)...

Provides: lib4758cca.so libaep.so libatalla.so libcapi.so libchil.so libcrypto.so.1.0.0 libcswift.so libgmp.so libgost.so libnuron.so libpadlock.so libssl.so.1.0.0 libsureware.so libubsec.so

PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1

Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1

Requires: /bin/sh /usr/bin/perl libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdl.so.2(GLIBC_2.4) libgcc_s.so.1(GCC_3.5) perl(File::Basename) perl(Getopt::Std) perl(IO::Handle) perl(WWW::Curl::Easy) perl(strict) perl(vars)

Wrote: /opt/ltib_imx6/ltib/rpm/RPMS/arm/openssl-1.0.1c-1.arm.rpm

Executing(%clean): /bin/sh -e /opt/ltib_imx6/ltib/tmp/rpm-tmp.80224

+ umask 022

+ cd /opt/ltib_imx6/ltib/rpm/BUILD

+ cd openssl-1.0.1c

+ rm -rf /opt/ltib_imx6/ltib/tmp/openssl

+ exit 0

Executing(--clean): /bin/sh -e /opt/ltib_imx6/ltib/tmp/rpm-tmp.80224

+ umask 022

+ cd /opt/ltib_imx6/ltib/rpm/BUILD

+ rm -rf openssl-1.0.1c

+ exit 0

Build time for openssl: 95 seconds

 

sudo /opt/freescale/ltib/usr/bin/rpm --root /opt/ltib_imx6/ltib/rootfs --dbpath /var/lib/rpm -e --allmatches --nodeps --define '_tmppath /tmp/ltib' openssl 2>/dev/null

sudo /opt/freescale/ltib/usr/bin/rpm --root /opt/ltib_imx6/ltib/rootfs --dbpath /var/lib/rpm --prefix / --ignorearch -ivh --force --excludedocs --define '_tmppath /tmp/ltib' /opt/ltib_imx6/ltib/rpm/RPMS/arm/openssl-1.0.1c-1.arm.rpm

error: failed dependencies:

perl(IO::Handle)   is needed by openssl-1.0.1c-1

perl(WWW::Curl::Easy)   is needed by openssl-1.0.1c-1

 

 

f_buildrpms() returned an error, exiting

traceback:

main:572

 

 

Started: Fri Jun 13 10:57:07 2014

Ended:   Fri Jun 13 11:05:20 2014

Elapsed: 493 seconds

 

 

Build Failed

 

Exiting on error or interrupt

---------------------------------------------------------------------------------------------------------------------------------------------------------------

 

What libraries/modules am I missing?

I've tried adding perl-5.8.8.tar.gz in /opt/freescale/pkgs as well as enabled perl in the config screen, but it hasn't helped.

 

Here's my setup:

- Reference board used: Sabre SD board - MCIMX6Q SDB

- Kernel version: LTIB Linux 3.0.35

 

Thanks,

Mithun

Outcomes