These three symlinks are broken: [clsulliv@clsulliv build]$ ls -lah tmp/work/x86_64-linux/openssl-native/1.0.2j-r0/sysroot-destdir/home/clsulliv/yocto/poky/build/tmp/work/x86_64-linux/openssl-native/1.0.2j-r0/recipe-sysroot-native/usr/lib/ssl/ total 28K drwxrwxr-x. 4 clsulliv clsulliv 4.0K Jan 26 10:43 . drwxr-xr-x. 5 clsulliv clsulliv 4.0K Jan 26 10:43 .. lrwxrwxrwx. 2 clsulliv clsulliv 98 Jan 26 10:43 certs -> ./../../../../../../work/x86_64-linux/openssl-native/1.0.2j-r0/recipe-sysroot-native/etc/ssl/certs drwxrwxr-x. 2 clsulliv clsulliv 4.0K Jan 26 10:43 engines drwxrwxr-x. 2 clsulliv clsulliv 4.0K Jan 26 10:43 misc lrwxrwxrwx. 2 clsulliv clsulliv 104 Jan 26 10:43 openssl.cnf -> ./../../../../../../work/x86_64-linux/openssl-native/1.0.2j-r0/recipe-sysroot-native/etc/ssl/openssl.cnf lrwxrwxrwx. 2 clsulliv clsulliv 100 Jan 26 10:43 private -> ./../../../../../../work/x86_64-linux/openssl-native/1.0.2j-r0/recipe-sysroot-native/etc/ssl/private It looks like they need to point two directories higher. The following works, for example: ./../../../../../../../../work/x86_64-linux/openssl-native/1.0.2j-r0/recipe-sysroot-native/etc/ssl/openssl.cnf
Is there functionality that is missing or did you just notice the links being broken?
Yes, I'm working with a project that uses openssl and looks one of those files. I end up getting the following error: | WARNING: can't open config file: /home/clsulliv/yocto/poky/build/tmp/work/corei7-64-poky-linux/shim/0.8-r0/recipe-sysroot-native/usr/lib/ssl/openssl.cnf | Unable to load config info from /home/clsulliv/yocto/poky/build/tmp/work/corei7-64-poky-linux/shim/0.8-r0/recipe-sysroot-native/usr/lib/ssl/openssl.cnf
Current status: * I sent a patch that kept the current approach and just fixed the immediate issue (see "Fix make_relative_symlink() for RSS" on mailing list) * Richard wrote a WIP patch of his own which expects recipes (that need relative symlinks in sysroots) to inherit relative_symlinks.bbclass, this is in poky-contrib "rpurdie/wip-rss" branch, see http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=rpurdie/wip-rss&id=66fd96de606622aab76e9490e5ef158d50f3c8a9 * I've run a world build with the above branch and the sysroot symlinks all seem correct to me now. I did not find any other recipes needing the class than openssl, bzip2 and fontconfig that are already handled in the branch. I do not understand the gcc-cross related parts though. Reassigning to RP as I don't know if there's anything more I can do: Let me know if there is.
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=23d9886aae0296de363545ad7a229722ed83e708 (following patch makes sstate error for absolute symlinks too)