Package Details: goxel-voxel-editor-git 0.15.1+r2582+g92e13f416-2

Git Clone URL: https://aur.archlinux.org/goxel-voxel-editor-git.git (read-only, click to copy)
Package Base: goxel-voxel-editor-git
Description: Open Source 3D voxel editor for Mac, Windows and Linux. Git version.
Upstream URL: https://goxel.xyz/
Licenses: GPL-3.0-or-later
Conflicts: goxel-voxel-editor
Provides: goxel-voxel-editor
Submitter: ax34
Maintainer: envolution
Last Packager: envolution
Votes: 1
Popularity: 0.26
First Submitted: 2019-07-18 18:52 (UTC)
Last Updated: 2024-11-23 13:43 (UTC)

Latest Comments

envolution commented on 2024-11-07 04:43 (UTC)

@Swivel thank you (fixed), not sure how this build got published - I am looking into CI errors now

Swivel commented on 2024-11-07 03:34 (UTC) (edited on 2024-11-07 03:39 (UTC) by Swivel)

EDIT:

The following resolved the issue:

 pkgver() {
-  cd "$srcdir/$_pkgname"
+  cd "$_gitname"
   _version=$(git tag --sort=-v:refname --list | grep '^[0-9.]*$' | head -n1 )
   _commits=$(git rev-list --count HEAD)
   _short_commit_hash=$(git rev-parse --short=9 HEAD)
   echo "${_version#'v'}+r${_commits}+${_short_commit_hash}"
 }

ORIGINAL:

This package is now failing to build after the latest update. The culprit appears to be the new pkgver() changes. Seems like there were 6 different commits for the same version (0.15.1+r2578+gb86fa3670).

It looks like the pkgver() initially introduced for 0.15.1+r2578+gb86fa3670 on Nov 5 morning UTC caused the issues.

Here's the error I'm getting:

==> Starting pkgver()...
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> ERROR: A failure occurred in pkgver().
    Aborting...

And the diff:

-pkgver() {
-
-       cd $_gitname
-       printf "%s" "$(git describe --first-parent --long --tags | sed 's/v//g;s/\([^-]*-\)g/r\1/;s/-/./g')"
-
+pkgver(){
+  cd "$srcdir/$_pkgname"
+  _version=$(git tag --sort=-v:refname --list | grep '^[0-9.]*$' | head -n1 )
+  _commits=$(git rev-list --count HEAD)
+  _short_commit_hash=$(git rev-parse --short=9 HEAD)
+  echo "${_version#'v'}+r${_commits}+${_short_commit_hash}"
 }

I've tried:

yay -S goxel-voxel-editor-git
paru -S goxel-voxel-editor-git
git clean -dxf; makepkg -scCir

ax34 commented on 2020-06-15 20:13 (UTC)

@RastaManKing, i added a workaround, should build now.

ax34 commented on 2020-06-12 00:18 (UTC)

@RastaManKing, builds for me, though i have -Wno-all in CFLAGS. Maybe something is wrong upstream.

StuckUpCreations commented on 2020-06-11 21:18 (UTC)

src/luagoxel.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknow-pragma’ may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors scons: [src/luagoxel.o] Error 1 scons: building terminated because of errors. make: [Makefile:8: release] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Error making: goxel-voxel-editor-git