Wind River Support Network

HomeDefectsLIN6-6919
Fixed

LIN6-6919 : python-gst fails to do configure on all arches

Created: Mar 11, 2014    Updated: Dec 3, 2018
Resolved Date: Mar 20, 2014
Found In Version: 6.0
Fix Version: 6.0.0.5
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

pyton-gst fails to do configure on all arches. 

In config.log, it shows:
configure:15208: checking for libraries required to embed python
configure:15269: x86_64-wrs-linux-gcc  -m64 --sysroot=/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -o conftest -O2 -pipe -g -feliminate-unused-debug-types -fno-omit-frame-pointer -fvisibility=default  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c  -L/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/python2.7/config -lpthread -ldl -lpthread -lutil -lm -lpython2.7 -Xlinker -export-dynamic >&5
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/python2.7/config/libpython2.7.a(floatobject.o): In function `float_as_integer_ratio':
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:1729: undefined reference to `floor'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/python2.7/config/libpython2.7.a(floatobject.o): In function `float_divmod':
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:776: undefined reference to `floor'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:750: undefined reference to `fmod'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/python2.7/config/libpython2.7.a(floatobject.o): In function `float_pow':
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:912: undefined reference to `pow'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:878: undefined reference to `floor'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:863: undefined reference to `fmod'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:888: undefined reference to `fmod'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/floatobject.c:853: undefined reference to `fmod'
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/python2.7/config/libpython2.7.a(floatobject.o): In function `float_rem':
......
/ala-blade37.1/builds-2014-03-10-194203/qemux86-64_world_oe_bp/bitbake_build/tmp/work/x86_64-wrs-linux/python/2.7.3-r0.3/Python-2.7.3/Objects/complexobject.c:612: undefined reference to `floor'
collect2: error: ld returned 1 exit status
configure:15269: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer Python Bindings"
| #define PACKAGE_TARNAME "gst-python"
| #define PACKAGE_VERSION "0.10.22"
| #define PACKAGE_STRING "GStreamer Python Bindings 0.10.22"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-python"
| #define VERSION "0.10.22"
| #define PYGST_MAJOR_VERSION 0
| #define PYGST_MINOR_VERSION 10
| #define PYGST_MICRO_VERSION 22
| #define PYGST_NANO_VERSION 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define GST_MAJORMINOR "0.10"
| #define HAVE_GST_AUDIO 1
| #define HAVE_GST_VIDEO 1
| #define HAVE_GST_TAG 1
| #define HAVE_STREAM_VOLUME_INTERFACE 1
| #define HAVE_STREAM_VOLUME_INTERFACE 1
| #define HAVE_PYGOBJECT_2_12 1
| #define HAVE_PYGOBJECT_2_16 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char Py_Initialize ();
| int
| main ()
| {
| return Py_Initialize ();
|   ;
|   return 0;
| }
configure:15273: result: no
configure:15274: error: could not find Python lib

 --------------------------------------
 
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/nx-fails-6.0/.git/log/?h=qemux86_world_oe_bp-python-gst_0.10.22-2014-03-10-193754

Steps to Reproduce

configure --enable-board=qemux86 --enable-rootfs=glibc-std-sato --enable-kernel=standard --enable-bootimage=noimage --enable-unsupported-toolchain=oe-core --enable-build=profiling

make -C build python-gst

Other Downloads


Live chat
Online