Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280109 - qscintilla-python fails to configure
Summary: qscintilla-python fails to configure
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 21:37 UTC by Lóránt Farkas
Modified: 2009-09-12 15:41 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.info,5.60 KB, text/plain)
2009-08-03 09:27 UTC, Lóránt Farkas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lóránt Farkas 2009-08-02 21:37:53 UTC
I have tried to emerge the above package and get:

>>> Emerging (1 of 2) dev-python/qscintilla-python-2.3.2-r2
 * QScintilla-gpl-2.3.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                               [ ok ]
>>> Unpacking source...                                                                                                    
>>> Unpacking QScintilla-gpl-2.3.2.tar.gz to /var/tmp/portage/dev-python/qscintilla-python-2.3.2-r2/work                   
>>> Source unpacked in /var/tmp/portage/dev-python/qscintilla-python-2.3.2-r2/work                                         
>>> Preparing source in /var/tmp/portage/dev-python/qscintilla-python-2.3.2-r2/work/QScintilla-gpl-2.3.2/Python ...        
 * Applying qscintilla-python-2.2-nostrip.patch ...                                                                   [ ok ]
 * Applying qscintilla-gcc44.patch ...                                                                                [ ok ]
>>> Source prepared.                                                                                                        
>>> Configuring source in /var/tmp/portage/dev-python/qscintilla-python-2.3.2-r2/work/QScintilla-gpl-2.3.2/Python ...       
Error: The QScintilla library could not be found in /usr/lib. If QScintilla is                                              
installed then use the -o argument to explicitly specify the correct directory.                                             
 *                                                                                                                          
 * ERROR: dev-python/qscintilla-python-2.3.2-r2 failed.                                                                     
 * Call stack:                                                                                                              
 *               ebuild.sh, line   49:  Called src_configure                                                                
 *             environment, line 2535:  Called die                                                                          
 * The specific snippet of code:                                                                                            
 *       ${python} configure.py ${myconf} || die "configure.py failed"                                                      
 *  The die message:                                                                                                        
 *   configure.py 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/qscintilla-python-2.3.2-r2/temp/build.log'.              
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/qscintilla-python-2.3.2-r2/temp/environment'.     
 *                                                                                                                          
The error occurs because the line 

local myconf="-o /usr/lib -n /usr/include"

changing this to

local myconf="-o /usr/$(get_libdir) -n /usr/include"

solved the problem


Reproducible: Always
Comment 1 James Earl Spahlinger 2009-08-03 01:12:12 UTC
could you include your 'emerge --info' output to assist the maintainers?
Comment 2 Lóránt Farkas 2009-08-03 09:27:04 UTC
Created attachment 199996 [details]
emerge --info
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-19 15:17:56 UTC
Post the output of:
readlink /usr/lib