From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Y6244-0006zG-NS for ptxdist@pengutronix.de; Tue, 30 Dec 2014 20:02:45 +0100 Received: by mail-lb0-f178.google.com with SMTP id f15so14331631lbj.9 for ; Tue, 30 Dec 2014 11:02:38 -0800 (PST) MIME-Version: 1.0 Date: Tue, 30 Dec 2014 14:02:38 -0500 Message-ID: From: Jon Ringle Subject: [ptxdist] targetinstall fails Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2046289749==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============2046289749== Content-Type: multipart/alternative; boundary=001a11c3cb047d3816050b73a2ba --001a11c3cb047d3816050b73a2ba Content-Type: text/plain; charset=UTF-8 I'm setting up a new machine with Ubuntu-14.04 where I'll be doing ptxdist builds. I'm running into a problem where the targetinstall step fails on all packages with something like the following (I added 'set -x' to the fakeroot script for debugging purposes): ------------------------------- target: mtd-utils.targetinstall ------------------------------- install_init: preparing for image creation of 'mtd-utils'... install_init: @ARCH@ -> armel install_init: @PACKAGE@ -> mtd-utils install_init: @VERSION@ -> 1.5.0 install_init: @DEPENDS@ -> zlib install_init: preinst not available install_init: postinst not available install_init: prerm not available install_init: postrm not available install_fixup: @PRIORITY@ -> optional ... done. install_fixup: @SECTION@ -> base ... done. install_fixup: @AUTHOR@ -> "Robert Schwebel " ... done. install_fixup: @DESCRIPTION@ -> missing ... done. xpkg_finish: collecting license (GPLv2+) ... done. xpkg_finish: creating opkg package ... + local -a fake_args + '[' -f /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/mtd-utils.fakeroot ']' + fake_args[${#fake_args[@]}]=-u + export pkg_binconfig_glob pkg_build_deps pkg_build_dir pkg_cflags pkg_conf_dir pkg_conf_dir_abs pkg_conf_env pkg_conf_opt pkg_conf_tool pkg_config pkg_cppflags pkg_cxxflags pkg_deprecated_autoconf pkg_deprecated_builddir pkg_deprecated_cmake pkg_deprecated_compile_env pkg_deprecated_env pkg_deprecated_makevars pkg_dir pkg_env pkg_extract_dir pkg_fake_env pkg_install_opt pkg_label pkg_ldflags pkg_license pkg_make_env pkg_make_opt pkg_make_par pkg_md5 pkg_opkg_tmp pkg_path pkg_pkg pkg_pkg_dev pkg_pkg_dir pkg_run_deps pkg_src pkg_stage pkg_stamp pkg_strip_level pkg_subdir pkg_sysroot_dir pkg_tags_opt pkg_type pkg_url pkg_version pkg_wrapper_blacklist pkg_xpkg pkg_xpkg_cmds pkg_xpkg_conffiles pkg_xpkg_control pkg_xpkg_control_dir pkg_xpkg_install_deps pkg_xpkg_license pkg_xpkg_license_file pkg_xpkg_map pkg_xpkg_perms pkg_xpkg_tmp pkg_xpkg_version ptx_conf_env_cross ptx_conf_env_host ptx_conf_env_target ptx_conf_opt_autoconf_cross ptx_conf_opt_autoconf_cross_sysroot ptx_conf_opt_autoconf_host ptx_conf_opt_autoconf_host_sysroot ptx_conf_opt_autoconf_target ptx_conf_opt_cmake_host ptx_conf_opt_cmake_host_sysroot ptx_conf_opt_cmake_target ptx_conf_opt_qmake_target ptx_extract_dir_cross ptx_extract_dir_host ptx_extract_dir_target ptx_image_dir ptx_ipkg_extra_args ptx_lib_dir ptx_nfsroot ptx_nfsroot_dbg ptx_opkg_extra_args ptx_path_cross ptx_path_host ptx_path_rules ptx_path_target ptx_pkg_dev_dir ptx_pkg_dir ptx_state_dir ptx_xpkg_type + fakeroot -u -- ptxd_make_opkg_finish_impl + FAKEROOT_PREFIX=/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host + FAKEROOT_BINDIR=/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin + USEABSLIBPATH=0 + LIB=libfakeroot.so + PATHS=/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib64/libfakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib32/libfakeroot + FAKED=/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin/faked + FAKED_MODE=unknown-is-root + export FAKED_MODE + libfound=no + getopt --version + GETOPTEST=getopt from util-linux 2.25 + getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh -u -- ptxd_make_opkg_finish_impl + FAKE_TEMP= -u -- 'ptxd_make_opkg_finish_impl' + test 0 -ne 0 + eval set -- -u -- 'ptxd_make_opkg_finish_impl' + set -- -u -- ptxd_make_opkg_finish_impl + FAKEDOPTS= + PIPEIN= + WAITINTRAP=0 + test X-u != X-- + FAKEDOPTS= --unknown-is-real + FAKED_MODE=unknown-is-real + shift + test X-- != X-- + shift + ABSLIB= + [ -n /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib64/libfakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib32/libfakeroot ] + echo /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib64/libfakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib32/libfakeroot + sed s/:/ /g + test -r /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot/libfakeroot.so + libfound=yes + ABSLIB=/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot/libfakeroot.so + test -r /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib64/libfakeroot/libfakeroot.so + test -r /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib32/libfakeroot/libfakeroot.so + test yes = no + test -n + unset FAKEROOTKEY + eval /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin/faked --unknown-is-real + /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin/faked --unknown-is-real + KEY_PID=733999142:2079 + echo 733999142:2079 + cut -d: -f1 + FAKEROOTKEY=733999142 + echo 733999142:2079 + cut -d: -f2 + PID=2079 + [ 0 -eq 0 ] + trap kill -s TERM 2079 EXIT INT + test -z 733999142 + test -z 2079 + test 0 -ne 0 + test -n + test -n + export FAKEROOT_FD_BASE + test -z ptxd_make_opkg_finish_impl + FAKEROOTKEY=733999142 LD_LIBRARY_PATH=/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib64/libfakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib32/libfakeroot LD_PRELOAD=libfakeroot.so ptxd_make_opkg_finish_impl /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin/fakeroot: 178: /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin/fakeroot: ptxd_make_opkg_finish_impl: not found + RESULT=127 + exit 127 + kill -s TERM 2079 + set +x done. finished target mtd-utils.targetinstall --001a11c3cb047d3816050b73a2ba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm setting up a new machine with Ubuntu-14.04 where I= 'll be doing ptxdist builds. I'm running into a problem where the t= argetinstall step fails on all packages with something like the following (= I added 'set -x' to the fakeroot script for debugging purposes):
-------------------------------
target: mtd-utils.targetinstall
= -------------------------------

