Package Details: ericw-tools-git 2.0.0.alpha10.r19.g9a12f5f3-1

Git Clone URL: https://aur.archlinux.org/ericw-tools-git.git (read-only, click to copy)
Package Base: ericw-tools-git
Description: Quake/Hexen 2 Map compiling tools
Upstream URL: https://ericwa.github.io/ericw-tools
Licenses: GPL3
Conflicts: ericw-tools
Provides: ericw-tools
Submitter: xDShot
Maintainer: xDShot
Last Packager: xDShot
Votes: 1
Popularity: 0.003713
First Submitted: 2021-08-30 11:54 (UTC)
Last Updated: 2025-11-21 03:44 (UTC)

Latest Comments

cowmoo commented on 2025-11-16 05:48 (UTC) (edited on 2025-11-21 06:07 (UTC) by cowmoo)

Running into a build failure with jsoncpp dependency:

EDIT: fixed now

==> Making package: ericw-tools-git 2.0.0.alpha10.r19.g9a12f5f3-1 (Sat 15 Nov 2025 09:42:12 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git describe returned "2.0.0-alpha10-19-g9a12f5f3"
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Version: 10.1.0
-- Build type: None
CMake Deprecation Warning at 3rdparty/nanobench/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Looking for min
-- Looking for min - not found
-- Looking for C++ include memory_resource
-- Looking for C++ include memory_resource - found
-- Performing Test CXX_PMR_RUN_SUCCESSFULLY
-- Performing Test CXX_PMR_RUN_SUCCESSFULLY - Success
-- Found Python3: /usr/bin/python3.13 (found version "3.13.7") found components: Interpreter
CMake Error at 3rdparty/CMakeLists.txt:29 (add_subdirectory):
  The source directory

    /home/me/.cache/yay/ericw-tools-git/src/ericw-tools/3rdparty/jsoncpp

  does not contain a CMakeLists.txt file.


-- Embree library found: /usr/lib/libembree4.so.4
CMake Warning at light/CMakeLists.txt:70 (message):
  Couldn't find embree license.  embree_DIR: /usr/lib/cmake/embree-4.4.0,
  embree_DIR_ABS: /usr/lib/cmake/embree-4.4.0


-- TBB .so symlink: TBB_SO_FILE_SYMLINK-NOTFOUND
-- TBB .so symlink name: TBB_SO_FILE_SYMLINK-NOTFOUND
-- TBB .so file: /home/me/.cache/yay/ericw-tools-git/src/ericw-tools/light/TBB_SO_FILE_SYMLINK-NOTFOUND
-- TBBMALLOC .so symlink: TBBMALLOC_SO_FILE_SYMLINK-NOTFOUND
-- TBBMALLOC .so symlink name: TBBMALLOC_SO_FILE_SYMLINK-NOTFOUND
-- TBBMALLOC .so file: /home/me/.cache/yay/ericw-tools-git/src/ericw-tools/light/TBBMALLOC_SO_FILE_SYMLINK-NOTFOUND
-- Found Lua: /usr/lib/liblua5.4.so;/usr/lib/libm.so (found version "5.4.8")
-- Found WrapVulkanHeaders: /usr/include
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Using Qt version: 6.10.0
-- Found Sphinx: /usr/bin/sphinx-build
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ericw-tools-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ericw-tools-git - exit status 4

alexmurkoff commented on 2025-02-17 09:22 (UTC) (edited on 2025-02-17 09:51 (UTC) by alexmurkoff)

Getting fatal: invalid reference: origin/brushbsp error. Any ideas?

EDIT: modified pkgbuild to simply pull the main branch and init submodules via git instead of PKGBUILD itself

_pkgname=ericw-tools
pkgname=${_pkgname}-git
pkgver=2.0.0.alpha8.r22.g6c9b681b
pkgrel=1
pkgdesc="Quake/Hexen 2 Map compiling tools"
arch=('x86_64')
url="https://ericwa.github.io/ericw-tools"
_giturl="https://github.com/ericwa/ericw-tools"
license=('GPL3')
depends=('embree3' 'groff' 'tbb')
makedepends=('cmake' 'git' 'python-sphinx' 'python-sphinx-furo' 'python-sphinx-autobuild')
provides=(${_pkgname})
conflicts=(${_pkgname})
source=("${_pkgname}::git+${_giturl}.git")
sha256sums=('SKIP')

pkgver() {
    cd ${_pkgname}
    git describe --long --tags | sed 's/v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    cd $_pkgname
    git submodule update --init --recursive
}

build() {
    cmake -S ${_pkgname} -B build \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr
    cmake --build build
}

package() {
    _files=(qbsp vis light bspinfo bsputil maputil lightpreview)
    for _i in "${_files[@]}"
    do
      install -Dm755 build/${_i}/${_i} "$pkgdir"/usr/bin/${_i}
    done

    cd build/docs/docs/sphinx/
    rm -r .doctrees/ .buildinfo
    find . -type f -exec install -Dm644 "{}" "${pkgdir}"/usr/share/doc/${_pkgname}/{} \;
}

seems to be working without issues

auhsan commented on 2024-08-28 18:37 (UTC)

It fails to prepare when cloning the submodules unless I include this configuration on git:

git config --global protocol.file.allow always

paru output:

==> Starting prepare()...
Cloning into '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/fmt'...
fatal: transport 'file' not allowed
fatal: clone of '../fmt' into submodule path '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/fmt' failed
Failed to clone '3rdparty/fmt'. Retry scheduled
Cloning into '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/json'...
fatal: transport 'file' not allowed
fatal: clone of '../json' into submodule path '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/json' failed
Failed to clone '3rdparty/json'. Retry scheduled
Cloning into '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/nanobench'...
fatal: transport 'file' not allowed
fatal: clone of '../nanobench' into submodule path '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/nanobench' failed
Failed to clone '3rdparty/nanobench'. Retry scheduled
Cloning into '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/pareto'...
fatal: transport 'file' not allowed
fatal: clone of '../pareto' into submodule path '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/pareto' failed
Failed to clone '3rdparty/pareto'. Retry scheduled
Cloning into '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/fmt'...
fatal: transport 'file' not allowed
fatal: clone of '../fmt' into submodule path '/home/auhsan/.cache/paru/clone/ericw-tools-git/src/ericw-tools/3rdparty/fmt' failed
Failed to clone '3rdparty/fmt' a second time, aborting
==> ERROR: A failure occurred in prepare().

spectr commented on 2024-06-17 12:00 (UTC) (edited on 2024-06-17 12:09 (UTC) by spectr)

Hi, the recent preview tool is missing, please add lightpreview to package()

_files=(qbsp vis light bspinfo bsputil lightpreview)

MarsSeed commented on 2023-08-03 22:43 (UTC)

Also it would be good to follow the git submodule source preparation.

Btw just checked: upstream no longer uses googletest, hence the failure I encountered.

MarsSeed commented on 2023-08-03 22:42 (UTC)

Fails to prepare sources:

==> Extracting sources...
  -> Creating working copy of ericw-tools git repo...
Cloning into 'ericw-tools'...
done.
  -> Creating working copy of fmt git repo...
Cloning into 'fmt'...
done.
  -> Creating working copy of googletest git repo...
Cloning into 'googletest'...
done.
  -> Creating working copy of json git repo...
Cloning into 'json'...
done.
==> Starting prepare()...
rm: cannot remove 'googletest': No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

xDShot commented on 2021-08-30 21:33 (UTC)

Fixed all pointed issues

FabioLolix commented on 2021-08-30 14:53 (UTC)

Hello,