from ./mtpfs.h:25, from mtpfs.c:9: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:37: error: extra brace group at end of initializer 129 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpfs.h:80:29: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’ 80 | static GMutex device_lock = G_STATIC_MUTEX_INIT; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20210925-180029 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 456bd366bedf86d8e86f09de7bc0f24723b29677 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 26 06:21:27 2021 +0000 2021-09-26 06:21:26 UTC emerge -qpvO sys-fs/mtpfs [ebuild N ] sys-fs/mtpfs-1.1-r6 USE="-debug -mad"
Created attachment 741372 [details] emerge-info.txt
Created attachment 741375 [details] emerge-history.txt
Created attachment 741378 [details] environment
Created attachment 741381 [details] etc.portage.tar.bz2
Created attachment 741384 [details] logs.tar.bz2
Created attachment 741387 [details] sys-fs:mtpfs-1.1-r6:20210926-065352.log
Created attachment 741390 [details] temp.tar.bz2
Probably because of the upgrade of glib to 2.70
Indeed, if I got it correctly this was deprecated for some time and this upstream patch should do the trick: https://github.com/cjd/mtpfs/commit/ae9f70ab52e54e5442e68fb782c8f0aa940b5b96
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c778578a4f5e73a7edff20e09d35afbac7a8c06 commit 8c778578a4f5e73a7edff20e09d35afbac7a8c06 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2021-09-30 22:20:05 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2021-09-30 22:20:33 +0000 sys-fs/mtpfs: fix deprecated init of lock This became an error with glib 2.70 Closes: https://bugs.gentoo.org/814965 Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> .../files/mtpfs-1.1-deprecated_lock_init.patch | 24 ++++++++++++++++++++++ sys-fs/mtpfs/mtpfs-1.1-r6.ebuild | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-)