Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403169 - =dev-python/pyside-1.1.0 fails to compile with USE="-*"
Summary: =dev-python/pyside-1.1.0 fails to compile with USE="-*"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 401789
  Show dependency tree
 
Reported: 2012-02-11 14:49 UTC by Maurizio Camisaschi (amd64 AT)
Modified: 2012-03-07 00:45 UTC (History)
1 user (show)

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


Attachments
build.log without test (pyside-1.1.0:20120211-143422.log,35.83 KB, text/plain)
2012-02-11 14:49 UTC, Maurizio Camisaschi (amd64 AT)
Details
build.log with test (pyside-1.1.0:20120211-144321.log,23.77 KB, text/plain)
2012-02-11 14:49 UTC, Maurizio Camisaschi (amd64 AT)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Camisaschi (amd64 AT) 2012-02-11 14:49:12 UTC
Created attachment 301565 [details]
build.log without test

USE="-*" emerge -v =dev-python/pyside-1.1.0

[ 63%] Building CXX object PySide/QtCore/CMakeFiles/QtCore.dir/glue/qeasingcurve_glue.cpp.o                                                       
Linking CXX shared module ../QtCore.so                                                                                                            
[ 63%] Built target QtCore                                                                                                                        
make: *** [all] Errore 2
 * ERROR: dev-python/pyside-1.1.0 failed (compile phase):
 *   emake failed


FEATURES="-test" USE="-*" emerge -v =dev-python/pyside-1.1.0

[ 96%] Building CXX object PySide/QtNetwork/CMakeFiles/QtNetwork.dir/PySide/QtNetwork/qsslsocket_wrapper.cpp.o                                    
/var/tmp/portage/dev-python/pyside-1.1.0/work/pyside-1.1.0_build/PySide/QtNetwork/PySide/QtNetwork/qsslsocket_wrapper.cpp: In member function ‘virtual qint64 QSslSocketWrapper::readData(char*, qint64)’:
/var/tmp/portage/dev-python/pyside-1.1.0/work/pyside-1.1.0_build/PySide/QtNetwork/PySide/QtNetwork/qsslsocket_wrapper.cpp:494:12: warning: ‘cppResult’ may be used uninitialized in this function
Linking CXX shared module ../QtNetwork.so
[ 96%] Built target QtNetwork                                                                                                                     
make: *** [all] Errore 2
 * ERROR: dev-python/pyside-1.1.0 failed (compile phase):
 *   emake failed
Comment 1 Maurizio Camisaschi (amd64 AT) 2012-02-11 14:49:54 UTC
Created attachment 301567 [details]
build.log with test
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2012-02-11 19:59:51 UTC
FEATURES="-test" Could you try "USE=-* test" and see what happens?
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2012-02-11 20:07:52 UTC
What I meant is:

Could you try FEATURES="-test" USE="-*test" and see what happens?
Comment 4 Maurizio Camisaschi (amd64 AT) 2012-02-11 21:02:39 UTC
FEATURES="-test" USE="-* test" emerge -v =dev-python/pyside-1.1.0

exactly the same error as 

USE="-*" emerge -v =dev-python/pyside-1.1.0

stopped at 63%
Comment 5 Patrick Lauer gentoo-dev 2012-02-14 02:50:39 UTC
As far as I can tell currently setting USE="-X" breaks it.
Looks like the build system has a bug with it as it appears to fail to find QtNetwork (part of qt-core) when USE="-X", but finds it with USE="X"
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2012-02-18 10:37:09 UTC
So, who is willing to report that upstream?
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2012-03-03 19:08:30 UTC
(In reply to comment #6)
> So, who is willing to report that upstream?

This is not an upstream bug.
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2012-03-07 00:45:45 UTC
This is fixed in =dev-python/pyside-1.1.0-r1 which will be unmasked soon.

There were two separate issues actually: the first one was a bug in the ebuild, which was trying to building QtTest bindings without respecting the internal dependencies between PySide modules, and this is now fixed; the second issue was that upstream really requires QtGui (and the corresponding PySide module) in order to build and run the test suite, thus I added the appropriate REQUIRED_USE constraint.