Maccraft123/Cadmium

Bug with vbutil_kernel

Closed this issue · 1 comments

I've been trying a few things lately with the latest Cadmium repo. While on that venture, I happen to come across this bug towards the very end of the chroot process:

dd if=/dev/zero of=bootloader.bin bs=512 count=1 1+0 records in 1+0 records out 512 bytes copied, 0.00016287 s, 3.1 MB/s vbutil_kernel --pack vmlinux.kpart \ --version 1 \ --vmlinuz vmlinux.uimg \ --arch arm \ --keyblock /usr/share/vboot/devkeys/kernel.keyblock \ --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \ --config cmdline \ --bootloader bootloader.bin vbutil_kernel: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

I had thought it was because openssl-1.0 (which provides libcrypto.so.1.1) wasn't installed, so I made sure it was installed.

I modified a script that gets executed early on in the chroot phase so it installs it. The machine that's running all of this also has openssl-1.0 installed.

Despite this, it unfortunately didn't fix anything. Update on the WiFi situation: I might have an idea to why WiFi broke on the Veyron_Minnie though after doing a bit of digging on the internet and testing out a method that made WiFi functional once more on standard mainline Arch Alarm.

Hopefully I can get vbutil_kernel to cooperate with me soon.

I'm able to confirm today this is some issue on my end. For some reason, you also can't build vboot-utils (at least I can't) from the AUR. You get an error that makes the build fail. Using a precompiled vboot-utils simply throws you that error from above from what I understand.

It seems like it's because of OpenSSL 3 when looking at the decoration warnings. I take that it wants to use things that OpenSSL 3 has deprecated. There's at least one unrecognized flag that gets put through it that might be an indicator. Might be a GCC version related thing as well? Not all 100% too sure on that. Maybe it's specifically not something that causes the build to fail?

Found this: https://www.reddit.com/r/archlinux/comments/ymv7vp/reminder_to_rebuild_aur_packages_on_soname_updates/ which also shows this: https://github.com/maximbaz/rebuild-detector