Doesn't build.
Configure failed or did not finish! ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'gimp-git-2:2.99.7.r462.d33c45fb47-1': error: packages failed to build: gimp-git-2:2.99.7.r462.d33c45fb47-1
Git Clone URL: | https://aur.archlinux.org/gimp-git.git (read-only, click to copy) |
---|---|
Package Base: | gimp-git |
Description: | GNU Image Manipulation Program |
Upstream URL: | https://www.gimp.org |
Licenses: | GPL, LGPL |
Conflicts: | gimp |
Provides: | gimp |
Submitter: | None |
Maintainer: | bartus |
Last Packager: | bartus |
Votes: | 116 |
Popularity: | 0.52 |
First Submitted: | 2009-05-27 08:12 (UTC) |
Last Updated: | 2024-11-14 16:59 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 46 Next › Last »
Doesn't build.
Configure failed or did not finish! ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'gimp-git-2:2.99.7.r462.d33c45fb47-1': error: packages failed to build: gimp-git-2:2.99.7.r462.d33c45fb47-1
This AUR package does not install everything needed for the new experimental "Paint Select Tool" to function. More information about this here: https://gitlab.gnome.org/GNOME/gimp/-/issues/2912#note_1308011
What needs to be done on install for the paint select tool to be functional:
- build GEGL with maxflow (https://github.com/gerddie/maxflow) and
the option -Dworkshop=true in order to be able to select the
experimental Paint Select tool in the Playground (operation
"gegl:paint-select" is needed).
@bartus -- thanks paru -S gimp-git --mflags "DISABLE_MESON=1 --nocheck"
worked just fine
@maderios: Don't think disabling check()
here is an optimal solution. Users that don't care about tests will probably just edit their /etc/makepkg.conf
and add !check
to BUILDENV
¯\_(ツ)_/¯
btw. it works for PKGBUILD to, add BUILDENV+=(!check)
at the beginning of PKGBUILD to disable check()
@bartus For other users, please remove these unnecessary tests from PKBUILD. gimp-git builds fine without these tests.
As Jehan (Gimp developer) said, it's specific Arch Aur issue. I disabled tests this way in PKGBUILD to solve it
pkgver() {
# shellcheck disable=SC2183,SC2046
#
#check() {
# if ((DISABLE_MESON)); then
# cd $_pkgname
# xvfb-run make check
# xvfb-run make distcheck
# else
# ninja -C "${srcdir}/build" test
# fi
@electricprism: Meson was disabled in 30b4a0f0f7f6
@electricprism: to pass --nocheck
to yay
use `yay --mflags "--nocheck" it's described in manual.
@maderios: those are rare issues caused by commits not containing all the relevant changes, usually are fixed within hours a day max.
@foobaz: That's weird, can't see any reference to /etc/gimp
in my build logs. Are you sure it's correct?
@maderios: I can't really fix those errors for you, perhaps could add a mask for UI tests in check()
but it's beside the point as you will probably defer using --nocheck
flag to skip those.
I'm not really sure how to disable tests to get to compile. Does it require a -- nocheck
flag on pkgbuild ??? I've tried yay -S gimp-git --mflags "DISABLE_MESON=1"
but it fails the same as building regularly.
I read the bug report listed below and it was difficult to decipher if there was any useful workaround information there.
I doesn't build with tests, i had to disable them in PKGBUILD to get build successfully. These tests are useless. See https://gitlab.gnome.org/GNOME/gimp/-/issues/7177 for more details
I get new error. I reported here
https://gitlab.gnome.org/GNOME/gimp/-/issues/7177
Pinned Comments
bartus commented on 2019-08-01 19:45 (UTC) (edited on 2023-11-11 15:48 (UTC) by bartus)
Note: If you want to have both
gimp-git
and stockgimp
installed, there's a non-conflicting version of this package calledgimp-develop-git
This package is also hosted on GitHub.
Please report
issues
andpatches
to gimp-git*github.comTravis CI Status: <img alt="Build Status" src="https://travis-ci.org/bartoszek/AUR-gimp-git.svg?branch=master" />
Use env vars to control build process:
DISABLE_MESON=1
to build with Autotools build system (disabled by default)MAKEFLAGS="xxx"
to override default make flags.Usage cases:
makepkg DISABLE_MESON=1
yay -S gimp-git --mflags "DISABLE_MESON=1"
Disclaimer: Package uses Travis to automatically update version of dependencies. Script executes once a day, so please wait a day before reporting dependencies version mismatch, thanks!