Robb Robb

"FSL gnome release package" build fails at python build stage

Discussion created by Robb Robb on May 2, 2012
Latest reply on Mar 21, 2013 by Leonardo Sandoval Gonzalez

Hello,

I am trying to build a minimal gnome environment using the "FSL gnome release package" build option in ltib.

However, my build is failing at the python build stage.  I did some digging and found a similar problem with fontconfig but attempting to apply the solution to my python.spec proved unsuccessful.

 

Here is the relevant output:

 

creating Makefile
+ make python Parser/pgen
gcc -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes   Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Modules/config.o Modules/config.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux3:lib-tk"' \
        -DPREFIX='"/usr/local"' \
        -DEXEC_PREFIX='"/usr/local"' \
        -DVERSION='"2.4"' \
        -DVPATH='""' \
        -o Modules/getpath.o ./Modules/getpath.c
/usr/bin/ld: Parser/tokenizer_pgen.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: Parser/tokenizer_pgen.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: Parser/tokenizer_pgen.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: Parser/tokenizer_pgen.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: Parser/tokenizer_pgen.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: Parser/tokenizer_pgen.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: Parser/tokenizer_pgen.o: Relocations in generic ELF (EM: 40)
Parser/tokenizer_pgen.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [Parser/pgen] Error 1
make: *** Waiting for unfinished jobs....
./Modules/getpath.c: In function 'copy_absolute':
./Modules/getpath.c:230: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result
error: Bad exit status from /home/robb/ARM_board/L2.6.35_11.09.01_ER_source/ltib/tmp/rpm-tmp.85951 (%build)


RPM build errors:
    Bad exit status from /home/robb/ARM_board/L2.6.35_11.09.01_ER_source/ltib/tmp/rpm-tmp.85951 (%build)
Build time for python: 20 seconds

Failed building python

Outcomes