Skip Menu |

This queue is for tickets about the Gimp CPAN distribution.

Report information
The Basics
Id: 127104
Status: open
Priority: 0/
Queue: Gimp

People
Owner: Nobody in particular
Requestors: ben [...] bristolwireless.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: gimp-perl fails to test or load
Date: Thu, 13 Sep 2018 13:42:14 +0100
To: bug-gimp [...] rt.cpan.org
From: Ben Green <ben [...] bristolwireless.net>

Message body is not shown because it is too large.

Hi Ben, Thanks for the report! On Thu Sep 13 09:03:13 2018, ben@bristolwireless.net wrote: Show quoted text
> root@stretch_test_compiler:/usr/src/3_try/gimp-perl# perl Makefile.PL > WARNING: XSMULTI is not a known parameter. > Checking if your kit is complete... > Looks good > 'XSMULTI' is not a known MakeMaker parameter name.
This is a serious problem - you're not using a compatible version of EUMM, as noted in the Makefile.PL. You'll need ExtUtils::MakeMaker at least version 7.14 in order to support XSMULTI. Could you try with that and then follow up on here with your results?
Subject: Re: [rt.cpan.org #127104] gimp-perl fails to test or load
Date: Fri, 05 Oct 2018 07:51:18 +0100
To: Ed J via RT <bug-Gimp [...] rt.cpan.org>
From: Ben Green <ben [...] bristolwireless.net>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #127104] gimp-perl fails to test or load
Date: Sat, 03 Nov 2018 08:52:27 +0000
To: Ed J via RT <bug-Gimp [...] rt.cpan.org>
From: Ben Green <ben [...] bristolwireless.net>
Hi, I'm still have trouble with this. The full process I've followed is now this, from a bare Debian Stretch install: cd /usr/src/ apt-get update apt-get --assume-yes install git libextutils-depends-perl pdl bash-completion build-essential libgimp2.0-dev libgtk2-perl libgtk2-ex-podviewer-perl libweb-scraper-perl cpanminus libdata-dmp-perl libshell-command-perl git clone https://gitlab.gnome.org/GNOME/gimp-perl cpanm ExtUtils::MakeMaker #For newer make maker cpan install Alien::Gimp cd gimp-perl perl Makefile.PL make # gimpsetup.pl Appears to be missing on the path, so I copied it here: mkdir blib/lib/t cp t/gimpsetup.pl blib/lib/t/ make test The 'make test' then results in hundreds or errors. Errors are of two classes, like this: (gimp-2.8:7831): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x562B00EBABD0 from "gimp:point-layer-mode" to "gimp:softlight-mode" (gimp-2.8:7831): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x562B00EBAF80 from "gimp:point-layer-mode" to "gimp:grain-extract-mode" (gimp-2.8:7831): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x562B00EBB370 from "gimp:point-layer-mode" to "gimp:grain-merge-mode" and like this: GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at /usr/lib/x86_64-linux-gnu/perl/5.24/DynaLoader.pm line 204. GdkPixbuf-LOG **: Encoding raw at /usr/lib/x86_64-linux-gnu/perl/5.24/DynaLoader.pm line 204. GdkPixbuf-LOG **: Dimensions: 64 x 64 at /usr/lib/x86_64-linux-gnu/perl/5.24/DynaLoader.pm line 204. GdkPixbuf-LOG **: Rowstride: 256, Length: 16408 at /usr/lib/x86_64-linux-gnu/perl/5.24/DynaLoader.pm line 204. Report at the end is: Test Summary Report ------------------- t/02-netplugin.t (Wstat: 65024 Tests: 1 Failed: 0) Non-zero exit status: 254 Parse errors: No plan found in TAP output t/02-supplied.t (Wstat: 65024 Tests: 1 Failed: 0) Non-zero exit status: 254 Parse errors: No plan found in TAP output Files=10, Tests=140, 29 wallclock secs ( 0.08 usr 0.07 sys + 23.68 cusr 4.38 csys = 28.21 CPU) Result: FAIL Failed 2/10 test programs. 0/140 subtests failed. Makefile:1344: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 GEGL Version on my system is 0.3.8 I've attached a file with full test results. Cheers, Ben

Message body is not shown because sender requested not to inline it.

On Sat Nov 03 04:53:32 2018, ben@bristolwireless.net wrote: [snip] Show quoted text
> libgimp2.0-dev
[snip] Show quoted text
> The 'make test' then results in hundreds or errors. Errors are of two > classes, like this:
[snip] Show quoted text
> (gimp-2.8:7831): GEGL-gegl-operation.c-WARNING **: Cannot change name > of operation class 0x562B00EBABD0 from "gimp:point-layer-mode" to > "gimp:softlight-mode"
The fundamental problem here is that the latest GIMP is now 2.10, using GEGL. Currently gimp-perl only works with 2.8, before GEGL. Can you try switching your installed GIMP to 2.8, and try again?
Subject: Re: [rt.cpan.org #127104] gimp-perl fails to test or load
Date: Sun, 04 Nov 2018 07:37:54 +0000
To: Ed J via RT <bug-Gimp [...] rt.cpan.org>
From: Ben Green <ben [...] bristolwireless.net>
Quoting Ed J via RT <bug-Gimp@rt.cpan.org>: Show quoted text
> The fundamental problem here is that the latest GIMP is now 2.10, > using GEGL. Currently gimp-perl only works with 2.8, before GEGL. > > Can you try switching your installed GIMP to 2.8, and try again?
My purpose here is to get gimp-perl running on Debian Stretch. Stretch's version of GIMP is 2.8.18, and that's what I've compiled against. root@debian9compiler:~# dpkg -l gimp* | grep ^ii ii gimp 2.8.18-1+deb9u1 amd64 GNU Image Manipulation Program ii gimp-data 2.8.18-1+deb9u1 all Data files for GIMP root@debian9compiler:/usr/src/gimp-perl# dpkg -l "*gegl*" | grep ^ii ii libgegl-0.3-0:amd64 0.3.8-4 amd64 Generic Graphics Library Debian Jessie and Stretch both feature versions of gimp 2.8 https://packages.debian.org/jessie/gimp - Version 2.8.14 https://packages.debian.org/stretch/gimp - Version 2.8.18 They both depend on libbabl and libgegl. I suppose there might be a compile switch I can switch off to turn off GEGL during the gimp build (I'm not currently compiling GIMP from source as my aim is to provide gimp-perl for the current Debian Stretch, but I could try if that would be constructive/useful). Any other suggestions. I'm certainly already using 2.8 at the moment. Cheers, Ben
Subject: Re: [rt.cpan.org #127104] gimp-perl fails to test or load
Date: Mon, 05 Nov 2018 12:29:55 +0000
To: Ed J via RT <bug-Gimp [...] rt.cpan.org>
From: Ben Green <ben [...] bristolwireless.net>
Quoting Ben Green <ben@bristolwireless.net>: Show quoted text
> Debian Jessie and Stretch both feature versions of gimp 2.8 > https://packages.debian.org/jessie/gimp - Version 2.8.14 > https://packages.debian.org/stretch/gimp - Version 2.8.18
On a hunch, I tried the compile in Debian Jessie, in which GIMP still depends on libgegl, though a different version from in Stretch. Jessie version 0.2.0 Stretch version is 0.3.8 On Jessie gimp-perl compiles and tests perfectly. The test script finishes: PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/02-netplugin.t .. ok t/02-supplied.t ... ok t/data.t .......... ok t/extension.t ..... ok t/gimppod.t ....... ok t/import.t ........ ok t/load.t .......... ok t/pdl.t ........... ok t/perlplugin.t .... ok t/run.t ........... ok All tests successful. Files=10, Tests=201, 44 wallclock secs ( 0.06 usr 0.00 sys + 36.85 cusr 4.52 csys = 41.43 CPU) Result: PASS So my conclusion is that something changed during the time between GIMP 2.18.14 (with gegl 0.2.0) and GIMP 2.18.18 (with gegl 0.3.8) which causes the test to fail. Cheers, Ben