Package Details: collision 3.8.0-1

Git Clone URL: https://aur.archlinux.org/collision.git (read-only, click to copy)
Package Base: collision
Description: Check hashes for your files. A simple GUI tool to generate, compare and verify MD5, SHA1 & SHA256 hashes
Upstream URL: https://collision.geopjr.dev
Licenses: BSD-2-Clause
Conflicts: collision-hashes, hashbrown
Submitter: igor-dyatlov
Maintainer: igor-dyatlov (yochananmarqos)
Last Packager: yochananmarqos
Votes: 6
Popularity: 0.000069
First Submitted: 2022-06-06 19:42 (UTC)
Last Updated: 2024-03-31 18:35 (UTC)

Dependencies (9)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

DodoLeDev commented on 2022-12-03 14:33 (UTC) (edited on 2022-12-03 14:35 (UTC) by DodoLeDev)

Hi! While building the latest version of Collision, I get each time this compilation error:

==> Starting package_collision-nautilus-extension()...
install: unable to create the standard file '/home/dodoledev/.cache/yay/collision/pkg/collision-nautilus-extension/share/nautilus-python/extensions/': Not a folder
==> ERROR: A failure occurred in package_collision-nautilus-extension().
    Aborting...

After some investigations, it seems that there is a problem with the PKGBUILD file:

