Building glib-0.13.7.0... Preprocessing library glib-0.13.7.0... setup: Error in C header file. /usr/include/glib-2.0/glib/gspawn.h:76: (column 22) [FATAL] >>> Syntax error! ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-libressl_abi32+64-20200307-151705 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.41.1 [2] rust-1.41.1 * The following VMs are available for generation-2: *) IcedTea JDK 3.15.0 [icedtea-8] 2) IcedTea JDK 3.14.0 [icedtea-bin-8] 3) JamVM JDK 2.0.0 [jamvm] Available Java Virtual Machines: [1] icedtea-8 system-vm [2] icedtea-bin-8 [3] jamvm The Glorious Glasgow Haskell Compilation System, version 8.0.2 repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Mon, 16 Mar 2020 23:38:29 +0000 emerge -qpvO dev-haskell/glib [ebuild N ] dev-haskell/glib-0.13.7.0 USE="closure-signals -doc -hscolour -profile"
Created attachment 620878 [details] emerge-info.txt
Created attachment 620880 [details] dev-haskell:glib-0.13.7.0:20200317-003253.log
Created attachment 620882 [details] emerge-history.txt
Created attachment 620884 [details] environment
Created attachment 620886 [details] etc.portage.tbz2
Created attachment 620888 [details] temp.tbz2
Preprocessing library glib-0.13.7.0... setup: Error in C header file. /usr/include/glib-2.0/glib/gspawn.h:76: (column 22) [FATAL] >>> Syntax error! The symbol `__attribute__' does not fit here. * ERROR: dev-haskell/glib-0.13.7.0::gentoo failed (compile phase): c2hs would need to have a way to handle attributes within enums: """ typedef enum { GLIB_DEPRECATED_ENUMERATOR_IN_2_32_FOR(G_SPAWN_ERROR_TOO_BIG) = G_SPAWN_ERROR_TOO_BIG, """
https://github.com/gtk2hs/gtk2hs/issues/276
Yeah, the workaround looks reasonable. I hoped that c2hs would eventally just handle it. But looks like it will take some time to extend attribute parser to enums.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20749331ba9e38d30081a1c92cecf47af79c73f5 commit 20749331ba9e38d30081a1c92cecf47af79c73f5 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-06-06 10:54:57 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-06-06 10:54:57 +0000 dev-haskell/gtk: add __attribute__ workaround Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/712988 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-haskell/gtk/gtk-0.14.10-r3.ebuild | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bf02ceaa33cdc86133c3b995e5d5f779b3f014 commit 91bf02ceaa33cdc86133c3b995e5d5f779b3f014 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-06-06 10:59:26 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-06-06 11:09:45 +0000 dev-haskell/gtk: drop pld Closes: https://bugs.gentoo.org/712988 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-haskell/gtk/Manifest | 3 -- dev-haskell/gtk/gtk-0.12.5.7.2.ebuild | 61 ----------------------------------- dev-haskell/gtk/gtk-0.13.9.ebuild | 43 ------------------------ dev-haskell/gtk/gtk-0.14.10-r2.ebuild | 50 ---------------------------- dev-haskell/gtk/gtk-0.14.6.ebuild | 43 ------------------------ 5 files changed, 200 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093d939c07c22eb424cd09c225b063c09f29763c commit 093d939c07c22eb424cd09c225b063c09f29763c Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-06-06 10:57:59 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-06-06 11:09:45 +0000 dev-haskell/gtk: add forgotten patch Bug: https://bugs.gentoo.org/712988 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-haskell/gtk/files/gtk-0.14.10-glib-2.62.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+)