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 <r.schwebel\@pengutronix.de>" ... 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