Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20043 - emerge kmplayer fails with "no configure script found" (kmplayer-0.7.3)
Summary: emerge kmplayer fails with "no configure script found" (kmplayer-0.7.3)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-27 09:28 UTC by Stewart Jeacocke
Modified: 2003-04-27 10:44 UTC (History)
0 users

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 Stewart Jeacocke 2003-04-27 09:28:09 UTC
Emerge of kmplayer-0.7.3 fails with "no configure script found". It looks like this is because the bz2 
file doesn't create the directory "/var/tmp/portage/kmplayer-0.7.3/work/kmplayer". When I look in  
"/var/tmp/portage/kmplayer-0.7.3/work/" all I find is the uncompressed tar file. 

Reproducible: Always
Steps to Reproduce:
1. emerge kmplayer 
Actual Results:  
Calculating dependencies ...done! 
>>> emerge (1 of 1) media-video/kmplayer-0.7.3 to / 
>>> md5 ;-) kmplayer-0.7.3.tar.bz2 
>>> Unpacking source... 
>>> Unpacking kmplayer-0.7.3.tar.bz2 to /var/tmp/portage/kmplayer-0.7.3/work 
/usr/sbin/ebuild.sh: line 37: cd: /var/tmp/portage/kmplayer-0.7.3/work/kmplayer: No such file or 
directory 
/usr/sbin/ebuild.sh: line 43: cd: /var/tmp/portage/kmplayer-0.7.3/work/kmplayer: No such file or 
directory 
>>> Source unpacked. 
/usr/sbin/ebuild.sh: line 64: cd: /var/tmp/portage/kmplayer-0.7.3/work/kmplayer: No such file or 
directory 
/usr/sbin/ebuild.sh: line 64: cd: /var/tmp/portage/kmplayer-0.7.3/work/kmplayer: No such file or 
directory 
 
!!! ERROR: media-video/kmplayer-0.7.3 failed. 
!!! Function kde_src_compile, Line 107, Exitcode 1 
!!! no configure script found, generation unsuccessful 
 


Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) XP 1600+ 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm avi crypt encode gif gpm jpeg libg++ mikmod mmx mpeg ncurses nls 
pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java sdl 
tcpd pam libwww ssl perl python imlib oggvorbis motif opengl mozilla scanner X qt kde alsa cups dvd 
tetex -gtk -gnome -esd" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-27 09:43:24 UTC
It works here. Are you sure the tar file is correct?
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2003-04-27 09:53:09 UTC
do other ebuilds work?
a friend had the same problem, it was a broken sed (which always
returned a segfault) -> ebuild.sh couldn't parse .tar.bz2 and only
bunzip2ed the tarball. insert an 'echo $y' in /usr/sbin/ebuild.sh
line 276. (after the "bz2)"). 
Comment 3 Stewart Jeacocke 2003-04-27 10:02:17 UTC
As hannes suggested I modified ebuild.sh as follows, 
 
bz2) 
                        echo "debug \$y:${y}" 
                        if [ "${y}" == "tar" ]; then 
                                tar xj --no-same-owner -f ${DISTDIR}/${x} || die "$myfail" 
 
On running it appears tha $y is completely empty at this stage. So i guess it may well 
be a sed bug 
Comment 4 Stewart Jeacocke 2003-04-27 10:10:45 UTC
As for Pauls' comment I have extracted the tar file in 
/var/tmp/portage/kmplayer-0.7.3/work/ using "tar xf kmplayer-0.7.3.tar". That worked fine 
however emerge kmplayer still fails. 
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2003-04-27 10:20:59 UTC
other ebuilds work?

echo kmplayer-0.7.3.tar.bz2 | sed 's:.*\.\(tar\)\.[a-zA-Z0-9]*:\1:'
should return 'tar';
export x='kmplayer-0.7.3.tar.bz2'; echo ${x##*.}
should return 'bz2'

please try recompiling sed.
Comment 6 Stewart Jeacocke 2003-04-27 10:35:41 UTC
Its sed thats the problem, 
stewart@orb stewart $ echo $x | sed 's:.*\.\(tar\)\.[a-zA-Z0-9]*:\1:' 
Segmentation fault 
 
Problem is I can't run emerge sed even if a force $y="tar" because the configure 
script dies. I guess I must have updated to a buggy sed when I emerged world last 
night. Unless anyone has a better suggestion I'll just find a compiled working sed 
somewhere and use that 
 
Comment 7 Stewart Jeacocke 2003-04-27 10:37:21 UTC
Got hold of a working sed then did "emerge sed". Everything working now :). I guess 
that my sed binary must have got corrupted somehow. Thanks for your help 
Comment 8 Hannes Mehnert (RETIRED) gentoo-dev 2003-04-27 10:44:04 UTC
you're welcome. marking as fixed.