phuhl/linux_notification_center

Build failed while building package glib-0.13.8.0

Closed this issue · 2 comments

Hello I want to install the package via the AUR (paru -S deadd-notification-center) but I encounter the following error :

Progress 93/109

--  While building package glib-0.13.8.0 (scroll up to its section to see the error) using:
      /tmp/stack-5205d92211920af5/glib-0.13.8.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1 build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1


--  While building package cairo-0.13.5.0 (scroll up to its section to see the error) using:
      /tmp/stack-5205d92211920af5/cairo-0.13.5.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1 build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1
make: *** [Makefile:38: stack] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'deadd-notification-center-1.7.3-1':
error: packages failed to build: deadd-notification-center-1.7.3-1
lens                     > [54 of 83] Compiling Control.Lens.TH
glib                     > Configuring glib-0.13.8.0...
glib                     > build
glib                     > Preprocessing library for glib-0.13.8.0..
glib                     > setup: Error in C header file.
glib                     >
glib                     > glib-object.i:1: (column 1) [FATAL]
glib                     >   >>> Lexical error!
glib                     >   The character '#' does not fit here.

With the git package (deadd-notification-center-git) I have :

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for deadd-notification-center-1.7.3:
    linux-notification-center needed, but the stack configuration has no specified version (no package with that name found, perhaps there is a
                              typo in a package's build-depends or an omission from the stack.yaml packages list?)
needed since deadd-notification-center is a build target.

Work well with the bin package (deadd-notification-center-bin).

phuhl commented

Hi @bouteillerAlan, the issue with the git package should be fixed as soon as #181 is merged (which I will do today, hopefully). The non-git package is very old and not well mainained (:see_no_evil:) at the moment

Ok thanks for the informations :)