Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280968 - sip-4.8.2 fails to build
Summary: sip-4.8.2 fails to build
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 07:56 UTC by Marco Gusy
Modified: 2009-08-13 17:05 UTC (History)
1 user (show)

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 Marco Gusy 2009-08-10 07:56:43 UTC
sip-4.8.1 doesn't have problems, sip-4.8.2 dies with die "/usr/bin/python isn't valid program"; 

Reproducible: Always

Steps to Reproduce:
1.emerge =sip-4.8.2

Actual Results:  
>>> Emerging (3 of 94) dev-python/sip-4.8.2
 * sip-4.8.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                           [ ok ]
>>> Unpacking source...                                                                                
>>> Unpacking sip-4.8.2.tar.gz to /var/tmp/portage/dev-python/sip-4.8.2/work                           
>>> Source unpacked in /var/tmp/portage/dev-python/sip-4.8.2/work                                      
>>> Preparing source in /var/tmp/portage/dev-python/sip-4.8.2/work/sip-4.8.2 ...                       
 *                                                                                                     
 * ERROR: dev-python/sip-4.8.2 failed.                                                                 
 * Call stack:                                                                                         
 *               ebuild.sh, line   49:  Called src_prepare                                             
 *             environment, line 1507:  Called python_copy_sources                                     
 *             environment, line 1000:  Called validate_PYTHON_ABIS                                    
 *             environment, line 1806:  Called die                                                     
 * The specific snippet of code:                                                                       
 *           die "/usr/bin/python isn't valid program";                                                
 *  The die message:                                                                                   
 *   /usr/bin/python isn't valid program                                                               
 *                                                                                                     
 * 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/sip-4.8.2/temp/build.log'.          
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/sip-4.8.2/temp/environment'. 
 *                                                                                                     

>>> Failed to emerge dev-python/sip-4.8.2, Log file:

>>>  '/var/tmp/portage/dev-python/sip-4.8.2/temp/build.log'

 * Messages for package dev-python/sip-4.8.2:

 * 
 * ERROR: dev-python/sip-4.8.2 failed.
 * Call stack:                        
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 1507:  Called python_copy_sources
 *             environment, line 1000:  Called validate_PYTHON_ABIS
 *             environment, line 1806:  Called die                 
 * The specific snippet of code:                                   
 *           die "/usr/bin/python isn't valid program";            
 *  The die message:                                               
 *   /usr/bin/python isn't valid program                           
 *                                                                 
 * 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/sip-4.8.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/sip-4.8.2/temp/environment'.
 *                                                                                                    

 * GNU info directory index is up-to-date.


Expected Results:  
                 

>>> Installing (1 of 1) dev-python/sip-4.8.2
Comment 1 Rafał Mużyło 2009-08-10 12:27:55 UTC
Check 'eselect python list' and 'ls -l /usr/bin/python'.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-08-10 17:22:44 UTC
Is your portage tree up2date?
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-10 17:25:20 UTC
The reporter invalidly changed /usr/bin/python. Please run:
emerge --sync
emerge -1 ">=app-admin/eselect-python-20090804"
eselect python set python2.6
Comment 4 Marco Gusy 2009-08-13 16:47:56 UTC
i used it with python 2.5. I did not change /usr/bin/python i switched using eselect python.
Is this issue related to python version?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-13 17:05:24 UTC
The commands in comment #3 should help you.
You probably performed invalid and unsupported workaround (manual symlinking of /usr/bin/python) for another bug.