Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93383 - Emerging gtk-perl-0.7009-r1 and it failed.
Summary: Emerging gtk-perl-0.7009-r1 and it failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-20 16:03 UTC by Alex Weiss
Modified: 2005-08-15 02:06 UTC (History)
2 users (show)

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


Attachments
Patch to gtk-perl-0.7009-r1.ebuild that fixes this bug. (gtk-perl-0.7009-r1.ebuild.patch,442 bytes, patch)
2005-05-21 09:07 UTC, Martin Wegner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Weiss 2005-05-20 16:03:17 UTC
When I tried to update to gtk-perl-0.7009-r1, the ebuild exited with the 
following message: 
 
 * gtk-perl being built without gnome support  
  * gtk-perl being built without gnome-print support  
  * gtk-perl being built without gnome-applets-1.4 support  
  * Applying gendef.patch ...                                              
[ ok ]  
 >>> Source unpacked.  
 Unknown library `gtkhtml'  
 Can't exec "libglade-config": No such file or directory at Makefile.PL line 
141.  
 Submodule gnome is needed to build applets but it appears  
 it's misdetected or not selected for compilation.  
 Available modules: gtk gtkglarea gdkimlib gdkpixbuf gtkhtml gtkxmhtml gnome 
glade applets gnomeprint.  
  
 You can disable the inclusion of a module using --without-pkgname.  
 If a package is misdetected and you still want it to compile  
 use --with-pkgname-force.  
 To disable autodetection of modules use --without-guessing.  
 >>> Test phase [not enabled]: dev-perl/gtk-perl-0.7009-r1  
  
 >>> Install gtk-perl-0.7009-r1 
into /var/tmp/portage/gtk-perl-0.7009-r1/image/ category dev-perl  
 make: *** No rule to make target `install'.  Stop.  
  
 !!! ERROR: dev-perl/gtk-perl-0.7009-r1 failed.  
 !!! Function perl-module_src_install, Line 132, Exitcode 2  
 !!! (no error message)  
 !!! If you need support, post the topmost build error, NOT this status 
message.  

Reproducible: Always
Steps to Reproduce:
1.emerge -uD gtk-perl 
2. 
3. 
 
Actual Results:  
See above error message 

Expected Results:  
A successful update of gtk-perl.
Comment 1 W.klein 2005-05-20 16:10:09 UTC
try to emerge gnome-base/libglade or gnome-base/libglade2 first should do the 
trick 
 
 
(In reply to comment #0) 
> When I tried to update to gtk-perl-0.7009-r1, the ebuild exited with the  
> following message:  
>   
>  * gtk-perl being built without gnome support   
>   * gtk-perl being built without gnome-print support   
>   * gtk-perl being built without gnome-applets-1.4 support   
>   * Applying gendef.patch ...                                               
> [ ok ]   
>  >>> Source unpacked.   
>  Unknown library `gtkhtml'   
>  Can't exec "libglade-config": No such file or directory at Makefile.PL line  
> 141.   
>  Submodule gnome is needed to build applets but it appears   
>  it's misdetected or not selected for compilation.   
>  Available modules: gtk gtkglarea gdkimlib gdkpixbuf gtkhtml gtkxmhtml gnome  
> glade applets gnomeprint.   
>    
>  You can disable the inclusion of a module using --without-pkgname.   
>  If a package is misdetected and you still want it to compile   
>  use --with-pkgname-force.   
>  To disable autodetection of modules use --without-guessing.   
>  >>> Test phase [not enabled]: dev-perl/gtk-perl-0.7009-r1   
>    
>  >>> Install gtk-perl-0.7009-r1  
> into /var/tmp/portage/gtk-perl-0.7009-r1/image/ category dev-perl   
>  make: *** No rule to make target `install'.  Stop.   
>    
>  !!! ERROR: dev-perl/gtk-perl-0.7009-r1 failed.   
>  !!! Function perl-module_src_install, Line 132, Exitcode 2   
>  !!! (no error message)   
>  !!! If you need support, post the topmost build error, NOT this status  
> message.   
>  
> Reproducible: Always 
> Steps to Reproduce: 
> 1.emerge -uD gtk-perl  
> 2.  
> 3.  
>   
> Actual Results:   
> See above error message  
>  
> Expected Results:   
> A successful update of gtk-perl. 
 
 
Comment 2 David Li 2005-05-20 17:33:21 UTC
I think I may be getting the same error. It fails in the same place as bug 91589
but with a different error:

cd GtkGLArea && /usr/bin/perl5.8.6 Makefile.PL LIB="" LIBPERL_A="libperl.a" LINK
TYPE="dynamic" PREFIX="/var/tmp/portage/gtk-perl-0.7009-r1/image//usr" OPTIMIZE=
"" PASTHRU_DEFINE="" PASTHRU_INC="" INSTALLDIRS=vendor
Found Gtk::Install::Files in /var/tmp/portage/gtk-perl-0.7009-r1/work/Gtk-Perl-0
.7009/GtkGLArea/../Gtk/../blib/arch/Gtk/Install/
Loading pkg.defs
Dir ||
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/
ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
/bin/sh: line 1:  1520 Broken pipe             /usr/bin/perl5.8.6 Makefile.PL LI
B="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="/var/tmp/portage/gtk-perl-
0.7009-r1/image//usr" OPTIMIZE="" PASTHRU_DEFINE="" PASTHRU_INC="" INSTALLDIRS=v
endor
make: *** [GtkGLArea/Makefile] Error 141

!!! ERROR: dev-perl/gtk-perl-0.7009-r1 failed.
!!! Function perl-module_src_install, Line 132, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Notice that instead of the error of missing .h files, it complains about not
being able to find mesa libs.
Comment 3 Peter Gantner (a.k.a. nephros) 2005-05-21 01:40:53 UTC
I'm getting the same error as the original reporter.
libglade-2.5.1 is installed and re-emerging it does not help.

I try to emerge it with these USE flags:
dev-perl/gtk-perl-0.7009-r1 [0.7009] -applet -gnome -gnome-print -gtkhtml 
+opengl

setting only +gtkhtml tries to pull in a heap of gnome libs because gtkhtml is 
not installed on my system.
setting USE to +gnome (but -gtkhtml) does fix this error and compiles, without 
pulling in more deps (gnome-base/gnome-libs IS installed here).

I noticed in the ebuild that the gtkhtml USE flag does not alter the 
configuration process ($myconfig), it only pulls in the deps. Is that correct?
Comment 4 Alex Weiss 2005-05-21 03:52:05 UTC
I tried to emerge libglade first as you suggested and it didn't work. I get the 
same error. 
 
Best, 
 
Alex 
Comment 5 Thomas Bettler 2005-05-21 04:02:07 UTC
Same error here... 
 
>>> Install gtk-perl-0.7009-r1 into /var/tmp/portage/gtk-perl-0.7009-r1/image/ category 
dev-perl 
make: *** No rule to make target `install'.  Stop. 
 
!!! ERROR: dev-perl/gtk-perl-0.7009-r1 failed. 
!!! Function perl-module_src_install, Line 132, Exitcode 2 
!!! (no error message) 
!!! If you need support, post the topmost build error, NOT this status message. 
 
Comment 6 Martin Wegner 2005-05-21 05:39:13 UTC
Failed here with this error, too:

chmod 755 ../blib/arch/auto/Gtk/Gtk.so
cp Gtk.bs ../blib/arch/auto/Gtk/Gtk.bs
chmod 644 ../blib/arch/auto/Gtk/Gtk.bs
build/perl-gtk-ref.pod:9: Unmatched =back
Manifying ../blib/man3/Gtk.3pm
Manifying ../blib/man3/Gtk::CListModel.3pm
Manifying ../blib/man3/Gtk::objects.3pm
Manifying ../blib/man3/Gtk::reference.3pm
Manifying ../blib/man3/Gtk::cookbook.3pm
make[1]: Leaving directory
`/var/tmp/portage/gtk-perl-0.7009-r1/work/Gtk-Perl-0.7009/Gtk'
cd GtkGLArea && /usr/bin/perl5.8.6 Makefile.PL LIB="" LIBPERL_A="libperl.a"
LINKTYPE="dynamic" PREFIX="/var/tmp/portage/gtk-perl-0.7009-r1/image//usr"
OPTIMIZE="" PASTHRU_DEFINE="" PASTHRU_INC="" INSTALLDIRS=vendor
Found Gtk::Install::Files in
/var/tmp/portage/gtk-perl-0.7009-r1/work/Gtk-Perl-0.7009/GtkGLArea/../Gtk/../blib/arch/Gtk/Install/
Loading pkg.defs
Dir ||
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lMesaGL
collect2: ld returned 1 exit status
/bin/sh: line 1:  6043 Broken pipe             /usr/bin/perl5.8.6 Makefile.PL
LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic"
PREFIX="/var/tmp/portage/gtk-perl-0.7009-r1/image//usr" OPTIMIZE=""
PASTHRU_DEFINE="" PASTHRU_INC="" INSTALLDIRS=vendor
make: *** [GtkGLArea/Makefile] Error 141

% emerge -uDpv world
[...]
[ebuild     U ] dev-perl/gtk-perl-0.7009-r1 [0.7009] +gnome +opengl 0 kB

=> Remerging libglade helped.

% emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-mw i686)
=================================================================
System uname: 2.6.11-mw i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r9
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl alsa apache2 apm avi bash-completion berkdb
bitmap-fonts bonobo bzlib cdparanoia cdr crypt cups curl dedicated dga
divx4linux doc dvd eds emboss encode escreen fam fbcon flac foomaticdb fortran
gd gdbm gif gimpprint gnome gstreamer gtk gtk2 guile imagemagick imap imlib ipv6
java jpeg libg++ libwww mad mailwrapper mbox mmx motif mozdevelop mozilla mozsvg
mp3 mpeg mysql ncurses nls no-htdocs ogg oggvorbis opengl oss pam pcre pdflib
perl png python quicktime readline real rtc ruby samba sdl silverxp slang spell
sse ssl stencil-buffer svg svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts userlocales vim-with-x vorbis xchattext xine xml xml2 xmms xprint xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 7 Leonid Podolny 2005-05-21 06:22:54 UTC
same here
Comment 8 Alex Weiss 2005-05-21 06:55:13 UTC
Hi, 
 
