Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271280

Summary: dev-libs/libgweather-2.26.1 fails to configure with -python
Product: Gentoo Linux Reporter: Timo Gurr (RETIRED) <tgurr>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 263083    

Description Timo Gurr (RETIRED) gentoo-dev 2009-05-26 09:13:04 UTC
dev-libs/libgweather-2.26.1 checks for python even if USE="-python" was given and thus fails if dev-python/pygobject isn't installed:

checking for msgfmt... (cached) /usr/bin/msgfmt                                                                                                                                                                                   
checking for dcgettext... yes                                                                                                                                                                                                     
checking if msgfmt accepts -c... yes                                                                                                                                                                                              
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt                                                                                                                                                                                 
checking for xgettext... (cached) /usr/bin/xgettext                                                                                                                                                                               
checking for struct tm.tm_gmtoff... yes                                                                                                                                                                                           
checking for _NL_MEASUREMENT_MEASUREMENT... yes                                                                                                                                                                                   
checking for python... /usr/bin/python                                                                                                                                                                                            
checking for python version... 2.6                                                                                                                                                                                                
checking for python platform... linux2                                                                                                                                                                                            
checking for python script directory... ${prefix}/lib64/python2.6/site-packages                                                                                                                                                   
checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages                                                                                                                                    
checking for headers required to compile python extensions... found                                                                                                                                                               
checking for PYGOBJECT... configure: error: Package requirements (pygobject-2.0) were not met:                                                                                                                                    

No package 'pygobject-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.                      

Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
and PYGOBJECT_LIBS to avoid the need to call pkg-config.             
See the pkg-config man page for more details.                        


!!! ERROR in dev-libs/libgweather-2.26.1:
!!! In econf at line 1303                
!!! econf failed

Reproducible: Always
Comment 1 Gilles Dartiguelongue gentoo-dev 2009-05-31 19:07:15 UTC
emerge --info & config.log please, it builds just fine without python here. Did you run python-updater after python 2.6 upgrade ?