package_collision-nautilus-extension() {
    pkgdesc="GNOME Files extension that adds a (Check Hashes) context menu item"

    cd "$_source-$pkgver"

    mkdir -p "$pkgdir/usr/share/nautilus-python/extensions/"
    install -Dm644 nautilus-extension/collision-extension.py "$pkgdir/share/nautilus-python/extensions/"

The mkdir line creates a folder not used in the install line!

Please update your PKGBUILD file with this instead:

    mkdir -p "$pkgdir/usr/share/nautilus-python/extensions/"
    install -Dm644 nautilus-extension/collision-extension.py "$pkgdir/usr/share/nautilus-python/extensions/"

Hope I helped you!

saltedcoffii commented on 2022-11-17 09:15 (UTC) (edited on 2022-11-17 09:40 (UTC) by saltedcoffii)

I'm getting a build failure:

https://pastebin.mozilla.org/J9O1iiMh

This occurs even in a clean chroot.

setting MAKEFLAGS to -j1 in /etc/makepkg.conf seems to fix the error. Perhaps set it manually in the PKGBUILD for the time being and report an error upstream?

igor-dyatlov commented on 2022-10-19 15:13 (UTC)

@yochananmarqos: I don't even know how I can reproduce this problem. Try to build with a VPN and on a virtual machine. I tried, the build is successful

Video of the build on a virtual machine in chroot: https://send.internxt.com/download/7ac5ca7a-8131-4497-9f82-fdc583b6b4a7?code=ecf408ece16b6659afadd9d3d7f0362d851b7439ba3697aa1f32e6d5c120772f Ready binary: sha1 54de97e378b5162ab64b3f7f73a7e5a6d95d6dfd https://send.internxt.com/download/db04417c-2f8a-4e7b-a412-1440f6964780?code=163737907a21ed78c7dec62aaf5006eb3c134d1f8e63e631cdca5ed966bc100c

yochananmarqos commented on 2022-10-17 15:36 (UTC)

@kajlao: I still get the Failed to clone https://github.com/geopjr/libadwaita.cr.git error like in @Tio's log below.

kajlao commented on 2022-10-17 00:48 (UTC)

Compiles fine for me.

yochananmarqos commented on 2022-10-16 21:24 (UTC)

@igor-dyatlov: This still doesn't build for myself and others. What's your secret?

Tio commented on 2022-07-15 03:52 (UTC)

Fails to build:

COLLISION_LOCALE_LOCATION="/usr/share/locale" shards build -Dpreview_mt --release --no-debug
Resolving dependencies
Resolving dependencies
Fetching https://github.com/geopjr/libadwaita.cr.git
Fetching https://github.com/elorest/compiled_license.git
Fetching https://github.com/geopjr/non-blocking-spawn.git
Fetching https://github.com/geopjr/gettext.cr.git
Fetching https://github.com/geopjr/libadwaita.cr.git
Fetching https://github.com/elorest/compiled_license.git
Fetching https://github.com/geopjr/non-blocking-spawn.git
Fetching https://github.com/geopjr/gettext.cr.git
Failed to clone https://github.com/geopjr/libadwaita.cr.git
make: *** [Makefile:13: build] Error 1
make: *** Waiting for unfinished jobs....
Failed to clone https://github.com/geopjr/non-blocking-spawn.git
make: *** [Makefile:9: bindings] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

SleepingPanda commented on 2022-07-12 21:04 (UTC) (edited on 2022-07-16 08:13 (UTC) by SleepingPanda)

@igor-dyatlov no i'm using vanilla Arch. Here's the build log from yay:

==> Starting build()...
msgfmt --desktop --template data/dev.geopjr.Collision.desktop.in -d "po" -o data/dev.geopjr.Collision.desktop
shards install
COLLISION_LOCALE_LOCATION="/usr/share/locale" shards build -Dpreview_mt --release --no-debug
Resolving dependencies
Resolving dependencies
Fetching https://github.com/geopjr/libadwaita.cr.git
Fetching https://github.com/elorest/compiled_license.git
Fetching https://github.com/geopjr/non-blocking-spawn.git
Fetching https://github.com/geopjr/gettext.cr.git
Fetching https://github.com/geopjr/gettext.cr.git
Fetching https://github.com/elorest/compiled_license.git
Fetching https://github.com/geopjr/libadwaita.cr.git
Fetching https://github.com/geopjr/non-blocking-spawn.git
Fetching https://github.com/hugopl/gtk4.cr.git
Fetching https://github.com/hugopl/gtk4.cr.git
Fetching https://github.com/hugopl/gi-crystal.git
Fetching https://github.com/hugopl/gi-crystal.git
Fetching https://github.com/hugopl/version_from_shard.git
Fetching https://github.com/hugopl/version_from_shard.git
Installing version_from_shard (1.2.5)
Installing gi-crystal (0.13.1)
Postinstall of gi-crystal: shards build
Using version_from_shard (1.2.5)
Using gi-crystal (0.13.1)
Installing gtk4 (0.11.1)
Installing libadwaita (1.0.0 at b427ad9)
Installing compiled_license (1.2.2)
Installing non-blocking-spawn (1.0.2)
Installing gettext (1.0.0)
Shard "non-blocking-spawn" may be incompatible with Crystal 1.5.0
Building: collision
Error target collision failed to compile:
Showing last frame. Use --error-trace for full trace.

In src/collision.cr:1:1

 1 | require "libadwaita"
     ^
Error: Bindings for Adw-1 not yet generated, run ./bin/gi-crystal first.

make: *** [Makefile:13: build] Error 1
make: *** Waiting for unfinished jobs....
Installing gtk4 (0.11.1)
Installing libadwaita (1.0.0 at b427ad9)
Installing compiled_license (1.2.2)
Installing non-blocking-spawn (1.0.2)
Installing gettext (1.0.0)
Shard "non-blocking-spawn" may be incompatible with Crystal 1.5.0
./bin/gi-crystal
info - Starting at 2022-07-12 17:01:52 -04:00, project dir: /home/panda/.cache/yay/collision/src/Collision-3.0.4
info - Generating bindings at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gi-crystal/src/auto
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gi-crystal/src/bindings/g_lib/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gi-crystal/src/bindings/g_object/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gtk4/src/bindings/gdk/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gtk4/src/bindings/gio/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gtk4/src/bindings/gsk/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gtk4/src/bindings/gtk/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gtk4/src/bindings/harfbuzz/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/gtk4/src/bindings/pango/binding.yml
info - Using binding config at /home/panda/.cache/yay/collision/src/Collision-3.0.4/lib/libadwaita/src/bindings/binding.yml
info - Gdk - No binding config found for cairo-1.0.
info - Gdk - No binding config found for PangoCairo-1.0.
info - Gdk - No binding config found for GdkPixbuf-2.0.
warn - Gdk - SeatCapabilities::All (0xf) doesn't have all possible bits set (0x1f).
warn - Gdk::TimeCoord axes field - Unknown conversion to crystal for fixed size array.
info - HarfBuzz - No binding config found for freetype2-2.0.
warn - HarfBuzz - Interface constant not supported.
warn - g_cancellable_connect - Callback without user_data!
warn - Gio::ActionEntry padding field - Unknown conversion to crystal for fixed size array.
warn - Gio::DBusInterfaceVTable padding field - Unknown conversion to crystal for fixed size array.
warn - Gio::DBusSubtreeVTable padding field - Unknown conversion to crystal for fixed size array.
info - GdkPixbuf - No binding config found for GModule-2.0.
warn - gdk_pixbuf_get_options - Unknown conversion to crystal for GHash
info - Gsk - No binding config found for Graphene-1.0.
warn - gsk_border_node_get_widths - Unknown conversion to crystal for fixed size array.
warn - Gsk::RoundedRect corner field - Unknown conversion to crystal for fixed size array.
warn - Graphene::Frustum planes field - Unknown conversion to crystal for fixed size array.
warn - Graphene::Quad points field - Unknown conversion to crystal for fixed size array.
warn - Boxed not working for enums
warn - Gtk::BitsetIter private_data field - Unknown conversion to crystal for fixed size array.
warn - Gtk::BuildableParser padding field - Unknown conversion to crystal for fixed size array.
==> ERROR: A failure occurred in build().
    Aborting...
checking dependencies...

Package (3)  Old Version  Net Change 

crystal      1.5.0-1      -118.30 MiB
shards       0.17.0-1       -0.94 MiB
spglib       1.16.5-1       -0.42 MiB

Total Removed Size:  119.66 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/3) removing spglib                                                           [#############################################] 100%
(2/3) removing shards                                                           [#############################################] 100%
(3/3) removing crystal                                                          [#############################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 -> error making: collision

igor-dyatlov commented on 2022-07-07 13:54 (UTC)

@yochananmarqos: @SleepingPanda: are you using manjaro or ArcoLinux? This is probably an upstream bug. Today I tested the package on manjaro in livecd, the result:


make: *** [Makefile:9: bindings] Error 1
make: *** [Makefile:13: build] Error 1

SleepingPanda commented on 2022-07-05 17:08 (UTC) (edited on 2022-07-05 17:11 (UTC) by SleepingPanda)

I'm unable to build this as well.

Failed git --work-tree=/var/tmp/pamac-build-panda/collision/src/Collision-3.0.4/lib/version_from_shard checkout refs/tags/v1.2.5 -- . (). Maybe a commit, branch or file doesn't exist?