Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100215

Summary: dev-perl/PerlQt-3.009_beta1 : endless loop
Product: Gentoo Linux Reporter: Martin Wegner <gentoo-bugs>
Component: Current packagesAssignee: Caleb Tennis (RETIRED) <caleb>
Status: RESOLVED FIXED    
Severity: normal CC: perl
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Emerge log of last try

Description Martin Wegner 2005-07-25 05:07:14 UTC
When emerging dev-perl/PerlQt-3.009_beta1 it runs in an infinite loop with this
line:

= no

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-perl/PerlQt-3.009_beta1
2.
3.

Actual Results:  
infinite loop

Expected Results:  
should compile

% emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.11.9-mw i686)
=================================================================
System uname: 2.6.11.9-mw i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.13
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, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
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 candy 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"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acl alsa apache2 apm avi bash-completion berkdb
bitmap-fonts bonobo browserplugin bzip2 bzlib cdparanoia cdr crypt cups curl
dedicated dga divx4linux doc dvd dvdr eds emboss encode escreen exif fam fbcon
firefox flac foomaticdb fortran gd gdbm gif gimpprint gnome gstreamer gtk gtk2
i8x0 imagemagick imap imlib ipppd ipv6 java jpeg jpeg2k libg++ libwww mad
mailwrapper mbox mmx mmxext motif mozdevelop mozilla mozsvg mp3 mpeg mysql
ncurses nls no-htdocs ogg oggvorbis opengl oss pam pcre pdflib perl png postfix
python quicktime readline real rtc ruby samba sdl silverxp slang speex spell sse
ssl stencil-buffer svg svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts usb userlocales vim-with-x visualization vorbis win32codecs wmf
xanim xchattext xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-07-25 11:34:19 UTC
*shrug*.  Can you rm -rf /var/tmp/portage/PerlQt-3.009_beta1 and try again? 
Comment 2 Martin Wegner 2005-07-25 13:40:31 UTC
Did not help unfortunately. Isn't this directory auto-cleaned when remerging the
package?

I just remembered that portage does store log files of merges:

-rw-r--r--  1 root portage  83M Jul 25 13:45
/var/log/portage/6499-PerlQt-3.009_beta1.log
-rw-r--r--  1 root portage 113M Jul 25 14:03
/var/log/portage/6503-PerlQt-3.009_beta1.log

This proves the infinite loop. Now I was able to find the entry point: It's
within configure. See next attachment.

Comment 3 Martin Wegner 2005-07-25 13:43:17 UTC
Created attachment 64295 [details]
Emerge log of last try

This is the log file of portage during the last try to emerge this package.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-07-25 14:28:59 UTC
caleb - is that output related to kde-config?
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-07-25 16:42:16 UTC
On my system: 
 
checking if smoke should be compiled... yes 
checking if PerlQt should be compiled... yes 
checking if PerlKDE should be compiled... no 
checking if puic should be compiled... yes 
configure: creating ./config.status 
config.status: creating PerlQt/Makefile.PL 
 
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2005-07-25 16:42:55 UTC
Make that: 
 
hecking for KDE or an Install directory... configure: WARNING: 
in the prefix, you've chosen, are no KDE headers installed. 
configure: WARNING: in the prefix, you've chosen, are no KDE libraries 
installed. 
will use /var/tmp/portage/PerlQt-3.009_beta1/image/usr 
checking for SmokeQt... no 
checking for SmokeKDE... no 
checking for X... libraries /usr/lib, headers . 
checking for gethostbyname... yes 
checking for connect... (cached) yes 
ch 
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2005-07-25 16:53:01 UTC
My 'hunch' here is that we should make this ebuild depend on kde-base/smoke and 
use that particular smoke library, which will also make it dependant on kde 
3.4.  Anyone have any objections to this?  I haven't had any responses at the 
kde-bindings email list on making this build against Qt only. 
 
alternatively, we can do some trickery in ebuild to use the internal libsmoke, 
but would have to put some blockers on kde-base/smoke. 
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2005-07-25 18:09:48 UTC
no objections here. hard imaginging qt without kde :)
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2005-07-26 07:18:42 UTC
I commited a beta2 ebuild with some changes.  This should work better, but it 
may force you to upgrade some packages in the the process.  Let's keep our 
fingers crossed that it works. 
Comment 10 Gergan Penkov 2005-07-26 10:46:56 UTC
I can confirm the bug, and that after installing smoke and removing
--enable-smoke from the ebuild (btw this is to build smoke, even if it is
there),   I can install it successfully. 
Probably it is simply a bug in the makefile, because even after that there is a
line showing after 
checking for SmokeQt... yes
checking for SmokeKDE... no
./configure: line 31326: no: command not found
the beta2 is still not in the portage so i could not tell if it works.
Comment 11 Stephane Rodet 2005-09-04 06:24:43 UTC
Just for information the bug is not x86 specific, I have the same on AMD64 
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2006-03-24 05:17:54 UTC
I think this is fixed in beta2, please reopen if not.