For building the cmake snap, I use the
snapcraft remote-build feature so I can cover all platforms fairly easily. This has been working fine for quite a few releases now and it continues to work. However, today I was running snapcraft from a new machine running Ubuntu 20 (previously ran it from an Ubuntu 18 VM). The packages all got generated fine and looked normal. But when I ran the cmake-gui app to test the packages, I saw an error on the terminal that I hadn’t seen before:
/snap/cmake/912/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /lib/x86_64-linux-gnu/libglib-2.0.so.0) ERROR: /snap/cmake/912/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders exited abnormally with status 1
It isn’t fatal, the app continues anyway, but I’d like to understand the cause and address the reason behind it if possible. Does anyone know what’s going on with this?
For reference, you can see the repo that produces the CMake snap here:
doRelease.sh script in that directory is what I use to produce the packages. It’s not perfect, but it has been getting the job done. The configuration currently uses core18 as its base. I will probably update it to use core20 in the coming months, but I didn’t have time to adequately explore and test it for this release.