Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Failed to build gqrx (dev-python/pyqwt-5.2.0-r1)
Date: Mon, 13 Apr 2015 17:03:35
Message-Id: 20150413170321.GB4171@solfire
1 Hi,
2
3 I am trying to build gqrx, and the process fails when trying to
4 compile
5 dev-python/pyqwt-5.2.0-r1
6
7 After doing the
8
9 emerge gqrx
10
11 the process informs me to set
12 # required by net-wireless/gqrx-2.3.2::gentoo
13 # required by gqrx (argument)
14 =net-wireless/gr-osmosdr-0.1.4 ~amd64
15 # required by gqrx (argument)
16 =net-wireless/gqrx-2.3.2 ~amd64
17 which I did.
18
19 Restarting emerge fails soon with:
20 Calculating dependencies... done!
21 [ebuild N ] dev-python/pyqwt-5.2.0-r1:5::gentoo USE="-debug -doc -examples -svg" PYTHON_TARGETS="python2_7" 0 KiB
22 [ebuild N ] media-libs/qhull-2012.1-r1::gentoo USE="-doc -static-libs" 0 KiB
23 [ebuild N ] media-fonts/stix-fonts-1.0.0-r1::gentoo USE="X -doc" 0 KiB
24 [ebuild N ] dev-python/cython-0.22::gentoo USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
25 [ebuild N ~] net-wireless/uhd-3.8.2:0/1::gentoo PYTHON_TARGETS="python2_7" 0 KiB
26 [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
27 [ebuild N ] sci-libs/arpack-3.1.3-r1::gentoo USE="-doc -examples -mpi -static-libs" 0 KiB
28 [ebuild N ] sci-libs/scipy-0.15.1::gentoo USE="-doc -sparse {-test}" PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
29 [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
30 [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
31 [ebuild N ~] net-wireless/gqrx-2.3.2::gentoo USE="-pulseaudio" 0 KiB
32
33 Total: 11 packages (11 new), Size of downloads: 0 KiB
34
35
36 >>> Verifying ebuild manifests
37
38 >>> Emerging (1 of 11) dev-python/pyqwt-5.2.0-r1::gentoo
39 * PyQwt-5.2.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
40 >>> cfg-update-1.8.2-r1: Creating checksum index...
41 >>> Unpacking source...
42 >>> Unpacking PyQwt-5.2.0.tar.gz to /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work
43 >>> Source unpacked in /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work
44 >>> Preparing source in /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure ...
45 * Will copy sources from /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure
46 * python2_7: copying to /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure-python2_7
47 >>> Source prepared.
48 >>> Configuring source in /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure ...
49 * python2_7: running configuration
50 size_t_check.cpp:3:6: error: prototype for ‘void a::f(unsigned int)’ does not match any in class ‘a’
51 void a::f(unsigned int) {};
52 ^
53 size_t_check.cpp:2:24: error: candidate is: void a::f(size_t)
54 class a { public: void f(size_t); };
55 ^
56 size_t_check.cpp:3:6: error: prototype for ‘void a::f(long long unsigned int)’ does not match any in class ‘a’
57 void a::f(unsigned long long) {};
58 ^
59 size_t_check.cpp:2:24: error: candidate is: void a::f(size_t)
60 class a { public: void f(size_t); };
61 ^
62 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
63 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
64 sip: Deprecation warning: ../sip/iqt5qt4/IQtModule.sip:32: %Module version number should be specified using the 'version' argument
65 sip: Deprecation warning: ../sip/qwt5qt4/QwtModule.sip:32: %Module version number should be specified using the 'version' argument
66 sip: Unable to find file "QtSvg/QtSvgmod.sip"
67 Command line options:
68 {'debug': False,
69 'disable_numarray': True,
70 'disable_numeric': True,
71 'disable_numpy': False,
72 'excluded_features': [],
73 'extra_cflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
74 'extra_cxxflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
75 'extra_defines': [],
76 'extra_include_dirs': ['/usr/include/qwt5'],
77 'extra_lflags': ['-Wl,-O1 -Wl,--as-needed'],
78 'extra_lib_dirs': [],
79 'extra_libs': ['qwt'],
80 'jobs': '',
81 'module_install_path': '',
82 'modules': [],
83 'qt': 4,
84 'qwt_sources': '',
85 'sip_include_dirs': [],
86 'subdirs': [],
87 'timelines': [],
88 'trace': ''}
89
90 Found SIP-4.16.2.
91 Found 'posix' operating system:
92 2.7.9 (default, Jan 2 2015, 04:33:59)
93 [GCC 4.8.3]
94 Do not get upset by error messages in the next 3 compiler checks:
95 Check if 'size_t' and 'unsigned int' are the same type:
96 NO
97 Check if 'size_t' and 'unsigned long' are the same type:
98 YES
99 Check if 'size_t' and 'unsigned long long' are the same type:
100 NO
101 Found NumPy-1.9.0.
102
103 Found Qwt-5.2.3.
104
105 Extended command line options:
106 {'debug': False,
107 'disable_numarray': True,
108 'disable_numeric': True,
109 'disable_numpy': False,
110 'excluded_features': ['-x HAS_PYQT_031105',
111 '-x HAS_NUMARRAY',
112 '-x HAS_NUMERIC',
113 '-x HAS_QWT4'],
114 'extra_cflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
115 'extra_cxxflags': ['-march=native -O2 -pipe -msse3 -ggdb -fPIC'],
116 'extra_defines': ['HAS_NUMPY'],
117 'extra_include_dirs': ['/usr/include/qwt5',
118 '/usr/include/python2.7',
119 '/usr/lib64/python2.7/site-packages/numpy/core/include'],
120 'extra_lflags': ['-Wl,-O1 -Wl,--as-needed'],
121 'extra_lib_dirs': [],
122 'extra_libs': ['qwt'],
123 'iqt': 'iqt5qt4',
124 'iqt_sipfile': '../sip/iqt5qt4/IQtModule.sip',
125 'jobs': '',
126 'module_install_path': '/usr/lib64/python2.7/site-packages/PyQt4/Qwt5',
127 'modules': ['iqt', 'Qwt5'],
128 'qt': 4,
129 'qwt': 'qwt5qt4',
130 'qwt_sipfile': '../sip/qwt5qt4/QwtModule.sip',
131 'qwt_sources': '',
132 'sip_include_dirs': [],
133 'subdirs': ['iqt5qt4', 'qwt5qt4'],
134 'timelines': ['-t Qwt_5_2_0'],
135 'trace': ''}
136
137 The following modules will be built: ['iqt', 'Qwt5'].
138
139 Setup the PyQwt package build.
140 sip invokation:
141 '/usr/bin/sip -b tmp-iqt5qt4/iqt5qt4.sbf -c tmp-iqt5qt4 ../sip/iqt5qt4/IQtModule.sip'
142 Copy tmp-iqt5qt4/sip_iqtcmodule.cpp -> iqt5qt4/sip_iqtcmodule.cpp.
143 Copy tmp-iqt5qt4/sipAPI_iqt.h -> iqt5qt4/sipAPI_iqt.h.
144 Copy tmp-iqt5qt4/iqt5qt4.sbf -> iqt5qt4/iqt5qt4.sbf.
145 3 file(s) lazily copied.
146
147 Setup the PyQwt package build.
148 sip invokation:
149 '/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'
150 SIP failed to generate the C++ code.
151 * ERROR: dev-python/pyqwt-5.2.0-r1::gentoo failed (configure phase):
152 * configure.py failed
153 *
154 * Call stack:
155 * ebuild.sh, line 93: Called src_configure
156 * environment, line 3651: Called python_foreach_impl 'configuration'
157 * environment, line 3145: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'configuration'
158 * environment, line 2324: Called _multibuild_run '_python_multibuild_wrapper' 'configuration'
159 * environment, line 2322: Called _python_multibuild_wrapper 'configuration'
160 * environment, line 679: Called configuration
161 * environment, line 3648: Called die
162 * The specific snippet of code:
163 * "${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";
164 *
165 * If you need support, post the output of `emerge --info '=dev-python/pyqwt-5.2.0-r1::gentoo'`,
166 * the complete build log and the output of `emerge -pqv '=dev-python/pyqwt-5.2.0-r1::gentoo'`.
167 * The complete build log is located at '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/build.log'.
168 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/environment'.
169 * Working directory: '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure-python2_7'
170 * S: '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure'
171
172 >>> Failed to emerge dev-python/pyqwt-5.2.0-r1, Log file:
173
174 >>> '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/build.log'
175 [1] 6204 exit 1 emerge gqrx -v
176
177
178 If wanted I will mail the different logs and infos...but may be
179 someone already knows, whats going on here...
180
181 How can I proceed from here?
182 Thank you very much in advance for any help!
183 Best regards,
184 mcc

Replies

Subject Author
[gentoo-user] Re: Failed to build gqrx (dev-python/pyqwt-5.2.0-r1) walt <w41ter@×××××.com>