Hi,

I am trying to build gqrx, and the process fails when trying to
compile
dev-python/pyqwt-5.2.0-r1

After doing the 

emerge gqrx

the process informs me to set
# required by net-wireless/gqrx-2.3.2::gentoo
# required by gqrx (argument)
=net-wireless/gr-osmosdr-0.1.4 ~amd64
# required by gqrx (argument)
=net-wireless/gqrx-2.3.2 ~amd64
which I did.

Restarting emerge fails soon with:
Calculating dependencies... done!
[ebuild  N     ] dev-python/pyqwt-5.2.0-r1:5::gentoo  USE="-debug -doc 
-examples -svg" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ] media-libs/qhull-2012.1-r1::gentoo  USE="-doc -static-libs" 0 
KiB
[ebuild  N     ] media-fonts/stix-fonts-1.0.0-r1::gentoo  USE="X -doc" 0 KiB
[ebuild  N     ] dev-python/cython-0.22::gentoo  USE="-doc -examples {-test}" 
PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
[ebuild  N    ~] net-wireless/uhd-3.8.2:0/1::gentoo  PYTHON_TARGETS="python2_7" 
0 KiB
[ebuild  N     ] dev-python/matplotlib-1.4.2::gentoo  USE="cairo gtk tk -doc 
-examples -excel -fltk -gtk3 -latex -pyside -qt4 {-test} -wxwidgets" 
PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
[ebuild  N     ] sci-libs/arpack-3.1.3-r1::gentoo  USE="-doc -examples -mpi 
-static-libs" 0 KiB
[ebuild  N     ] sci-libs/scipy-0.15.1::gentoo  USE="-doc -sparse {-test}" 
PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
[ebuild  N    ~] net-wireless/gnuradio-3.7.6.1-r2:0/3.7.6.1::gentoo  USE="alsa 
analog audio digital examples fcd filter grc jack qt4 sdl uhd utils wavelet 
wxwidgets -atsc -channels -doc -dtv -fec -log -noaa -oss -pager 
-performance-counters -portaudio {-test} -trellis -vocoder -zeromq" 
PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N    ~] net-wireless/gr-osmosdr-0.1.4:0/0.1.4::gentoo  USE="-bladerf 
-fcd -hackrf -iqbalance (-mirisdr) -python -rtlsdr -uhd" 
PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N    ~] net-wireless/gqrx-2.3.2::gentoo  USE="-pulseaudio" 0 KiB

