Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10511 closed defect (no_response)

Issue building python from a clean state

Reported by: hamvil Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: python Cc:

Description

I get the following error while building python from a fresh checkout. The issue disappers if a run make a second time.

armeb-openwrt-linux-uclibcgnueabi-gcc -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/usr/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/lib -Xlinker -export-dynamic -o python \
		Modules/python.o \
		libpython2.6.a -lpthread -ldl  -lpthread -lutil -lz   -lm  
libpython2.6.a(posixmodule.o): In function `posix_utime':
posixmodule.c:(.text+0x2d80): warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes'
/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/Modules/_ssl.c: In function '_get_peer_alt_names':
/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/Modules/_ssl.c:690:15: warning: assignment discards qualifiers from pointer target type
/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/Modules/_ssl.c: In function 'PySSL_cipher':
/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/Modules/_ssl.c:1026:10: warning: assignment discards qualifiers from pointer target type
armeb-openwrt-linux-uclibcgnueabi-gcc: unrecognized option '-R/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/lib'
/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/Modules/nismodule.c:17:21: fatal error: rpc/rpc.h: No such file or directory
compilation terminated.

Failed to find the necessary bits to build these modules:
_bsddb             _hashlib           _tkinter        
bsddb185           dbm                linuxaudiodev   
ossaudiodev        sunaudiodev                        
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
nis                                                   

make[4]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4'
CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -msoft-float  -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/include -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/include -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/include " CXXFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -msoft-float  -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/include -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/include -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/include " LDFLAGS="-L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/usr/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/lib " make -C /home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/. AR=armeb-openwrt-linux-uclibcgnueabi-ar AS="armeb-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -msoft-float" LD=armeb-openwrt-linux-uclibcgnueabi-ld NM=armeb-openwrt-linux-uclibcgnueabi-nm CC="armeb-openwrt-linux-uclibcgnueabi-gcc" GCC="armeb-openwrt-linux-uclibcgnueabi-gcc" CXX="armeb-openwrt-linux-uclibcgnueabi-g++" RANLIB=armeb-openwrt-linux-uclibcgnueabi-ranlib STRIP=armeb-openwrt-linux-uclibcgnueabi-strip OBJCOPY=armeb-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=armeb-openwrt-linux-uclibcgnueabi-objdump SIZE=armeb-openwrt-linux-uclibcgnueabi-size PYTHON_DISABLE_MODULES="readline _curses _curses_panel _tkinter nis" PYTHON_MODULES_INCLUDE="/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/include" PYTHON_MODULES_LIB="/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/lib" DESTDIR="/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/ipkg-install" CROSS_COMPILE=yes CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -msoft-float -fno-inline" LDFLAGS="-L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/usr/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/usr/lib -L/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/toolchain-armeb_v5te_gcc-4.5-linaro_uClibc-0.9.32/lib" LD="armeb-openwrt-linux-uclibcgnueabi-gcc" HOSTPYTHON=./hostpython HOSTPGEN=./hostpgen DESTDIR="/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/ipkg-install"  install;
make[4]: Entering directory `/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4'
Creating directory /usr/bin
Creating directory /usr/lib
/usr/bin/install -c python /home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/ipkg-install/usr/bin/python2.6
if test -f libpython2.6.a; then \
	if test -n "" ; then \
		/usr/bin/install -c -m 555  /home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/ipkg-install/usr/bin; \
	else \
		/usr/bin/install -c -m 555 libpython2.6.a /home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/ipkg-install/usr/lib/libpython2.6.a; \
		if test libpython2.6.a != libpython2.6.a; then \
			(cd /home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/ipkg-install/usr/lib; ln -sf libpython2.6.a libpython2.6.a) \
		fi \
	fi; \
else	true; \
fi
/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/Modules/nismodule.c:17:21: fatal error: rpc/rpc.h: No such file or directory
compilation terminated.

Failed to find the necessary bits to build these modules:
_bsddb             _hashlib           _tkinter        
bsddb185           dbm                linuxaudiodev   
ossaudiodev        sunaudiodev                        
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
nis                                                   

mkdir ./Lib/plat-linux3
cp ./Lib/plat-generic/regen ./Lib/plat-linux3/regen
export PATH; PATH="`pwd`:$PATH"; \
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
export EXE; EXE=""; \
cd ./Lib/plat-linux3;  ./regen
python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
./regen: line 3: /home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/python: cannot execute binary file
make[4]: *** [Lib/plat-linux3] Error 126
make[4]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4'
make[3]: *** [/home/rriggio/src/wing/staging/kamikaze-trunk-29330/build_dir/target-armeb_v5te_uClibc-0.9.32/Python-2.6.4/.built] Error 2
make[3]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-29330/feeds/packages/lang/python'
make[2]: *** [package/feeds/packages/python/compile] Error 2
make[2]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-29330'
make[1]: *** [/home/rriggio/src/wing/staging/kamikaze-trunk-29330/staging_dir/target-armeb_v5te_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/rriggio/src/wing/staging/kamikaze-trunk-29330'
make: *** [world] Error 2
Build failed.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Cybjit <Cybjit@…>

If your build environment is using Linux 3.0 or newer, it might be a dup of #10197

comment:2 Changed 6 years ago by Cybjit <cybjit@…>

Is this still happening?

comment:3 Changed 6 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.