Jump to content


Jagge

Member Since 14 Nov 2019
Offline Last Active 17 Jan 2022 06:04
-----

Topics I've Started

Compile Git for enigma2

14 November 2019 - 14:04

Hi

I'm starting to develop python plugins on the actual hw itself (easier) and would like to install Git on the target machine (Vu+duo2). Since I didn't find git anywhere baked, I decided to bitbake it myself. There were some issues, like patch file no_read_restart_on_eagain.patch which didn't apply anymore. Removed that from the recipe and after that bitbake git worked fine. The package also installed on the machine fine but alas it does not work because of wrong dependency?

 

vuduo2: git

git: /usr/lib/libcrypto.so.1.0.2: version `OPENSSL_1.0.2d' not found (required by git)

 

This is confusing since opkg info git__2.11.1-r0_mips32el.ipk

returns

Package: git
Version: 2.11.1-r0
Depends: libc6 (>= 2.25), libcrypto1.0.2 (>= 1.0.2k), libcurl4 (>= 7.53.1), libexpat1 (>= 2.2.0), libssl1.0.2 (>= 1.0.2k), libz1 (>= 1.2.11)
Status: unknown ok not-installed
Section: console/utils
Architecture: mips32el
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
Source: git_2.11.1.bb
Description: Distributed version control system
Distributed version control system.

 

On the other hand checking libssl version tells me this:
vuduo2:~$ grep OPENSSL /usr/lib/libssl.so.1.0.2
OPENSSL_cleanse
OPENSSL_DIR_read
OPENSSL_DIR_end
OPENSSL_1.0.0
OPENSSL_1.0.1
OPENSSL_1.0.1d
OPENSSL_1.0.2
OPENSSL_1.0.2g
OPENSSL_DIR_read(&ctx, '
OPENSSL_malloc Error

 

and on the other hand opgk info openssl10 tells me this:
Version: 1.0.2q-r0
Depends: libc6 (>= 2.28), libcrypto1.0.2 (>= 1.0.2q), libssl1.0.2 (>= 1.0.2q), openssl10-conf
Provides: openssl
Status: unknown ok not-installed
Section: libs/network
Architecture: vuduo2
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
MD5Sum: be7fd6b8109817bf9a24e82d8e9f1491
Size: 151558
Filename: openssl10_1.0.2q-r0_vuduo2.ipk
Source: openssl10_1.0.2q.bb
Description: Secure Socket Layer

 

My question is what dependency now is wrong and where? I should have openssl 1.0.2q installed with same versioned libcrypto and git should need =>1.0.2k. So this should be covered but still when running the binary I get complain from git? that I should have openssl 1.0.2d installed? Grepping libcrypto shows that I have 1.0.2g available. How do I fix this?