I recieved this error message when trying to emerge k3studio. I attempted to manually edit the ebuild with the absolute path to python2.0 libs, however ./configure failed to recognize python. root@fire portage # emerge media-gfx/k3studio/ Calculating dependencies ...done! >>> emerge media-gfx/k3studio-0.97 to / >>> md5 ;-) k3studio-0.97.tar.gz >>> Unpacking source... >>> Unpacking k3studio-0.97.tar.gz >>> Source unpacked. --with-qhull-includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python-includes=/usr/include/python2.0 --with-python-libraries=\"-L. -L/usr/lib/python2.0/config -lm -lpython2.0 -lreadline -lncurses -lcrypt -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11 -ldb-3.2 -lz -lutil\" configure: error: -L/usr/lib/python2.0/config: invalid option; use --help to show usage !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -3525, Exitcode 1 !!! died running ./configure, kde_src_compile:configure !!! emerge aborting on /usr/portage/media-gfx/k3studio/k3studio-0.97.ebuild .
this problem looks like an issue with passing a string with spaces /usr/portage/media-gfx/k3studio/k3studio-0.97.ebuild: myconf="$myconf --with-python-libraries=\\\"-L. -L/usr/lib/python2.0/config `python-config`\\\"" the kde_src_compile func in /usr/portage/eclass/kde.eclass passes this to the configure script as: + ./configure --with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.0 '--with-python- libraries=\"-L.' -L/usr/lib/python2.0/config -lm -lpython2.0 -lreadline - lncurses -lcrypt -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11 -lz '-lutil\"' -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/2 --prefix=/usr/kde/2 --enable-mt --disable-debug --without-debug i'm not sure how to make it pass correctly however, i'm just pointing out the problem ;)
Please try the 0.98 ebuild, and tell me if it works. Thanks!
no go my friend ***** SHORT VERSION ***** vapier k3studio # emerge k3studio-0.98.ebuild Calculating dependencies ...done! >>> emerge media-gfx/k3studio-0.98 to / >>> md5 ;-) k3studio-0.98.tar.gz >>> Unpacking source... >>> Unpacking k3studio-0.98.tar.gz >>> Source unpacked. qtmt configure: error: -L/usr/lib/python2.2/config: invalid option; use --help to show usage !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -3927, Exitcode 1 !!! died running ./configure, kde_src_compile:configure !!! emerge aborting on /usr/portage/media-gfx/k3studio/k3studio-0.98.ebuild . ***** LONG VERSION ***** vapier k3studio # emerge k3studio-0.98.ebuild -d Calculating dependencies \+ dyn_clean + '[' -d /var/tmp/portage/k3studio-0.98/work ']' + rm -rf /var/tmp/portage/k3studio-0.98/work + '[' -d /var/tmp/portage/k3studio-0.98/image ']' + '[' -d /var/tmp/portage/k3studio-0.98/build-info ']' + rm -rf /var/tmp/portage/k3studio-0.98/.compiled + set +x + dyn_setup + pkg_setup + return + set +x + dyn_unpack + trap abort_unpack SIGINT SIGQUIT + local newstuff=no + '[' -e /var/tmp/portage/k3studio-0.98/work ']' + '[' -e /var/tmp/portage/k3studio-0.98/work ']' + install -m0700 -d /var/tmp/portage/k3studio-0.98/work + cd /var/tmp/portage/k3studio-0.98/work + echo '>>> Unpacking source...' >>> Unpacking source... + src_unpack + base_src_unpack + debug-print-function base_src_unpack + str=base_src_unpack: entering function + shift + debug-print 'base_src_unpack: entering function, parameters: ' + '[' 'base_src_unpack: entering function, parameters: ' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo base_src_unpack: entering function, parameters: + shift + '[' '' ']' + '[' -z '' ']' + base_src_unpack all + debug-print-function base_src_unpack all + str=base_src_unpack: entering function + shift + debug-print 'base_src_unpack: entering function, parameters: all' + '[' 'base_src_unpack: entering function, parameters: all' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo base_src_unpack: entering function, parameters: all + shift + '[' '' ']' + '[' -z all ']' + cd /var/tmp/portage/k3studio-0.98/work + '[' all ']' + debug-print-section all + debug-print 'now in section all' + '[' 'now in section all' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo now in section all + shift + '[' '' ']' + base_src_unpack unpack autopatch + debug-print-function base_src_unpack unpack autopatch + str=base_src_unpack: entering function + shift + debug-print 'base_src_unpack: entering function, parameters: unpack autopatch' + '[' 'base_src_unpack: entering function, parameters: unpack autopatch' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo base_src_unpack: entering function, parameters: unpack autopatch + shift + '[' '' ']' + '[' -z unpack ']' + cd /var/tmp/portage/k3studio-0.98/work + '[' unpack ']' + debug-print-section unpack + debug-print 'now in section unpack' + '[' 'now in section unpack' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo now in section unpack + shift + '[' '' ']' + '[' -n '' -a -n '' -a -n '' -a -n '' ']' + unpack k3studio-0.98.tar.gz + local x + echo '>>> Unpacking k3studio-0.98.tar.gz' >>> Unpacking k3studio-0.98.tar.gz + tar xz --no-same-owner -f /usr/portage/distfiles/k3studio-0.98.tar.gz + shift + '[' autopatch ']' + debug-print-section autopatch + debug-print 'now in section autopatch' + '[' 'now in section autopatch' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo now in section autopatch + shift + '[' '' ']' + debug-print 'base_src_unpack: autopatch: PATCHES=' + '[' 'base_src_unpack: autopatch: PATCHES=' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo base_src_unpack: autopatch: PATCHES= + shift + '[' '' ']' + cd /var/tmp/portage/k3studio-0.98/work/k3studio-0.98 + shift + '[' '' ']' + shift + '[' '' ']' + cd /var/tmp/portage/k3studio-0.98/work + '[' '' ']' + echo '>>> Source unpacked.' >>> Source unpacked. + cd .. + trap SIGINT SIGQUIT + set +x + dyn_compile + trap abort_compile SIGINT SIGQUIT + export CFLAGS CXXFLAGS LIBCFLAGS LIBCXXFLAGS + '[' /var/tmp/portage/k3studio-0.98/.compiled -nt /var/tmp/portage/k3studio- 0.98/work ']' + '[' -d /var/tmp/portage/k3studio-0.98/work/k3studio-0.98 ']' + cd /var/tmp/portage/k3studio-0.98/work/k3studio-0.98 + export S D + src_compile + myconf=--with-qhull-includes=/usr/include/qhull + myconf=--with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib + myconf=--with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.2 ++ python-config + myconf=--with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.2 --with- python-libraries=\"-L. -L/usr/lib/python2.2/config -lpython2.2 -lm - L/usr/lib/python2.2/config \" + kde_src_compile myconf + debug-print-function kde_src_compile myconf + str=kde_src_compile: entering function + shift + debug-print 'kde_src_compile: entering function, parameters: myconf' + '[' 'kde_src_compile: entering function, parameters: myconf' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo kde_src_compile: entering function, parameters: myconf + shift + '[' '' ']' + '[' -z myconf ']' + cd /var/tmp/portage/k3studio-0.98/work/k3studio-0.98 + '[' myconf ']' + debug-print-section myconf + debug-print 'now in section myconf' + '[' 'now in section myconf' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo now in section myconf + shift + '[' '' ']' + myconf=--with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.2 --with- python-libraries=\"-L. -L/usr/lib/python2.2/config -lpython2.2 -lm - L/usr/lib/python2.2/config \" --host=i686-pc-linux-gnu --with-x --enable- mitshm --with-xinerama --with-qt-dir=/usr/qt/3 + myconf=--with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.2 --with- python-libraries=\"-L. -L/usr/lib/python2.2/config -lpython2.2 -lm - L/usr/lib/python2.2/config \" --host=i686-pc-linux-gnu --with-x --enable- mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --prefix=/usr/kde/3 + use qtmt + local x xopts flag opts + flag=qtmt + '[' qtmt '!=' qtmt ']' + opts= + '[' tex == qtmt ']' + '[' -3dfx == qtmt ']' + '[' -3dnow == qtmt ']' + '[' aalib == qtmt ']' + '[' -acl == qtmt ']' + '[' -afs == qtmt ']' + '[' alsa == qtmt ']' + '[' apm == qtmt ']' + '[' arts == qtmt ']' + '[' -atlas == qtmt ']' + '[' avi == qtmt ']' + '[' -berkdb == qtmt ']' + '[' -bonobo == qtmt ']' + '[' crypt == qtmt ']' + '[' cups == qtmt ']' + '[' dga == qtmt ']' + '[' directfb == qtmt ']' + '[' doc == qtmt ']' + '[' dvd == qtmt ']' + '[' encode == qtmt ']' + '[' esd == qtmt ']' + '[' evo == qtmt ']' + '[' fbcon == qtmt ']' + '[' -flash == qtmt ']' + '[' -gb == qtmt ']' + '[' gd == qtmt ']' + '[' gdbm == qtmt ']' + '[' -ggi == qtmt ']' + '[' ggz == qtmt ']' + '[' gif == qtmt ']' + '[' gnome == qtmt ']' + '[' gnome-libs == qtmt ']' + '[' gphoto2 == qtmt ']' + '[' -gpm == qtmt ']' + '[' gtk == qtmt ']' + '[' -gtkhtml == qtmt ']' + '[' -guile == qtmt ']' + '[' icc == qtmt ']' + '[' icc-pgo == qtmt ']' + '[' imap == qtmt ']' + '[' imlib == qtmt ']' + '[' -innodb == qtmt ']' + '[' ipv6 == qtmt ']' + '[' java == qtmt ']' + '[' jpeg == qtmt ']' + '[' kde == qtmt ']' + '[' -lcms == qtmt ']' + '[' -ldap == qtmt ']' + '[' libg++ == qtmt ']' + '[' -libgda == qtmt ']' + '[' libwww == qtmt ']' + '[' -matrox == qtmt ']' + '[' -maildir == qtmt ']' + '[' -mbox == qtmt ']' + '[' mikmod == qtmt ']' + '[' mmx == qtmt ']' + '[' motif == qtmt ']' + '[' mozilla == qtmt ']' + '[' mpeg == qtmt ']' + '[' -mysql == qtmt ']' + '[' nas == qtmt ']' + '[' ncurses == qtmt ']' + '[' -nls == qtmt ']' + '[' nocardbus == qtmt ']' + '[' -odbc == qtmt ']' + '[' oggvorbis == qtmt ']' + '[' opengl == qtmt ']' + '[' oss == qtmt ']' + '[' pam == qtmt ']' + '[' -pcmcia == qtmt ']' + '[' pda == qtmt ']' + '[' pdflib == qtmt ']' + '[' perl == qtmt ']' + '[' -pic == qtmt ']' + '[' plotutils == qtmt ']' + '[' png == qtmt ']' + '[' -pnp == qtmt ']' + '[' -postgress == qtmt ']' + '[' python == qtmt ']' + '[' qt == qtmt ']' + '[' qtmt == qtmt ']' + xopts=qtmt + xopts= qtmt + echo qtmt qtmt + return 0 + myconf=--with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.2 --with- python-libraries=\"-L. -L/usr/lib/python2.2/config -lpython2.2 -lm - L/usr/lib/python2.2/config \" --host=i686-pc-linux-gnu --with-x --enable- mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt + '[' -n '' ']' + myconf=--with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.2 --with- python-libraries=\"-L. -L/usr/lib/python2.2/config -lpython2.2 -lm - L/usr/lib/python2.2/config \" --host=i686-pc-linux-gnu --with-x --enable- mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt - -disable-debug --without-debug + debug-print 'kde_src_compile: myconf: set to --with-qhull- includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python- includes=/usr/include/python2.2 --with-python-libraries=\"-L. - L/usr/lib/python2.2/config -lpython2.2 -lm -L/usr/lib/python2.2/config \" -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt --disable-debug --without-debug' + '[' 'kde_src_compile: myconf: set to --with-qhull- includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python- includes=/usr/include/python2.2 --with-python-libraries=\"-L. - L/usr/lib/python2.2/config -lpython2.2 -lm -L/usr/lib/python2.2/config \" -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt --disable-debug --without- debug' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo kde_src_compile: myconf: set to --with-qhull- includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python- includes=/usr/include/python2.2 '--with-python-libraries=\"-L.' - L/usr/lib/python2.2/config -lpython2.2 -lm -L/usr/lib/python2.2/config '\"' -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt --disable-debug --without-debug + shift + '[' '' ']' + shift + '[' '' ']' + kde_src_compile configure + debug-print-function kde_src_compile configure + str=kde_src_compile: entering function + shift + debug-print 'kde_src_compile: entering function, parameters: configure' + '[' 'kde_src_compile: entering function, parameters: configure' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo kde_src_compile: entering function, parameters: configure + shift + '[' '' ']' + '[' -z configure ']' + cd /var/tmp/portage/k3studio-0.98/work/k3studio-0.98 + '[' configure ']' + debug-print-section configure + debug-print 'now in section configure' + '[' 'now in section configure' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo now in section configure + shift + '[' '' ']' + debug-print 'kde_src_compile::configure: myconf=--with-qhull- includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python- includes=/usr/include/python2.2 --with-python-libraries=\"-L. - L/usr/lib/python2.2/config -lpython2.2 -lm -L/usr/lib/python2.2/config \" -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt --disable-debug --without-debug' + '[' 'kde_src_compile::configure: myconf=--with-qhull- includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python- includes=/usr/include/python2.2 --with-python-libraries=\"-L. - L/usr/lib/python2.2/config -lpython2.2 -lm -L/usr/lib/python2.2/config \" -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt --disable-debug --without- debug' ']' + '[' '' == on ']' + '[' -n '' ']' + '[' -d /var/tmp/portage/k3studio-0.98/temp ']' + echo kde_src_compile::configure: myconf=--with-qhull- includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python- includes=/usr/include/python2.2 '--with-python-libraries=\"-L.' - L/usr/lib/python2.2/config -lpython2.2 -lm -L/usr/lib/python2.2/config '\"' -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt --disable-debug --without-debug + shift + '[' '' ']' + '[' '!' -f ./configure ']' + export PATH=/usr/kde/3/bin:/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/loca l/bin:/opt/rar:/opt/RealPlayer8:/usr/X11R6/bin:/opt/blackdown-jre- 1.3.1/bin:/usr/qt/3/bin:/opt/linux- ntfs/bin:/usr/qt/2/bin:/usr/kde/3/bin:/usr/kde/3/bin:/usr/kde/3/bin:/usr/kde/2/b in:/usr/wine/bin:/usr/winex/bin:/opt/cvsup + PATH=/usr/kde/3/bin:/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/loca l/bin:/opt/rar:/opt/RealPlayer8:/usr/X11R6/bin:/opt/blackdown-jre- 1.3.1/bin:/usr/qt/3/bin:/opt/linux- ntfs/bin:/usr/qt/2/bin:/usr/kde/3/bin:/usr/kde/3/bin:/usr/kde/3/bin:/usr/kde/2/b in:/usr/wine/bin:/usr/winex/bin:/opt/cvsup + ./configure --with-qhull-includes=/usr/include/qhull --with-qhull- libraries=/usr/lib --with-python-includes=/usr/include/python2.2 '--with-python- libraries=\"-L.' -L/usr/lib/python2.2/config -lpython2.2 -lm - L/usr/lib/python2.2/config '\"' --host=i686-pc-linux-gnu --with-x --enable- mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt - -disable-debug --without-debug configure: error: -L/usr/lib/python2.2/config: invalid option; use --help to show usage + diefunc kde_src_compile -3927 1 'died running ./configure, kde_src_compile:configure' + local funcname=kde_src_compile lineno=-3927 exitcode=1 + shift 3 + echo + echo '!!! ERROR: The ebuild did not complete successfully.' !!! ERROR: The ebuild did not complete successfully. + echo '!!! Function kde_src_compile, Line -3927, Exitcode 1' !!! Function kde_src_compile, Line -3927, Exitcode 1 + echo '!!! died running ./configure, kde_src_compile:configure' !!! died running ./configure, kde_src_compile:configure + echo + exit 1 ...done! >>> emerge media-gfx/k3studio-0.98 to / >>> md5 ;-) k3studio-0.98.tar.gz !!! emerge aborting on /usr/portage/media-gfx/k3studio/k3studio-0.98.ebuild .
it looks like the same problem from before + echo kde_src_compile::configure: myconf=--with-qhull- includes=/usr/include/qhull --with-qhull-libraries=/usr/lib --with-python- includes=/usr/include/python2.2 '--with-python-libraries=\"-L.' - L/usr/lib/python2.2/config -lpython2.2 -lm -L/usr/lib/python2.2/config '\"' -- host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt- dir=/usr/qt/3 --prefix=/usr/kde/3 --enable-mt --disable-debug --without-debug the --with-python-libraries option isnt being set properly because of the spacing issue why not try this ... its kind of a dirty hack, but a dirty hack is better than no hack ;) (i havent tried this out, its more a suggestion of what to try) try replacing 'kde_src_compile configure' with like: echo exec ./configure ${myconf} > ${S}/what_a_dirty_hack chmod a+rx what_a_dirty_hack ${S}/what_a_dirty_hack
Please emerge sync --clean and try again?
a quick update ... the configure does work now, but my compile failed ... im gonna play with it later to track down the source of error
Please show me the output of the error...
Created attachment 1982 [details] emerge k3studio-0.98.ebuild >& ~/k3studio compile errors
k3studio was masked as broken long ago. Someone needs to devote quite some time to make it work...
and the project seems to have stopped development upstream, too. there was only 1 developer afaics...
Closing this as wontfix until someone makes a working version
if its an upstream problem ...
then we cant fix it
any particular reason this was reopened? should it be a CANTFIX?
see above comments
reclosing as cantfix