mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jon Ringle <jon@ringle.org>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] targetinstall fails
Date: Wed, 31 Dec 2014 01:57:17 -0500	[thread overview]
Message-ID: <CAMwGMjwyQjL8vtfw=Tf3H92P3chM3WwskEa_WNcyhSJ1Lr4jgw@mail.gmail.com> (raw)
In-Reply-To: <CAMwGMjyuAy=t=kV=JB0MQtHQ-O4Wf+Gmj5r9m74ondr2BiSZZw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 6307 bytes --]

Changing the /bin/sh link to point to bash instead of dash fixed this for me

On Tue, Dec 30, 2014 at 2:02 PM, Jon Ringle <jon@ringle.org> wrote:

> 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
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 6807 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-12-31  6:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-30 19:02 Jon Ringle
2014-12-31  6:57 ` Jon Ringle [this message]
2014-12-31 12:55   ` Michael Olbrich
2015-01-02 14:28     ` Jon Ringle
2015-01-02 14:36       ` Jon Ringle
2015-01-08 11:33         ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMwGMjwyQjL8vtfw=Tf3H92P3chM3WwskEa_WNcyhSJ1Lr4jgw@mail.gmail.com' \
    --to=jon@ringle.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox