Package Details: peek 1.2.2-2

Git Clone URL: https://aur.archlinux.org/peek.git (read-only)
Package Base: peek
Description: Simple screen recorder with an easy to use interface
Upstream URL: https://github.com/phw/peek
Keywords: gif gnome screenrecorder
Licenses: GPL3
Submitter: phw
Maintainer: phw
Last Packager: phw
Votes: 60
Popularity: 6.259104
First Submitted: 2016-01-05 22:17
Last Updated: 2018-02-16 06:17

Latest Comments

Skycoder42 commented on 2018-02-16 11:34

The error seems to be related to broken make dependencies. As a workaround, you could change Line 31 from make to make || make. This will try to build a second time on a failure - has always worked for me

phw commented on 2018-02-16 07:46

@dogumon: Yes, I just had two sucessful builds of peek and peek-git, but seems I was just lucky. I also had it fail on manual makepkg -si, but less often. I tried to verify if this is related to Vala 0.38.8, but the unreliable building makes it hard to verify. Currently it builds most of the time unless it doesn't :) Since I didn't change anything build related I am very sure it is Vala' s fault.

dogumon commented on 2018-02-16 07:33

@phw Using yay or pacaur results in the same error for me. I'm not honestly sure what they're doing behind the scenes.

However, going into the folder it downloaded to and running makepkg -si manually builds successfully.

I tried yay again and it randomly worked this time. Very strange that it only happens sometimes.

phw commented on 2018-02-16 07:26

@dogumon: Yeah, can reproduce. Sometimes it builds, sometimes not. Not quite sure what's happening, I suspect the latest vala update broke something. Do you build in a chroot? It seems to me it is more often failing in a chroot, less often when run locally.

dogumon commented on 2018-02-16 07:21

Latest update fails to build for me

Errors:

/tmp/yaytmp-1000/peek/src/build/src/utils.c:15:10: fatal error: application.h: No such file or directory
 #include "application.h"

/tmp/yaytmp-1000/peek/src/build/src/desktop-integration.c:15:10: fatal error: application.h: No such file or directory
 #include "application.h"

/tmp/yaytmp-1000/peek/src/build/src/dbus/freedesktop-filemanager.c:9:10: fatal error: application.h: No such file or directory
 #include "application.h"

Full build log:

==> Starting build()...
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Peek version: 1.2.2
-- Found Vala: /usr/bin/valac (found version "0.38.8") 
-- Found Vala: /usr/bin/valac (found suitable version "0.38.8", minimum required is "0.22") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'gtk+-3.0>=3.14'
--   Found gtk+-3.0, version 3.22.28
-- Checking for module 'cairo'
--   Found cairo, version 1.15.10
-- Checking for module 'gio-2.0>=2.42'
--   Found gio-2.0, version 2.54.3
-- Checking for module 'glib-2.0>=2.38'
--   Found glib-2.0, version 2.54.3
-- Checking for module 'gmodule-2.0'
--   Found gmodule-2.0, version 2.54.3
-- Checking for module 'keybinder-3.0'
--   Found keybinder-3.0, version 0.3.2
-- Compiling with features for GTK >= 3.16
-- Compiling with features for GTK >= 3.20
-- Compiling with Gtk.FileChooserNative
-- Compiling with features for GTK >= 3.22
-- GSettings schemas will be installed locally.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- Copying schema to build directory /tmp/yaytmp-1000/peek/src/build/data
-- Building development schema in /tmp/yaytmp-1000/peek/src/build/data
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found txt2man and gzip; man page will be built and installed
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaytmp-1000/peek/src/build
Scanning dependencies of target generate-peek-nl-gmo
Scanning dependencies of target generate-peek-uk_UA-gmo
Scanning dependencies of target generate-peek-zh_Hans-gmo
Scanning dependencies of target generate-peek-sr-gmo
Scanning dependencies of target generate-peek-pt_PT-gmo
Scanning dependencies of target generate-peek-nap-gmo
[  1%] Generating ui/peek.gresource.c
Scanning dependencies of target generate-peek-pt_BR-gmo
Scanning dependencies of target generate-peek-ru-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/uk_UA.po: 61 translated messages, 8 fuzzy translations, 19 untranslated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/nl.po: 88 translated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/zh_Hans.po: 87 translated messages, 1 untranslated message.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/pt_PT.po: 63 translated messages, 8 fuzzy translations, 17 untranslated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/nap.po: 16 translated messages, 72 untranslated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/pt_BR.po: 78 translated messages, 3 fuzzy translations, 7 untranslated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/sr.po: 87 translated messages, 1 untranslated message.
[  1%] Built target generate-peek-nl-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/ru.po: 87 translated messages, 1 untranslated message.
[  1%] Built target generate-peek-zh_Hans-gmo
[  1%] Built target generate-peek-pt_PT-gmo
[  1%] Built target generate-peek-uk_UA-gmo
[  1%] Built target generate-peek-nap-gmo
[  1%] Built target generate-peek-sr-gmo
[  1%] Built target generate-peek-pt_BR-gmo
[  1%] Built target generate-peek-ru-gmo
Scanning dependencies of target generate-peek-es-gmo
[  2%] Generating src/main.c, src/application.c, src/desktop-integration.c, src/defaults.c, src/errordomain.c, src/gtk-helper.c, src/utils.c, src/dbus/freedesktop-dbus.c, src/dbus/freedesktop-filemanager.c, src/dbus/gnome-shell-screencast.c, src/post-processing/cli-post-processor.c, src/post-processing/extract-frames-post-processor.c, src/post-processing/ffmpeg-post-processor.c, src/post-processing/gifski-post-processor.c, src/post-processing/imagemagick-post-processor.c, src/post-processing/post-processing-pipeline.c, src/post-processing/post-processor.c, src/recording/avconv-screen-recorder.c, src/recording/base-screen-recorder.c, src/recording/cli-screen-recorder.c, src/recording/ffmpeg-screen-recorder.c, src/recording/ffmpeg.c, src/recording/gnome-shell-dbus-recorder.c, src/recording/recording-area.c, src/recording/recording-config.c, src/recording/screen-recorder-factory.c, src/recording/screen-recorder.c, src/ui/about-dialog.c, src/ui/application-window.c, src/ui/error-dialog.c, src/ui/preferences-dialog.c, src/ui/shortcut-label.c, application.h, application_internal.h
Scanning dependencies of target generate-peek-sv-gmo
Scanning dependencies of target generate-peek-cs-gmo
Scanning dependencies of target generate-peek-de-gmo
Scanning dependencies of target generate-peek-eo-gmo
Scanning dependencies of target generate-peek-zh_Hant-gmo
Scanning dependencies of target generate-peek-ar-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/es.po: 67 translated messages, 7 fuzzy translations, 14 untranslated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/cs.po: 88 translated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/de.po: 88 translated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/sv.po: 88 translated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/zh_Hant.po: 70 translated messages, 4 fuzzy translations, 14 untranslated messages.
Scanning dependencies of target generate-peek-it-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/ar.po: 86 translated messages, 2 fuzzy translations.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/eo.po: 88 translated messages.
[  2%] Built target generate-peek-de-gmo
[  2%] Built target generate-peek-es-gmo
[  2%] Built target generate-peek-cs-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/it.po: 74 translated messages[  2%] Built target generate-peek-sv-gmo
, 5 fuzzy translations, 9 untranslated messages.
[  2%] Built target generate-peek-zh_Hant-gmo
[  2%] Built target generate-peek-ar-gmo
[  2%] Built target generate-peek-eo-gmo
Scanning dependencies of target generate-peek-ca-gmo
Scanning dependencies of target generate-peek-eu-gmo
Scanning dependencies of target generate-peek-el-gmo
[  2%] Built target generate-peek-it-gmo
Scanning dependencies of target generate-peek-hr-gmo
Scanning dependencies of target generate-peek-fr-gmo
Scanning dependencies of target generate-peek-ko-gmo
Scanning dependencies of target generate-peek-pl-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/ca.po: 28 translated messages, 5 fuzzy translations, 55 untranslated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/eu.po: 87 translated messages, 1 untranslated message.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/el.po:7: warning: header field 'PO-Revision-Date' still has the initial default value
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/el.po: 8 translated messages, 80 untranslated messages.
Scanning dependencies of target generate-peek-id-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/ko.po: 14 translated messages, 1 fuzzy translation, 73 untranslated messages.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/fr.po: /tmp/yaytmp-1000/peek/src/peek-1.2.2/po/pl.po: 88 translated messages87 translated messages.
, 1 untranslated message.
[  2%] Built target generate-peek-ca-gmo
[  2%] Built target generate-peek-eu-gmo
[  2%] Built target generate-peek-el-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/hr.po: 35 translated messages, 10 fuzzy translations, 43 untranslated messages.
[  2%] Built target generate-peek-fr-gmo
[  2%] Built target generate-peek-ko-gmo
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/id.po: 38 translated messages, 7 fuzzy translations, 43 untranslated messages.
[  2%] Built target generate-peek-pl-gmo
Scanning dependencies of target build-appdata-file
Scanning dependencies of target generate-peek-nb-gmo
[  2%] Built target generate-peek-hr-gmo
Scanning dependencies of target generate-peek-lt-gmo
[  2%] Built target generate-peek-id-gmo
Scanning dependencies of target build-desktop-file
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:130: warning: overriding recipe for target 'src/recording/recording-area.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:101: warning: ignoring old recipe for target 'src/recording/recording-area.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:139: warning: overriding recipe for target 'src/defaults.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:116: warning: ignoring old recipe for target 'src/defaults.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:142: warning: overriding recipe for target 'src/utils.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:122: warning: ignoring old recipe for target 'src/utils.c'
[  4%] Generating test-desktop-integration.c, ../src/desktop-integration.c, ../src/dbus/freedesktop-filemanager.c
Scanning dependencies of target build-manpage
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/nb.po: 87 translated messages, 1 untranslated message.
/tmp/yaytmp-1000/peek/src/peek-1.2.2/po/lt.po: 87 translated messages, 1 untranslated message.
[  5%] Generating test-utils.c, ../src/defaults.c, ../src/utils.c
[  6%] Generating test-utils.c, ../src/defaults.c, ../src/utils.c
[  8%] Generating com.uploadedlobster.peek.desktop
[  9%] Generating com.uploadedlobster.peek.appdata.xml
[ 10%] Generating peek.1.gz
[ 10%] Built target generate-peek-nb-gmo
[ 10%] Built target generate-peek-lt-gmo
[ 12%] Generating screen-recorder/test-recording-area.c, ../src/recording/recording-area.c
Scanning dependencies of target update-gmo
gawk: warning: escape sequence `\ ' treated as plain ` '
[ 12%] Built target update-gmo
[ 12%] Built target build-appdata-file
[ 12%] Built target build-desktop-file
[ 12%] Built target build-manpage
[ 13%] Generating screen-recorder/test-recording-area.c, ../src/recording/recording-area.c
[ 15%] Generating screen-recorder/test-cli-screen-recorder.c, ../src/post-processing/cli-post-processor.c, ../src/post-processing/extract-frames-post-processor.c, ../src/post-processing/ffmpeg-post-processor.c, ../src/post-processing/gifski-post-processor.c, ../src/post-processing/imagemagick-post-processor.c, ../src/post-processing/post-processing-pipeline.c, ../src/post-processing/post-processor.c, ../src/recording/recording-area.c, ../src/recording/recording-config.c, ../src/recording/screen-recorder.c, ../src/recording/base-screen-recorder.c, ../src/recording/cli-screen-recorder.c, ../src/defaults.c, ../src/errordomain.c, ../src/utils.c
/tmp/yaytmp-1000/peek/src/peek-1.2.2/src/recording/recording-area.vala:43.26-43.41: warning: Gdk.Screen.get_width has been deprecated since 3.22
/tmp/yaytmp-1000/peek/src/peek-1.2.2/src/recording/recording-area.vala:44.27-44.43: warning: Gdk.Screen.get_height has been deprecated since 3.22
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:43.26-43.41: warning: Gdk.Screen.get_width has been deprecated since 3.22
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:44.27-44.43: warning: Gdk.Screen.get_height has been deprecated since 3.22
Compilation succeeded - 2 warning(s)
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:43.26-43.41: warning: Gdk.Screen.get_width has been deprecated since 3.22
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:44.27-44.43: warning: Gdk.Screen.get_height has been deprecated since 3.22
Scanning dependencies of target peek-test-utils
Scanning dependencies of target peek-test-desktop-integration
Scanning dependencies of target peek-screen-recorder-test-recording-area
[ 16%] Building C object tests/CMakeFiles/peek-test-utils.dir/__/src/defaults.c.o
[ 17%] Building C object tests/CMakeFiles/peek-test-utils.dir/test-utils.c.o
Compilation succeeded - 2 warning(s)
[ 19%] Building C object tests/CMakeFiles/peek-test-utils.dir/__/src/utils.c.o
[ 20%] Building C object tests/CMakeFiles/peek-test-desktop-integration.dir/test-desktop-integration.c.o
[ 21%] Building C object tests/CMakeFiles/peek-test-desktop-integration.dir/__/src/desktop-integration.c.o
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:43.26-43.41: warning: Gdk.Screen.get_width has been deprecated since 3.22
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:44.27-44.43: warning: Gdk.Screen.get_height has been deprecated since 3.22
[ 23%] Building C object tests/CMakeFiles/peek-test-desktop-integration.dir/__/src/dbus/freedesktop-filemanager.c.o
[ 23%] Generating screen-recorder/test-recording-area.c, ../src/recording/recording-area.c
/tmp/yaytmp-1000/peek/src/build/src/utils.c:15:10: fatal error: application.h: No such file or directory
 #include "application.h"
          ^~~~~~~~~~~~~~~
