flathub / com.visualstudio.code

https://flathub.org/apps/details/com.visualstudio.code
136 stars 68 forks source link

libsframe needs to be copied when updating to runtime 23.08 #436

Closed bbhtt closed 10 months ago

bbhtt commented 10 months ago

Hi, this is a heads up.

ar since binutils >=2.40 links against libsframe but binutils is entirely in the SDK and not in platform runtime. So libsframe needs to be copied, else the apply_extra script won't work.

cp -a /usr/lib/$(gcc --print-multiarch)/libsframe.so* ${FLATPAK_DEST}/lib

Another option is to use bsdtar instead of ar.

Thanks

bbhtt commented 10 months ago

Ahah, this is using, SDK as runtime, so it's safe. Sorry for the noise.