install_init:=C2=A0=C2=A0 preparing = for image creation of 'mtd-utils'...
install_init:=C2=A0=C2=A0 @= ARCH@ -> armel
install_init:=C2=A0=C2=A0 @PACKAGE@ -> mtd-utilsinstall_init:=C2=A0=C2=A0 @VERSION@ -> 1.5.0
install_init:=C2=A0=C2= =A0 @DEPENDS@ -> zlib
install_init:=C2=A0=C2=A0 preinst not available=
install_init:=C2=A0=C2=A0 postinst not available
install_init:=C2=A0= =C2=A0 prerm not available
install_init:=C2=A0=C2=A0 postrm not availabl= e
install_fixup:=C2=A0 @PRIORITY@ -> optional ... done.
install_fi= xup:=C2=A0 @SECTION@ -> base ... done.
install_fixup:=C2=A0 @AUTHOR@ = -> "Robert Schwebel <r.schwebel\@pengutronix.de>" ... done.
install_fixup:=C2=A0 @DESCRIPT= ION@ -> missing ... done.
xpkg_finish:=C2=A0=C2=A0=C2=A0 collecting l= icense (GPLv2+) ... done.
xpkg_finish:=C2=A0=C2=A0=C2=A0 creating opkg p= ackage ...
+ local -a fake_args
+ '[' -f /home/jringle/code/= gpec/ec1k-rootfs/platform-EC1K/state/mtd-utils.fakeroot ']'
+ fa= ke_args[${#fake_args[@]}]=3D-u
+ export pkg_binconfig_glob pkg_build_dep= s pkg_build_dir pkg_cflags pkg_conf_dir pkg_conf_dir_abs pkg_conf_env pkg_c= onf_opt pkg_conf_tool pkg_config pkg_cppflags pkg_cxxflags pkg_deprecated_a= utoconf pkg_deprecated_builddir pkg_deprecated_cmake pkg_deprecated_compile= _env pkg_deprecated_env pkg_deprecated_makevars pkg_dir pkg_env pkg_extract= _dir pkg_fake_env pkg_install_opt pkg_label pkg_ldflags pkg_license pkg_mak= e_env pkg_make_opt pkg_make_par pkg_md5 pkg_opkg_tmp pkg_path pkg_pkg pkg_p= kg_dev pkg_pkg_dir pkg_run_deps pkg_src pkg_stage pkg_stamp pkg_strip_level= pkg_subdir pkg_sysroot_dir pkg_tags_opt pkg_type pkg_url pkg_version pkg_w= rapper_blacklist pkg_xpkg pkg_xpkg_cmds pkg_xpkg_conffiles pkg_xpkg_control= pkg_xpkg_control_dir pkg_xpkg_install_deps pkg_xpkg_license pkg_xpkg_licen= se_file pkg_xpkg_map pkg_xpkg_perms pkg_xpkg_tmp pkg_xpkg_version ptx_conf_= env_cross ptx_conf_env_host ptx_conf_env_target ptx_conf_opt_autoconf_cross= ptx_conf_opt_autoconf_cross_sysroot ptx_conf_opt_autoconf_host ptx_conf_op= t_autoconf_host_sysroot ptx_conf_opt_autoconf_target ptx_conf_opt_cmake_hos= t ptx_conf_opt_cmake_host_sysroot ptx_conf_opt_cmake_target ptx_conf_opt_qm= ake_target ptx_extract_dir_cross ptx_extract_dir_host ptx_extract_dir_targe= t ptx_image_dir ptx_ipkg_extra_args ptx_lib_dir ptx_nfsroot ptx_nfsroot_dbg= ptx_opkg_extra_args ptx_path_cross ptx_path_host ptx_path_rules ptx_path_t= arget ptx_pkg_dev_dir ptx_pkg_dir ptx_state_dir ptx_xpkg_type
+ fakeroot= -u -- ptxd_make_opkg_finish_impl
+ FAKEROOT_PREFIX=3D/home/jringle/code= /gpec/ec1k-rootfs/platform-EC1K/sysroot-host
+ FAKEROOT_BINDIR=3D/home/j= ringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin
+ USEABSLIBP= ATH=3D0
+ LIB=3Dlibfakeroot.so
+ PATHS=3D/home/jringle/code/gpec/ec1k= -rootfs/platform-EC1K/sysroot-host/lib/fakeroot:/home/jringle/code/gpec/ec1= k-rootfs/platform-EC1K/sysroot-host/lib64/libfakeroot:/home/jringle/code/gp= ec/ec1k-rootfs/platform-EC1K/sysroot-host/lib32/libfakeroot
+ FAKED=3D/h= ome/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin/faked
+= FAKED_MODE=3Dunknown-is-root
+ export FAKED_MODE
+ libfound=3Dno
= + getopt --version
+ GETOPTEST=3Dgetopt from util-linux 2.25
+ getopt= -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:= f:i:s:ub:vh -u -- ptxd_make_opkg_finish_impl
+ FAKE_TEMP=3D -u -- 'p= txd_make_opkg_finish_impl'
+ test 0 -ne 0
+ eval set --=C2=A0 -u = -- 'ptxd_make_opkg_finish_impl'
+ set -- -u -- ptxd_make_opkg_fi= nish_impl
+ FAKEDOPTS=3D
+ PIPEIN=3D
+ WAITINTRAP=3D0
+ test X-= u !=3D X--
+ FAKEDOPTS=3D --unknown-is-real
+ FAKED_MODE=3Dunknown-is= -real
+ shift
+ test X-- !=3D X--
+ shift
+ ABSLIB=3D
+ [ -n= /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroo= t:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib64/libf= akeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib3= 2/libfakeroot ]
+ echo /home/jringle/code/gpec/ec1k-rootfs/platform-EC1K= /sysroot-host/lib/fakeroot:/home/jringle/code/gpec/ec1k-rootfs/platform-EC1= K/sysroot-host/lib64/libfakeroot:/home/jringle/code/gpec/ec1k-rootfs/platfo= rm-EC1K/sysroot-host/lib32/libfakeroot
+ sed s/:/ /g
+ test -r /home/= jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot/libfa= keroot.so
+ libfound=3Dyes
+ ABSLIB=3D/home/jringle/code/gpec/ec1k-ro= otfs/platform-EC1K/sysroot-host/lib/fakeroot/libfakeroot.so
+ test -r /h= ome/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib64/libfaker= oot/libfakeroot.so
+ test -r /home/jringle/code/gpec/ec1k-rootfs/platfor= m-EC1K/sysroot-host/lib32/libfakeroot/libfakeroot.so
+ test yes =3D no+ test -n
+ unset FAKEROOTKEY
+ eval /home/jringle/code/gpec/ec1k-= rootfs/platform-EC1K/sysroot-host/bin/faked --unknown-is-real
+ /home/jr= ingle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin/faked --unknown-= is-real
+ KEY_PID=3D733999142:2079
+ echo 733999142:2079
+ cut -d:= -f1
+ FAKEROOTKEY=3D733999142
+ echo 733999142:2079
+ cut -d: -f2=
+ PID=3D2079
+ [ 0 -eq 0 ]
+ trap kill -s TERM 2079 EXIT INT
+= test -z 733999142
+ test -z 2079
+ test 0 -ne 0
+ test -n
+ t= est -n
+ export FAKEROOT_FD_BASE
+ test -z ptxd_make_opkg_finish_imp= l
+ FAKEROOTKEY=3D733999142 LD_LIBRARY_PATH=3D/home/jringle/code/gpec/ec= 1k-rootfs/platform-EC1K/sysroot-host/lib/fakeroot:/home/jringle/code/gpec/e= c1k-rootfs/platform-EC1K/sysroot-host/lib64/libfakeroot:/home/jringle/code/= gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib32/libfakeroot LD_PRELOAD=3D= libfakeroot.so ptxd_make_opkg_finish_impl
/home/jringle/code/gpec/ec1k-r= ootfs/platform-EC1K/sysroot-host/bin/fakeroot: 178: /home/jringle/code/gpec= /ec1k-rootfs/platform-EC1K/sysroot-host/bin/fakeroot: ptxd_make_opkg_finish= _impl: not found
+ RESULT=3D127
+ exit 127
+ kill -s TERM 2079
= + set +x
done.
finished target mtd-utils.targetinstall


--001a11c3cb047d3816050b73a2ba-- --===============2046289749== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============2046289749==--