[OE-core] [PATCH] ca-certificates: Add openssl as a runtime dependency

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 1 23:31:21 UTC 2016


On Mon, 30 May 2016 22:57:52 Richard Purdie wrote:
> On Fri, 2016-05-27 at 07:28 -0300, Otavio Salvador wrote:
> > The update-ca-certificates script uses the c_rehash utility which is
> > installed by openssl. Add openssl as a runtime dependency to fulfill
> > the utility requirement.
> > 
> > Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> > ---
> > 
> >  meta/recipes-support/ca-certificates/ca-certificates_20160104.bb | 2
> > 
> > ++
> > 
> >  1 file changed, 2 insertions(+)
> 
> This broke allarch machine signature invariance however I merged a
> patch to resolve that.

I think we may still be missing a build-time dependency for
ca-certificates-native:

--------------------- snip ---------------------
ERROR: ca-certificates-native-20160104-r0 do_install: Function failed: do_install (log file is located at /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/log.do_install.16841)
ERROR: Logfile of failure stored in: /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/log.do_install.16841
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 8 CERTSDIR=/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates SBINDIR=/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin DESTDIR=/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image install
| for dir in mozilla; do \
|   mkdir /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/$dir; \
|   make -C $dir install CERTSDIR=/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/$dir; \
| done
| make[1]: Entering directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/mozilla'
| for p in *.crt; do \
|  install -m 644 $p /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/mozilla/$p ; \
| done
| make[1]: Leaving directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/mozilla'
| for dir in sbin; do \
|   make -C $dir install CERTSDIR=/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/$dir; \
| done
| make[1]: Entering directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/sbin'
| install -d /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin
| install -m755 update-ca-certificates /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin/
| make[1]: Leaving directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/sbin'
| Updating certificates in /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/etc/ssl/certs...
| /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin/update-ca-certificates: line 210: c_rehash: command not found
| WARNING: /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/run.do_install.16841:1 exit 127 from 'SYSROOT="/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux" /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin/update-ca-certificates'
| ERROR: Function failed: do_install (log file is located at /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/log.do_install.16841)
ERROR: Task 1070 (virtual:native:/home/paul/poky/poky/meta/recipes-support/ca-certificates/ca-certificates_20160104.bb, do_install) failed with exit code '1'
--------------------- snip ---------------------

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list