owickstrom / komposition

The video editor built for screencasters
https://owickstrom.github.io/komposition/
Mozilla Public License 2.0
428 stars 22 forks source link

Failure to build komposition 0.2.0 with ghc 8.8.4 on macOS #104

Open fxcoudert opened 3 years ago

fxcoudert commented 3 years ago

Describe the bug Failure to build komposition 0.2.0 with ghc 8.8.4 on macOS, as part of Homebrew: https://github.com/Homebrew/homebrew-core/pull/62694

To Reproduce

cabal v2-update
cabal v2-install --jobs=6 --max-backjumps=100000 --install-method=copy --installdir=/usr/local/Cellar/komposition/0.2.0_3/bin

Expected behavior A clear and concise description of what you expected to happen.

Error output

2020-10-12T11:59:50.7171450Z Failed to build gi-glib-2.0.23. The failure occurred during the configure
2020-10-12T11:59:50.7171920Z step.
2020-10-12T11:59:50.7172160Z Build log (
2020-10-12T11:59:50.7173680Z /private/tmp/komposition-20201012-1270-1j0mphc/komposition-0.2.0/.brew_home/.cabal/logs/ghc-8.8.4/g-glb-2.0.23-60ba7672.log
2020-10-12T11:59:50.7174430Z ):
2020-10-12T11:59:50.7176340Z [1 of 1] Compiling Main             ( /private/tmp/cabal-install.-1400/dist-newstyle/tmp/src-1400/gi-glib-2.0.23/dist/setup/setup.hs, /private/tmp/cabal-install.-1400/dist-newstyle/tmp/src-1400/gi-glib-2.0.23/dist/setup/Main.o )
2020-10-12T11:59:50.7178260Z Linking /private/tmp/cabal-install.-1400/dist-newstyle/tmp/src-1400/gi-glib-2.0.23/dist/setup/setup ...
2020-10-12T11:59:50.7179120Z Unknown GIR element "docsection" when processing namespace "GLib", aborting.
2020-10-12T11:59:50.7179690Z CallStack (from HasCallStack):
2020-10-12T11:59:50.7181200Z   error, called at lib/Data/GI/CodeGen/API.hs:199:16 in hskll-g-0.23.1-5232f4d8:Data.GI.CodeGen.API
2020-10-12T11:59:50.7182570Z cabal: Failed to build gi-glib-2.0.23 (which is required by
2020-10-12T11:59:50.7184090Z exe:komposition-split from komposition-0.2.0 and exe:komposition from
2020-10-12T11:59:50.7185410Z komposition-0.2.0). See the build log above for details.

Desktop (please complete the following information):

athas commented 3 years ago

Looks like an upstream issue.