Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gimp-9999 will not build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1023

PostPosted: Wed Feb 05, 2025 8:00 am    Post subject: gimp-9999 will not build Reply with quote

Hi All:

Been getting this error for the last 4 weeks or so when trying to build gimp-9999:
Code:
jserinki7 /home/jserink # emerge -av gimp

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 10.82 s (backtrack: 0/20).

[ebuild  N    *] media-gfx/gimp-9999:0/3::gentoo  USE="X alsa doc heif javascript jpeg2k jpegxl lua mng openexr openmp postscript udev vector-icons webp wmf xpm -aalib -fits -gnome -test -unwind -vala" LUA_SINGLE_TARGET="luajit" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12 -python3_13" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Running pre-merge checks for media-gfx/gimp-9999

>>> Emerging (1 of 1) media-gfx/gimp-9999::gentoo
 * Using python3.11 to build
 * Using luajit to build
 * Please make sure to rebuid media-libs/babl-9999 and media-libs/gegl-9999 packages
 * before building media-gfx/gimp-9999 to have their latest master branch versions.
>>> Unpacking source...
 * Repository id: GNOME_gimp.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_GNOME_GIMP
 *   EGIT_OVERRIDE_BRANCH_GNOME_GIMP
 *   EGIT_OVERRIDE_COMMIT_GNOME_GIMP
 *   EGIT_OVERRIDE_COMMIT_DATE_GNOME_GIMP
 *
 * Fetching https://gitlab.gnome.org/GNOME/gimp.git ...
git fetch https://gitlab.gnome.org/GNOME/gimp.git +HEAD:refs/git-r3/HEAD
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
git symbolic-ref refs/git-r3/media-gfx/gimp/0/__main__ refs/git-r3/HEAD
 * Repository id: GNOME_gimp-data.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_GNOME_GIMP_DATA
 *   EGIT_OVERRIDE_BRANCH_GNOME_GIMP_DATA
 *   EGIT_OVERRIDE_COMMIT_GNOME_GIMP_DATA
 *   EGIT_OVERRIDE_COMMIT_DATE_GNOME_GIMP_DATA
 *
 * Fetching https://gitlab.gnome.org/GNOME/gimp-data.git ...
git fetch https://gitlab.gnome.org/GNOME/gimp-data.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD c755b510b12b0a2a119191f85d7fce52e80b83ef
From https://gitlab.gnome.org/GNOME/gimp-data
 * branch            c755b510b12b0a2a119191f85d7fce52e80b83ef -> FETCH_HEAD
git update-ref --no-deref refs/git-r3/media-gfx/gimp/0/gimp-data/__main__ c755b510b12b0a2a119191f85d7fce52e80b83ef
 * Checking out https://gitlab.gnome.org/GNOME/gimp.git to /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://gitlab.gnome.org/GNOME/gimp.git
   at the commit:            ccb4d81ea26c4ab9861e17a5d8946dc8837d6b23
 * Checking out https://gitlab.gnome.org/GNOME/gimp-data.git to /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999/gimp-data ...
git checkout --quiet c755b510b12b0a2a119191f85d7fce52e80b83ef
GIT update -->
   repository:               https://gitlab.gnome.org/GNOME/gimp-data.git
   at the commit:            c755b510b12b0a2a119191f85d7fce52e80b83ef
>>> Source unpacked in /var/tmp/portage/portage/media-gfx/gimp-9999/work
>>> Preparing source in /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999 ...
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/portage/media-gfx/gimp-9999/temp/luajit/pkgconfig:/var/tmp/portage/portage/media-gfx/gimp-9999/temp/python3.11/pkgconfig:/usr/share/guile-data/3.0/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/portage/media-gfx/gimp-9999/temp/luajit/pkgconfig:/var/tmp/portage/portage/media-gfx/gimp-9999/temp/python3.11/pkgconfig:/usr/share/guile-data/3.0/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/portage/media-gfx/gimp-9999/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Denable-default-bin=enabled -Dcheck-update=no -Denable-multiproc=true -Dappdata-test=disabled -Dbug-report-url=https://bugs.gentoo.org/ -Dilbm=disabled -Dlibbacktrace=false -Dwebkit-unmaintained=false -Daa=disabled -Dalsa=enabled -Dgi-docgen=enabled -Dfits=disabled -Dheif=enabled -Djavascript=enabled -Djpeg2000=enabled -Djpeg-xl=enabled -Dmng=enabled -Dopenexr=enabled -Dopenmp=enabled -Dghostscript=enabled -Dheadless-tests=disabled -Dgudev=enabled -Dvala=disabled -Dwebp=enabled -Dwmf=enabled -Dxcursor=enabled -Dxpm=enabled -Dg-ir-doc=true -Dlua=true -Dlibunwind=false -Dvector-icons=true /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999 /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999-build
The Meson build system
Version: 1.6.1
Source dir: /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999
Build dir: /var/tmp/portage/portage/media-gfx/gimp-9999/work/gimp-9999-build
Build type: native build

