| Summary: | openssl: dangling libcrypto.a symlink | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Patrick Ohly <patrick.ohly> |
| Component: | connectivity | Assignee: | Maxin B. John <maxin.john> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, wenzong.fan |
| Version: | 2.1 | ||
| Target Milestone: | 2.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
(In reply to comment #0) > do_install_ptest in openssl.inc links to ${base_libdir}/libcrypto.a but the > actual file is in ${libdir}/libcrypto.a. Yes, We need to fix this link. > I'm also unsure whether package dependencies really cause openssl-staticdev > (which has the actual file) to be pulled in when installing openssl-ptest. > Is that guaranteed? This seems to be "automagically" figured out by the build system (extract from openssl.spec file) # cat /home/maxin/poky/build/tmp/work/core2-64-poky-linux-musl/openssl/1.0.2h-r0/openssl.spec <snip> %package -n openssl-ptest Summary: Secure Socket Layer - Package test files Group: devel Requires: libssl1.0.0 >= 1.0.2h Requires: openssl-conf Requires: openssl-misc Requires: perl-module-filehandle Requires: bc Requires: make Requires: musl >= 1.1.14+git0+63e3a1661f Requires: openssl Requires: perl Requires: libcrypto1.0.0 >= 1.0.2h Requires: openssl-staticdev Requires: libc.so()(64bit) Requires: libcrypto.so.1.0.0()(64bit) Requires: libcrypto.so.1.0.0(OPENSSL_1.0.2d)(64bit) Requires: rtld(GNU_HASH) Requires: /bin/sh Requires: libssl.so.1.0.0()(64bit) Requires: libssl.so.1.0.0(OPENSSL_1.0.2d)(64bit) Suggests: ptest-runner |
do_install_ptest in openssl.inc links to ${base_libdir}/libcrypto.a but the actual file is in ${libdir}/libcrypto.a. I'm also unsure whether package dependencies really cause openssl-staticdev (which has the actual file) to be pulled in when installing openssl-ptest. Is that guaranteed?