Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698730 - media-gfx/gimp-9999 now needs dev-libs/gjs and dev-lang/luajit
Summary: media-gfx/gimp-9999 now needs dev-libs/gjs and dev-lang/luajit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-28 08:58 UTC by Miroslav Šulc
Modified: 2019-12-13 13:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,35.66 KB, text/x-log)
2019-10-28 08:58 UTC, Miroslav Šulc
Details
environment (environment,192.70 KB, text/plain)
2019-10-28 09:00 UTC, Miroslav Šulc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2019-10-28 08:58:12 UTC
Created attachment 594212 [details]
build.log

Error: GIMP configuration failed.

    - GJS not found.
        *** Please install the JavaScript interpreter GJS.
        *** Note that you may install the JavaScript plug-ins even if
        *** GJS is not installed at build-time by passing the configure
        *** option --with-javascript=force.
        *** Just make sure that GJS is available at run-time.
    - luajit not found.
        *** Please install the Lua interpreter luajit.
        *** Note that you may install the Lua plug-ins even if luajit
        *** is not installed at build-time by passing the configure
        *** option --with-lua=force.
        *** Just make sure that luajit and LGI are available at run-time.


i emerged those two packages and gimp compiled fine.


# emerge --info '=media-gfx/gimp-9999::gentoo'
Portage 2.3.78 (python 3.7.5-final-0, default/linux/amd64/17.1/hardened, gcc-9.2.0, glibc-2.29-r6, 5.3.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.3.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:    32817472 total,   8839816 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 28 Oct 2019 06:30:01 +0000
Head commit of repository gentoo: 9edccb79be99fb590b1919fbdabec8f543d2ed9b
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.5.7::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.15.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r1::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-vcs-ignore: true
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

fordfrog
    location: /usr/src/fordfrog.git
    masters: gentoo
    priority: 0

local
    location: /usr/local/portage
    masters: gentoo

audio-overlay
    location: /var/lib/layman/audio-overlay
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 50

waebbl
    location: /var/lib/layman/waebbl
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/maven-bin-3.1/conf /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--misspell-suggestions n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs cs_CZ en en_US en_UK"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 bzip2 cdda cddb cdr color-management colord crypt cups cxx d3d9 dbus dia dssi dvb dvd elogind exif ffmpeg flac gegl gif gphoto2 gsm gtk gtk3 hardened hddtemp http2 iconv icu id3tag ipv6 jack jacksession javafx jpeg ladspa lastfm latex lcms libass libnotify libproxy libtirpc lilypond lm-sensors lv2 mad modplug mp3 mpeg mpi mtp multilib musepack ncurses nls nptl ocr ogg opencl openexr opengl openmp opus pam pcre pdf pie png policykit pulseaudio qt5 raw readline samba scanner seccomp sf2 sndfile soundio speex spell split-usr ssl ssp startup-notification svg taglib theora tiff timidity tk tray truetype udev unicode usb vaapi vdpau visio vorbis vpx vst wavpack webp widevine wmf x264 x265 xattr xinerama xmp xtpax xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias auth_basic authn_core authn_file authz_core authz_host authz_user deflate dir expires filter headers http2 include info log_config mime mime_magic negotiation proxy proxy_ajp rewrite setenvif socache_shmcb status unixd vhost_alias" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput synaptics wacom" KERNEL="linux" L10N="cs cs-CZ en en-US en-UK" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="*" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-gfx/gimp-9999::gentoo was built with the following:
USE="alsa openexr udev vector-icons webp wmf -aalib (-altivec) (-aqua) -debug -doc -gnome -heif -jpeg2k -mng -postscript -python -test -unwind -xpm" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" PYTHON_TARGETS="python2_7"


# emerge -pqv '=media-gfx/gimp-9999::gentoo'
[ebuild   R   ] media-gfx/gimp-9999  USE="alsa openexr udev vector-icons webp wmf -aalib (-altivec) (-aqua) -debug -doc -gnome -heif -jpeg2k -mng -postscript -python -test -unwind -xpm" CPU_FLAGS_X86="mmx sse" PYTHON_TARGETS="python2_7"
Comment 1 Miroslav Šulc gentoo-dev 2019-10-28 09:00:10 UTC
Created attachment 594214 [details]
environment
Comment 2 Tomasz Golinski 2019-10-28 10:21:57 UTC
Gimp does not strictly need them, you can still override the dependency with "force" option, so this dependence could be controlled by USE flags.

More importantly, Gimp also needs gtk+:3 now while ebuild still depends on gtk+:2.

There is also an work in progress to move Gimp to meson build system. It is still experimental, but I was able to build Gimp with it.
Comment 3 David Heidelberg (okias) 2019-11-01 12:50:12 UTC
> There is also an work in progress to move Gimp to meson build system. It is
> still experimental, but I was able to build Gimp with it.

do you have your experimental ebuild somewhere?
Comment 4 Larry the Git Cow gentoo-dev 2019-12-13 13:49:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82120d06cdb3b3694797c08b853abc21dbf8fb4a

commit 82120d06cdb3b3694797c08b853abc21dbf8fb4a
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2019-12-01 22:24:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-12-13 13:48:51 +0000

    media-gfx/gimp: 9999.ebuild update
    
    Sync 9999.ebuild with 2.10.14.ebuild and update dependencies.
    
    Live ebuild is now depends on x11-libs/gtk+:3.
    The future 2.99.x release will be prepared with GTK+-3.
    
    New USE-flags "javascript", "lua", "python" are added
    to add support of this language scripts via gobject-introspection.
    This is also repair 9999.ebuild and closes below mentioned bug.
    
    Meson build script is still experimental. No migration to it this time.
    
    Closes: https://bugs.gentoo.org/698730
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Closes: https://github.com/gentoo/gentoo/pull/13827
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/gimp/gimp-9999.ebuild | 185 ++++++++++++++++++++++------------------
 1 file changed, 103 insertions(+), 82 deletions(-)