/tmp/yaytmp-1000/peek/src/build/src/desktop-integration.c:15:10: fatal error: application.h: No such file or directory
 #include "application.h"
          ^~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
make[2]: *** [tests/CMakeFiles/peek-test-utils.dir/build.make:123: tests/CMakeFiles/peek-test-utils.dir/__/src/utils.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [tests/CMakeFiles/peek-test-desktop-integration.dir/build.make:99: tests/CMakeFiles/peek-test-desktop-integration.dir/__/src/desktop-integration.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/yaytmp-1000/peek/src/build/src/dbus/freedesktop-filemanager.c:9:10: fatal error: application.h: No such file or directory
 #include "application.h"
          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/peek-test-desktop-integration.dir/build.make:123: tests/CMakeFiles/peek-test-desktop-integration.dir/__/src/dbus/freedesktop-filemanager.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3093: tests/CMakeFiles/peek-test-desktop-integration.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Compilation succeeded - 2 warning(s)
make[1]: *** [CMakeFiles/Makefile2:3130: tests/CMakeFiles/peek-test-utils.dir/all] Error 2
Compilation succeeded - 2 warning(s)
Scanning dependencies of target peek-test-screen-recorder-cli-screen-recorder
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:130: warning: overriding recipe for target 'src/recording/recording-area.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:101: warning: ignoring old recipe for target 'src/recording/recording-area.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:139: warning: overriding recipe for target 'src/defaults.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:116: warning: ignoring old recipe for target 'src/defaults.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:142: warning: overriding recipe for target 'src/utils.c'
tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/build.make:122: warning: ignoring old recipe for target 'src/utils.c'
[ 24%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/screen-recorder/test-cli-screen-recorder.c.o
[ 26%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/post-processing/cli-post-processor.c.o
[ 27%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/post-processing/extract-frames-post-processor.c.o
[ 28%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/post-processing/ffmpeg-post-processor.c.o
[ 30%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/post-processing/gifski-post-processor.c.o
[ 31%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/post-processing/imagemagick-post-processor.c.o
Scanning dependencies of target peek
[ 32%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/post-processing/post-processing-pipeline.c.o
[ 34%] Building C object CMakeFiles/peek.dir/src/main.c.o
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:43.26-43.41: warning: Gdk.Screen.get_width has been deprecated since 3.22
/tmp/yaytmp-1000/peek/src/peek-1.2.2/tests/../src/recording/recording-area.vala:44.27-44.43: warning: Gdk.Screen.get_height has been deprecated since 3.22
Compilation succeeded - 2 warning(s)
[ 35%] Building C object tests/CMakeFiles/peek-screen-recorder-test-recording-area.dir/screen-recorder/test-recording-area.c.o
[ 36%] Building C object CMakeFiles/peek.dir/src/application.c.o
[ 38%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/post-processing/post-processor.c.o
[ 39%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/recording/recording-area.c.o
[ 41%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/recording/recording-config.c.o
[ 42%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/recording/screen-recorder.c.o
[ 43%] Building C object tests/CMakeFiles/peek-screen-recorder-test-recording-area.dir/__/src/recording/recording-area.c.o
[ 45%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/recording/base-screen-recorder.c.o
[ 46%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/recording/cli-screen-recorder.c.o
[ 47%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/defaults.c.o
[ 49%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/errordomain.c.o
[ 50%] Building C object tests/CMakeFiles/peek-test-screen-recorder-cli-screen-recorder.dir/__/src/utils.c.o
[ 52%] Building C object CMakeFiles/peek.dir/src/desktop-integration.c.o
[ 53%] Linking C executable peek-screen-recorder-test-recording-area
[ 54%] Building C object CMakeFiles/peek.dir/src/defaults.c.o
[ 56%] Building C object CMakeFiles/peek.dir/src/errordomain.c.o
[ 57%] Building C object CMakeFiles/peek.dir/src/gtk-helper.c.o
[ 58%] Building C object CMakeFiles/peek.dir/src/utils.c.o
[ 60%] Building C object CMakeFiles/peek.dir/src/dbus/freedesktop-dbus.c.o
[ 61%] Building C object CMakeFiles/peek.dir/src/dbus/freedesktop-filemanager.c.o
[ 63%] Building C object CMakeFiles/peek.dir/src/dbus/gnome-shell-screencast.c.o
[ 63%] Built target peek-screen-recorder-test-recording-area
[ 64%] Building C object CMakeFiles/peek.dir/src/post-processing/cli-post-processor.c.o
[ 65%] Building C object CMakeFiles/peek.dir/src/post-processing/extract-frames-post-processor.c.o
[ 67%] Linking C executable peek-test-screen-recorder-cli-screen-recorder
[ 68%] Building C object CMakeFiles/peek.dir/src/post-processing/ffmpeg-post-processor.c.o
[ 69%] Building C object CMakeFiles/peek.dir/src/post-processing/gifski-post-processor.c.o
[ 71%] Building C object CMakeFiles/peek.dir/src/post-processing/imagemagick-post-processor.c.o
[ 72%] Building C object CMakeFiles/peek.dir/src/post-processing/post-processing-pipeline.c.o
[ 72%] Built target peek-test-screen-recorder-cli-screen-recorder
[ 73%] Building C object CMakeFiles/peek.dir/src/post-processing/post-processor.c.o
[ 75%] Building C object CMakeFiles/peek.dir/src/recording/avconv-screen-recorder.c.o
[ 76%] Building C object CMakeFiles/peek.dir/src/recording/base-screen-recorder.c.o
[ 78%] Building C object CMakeFiles/peek.dir/src/recording/cli-screen-recorder.c.o
[ 79%] Building C object CMakeFiles/peek.dir/src/recording/ffmpeg-screen-recorder.c.o
[ 80%] Building C object CMakeFiles/peek.dir/src/recording/ffmpeg.c.o
[ 82%] Building C object CMakeFiles/peek.dir/src/recording/gnome-shell-dbus-recorder.c.o
[ 83%] Building C object CMakeFiles/peek.dir/src/recording/recording-area.c.o
[ 84%] Building C object CMakeFiles/peek.dir/src/recording/recording-config.c.o
[ 86%] Building C object CMakeFiles/peek.dir/src/recording/screen-recorder-factory.c.o
[ 87%] Building C object CMakeFiles/peek.dir/src/recording/screen-recorder.c.o
[ 89%] Building C object CMakeFiles/peek.dir/src/ui/about-dialog.c.o
[ 90%] Building C object CMakeFiles/peek.dir/src/ui/application-window.c.o
[ 91%] Building C object CMakeFiles/peek.dir/src/ui/error-dialog.c.o
[ 93%] Building C object CMakeFiles/peek.dir/src/ui/preferences-dialog.c.o
[ 94%] Building C object CMakeFiles/peek.dir/src/ui/shortcut-label.c.o
[ 95%] Building C object CMakeFiles/peek.dir/ui/peek.gresource.c.o
[ 97%] Linking C executable peek
[ 97%] Built target peek
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
exit status 2

phw commented on 2017-11-17 09:23

@ererermao: Please report issues with Peek on https://github.com/phw/peek/issues/, the AUR is not the appropriate place for discussing this. For your particular issue please try peek-git.

ererermao commented on 2017-11-17 09:21

I have error,Can you help me.I can't save gif file in filesystem.
```bash
Using screen recorder backend gnome-shell
Recording to file /home/shaoyu/.cache/peek/peekXXXXXX.avi
convert: delegate failed `'ffmpeg' -nostdin -v -1 -i '%i' -vframes %S -vcodec pam -an -f rawvideo -y '%u.pam' 2> '%u'' @ error/delegate.c/InvokeDelegate/1919.
convert: unable to read image data `/home/shaoyu/.cache/peek/magick-23164Po0cKOcL2g57.pam' @ error/pnm.c/ReadPNMImage/1336.
convert: no images defined `/home/shaoyu/.cache/peek/peekXXXXXX.gif' @ error/convert.c/ConvertImageCommand/3258.
Error: Child process exited with code 1
File save error: Error when getting information for file “/home/shaoyu/.cache/peek/peekXXXXXX.gif”: No such file or directory
Temp file delete error: Error removing file /home/shaoyu/.cache/peek/peekXXXXXX.gif: No such file or directory
```

kinono commented on 2017-09-20 13:01

@phw Thanks for your help.

Anaconda3 is a scientific distribution of python. The install program of it simply copies some files to a directory and add a line in the .bashrc file:
```
export PATH="<path-to-anaconda3>/bin:$PATH"
```

I switched the position of $PATH and the anaconda path in this line, and now peek can be installed and works well.

phw commented on 2017-09-20 11:24

@kinono It is using /home/kinono/anaconda3/bin/glib-compile-resources instead of the system provided /usr/bin/glib-compile-resources .

I have no idea what anaconda3 is, but I suggest checking your $PATH as the ancaconda3 provided glib-compile-resources does not seem to be compatible with your system libraries.

kinono commented on 2017-09-20 11:00

I am using Manjaro 17.0.5 (KDE) and peek can't be build while installing. It seems to have something to do with libselinux (or maybe Anaconda) but I have no idea what happened.

```
==> Starting build()...
-- The C compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Vala: /usr/bin/valac (found version "0.36.4")
-- Found Vala: /usr/bin/valac (found suitable version "0.36.4", minimum required is "0.22")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'gtk+-3.0>=3.14'
-- Found gtk+-3.0, version 3.22.21
-- Checking for module 'cairo'
-- Found cairo, version 1.15.8
-- Checking for module 'gio-2.0>=2.42'
-- Found gio-2.0, version 2.52.3
-- Checking for module 'glib-2.0>=2.38'
-- Found glib-2.0, version 2.52.3
-- Checking for module 'gmodule-2.0'
-- Found gmodule-2.0, version 2.52.3
-- Checking for module 'keybinder-3.0'
-- Found keybinder-3.0, version 0.3.2
/home/kinono/anaconda3/bin/glib-compile-resources: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
-- Compiling with features for GTK >= 3.16
-- Compiling with features for GTK >= 3.22
-- GSettings schemas will be installed locally.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- Copying schema to build directory /tmp/yaourt-tmp-kinono/aur-peek/src/build/data
-- Building development schema in /tmp/yaourt-tmp-kinono/aur-peek/src/build/data
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-kinono/aur-peek/src/build
[ 1%] Generating ui/peek.gresource.c
/home/kinono/anaconda3/bin/glib-compile-resources: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/peek.dir/build.make:166: ui/peek.gresource.c] Error 127
make[1]: *** [CMakeFiles/Makefile2:419: CMakeFiles/peek.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build peek.
==> Restart building peek ? [y/N]
==> -----------------------------
```

Thanks.

All comments