Tried reemerging libglade again, it still doesn't work. 
 
Perhaps the difference is that I'm *not* running gnome, nor do I plan on 
installing it. From the previous post it looked like gtk-perl required gnome. 
 
 
Alex 
Comment 9 bugs 2005-05-21 08:01:13 UTC
I can't offer any useful commentary since my problem is the same.  Fails to
emerge.  Same place. Gnome should not be a requirement for GTK

[ebuild     U ] dev-perl/gtk-perl-0.7009-r1 [0.7008-r11] -applet -gnome
-gnome-print +gtkhtml +opengl
>>> Install gtk-perl-0.7009-r1 into /var/tmp/portage/gtk-perl-0.7009-r1/image/
category dev-perl
make: *** No rule to make target `install'.  Stop.
!!! ERROR: dev-perl/gtk-perl-0.7009-r1 failed.
!!! Function perl-module_src_install, Line 132, Exitcode 2

Relevant USE flags.
-gtk -gnome -esd gtk2 gimpprint
Comment 10 Martin Wegner 2005-05-21 08:16:02 UTC
Maybe I have a solution for your problem:

Somehow your ebuild has more USE-Flags than mine, maybe because my sync was now
2 days old. The same ebuild has now more USE-Flags. And within this USE-Flags I
encountered a typo:

use applet || myconf="${myconf}--without-applets"

must be

use applet || myconf="${myconf} --without-applets"

(Look at additional space character.) Try to change that in your local ebuild
and try it.
Comment 11 Jean-Michel Smith 2005-05-21 08:49:07 UTC
I can confirm that that type is indeed the problem!  Adding the whitespace fixes
everything and the emerge continues properly.  Hopefully it will be fixed in
portage ASAP!
Comment 12 Martin Wegner 2005-05-21 09:07:27 UTC
Created attachment 59461 [details, diff]
Patch to gtk-perl-0.7009-r1.ebuild that fixes this bug.

@Gentoo Staff: Please commit the patched ebuild to the portage tree ASAP.
Comment 13 Michael Cummings (RETIRED) gentoo-dev 2005-05-21 10:12:26 UTC
space added in - so sorry about that folks 
Comment 14 David Li 2005-05-21 17:13:05 UTC
Okay, looks like my bug is entirely different. It is continued at bug 93490
Comment 15 Michael Cummings (RETIRED) gentoo-dev 2005-05-22 04:53:37 UTC
All right, I'm going to close this bug out tomorrow unless the problem 
persists for anyone. Really am sorry about that final typo (and on the cusp of 
a fix at that). 
Comment 16 Jule Slootbeek 2005-05-24 09:27:48 UTC
I'm still getting the -lMesa error, the ebuild file has the extra space, and
i've tried remerging libglade.

i'm using 
[ebuild  N    ] dev-perl/gtk-perl-0.7009-r1  -applet +gnome -gnome-print
-gtkhtml +opengl 0 kB

which caused the error, but when i removed the opengl use flag it compiled fine.
So that could be another solution.
Comment 17 Mark Brier 2005-06-06 08:35:16 UTC
I can confirm that the ebuild (with the extra space) does not work for me when
USE="opengl" is set. In a similar fashion to a previous poster, USE"-opengl"
makes the emerge complete succesfully.


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.10-1-686 i686)
=================================================================
System uname: 2.6.10-1-686 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="en_GB"
LC_ALL="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cddb
cdr crypt cups curl divx4linux eds emboss encode esd fam flac foomaticdb fortran
gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib jpeg kerberos krb4
ldap libg++ libwww lzo mad mikmod mmx motif mozilla moznomail mozsvg mp3 mpeg
ncurses netowrk nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl pic
png python qt quicktime readline real samba sdl spell sse sse2 ssl tcpd tiff
truetype truetype-fonts type1-fonts vorbis win32codecs winbind xml2 xmms xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 18 Michael Cummings (RETIRED) gentoo-dev 2005-06-06 09:54:44 UTC
The -lmesa error is actually a different problem and is being discussed over in 
bug 93882 
Comment 19 Decibels 2005-07-21 05:16:48 UTC
Gtk-perl wasn't compiling for me either today. Portage is up-to-date also.
Emerging with the USE="-opengl" worked. This was a dependancy for dvdrip, and
just started it and seems to be working.
Comment 20 Michael Cummings (RETIRED) gentoo-dev 2005-07-21 09:15:45 UTC
(In reply to comment #19)
> Gtk-perl wasn't compiling for me either today. Portage is up-to-date also.
> Emerging with the USE="-opengl" worked. This was a dependancy for dvdrip, and
> just started it and seems to be working.

Do you have an overlay maybe? The header should read: /gtk-perl-0.7009-r2.ebuild,v
 1.1 2005/07/20 09:10:30 mcummings Exp $

what platform? emerge info output? what was the exact error? why doesn't anyone
ever post that info anymore??? :)
Comment 21 Michael Cummings (RETIRED) gentoo-dev 2005-07-21 09:16:26 UTC
and i just realized i sent a comment to someone that didn't bother to add
themselves to the bug. I'm going to close this out in the next day or so unless
i hear otherwise from the *active* participants in the gtk-perl saga :)
Comment 22 Michael Cummings (RETIRED) gentoo-dev 2005-08-15 02:06:46 UTC
no responses, closing