meson.build:1:0: ERROR: Unknown options: "g-ir-doc"


Anyone else seeing this?

Cheers,
John

Code tags added by NeddySeagoon
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 473

PostPosted: Wed Feb 05, 2025 2:26 pm    Post subject: Reply with quote

This may or not be relevant or helpful, but is my initial thought:
Is dev-libs/gobject-introspection installed with the "doctool" use flag?

Code:
equery uses dev-libs/gobject-introspection
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/gobject-introspection-1.80.1-r3:
 U I
 - - doctool                         : Install g-ir-doc-tool for
                                       generating documentation
                                       from introspected data
 - - gtk-doc                         : Build and install gtk-doc
                                       based developer
                                       documentation for
                                       dev-util/devhelp, IDE and
                                       offline use
 - - python_single_target_python3_10 : Build for Python 3.10 only
 - - python_single_target_python3_11 : Build for Python 3.11 only
 + + python_single_target_python3_12 : Build for Python 3.12 only

If not, does installing it in advance with --oneshot (and then trying to reinstall gimp-9999) have any effect?
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6222
Location: Dallas area

PostPosted: Wed Feb 05, 2025 4:52 pm    Post subject: Reply with quote

Try turning off the doc flag (gimp).

You shouldn't really turn on doc flags unless you know what you're doing.

OR do what rab0171610 suggested, make sure the doctool flag is set for gobject-introspection.
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1023

PostPosted: Thu Feb 06, 2025 3:36 am    Post subject: Reply with quote

rab0171610 wrote:
This may or not be relevant or helpful, but is my initial thought:
Is dev-libs/gobject-introspection installed with the "doctool" use flag?

Code:
equery uses dev-libs/gobject-introspection
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/gobject-introspection-1.80.1-r3:
 U I
 - - doctool                         : Install g-ir-doc-tool for
                                       generating documentation
                                       from introspected data
 - - gtk-doc                         : Build and install gtk-doc
                                       based developer
                                       documentation for
                                       dev-util/devhelp, IDE and
                                       offline use
 - - python_single_target_python3_10 : Build for Python 3.10 only
 - - python_single_target_python3_11 : Build for Python 3.11 only
 + + python_single_target_python3_12 : Build for Python 3.12 only

If not, does installing it in advance with --oneshot (and then trying to reinstall gimp-9999) have any effect?


Code:
jserinki7 /home/jserink # equery uses dev-libs/gobject-introspection-1.82.0-r1
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/gobject-introspection-1.82.0-r1:
 U I
 + + doctool                         : Install g-ir-doc-tool for generating documentation from introspected data
 - - gtk-doc                         : Build and install gtk-doc based developer documentation for dev-util/devhelp,
                                       IDE and offline use
 - - python_single_target_python3_10 : Build for Python 3.10 only
 + + python_single_target_python3_11 : Build for Python 3.11 only
 - - python_single_target_python3_12 : Build for Python 3.12 only
 - - python_single_target_python3_13 : Build for Python 3.13 only
 - - test                            : Enable dependencies and/or preparations necessary to run tests (usually
                                       controlled by FEATURES=test but can be toggled independently)


Doctool is enabled but gtk-doc is not.

Cheers,
John

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1023

PostPosted: Thu Feb 06, 2025 3:39 am    Post subject: Reply with quote

Anon-E-moose wrote:
Try turning off the doc flag (gimp).

You shouldn't really turn on doc flags unless you know what you're doing.

OR do what rab0171610 suggested, make sure the doctool flag is set for gobject-introspection.


Tried that but same error.

Cheers,

John
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1023

PostPosted: Thu Feb 06, 2025 3:40 am    Post subject: Solved....sort of Reply with quote

Hi All:

This looks like a typo in the config setup for the build in gimp-9999 so I just installed media-gfx/gimp-3.0.0_rc2 which built just fine,.

Cheers,
john
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23100

PostPosted: Thu Feb 06, 2025 2:17 pm    Post subject: Reply with quote

What exactly is the typographic error? Remember that as a -9999 build, this is tracking upstream's work, so it could be that g-ir-doc once worked, and upstream subsequently renamed or removed this option. If the option is gone and not coming back, then the -9999 build will need to be modified not to use that option.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6222
Location: Dallas area

PostPosted: Thu Feb 06, 2025 2:56 pm    Post subject: Reply with quote

g-ir-doc option does not exist anymore


From git history
Code:
 Jan 23, 2025

    Jehan's avatar
    devel-docs: get rid of g-ir-doc.


Not a typographic error, per se, they just removed an option.
Which was probably reflected in the build file
Code:
meson.build:1:0: ERROR: Unknown options: "g-ir-doc"

_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum