mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] targetinstall fails
@ 2014-12-30 19:02 Jon Ringle
  2014-12-31  6:57 ` Jon Ringle
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Ringle @ 2014-12-30 19:02 UTC (permalink / raw)
  To: ptxdist


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

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: 6351 bytes --]

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] targetinstall fails
  2014-12-30 19:02 [ptxdist] targetinstall fails Jon Ringle
@ 2014-12-31  6:57 ` Jon Ringle
  2014-12-31 12:55   ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Ringle @ 2014-12-31  6:57 UTC (permalink / raw)
  To: ptxdist


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] targetinstall fails
  2014-12-31  6:57 ` Jon Ringle
@ 2014-12-31 12:55   ` Michael Olbrich
  2015-01-02 14:28     ` Jon Ringle
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2014-12-31 12:55 UTC (permalink / raw)
  To: ptxdist

On Wed, Dec 31, 2014 at 01:57:17AM -0500, Jon Ringle wrote:
> 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):
[...]

I think I saw this at some point, but then it worked again and I never made
a patch. Does this help?

Michael

diff --git a/rules/host-fakeroot.make b/rules/host-fakeroot.make
index 53236194a582..3fb699a56759 100644
--- a/rules/host-fakeroot.make
+++ b/rules/host-fakeroot.make
@@ -30,6 +30,10 @@ HOST_FAKEROOT_DIR	:= $(HOST_BUILDDIR)/$(HOST_FAKEROOT)
 # Prepare
 # ----------------------------------------------------------------------------
 
+HOST_FAKEROOT_CONF_ENV	:= \
+	$(HOST_ENV) \
+	CONFIG_SHELL=/bin/bash
+
 HOST_FAKEROOT_CONF_TOOL := autoconf
 HOST_FAKEROOT_CONF_OPT := \
 	$(HOST_AUTOCONF) \


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] targetinstall fails
  2014-12-31 12:55   ` Michael Olbrich
@ 2015-01-02 14:28     ` Jon Ringle
  2015-01-02 14:36       ` Jon Ringle
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Ringle @ 2015-01-02 14:28 UTC (permalink / raw)
  To: ptxdist


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

On Wed, Dec 31, 2014 at 7:55 AM, Michael Olbrich <m.olbrich@pengutronix.de>
wrote:

> On Wed, Dec 31, 2014 at 01:57:17AM -0500, Jon Ringle wrote:
> > 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):
> [...]
>
> I think I saw this at some point, but then it worked again and I never made
> a patch. Does this help?
>
> Michael
>
> diff --git a/rules/host-fakeroot.make b/rules/host-fakeroot.make
> index 53236194a582..3fb699a56759 100644
> --- a/rules/host-fakeroot.make
> +++ b/rules/host-fakeroot.make
> @@ -30,6 +30,10 @@ HOST_FAKEROOT_DIR    :=
> $(HOST_BUILDDIR)/$(HOST_FAKEROOT)
>  # Prepare
>  #
> ----------------------------------------------------------------------------
>
> +HOST_FAKEROOT_CONF_ENV := \
> +       $(HOST_ENV) \
> +       CONFIG_SHELL=/bin/bash
> +
>  HOST_FAKEROOT_CONF_TOOL := autoconf
>  HOST_FAKEROOT_CONF_OPT := \
>         $(HOST_AUTOCONF) \
>

I reproduced the problem by restoring the sh link to point back to dash
again and then applied this patch. Starting a build after a complete clean
again, this patch did not help :(

Jon

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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] targetinstall fails
  2015-01-02 14:28     ` Jon Ringle
@ 2015-01-02 14:36       ` Jon Ringle
  2015-01-08 11:33         ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Ringle @ 2015-01-02 14:36 UTC (permalink / raw)
  To: ptxdist


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

On Fri, Jan 2, 2015 at 9:28 AM, Jon Ringle <jon@ringle.org> wrote:

> On Wed, Dec 31, 2014 at 7:55 AM, Michael Olbrich <m.olbrich@pengutronix.de
> > wrote:
>
>> On Wed, Dec 31, 2014 at 01:57:17AM -0500, Jon Ringle wrote:
>> > 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):
>> [...]
>>
>> I think I saw this at some point, but then it worked again and I never
>> made
>> a patch. Does this help?
>>
>> Michael
>>
>> diff --git a/rules/host-fakeroot.make b/rules/host-fakeroot.make
>> index 53236194a582..3fb699a56759 100644
>> --- a/rules/host-fakeroot.make
>> +++ b/rules/host-fakeroot.make
>> @@ -30,6 +30,10 @@ HOST_FAKEROOT_DIR    :=
>> $(HOST_BUILDDIR)/$(HOST_FAKEROOT)
>>  # Prepare
>>  #
>> ----------------------------------------------------------------------------
>>
>> +HOST_FAKEROOT_CONF_ENV := \
>> +       $(HOST_ENV) \
>> +       CONFIG_SHELL=/bin/bash
>> +
>>  HOST_FAKEROOT_CONF_TOOL := autoconf
>>  HOST_FAKEROOT_CONF_OPT := \
>>         $(HOST_AUTOCONF) \
>>
>
> I reproduced the problem by restoring the sh link to point back to dash
> again and then applied this patch. Starting a build after a complete clean
> again, this patch did not help :(
>
>
Ahh... however, I just realized that I had a host-fakeroot-*-dev.tar.gz
package that my build was using. After removing that so that ptxdist would
rebuild host-fakeroot again, it is now having a positive effect :)

Jon

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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] targetinstall fails
  2015-01-02 14:36       ` Jon Ringle
@ 2015-01-08 11:33         ` Michael Olbrich
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2015-01-08 11:33 UTC (permalink / raw)
  To: ptxdist

On Fri, Jan 02, 2015 at 09:36:10AM -0500, Jon Ringle wrote:
> On Fri, Jan 2, 2015 at 9:28 AM, Jon Ringle <jon@ringle.org> wrote:
> 
> > On Wed, Dec 31, 2014 at 7:55 AM, Michael Olbrich <m.olbrich@pengutronix.de
> > > wrote:
> >
> >> On Wed, Dec 31, 2014 at 01:57:17AM -0500, Jon Ringle wrote:
> >> > 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):
> >> [...]
> >>
> >> I think I saw this at some point, but then it worked again and I never
> >> made
> >> a patch. Does this help?
> >>
> >> Michael
> >>
> >> diff --git a/rules/host-fakeroot.make b/rules/host-fakeroot.make
> >> index 53236194a582..3fb699a56759 100644
> >> --- a/rules/host-fakeroot.make
> >> +++ b/rules/host-fakeroot.make
> >> @@ -30,6 +30,10 @@ HOST_FAKEROOT_DIR    :=
> >> $(HOST_BUILDDIR)/$(HOST_FAKEROOT)
> >>  # Prepare
> >>  #
> >> ----------------------------------------------------------------------------
> >>
> >> +HOST_FAKEROOT_CONF_ENV := \
> >> +       $(HOST_ENV) \
> >> +       CONFIG_SHELL=/bin/bash
> >> +
> >>  HOST_FAKEROOT_CONF_TOOL := autoconf
> >>  HOST_FAKEROOT_CONF_OPT := \
> >>         $(HOST_AUTOCONF) \
> >>
> >
> > I reproduced the problem by restoring the sh link to point back to dash
> > again and then applied this patch. Starting a build after a complete clean
> > again, this patch did not help :(
> >
> >
> Ahh... however, I just realized that I had a host-fakeroot-*-dev.tar.gz
> package that my build was using. After removing that so that ptxdist would
> rebuild host-fakeroot again, it is now having a positive effect :)

I've pushed a patch for this. Thanks for testing.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-08 11:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-30 19:02 [ptxdist] targetinstall fails Jon Ringle
2014-12-31  6:57 ` Jon Ringle
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox