Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265984 - kde-base/pykde4-4.2.2: build failed. No rule to make target `install'.
Summary: kde-base/pykde4-4.2.2: build failed. No rule to make target `install'.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 267641 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-13 11:36 UTC by Julius Kriukas
Modified: 2010-01-11 15:41 UTC (History)
5 users (show)

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


Attachments
emerge --info (emerge.info,3.60 KB, text/plain)
2009-04-13 12:17 UTC, Julius Kriukas
Details
build.log (build.log,5.65 KB, text/plain)
2009-04-13 12:18 UTC, Julius Kriukas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julius Kriukas 2009-04-13 11:36:43 UTC
I am using prefix ~amd64. Tried to upgrade from kde4.2 to kde4.2.2.
kde-base/pykde4-4.2.2 failed tp build with message make: *** No rule to make target `install'.  Stop.

Reproducible: Always

Steps to Reproduce:
1.emerge --update --deep --newuse world

Actual Results:  
...
-- Configuring done
-- Generating done 
-- Build files have been written to: /var/tmp/portage/kde-base/pykde4-4.2.2/work/pykde4_build
>>> Source configured.                                                                       
>>> Compiling source in /var/tmp/portage/kde-base/pykde4-4.2.2/work/pykde4-4.2.2 ...         
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.2.2/work/pykde4_build"         
make -j3                                                                                     
>>> Source compiled.                                                                         
>>> Test phase [not enabled]: kde-base/pykde4-4.2.2                                          

>>> Install pykde4-4.2.2 into /var/tmp/portage/kde-base/pykde4-4.2.2/image/ category kde-base
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.2.2/work/pykde4_build"
make -j3 install DESTDIR=/var/tmp/portage/kde-base/pykde4-4.2.2/image/
make: *** No rule to make target `install'.  Stop.
 *
 * ERROR: kde-base/pykde4-4.2.2 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_install
 *             environment, line 4028:  Called kde4-meta_src_install
 *             environment, line 3067:  Called kde4-base_src_install
 *             environment, line 2738:  Called cmake-utils_src_install
 *             environment, line 1100:  Called die
 * The specific snippet of code:
 *       emake install DESTDIR="${D}" || die "Make install failed";
 *  The die message:
 *   Make install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.2.2/temp/environment'.
 *

>>> Failed to emerge kde-base/pykde4-4.2.2, Log file:

Expected Results:  
Smooth build and installation process :)

Using prefix ~amd64
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-13 11:47:22 UTC
Complete build.log please and emerge --info
Comment 2 Julius Kriukas 2009-04-13 12:17:27 UTC
Created attachment 188218 [details]
emerge --info
Comment 3 Julius Kriukas 2009-04-13 12:18:26 UTC
Created attachment 188220 [details]
build.log
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-13 12:29:53 UTC
Try to recompile your PyQt4 package
Comment 5 Julius Kriukas 2009-04-13 12:54:30 UTC
(In reply to comment #4)
> Try to recompile your PyQt4 package
> 

I have tried to remove PyQt4 and run emerge --update --deep world again.

However package dev-python/PyQt4-4.4.4-r3 produced similar error:

>>> Emerging (1 of 219) dev-python/PyQt4-4.4.4-r3
 * PyQt-x11-gpl-4.4.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                           [ ok ]
>>> Unpacking source...                                                                                                                                                
>>> Unpacking PyQt-x11-gpl-4.4.4.tar.gz to /var/tmp/portage/dev-python/PyQt4-4.4.4-r3/work                                                                             
>>> Source unpacked in /var/tmp/portage/dev-python/PyQt4-4.4.4-r3/work                                                                                                 
>>> Preparing source in /var/tmp/portage/dev-python/PyQt4-4.4.4-r3/work/PyQt-x11-gpl-4.4.4 ...                                                                         
 * Applying configure.py.patch ...                                                                                                                                [ ok ]
>>> Source prepared.                                                                                                                                                    
>>> Configuring source in /var/tmp/portage/dev-python/PyQt4-4.4.4-r3/work/PyQt-x11-gpl-4.4.4 ...                                                                        
Traceback (most recent call last):                                                                                                                                      
  File "configure.py", line 43, in <module>                                                                                                                             
    import sipconfig                                                                                                                                                    
ImportError: No module named sipconfig                                                                                                                                  
>>> Source configured.                                                                                                                                                  
>>> Compiling source in /var/tmp/portage/dev-python/PyQt4-4.4.4-r3/work/PyQt-x11-gpl-4.4.4 ...                                                                          
>>> Source compiled.                                                                                                                                                    
>>> Test phase [not enabled]: dev-python/PyQt4-4.4.4-r3

>>> Install PyQt4-4.4.4-r3 into /var/tmp/portage/dev-python/PyQt4-4.4.4-r3/image/ category dev-python
make -j3 DESTDIR=/var/tmp/portage/dev-python/PyQt4-4.4.4-r3/image/ INSTALL_ROOT=/var/tmp/portage/dev-python/PyQt4-4.4.4-r3/image/ install
make: *** No rule to make target `install'.  Stop.
 *
 * ERROR: dev-python/PyQt4-4.4.4-r3 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_install
 *             environment, line 3126:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed";
 *  The die message:
 *   install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.4.4-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.4.4-r3/temp/environment'.
 *

>>> Failed to emerge dev-python/PyQt4-4.4.4-r3, Log file:



Just to be sure all compilers and make tools working fine I have successfully installed netcat package.

Also have tired to disable ccache. But that haven't helped.

Am I missing some packages for successfull pyqt4 building?
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-13 13:02:20 UTC
there is one dev-python/sip package
so try to recompile that one , then the pyqt and then the pykde :]
Didnt you update python to 2.6 and forget to run python-updater ?
Comment 7 Julius Kriukas 2009-04-13 13:21:13 UTC
(In reply to comment #6)
> there is one dev-python/sip package
> so try to recompile that one , then the pyqt and then the pykde :]
> Didnt you update python to 2.6 and forget to run python-updater ?
> 

python-updater haven't found any previous Python versions.

However rebuilding of dev-python/sip made dev-python/PyQt4-4.4.4-r3 build successfully.

And new kde-base/pykde4-4.2.2 is building with no errors :).

Sincere thanks for help and sorry for trouble.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-13 13:28:22 UTC
We will close it bit later, when we make sure this wont happen to anyone else.


@python guys:
what on earth could cause this?
Comment 9 André Terpstra 2009-04-13 13:32:57 UTC
Stumbled upon this one too. Will try the workaround presented here.
Comment 10 André Terpstra 2009-04-13 13:49:12 UTC
Just as a reminder for myself and others, the compilation step to insert here is:

emerge --oneshot sip PyQt4

Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-13 16:06:09 UTC
I hit this one too during my update to KDE-4.2.2 and after updating to python-2.6. I had to run python-updater, emerge @preserved-rebuild and a few manual emerges before I got all python packages working again.
Comment 12 Valeri Sokolov 2009-04-13 21:30:15 UTC
Same behavior.
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2009-04-14 13:16:29 UTC
Got hit by this and after "emerge -1av sip PyQt4" got right back to bug 256935 which plagued me in an earlier version too.
Comment 14 André Terpstra 2009-04-14 18:08:36 UTC
"emerge --oneshot sip PyQt4" worked for me, without python-updater or any other special measure.
Comment 15 Harm Geerts 2009-04-15 06:39:42 UTC
I've seen a few reports of upgrade procedures failing because the default python version is switched to 2.6 when it is installed. If setting python2.6 is intended then running python-updater should be forced immediately in some way. If not then setting python 2.6 as the default is a bug.

sip: bug 266149
java-config: http://forums.gentoo.org/viewtopic-t-756062.html
Comment 16 Ivan Lakhturov 2009-04-19 14:52:02 UTC
In my case python-updater helped, - pykde4 recompiled smoothly.
Comment 17 Patrick Lauer gentoo-dev 2009-04-25 18:34:21 UTC
I can't reproduce this issue. There's actually at least two issues shown here, one is an incomplete python update.

Please run python-updater, run revdep-rebuild and update everything to the newest available versions, then try to reproduce it.
Comment 18 Frank Joseph Greer 2009-04-27 03:15:38 UTC
emerge --oneshot sip PyQT4 was all my setup needed as well
Comment 19 Timo Gurr (RETIRED) gentoo-dev 2009-04-27 13:52:28 UTC
*** Bug 267641 has been marked as a duplicate of this bug. ***
Comment 20 Marko Weber Bürgermeister 2009-05-06 18:43:33 UTC
(In reply to comment #6)
> there is one dev-python/sip package
> so try to recompile that one , then the pyqt and then the pykde :]
> Didnt you update python to 2.6 and forget to run python-updater ?
> 

This solved the Problem here(In reply to comment #6)
> there is one dev-python/sip package
> so try to recompile that one , then the pyqt and then the pykde :]
> Didnt you update python to 2.6 and forget to run python-updater ?
> 

This solved here also the problem. Was nagging my nerves :-)
Comment 21 Jason Ash 2010-01-11 15:41:55 UTC
Hi, I'm a newbie, so could anyone please e-mail me a step by step guide in plain English of how to work around this problem. I can't get kde-meta to emerge and install because it keeps failing here with this same error. Thanks, Jason.