Total: 11 packages (11 new), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 11) dev-python/pyqwt-5.2.0-r1::gentoo
 * PyQwt-5.2.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                      
                     [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking PyQwt-5.2.0.tar.gz to 
>>> /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work
>>> Preparing source in 
>>> /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure ...
 * Will copy sources from 
/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure
 * python2_7: copying to 
/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure-python2_7
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure ...
 * python2_7: running configuration
size_t_check.cpp:3:6: error: prototype for ‘void a::f(unsigned int)’ does not 
match any in class ‘a’
 void a::f(unsigned int) {};
      ^
size_t_check.cpp:2:24: error: candidate is: void a::f(size_t)
 class a { public: void f(size_t); };
                        ^
size_t_check.cpp:3:6: error: prototype for ‘void a::f(long long unsigned int)’ 
does not match any in class ‘a’
 void a::f(unsigned long long) {};
      ^
size_t_check.cpp:2:24: error: candidate is: void a::f(size_t)
 class a { public: void f(size_t); };
                        ^
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4 -I/usr/include/qwt5 -I/usr/include/python2.7 
-I/usr/lib64/python2.7/site-packages/numpy/core/include -I. -o 
qwt_version_info.o qwt_version_info.cpp
g++ -Wl,-O1 -o qwt_version_info qwt_version_info.o    -L/usr/lib64/qt4 -lQtCore 
-L/usr/lib64 -L/usr/lib64/qt4 -lgthread-2.0 -lglib-2.0 -lpthread 
sip: Deprecation warning: ../sip/iqt5qt4/IQtModule.sip:32: %Module version 
number should be specified using the 'version' argument
sip: Deprecation warning: ../sip/qwt5qt4/QwtModule.sip:32: %Module version 
number should be specified using the 'version' argument
sip: Unable to find file "QtSvg/QtSvgmod.sip"
Command line options:
{'debug': False,
 'disable_numarray': True,
 'disable_numeric': True,
 'disable_numpy': False,
 'excluded_features': [],
 'extra_cflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
 'extra_cxxflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
 'extra_defines': [],
 'extra_include_dirs': ['/usr/include/qwt5'],
 'extra_lflags': ['-Wl,-O1 -Wl,--as-needed'],
 'extra_lib_dirs': [],
 'extra_libs': ['qwt'],
 'jobs': '',
 'module_install_path': '',
 'modules': [],
 'qt': 4,
 'qwt_sources': '',
 'sip_include_dirs': [],
 'subdirs': [],
 'timelines': [],
 'trace': ''}

Found SIP-4.16.2.
Found 'posix' operating system:
2.7.9 (default, Jan  2 2015, 04:33:59) 
[GCC 4.8.3]
Do not get upset by error messages in the next 3 compiler checks:
Check if 'size_t' and 'unsigned int' are the same type:
NO
Check if 'size_t' and 'unsigned long' are the same type:
YES
Check if 'size_t' and 'unsigned long long' are the same type:
NO
Found NumPy-1.9.0.

Found Qwt-5.2.3.

Extended command line options:
{'debug': False,
 'disable_numarray': True,
 'disable_numeric': True,
 'disable_numpy': False,
 'excluded_features': ['-x HAS_PYQT_031105',
                       '-x HAS_NUMARRAY',
                       '-x HAS_NUMERIC',
                       '-x HAS_QWT4'],
 'extra_cflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
 'extra_cxxflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
 'extra_defines': ['HAS_NUMPY'],
 'extra_include_dirs': ['/usr/include/qwt5',
                        '/usr/include/python2.7',
                        
'/usr/lib64/python2.7/site-packages/numpy/core/include'],
 'extra_lflags': ['-Wl,-O1 -Wl,--as-needed'],
 'extra_lib_dirs': [],
 'extra_libs': ['qwt'],
 'iqt': 'iqt5qt4',
 'iqt_sipfile': '../sip/iqt5qt4/IQtModule.sip',
 'jobs': '',
 'module_install_path': '/usr/lib64/python2.7/site-packages/PyQt4/Qwt5',
 'modules': ['iqt', 'Qwt5'],
 'qt': 4,
 'qwt': 'qwt5qt4',
 'qwt_sipfile': '../sip/qwt5qt4/QwtModule.sip',
 'qwt_sources': '',
 'sip_include_dirs': [],
 'subdirs': ['iqt5qt4', 'qwt5qt4'],
 'timelines': ['-t Qwt_5_2_0'],
 'trace': ''}

The following modules will be built: ['iqt', 'Qwt5'].

Setup the PyQwt package build.
sip invokation:
'/usr/bin/sip -b tmp-iqt5qt4/iqt5qt4.sbf -c tmp-iqt5qt4   
../sip/iqt5qt4/IQtModule.sip'
Copy tmp-iqt5qt4/sip_iqtcmodule.cpp -> iqt5qt4/sip_iqtcmodule.cpp.
Copy tmp-iqt5qt4/sipAPI_iqt.h -> iqt5qt4/sipAPI_iqt.h.
Copy tmp-iqt5qt4/iqt5qt4.sbf -> iqt5qt4/iqt5qt4.sbf.
3 file(s) lazily copied.

Setup the PyQwt package build.
sip invokation:
'/usr/bin/sip -I /usr/share/sip -b tmp-qwt5qt4/qwt5qt4.sbf -c tmp-qwt5qt4   -x 
VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_8_4 -x Py_v3 -g -x 
HAS_PYQT_031105 -x HAS_NUMARRAY -x HAS_NUMERIC -x HAS_QWT4 -t Qwt_5_2_0 
../sip/qwt5qt4/QwtModule.sip'
SIP failed to generate the C++ code.
 * ERROR: dev-python/pyqwt-5.2.0-r1::gentoo failed (configure phase):
 *   configure.py failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3651:  Called python_foreach_impl 'configuration'
 *   environment, line 3145:  Called multibuild_foreach_variant 
'_python_multibuild_wrapper' 'configuration'
 *   environment, line 2324:  Called _multibuild_run 
'_python_multibuild_wrapper' 'configuration'
 *   environment, line 2322:  Called _python_multibuild_wrapper 'configuration'
 *   environment, line  679:  Called configuration
 *   environment, line 3648:  Called die
 * The specific snippet of code:
 *           "${PYTHON}" configure.py --extra-cflags="${CFLAGS}" 
--extra-cxxflags="${CXXFLAGS}" --extra-lflags="${LDFLAGS}" --disable-numarray 
--disable-numeric -I/usr/include/qwt5 -lqwt ${myconf[@]} || die "configure.py 
failed";
 * 
 * If you need support, post the output of `emerge --info 
'=dev-python/pyqwt-5.2.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv 
'=dev-python/pyqwt-5.2.0-r1::gentoo'`.
 * The complete build log is located at 
'/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/environment'.
 * Working directory: 
'/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure-python2_7'
 * S: '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure'

>>> Failed to emerge dev-python/pyqwt-5.2.0-r1, Log file:

>>>  '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/build.log'
[1]    6204 exit 1     emerge gqrx -v


If wanted I will mail the different logs and infos...but may be
someone already knows, whats going on here...

How can I proceed from here?
Thank you very much in advance for any help!
Best regards,
mcc





Reply via email to