it seems like issue with some package on the host (libgdk-pixbuf) and happens when you are building in container. commenting line works but it worked on wsl and virtual box
i commented below 5 files scripts/postinst-intercepts/update_desktop_database scripts/postinst-intercepts/update_gio_module_cache scripts/postinst-intercepts/update_gtk_icon_cache scripts/postinst-intercepts/update_mime_database scripts/postinst-intercepts/update_pixbuf_cache