Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13844 - Gimp will not emerge possible perl problem
Summary: Gimp will not emerge possible perl problem
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Michael Cohen (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-13 08:57 UTC by Brandon Clark
Modified: 2003-06-25 13:54 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Clark 2003-01-13 08:57:44 UTC
During the emerge process of gimp, every time it reaches the plugins directory
it errors out. The problem seems to be a perl issue. 

Making all in perl
make[3]: Entering directory
`/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins/perl'
make[3]: *** No rule to make target `all'.  Stop.
make[3]: Leaving directory
`/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins/perl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-gfx/gimp-1.2.3-r3 failed.
!!! Function src_compile, Line -155, Exitcode 2
!!! (no error message) 

Gimp used to work on my system but one day it started hanging on load up so i
unemerged it. It  would hang right after loading script-fu. Strangely enough, on
emerge it errors out right after compiling script-fu. Related? Now this happens
every time. Tried manually compiling gimp with same problem. Not sure if this is
a broken dependency or something on my system is broken. Running the latest
version of perl 5.6.1-r10.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-02-19 15:43:49 UTC
have you tried using the newer gimp-1.2.3-r3 ebuild and does it still happen after 
perl-5.8.0 ?

unfortunately, the error message you included doesn't contain enough information. 
we need the command which caused the build errors. what you pasted below only has make exiting :(

according to the forum post you are using 1.3.* now, please let us know if you can provide any more information.
Comment 2 Bart Lauwers (RETIRED) gentoo-dev 2003-02-28 17:53:35 UTC
I can confirm this bug: gimp does not compile with Perl 5.8.0 installed, winex seems infexted with the same issue.
root # qpkg -I -v sys-devel/perl
sys-devel/perl-5.8.0-r9 *
root #

the last lines emerging gimp are:
[...]gcc -c  -I/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins/perl -I../../.. -I/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins/perl/../.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -DGTK_DISABLE_COMPAT_H -I/usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi/PDL/Core -O3 -march=athlon-xp -pipe -ffast-math -funroll-loops -O3   -DPERL5 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe -funroll-loops -ffast-math   -DVERSION=\"1.211\" -DXS_VERSION=\"1.211\" -fpic "-I/usr/lib/perl5/5.8.0/i686-linux-thread-multi/CORE"  -Ddatadir="\"/usr/share\"" -DHAVE_PDL=1  Lib.c
Lib.xs: In function `need_pdl':
Lib.xs:97: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
Lib.xs:97: too few arguments to function `Perl_croak'
Lib.xs: In function `old_pdl':
Lib.xs:126: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
[...]
Lib.xs: In function `XS_Gimp__Lib_gimp_tile_set_data':
Lib.xs:2198: warning: passing arg 1 of `Perl_croak' from incompatible pointer type
Lib.xs:2198: too few arguments to function `Perl_croak'
make[4]: *** [Lib.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins/perl/Gimp'
[...]
make: *** [all-recursive-am] Error 2

!!! ERROR: media-gfx/gimp-1.2.3-r3 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! (no error message)

#

Hope this helps...
Comment 3 Philip Walls (RETIRED) gentoo-dev 2003-03-24 15:15:26 UTC
I just commited gimp-1.3.13 last night, this seems to have fixed the Perl problem.
I have based it off of USE, so if it still doesn't work for you, USE="-perl" should be sufficient.

Please get back to me.
Comment 4 Matt Rogers 2003-04-16 10:41:49 UTC
I experienced the same problem detailed in comment 2 for this bug. If you build Perl with threading enable, GIMP won't compile. I rebuilt Perl with threading off and all is well.
Comment 5 Michael Cohen (RETIRED) gentoo-dev 2003-06-25 13:54:11 UTC
threading seems to cause this problem on my system.  There's a big warning with regard to threading on the perl ebuild.  No need to fix