Opened 5 years ago

Closed 5 years ago

#1100 closed Bug Report (fixed)

Cannot build python bindings

Reported by: falkTX Owned by: David Robillard
Priority: blocker Component: Lilv
Keywords: Cc:

Description

On r5735, building lilv configure results in this:

Setting top to                           : /tmp/host/ROOT/build/lilv-5735 
Setting out to                           : /tmp/host/ROOT/build/lilv-5735/build 
Checking for 'gcc' (C compiler)          : /tmp/host/ROOT/host/usr/bin/arm-mod-linux-gnueabihf-gcc 
Checking for program 'swig'              : /tmp/host/ROOT/host/usr/bin/swig 
Checking for program 'python'            : /tmp/host/ROOT/host/usr/bin/python3 
Checking for 'g++' (C++ compiler)        : /tmp/host/ROOT/host/usr/bin/arm-mod-linux-gnueabihf-g++ 
Checking for python version              : 3.4.3 
python-config                            : /tmp/host/ROOT/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/bin/python3.4m-config 
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes 
Getting pyembed flags from python-config                           : yes 
Asking python-config for pyext '--cflags --libs --ldflags' flags   : yes 
Getting pyext flags from python-config                             : yes 

Global Configuration 
 * Install prefix                                                  : /usr 
 * Debuggable build                                                : False 
 * Build documentation                                             : False 

Lilv Configuration 
Checking for program 'pkg-config'                                  : /tmp/host/ROOT/host/usr/bin/pkg-config 
Checking for 'lv2' >= 1.8.0                                        : yes 
Checking for 'serd-0' >= 0.14.0                                    : yes 
Checking for 'sord-0' >= 0.13.0                                    : yes 
Checking for 'sratom-0' >= 0.4.0                                   : yes 
Checking for function flock                                        : yes 
Checking for function fileno                                       : yes 
Checking for function clock_gettime                                : yes 
 * Default LV2_PATH                                                : ~/.lv2:/usr/lib/lv2:/usr/local/lib/lv2 
 * Utilities                                                       : True 
 * Unit tests                                                      : False 
 * Dynamic manifest support                                        : False 
 * Python bindings                                                 : True 

When using r5736 the configure result is this:

Setting top to                           : /tmp/host/ROOT/build/lilv-5736 
Setting out to                           : /tmp/host/ROOT/build/lilv-5736/build 
Checking for 'gcc' (C compiler)          : /tmp/host/ROOT/host/usr/bin/arm-mod-linux-gnueabihf-gcc 
Failed to configure Python (Could not load the Waf tool 'swig' from ['/tmp/host/ROOT/build/lilv-5736/.waf3-1.8.14-2154eb41b883f08f124697d2120ef560', '/tmp/host/ROOT/build/lilv-5736', '/tmp/host/ROOT/host/usr/lib/python3.4/site-packages/setuptools-5.8-py3.4.egg', '/tmp/host/ROOT/host/usr/lib/python34.zip', '/tmp/host/ROOT/host/usr/lib/python3.4', '/tmp/host/ROOT/host/usr/lib/python3.4/plat-linux', '/tmp/host/ROOT/host/usr/lib/python3.4/lib-dynload', '/tmp/host/ROOT/host/usr/lib/python3.4/site-packages']                                                                                                                                                                                                                                 
No module named 'swig'                                                                                                                                                                                                                              
(complete log in /tmp/host/ROOT/build/lilv-5736/build/config.log))                                                                                                                                                                                  


Global Configuration 
 * Install prefix                        : /usr 
 * Debuggable build                      : False 
 * Build documentation                   : False 

Lilv Configuration 
Checking for program 'pkg-config'        : /tmp/host/ROOT/host/usr/bin/pkg-config 
Checking for 'lv2' >= 1.8.0              : yes 
Checking for 'serd-0' >= 0.14.0          : yes 
Checking for 'sord-0' >= 0.13.0          : yes 
Checking for 'sratom-0' >= 0.4.0         : yes 
Checking for function flock              : yes 
Checking for function fileno             : yes 
Checking for function clock_gettime      : yes 
 * Default LV2_PATH                      : ~/.lv2:/usr/lib/lv2:/usr/local/lib/lv2 
 * Utilities                             : True 
 * Unit tests                            : False 
 * Dynamic manifest support              : False 
 * Python bindings                       : False 

Something changed in waf that broke python3 bindings.

Change History (1)

comment:1 Changed 5 years ago by David Robillard

Resolution: fixed
Status: newclosed

Fixed in r5759

Note: See TracTickets for help on using tickets.