Re: [ptxdist] missing libfakeroot.so

2018-06-12 Thread Jon Ringle
On Tue, Jun 12, 2018 at 3:56 PM Michael Olbrich
 wrote:
>
> On Tue, Jun 12, 2018 at 03:20:33PM -0400, Jon Ringle wrote:
> > On Tue, Jun 12, 2018 at 9:39 AM Michael Olbrich
> >  wrote:
> > >
> > > On Tue, Jun 12, 2018 at 08:43:34AM -0400, Jon Ringle wrote:
> > > > I'm running into the following problem building on our bamboo server.
> > > > It complains about missing libfakeroot.so, but as you can see, target
> > > > host-fakeroot.install.post completes, which I presume should have
> > > > installed libfakeroot.so under $(SYSROOT_HOST)?
> > > >
> > > > Any ideas?
> > >
> > > libfakeroot.so should be in sysroot-host/lib/fakeroot/. Also,
> > > sysroot-host/bin/fakeroot is a shell script, so you can add some 
> > > debugging.
> >
> > I added `set -x` to the fakeroot script and found it rather odd the
> > paths in the env variables:
> > FAKEROOT_PREFIX="FAKEROOT_SYSROOT"
> > FAKEROOT_BINDIR="FAKEROOT_SYSROOT/bin"
> > PATHS="FAKEROOT_SYSROOT/lib/fakeroot":${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
>
> Which ptxdist version is this? Prior to ptxdist-2018.03.0 there was a patch
> that introduced FAKEROOT_SYSROOT and it was then replaced with sysroot-host
> in host-fakeroot.install.post. Since ptxdist-2018.03.0 the path is
> calculated relative to the location of the fakeroot script.
>
> Maybe you have the old patches with a new host-fakeroot.make or something
> like this?

Yeah, turns out my build was pulling in from some old *-dev.tar.gz packages

___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH] systemd: add upstream patch to fix OnFailure behaviour

2018-06-12 Thread Clemens Gruber
Without this patch, the OnFailure action is triggered, even though there
was a normal/successful restart. (e.g. with RestartForceExitStatus and
SuccessExitStatus to trigger service restarts with special exit codes)

Signed-off-by: Clemens Gruber 
---
 ...er-OnFailure-deps-when-a-unit-is-goi.patch | 244 ++
 patches/systemd-238/series|   3 +-
 2 files changed, 246 insertions(+), 1 deletion(-)
 create mode 100644 
patches/systemd-238/0005-core-don-t-trigger-OnFailure-deps-when-a-unit-is-goi.patch

diff --git 
a/patches/systemd-238/0005-core-don-t-trigger-OnFailure-deps-when-a-unit-is-goi.patch
 
b/patches/systemd-238/0005-core-don-t-trigger-OnFailure-deps-when-a-unit-is-goi.patch
new file mode 100644
index 0..b783cac3a
--- /dev/null
+++ 
b/patches/systemd-238/0005-core-don-t-trigger-OnFailure-deps-when-a-unit-is-goi.patch
@@ -0,0 +1,244 @@
+From: Lennart Poettering 
+Date: Fri, 1 Jun 2018 19:06:19 +0200
+Subject: [PATCH] core: don't trigger OnFailure= deps when a unit is going to
+ restart
+
+This adds a flags parameter to unit_notify() which can be used to pass
+additional notification information to the function. We the make the old
+reload_failure boolean parameter one of these flags, and then add a new
+flag that let's unit_notify() if we are configured to restart the
+service.
+
+Note that this adjusts behaviour of systemd to match what the docs say.
+
+Fixes: #8398
+---
+ src/core/automount.c |  2 +-
+ src/core/device.c|  2 +-
+ src/core/mount.c |  3 ++-
+ src/core/path.c  |  2 +-
+ src/core/scope.c |  2 +-
+ src/core/service.c   |  5 -
+ src/core/slice.c |  2 +-
+ src/core/socket.c|  2 +-
+ src/core/swap.c  |  2 +-
+ src/core/target.c|  2 +-
+ src/core/timer.c |  2 +-
+ src/core/unit.c  | 10 ++
+ src/core/unit.h  |  7 ++-
+ 13 files changed, 27 insertions(+), 16 deletions(-)
+
+diff --git a/src/core/automount.c b/src/core/automount.c
+index 01a6ff806e16..b66c7baad7e3 100644
+--- a/src/core/automount.c
 b/src/core/automount.c
+@@ -265,7 +265,7 @@ static void automount_set_state(Automount *a, 
AutomountState state) {
+ if (state != old_state)
+ log_unit_debug(UNIT(a), "Changed %s -> %s", 
automount_state_to_string(old_state), automount_state_to_string(state));
+ 
+-unit_notify(UNIT(a), state_translation_table[old_state], 
state_translation_table[state], true);
++unit_notify(UNIT(a), state_translation_table[old_state], 
state_translation_table[state], 0);
+ }
+ 
+ static int automount_coldplug(Unit *u) {
+diff --git a/src/core/device.c b/src/core/device.c
+index b0dd469fd14b..d92e92bdcc6b 100644
+--- a/src/core/device.c
 b/src/core/device.c
+@@ -136,7 +136,7 @@ static void device_set_state(Device *d, DeviceState state) 
{
+ if (state != old_state)
+ log_unit_debug(UNIT(d), "Changed %s -> %s", 
device_state_to_string(old_state), device_state_to_string(state));
+ 
+-unit_notify(UNIT(d), state_translation_table[old_state], 
state_translation_table[state], true);
++unit_notify(UNIT(d), state_translation_table[old_state], 
state_translation_table[state], 0);
+ }
+ 
+ static int device_coldplug(Unit *u) {
+diff --git a/src/core/mount.c b/src/core/mount.c
+index fb55c71d3c00..46add4d6481e 100644
+--- a/src/core/mount.c
 b/src/core/mount.c
+@@ -669,7 +669,8 @@ static void mount_set_state(Mount *m, MountState state) {
+ if (state != old_state)
+ log_unit_debug(UNIT(m), "Changed %s -> %s", 
mount_state_to_string(old_state), mount_state_to_string(state));
+ 
+-unit_notify(UNIT(m), state_translation_table[old_state], 
state_translation_table[state], m->reload_result == MOUNT_SUCCESS);
++unit_notify(UNIT(m), state_translation_table[old_state], 
state_translation_table[state],
++m->reload_result == MOUNT_SUCCESS ? 0 : 
UNIT_NOTIFY_RELOAD_FAILURE);
+ }
+ 
+ static int mount_coldplug(Unit *u) {
+diff --git a/src/core/path.c b/src/core/path.c
+index 1893d8de4581..e5e60b86e995 100644
+--- a/src/core/path.c
 b/src/core/path.c
+@@ -438,7 +438,7 @@ static void path_set_state(Path *p, PathState state) {
+ if (state != old_state)
+ log_unit_debug(UNIT(p), "Changed %s -> %s", 
path_state_to_string(old_state), path_state_to_string(state));
+ 
+-unit_notify(UNIT(p), state_translation_table[old_state], 
state_translation_table[state], true);
++unit_notify(UNIT(p), state_translation_table[old_state], 
state_translation_table[state], 0);
+ }
+ 
+ static void path_enter_waiting(Path *p, bool initial, bool recheck);
+diff --git a/src/core/scope.c b/src/core/scope.c
+index 5b9c2bb3c4f0..efebb2f11200 100644
+--- a/src/core/scope.c
 b/src/core/scope.c
+@@ -111,7 +111,7 @@ static void scope_set_state(Scope *s, ScopeState state) {
+ if (state != old_state)
+ log_debug("%s changed %s -> %s", UNIT(s)->id, 

[ptxdist] [PATCH] mpg123: version bump 1.25.8 -> 1.25.10

2018-06-12 Thread Clemens Gruber
Signed-off-by: Clemens Gruber 
---
 rules/mpg123.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/mpg123.make b/rules/mpg123.make
index 63c08a834..0610d9292 100644
--- a/rules/mpg123.make
+++ b/rules/mpg123.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_MPG123) += mpg123
 #
 # Paths and names
 #
-MPG123_VERSION := 1.25.8
-MPG123_MD5 := 62ef1e417eb50f82bf241866d9e6e19b
+MPG123_VERSION := 1.25.10
+MPG123_MD5 := ea32caa61d41d8be797f0b04a1b43ad9
 MPG123 := mpg123-$(MPG123_VERSION)
 MPG123_SUFFIX  := tar.bz2
 MPG123_URL := http://www.mpg123.org/download/$(MPG123).$(MPG123_SUFFIX)
-- 
2.17.1


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH] libgpg-error: version bump 1.28 -> 1.31

2018-06-12 Thread Clemens Gruber
The patch is now upstream and therefore removed.

Signed-off-by: Clemens Gruber 
---
 ...ion-on-arm64-due-to-invalid-use-of-v.patch | 53 ---
 patches/libgpg-error-1.28/series  |  4 --
 rules/libgpg-error.make   |  4 +-
 3 files changed, 2 insertions(+), 59 deletions(-)
 delete mode 100644 
patches/libgpg-error-1.28/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
 delete mode 100644 patches/libgpg-error-1.28/series

diff --git 
a/patches/libgpg-error-1.28/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
 
b/patches/libgpg-error-1.28/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
deleted file mode 100644
index 8c7265a90..0
--- 
a/patches/libgpg-error-1.28/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From: Werner Koch 
-Date: Sun, 18 Mar 2018 17:39:43 +0100
-Subject: [PATCH] core: Fix regression on arm64 due to invalid use of va_list.
-
-* src/logging.c (_gpgrt_log_printhex): Provide a dummy arg instead of
-NULL.
---
-
-Fix
-Suggested-by: Jakub Wilk 
-
-Signed-off-by: Werner Koch 
-Signed-off-by: Baruch Siach 

- src/logging.c | 18 ++
- 1 file changed, 14 insertions(+), 4 deletions(-)
-
-diff --git a/src/logging.c b/src/logging.c
-index 1a4f6203d16d..d01f974e4545 100644
 a/src/logging.c
-+++ b/src/logging.c
-@@ -1090,9 +1090,10 @@ _gpgrt_log_flush (void)
- 
- 
- /* Print a hexdump of (BUFFER,LENGTH).  With FMT passed as NULL print
-- * just the raw dump, with FMT being an empty string, print a trailing
-- * linefeed, otherwise print an entire debug line with the expanded
-- * FMT followed by a possible wrapped hexdump and a final LF.  */
-+ * just the raw dump (in this case ARG_PTR is not used), with FMT
-+ * being an empty string, print a trailing linefeed, otherwise print
-+ * an entire debug line with the expanded FMT followed by a possible
-+ * wrapped hexdump and a final LF.  */
- void
- _gpgrt_logv_printhex (const void *buffer, size_t length,
-   const char *fmt, va_list arg_ptr)
-@@ -1150,7 +1151,16 @@ _gpgrt_log_printhex (const void *buffer, size_t length,
-   va_end (arg_ptr);
- }
-   else
--_gpgrt_logv_printhex (buffer, length, NULL, NULL);
-+{
-+  /* va_list is not necessary a pointer and thus we can't use NULL
-+   * because that would conflict with platforms using a straight
-+   * struct for it (e.g. arm64).  We use a dummy variable instead;
-+   * the static is a simple way zero it out so to not get
-+   * complains about uninitialized use.  */
-+  static va_list dummy_argptr;
-+
-+  _gpgrt_logv_printhex (buffer, length, NULL, dummy_argptr);
-+}
- }
- 
- 
diff --git a/patches/libgpg-error-1.28/series b/patches/libgpg-error-1.28/series
deleted file mode 100644
index d627f12d0..0
--- a/patches/libgpg-error-1.28/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
-# da99be1b79ee0b3994f2153e5ad33086  - git-ptx-patches magic
diff --git a/rules/libgpg-error.make b/rules/libgpg-error.make
index 525ab0c7a..2a71ea042 100644
--- a/rules/libgpg-error.make
+++ b/rules/libgpg-error.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBGPG_ERROR) += libgpg-error
 #
 # Paths and names
 #
-LIBGPG_ERROR_VERSION   := 1.28
-LIBGPG_ERROR_MD5   := 2b072f6194eb22d48cd4c7c77e59b5af
+LIBGPG_ERROR_VERSION   := 1.31
+LIBGPG_ERROR_MD5   := 5cc6df0fea27832e9cdbafc60f51561b
 LIBGPG_ERROR   := libgpg-error-$(LIBGPG_ERROR_VERSION)
 LIBGPG_ERROR_SUFFIX:= tar.bz2
 LIBGPG_ERROR_URL   := \
-- 
2.17.1


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH] u-boot-tools: version bump 2018.01 -> 2018.05

2018-06-12 Thread Clemens Gruber
Signed-off-by: Clemens Gruber 
---
 rules/u-boot-tools.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 9a3aacd19..156f224c1 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_U_BOOT_TOOLS) += u-boot-tools
 #
 # Paths and names
 #
-U_BOOT_TOOLS_VERSION   := 2018.01
-U_BOOT_TOOLS_MD5   := b42e45813369f4ae84490a481e531768
+U_BOOT_TOOLS_VERSION   := 2018.05
+U_BOOT_TOOLS_MD5   := ad5c59bc19724c1679feb2a0c9ff4a25
 U_BOOT_TOOLS   := u-boot-$(U_BOOT_TOOLS_VERSION)
 U_BOOT_TOOLS_SUFFIX:= tar.bz2
 U_BOOT_TOOLS_URL   := 
ftp://ftp.denx.de/pub/u-boot/$(U_BOOT_TOOLS).$(U_BOOT_TOOLS_SUFFIX)
-- 
2.17.1


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH] procps: version bump 3.3.12 -> 3.3.15

2018-06-12 Thread Clemens Gruber
Signed-off-by: Clemens Gruber 
---
 rules/procps.make | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/rules/procps.make b/rules/procps.make
index f8e96d6f9..d50607aed 100644
--- a/rules/procps.make
+++ b/rules/procps.make
@@ -19,8 +19,8 @@ PACKAGES-$(PTXCONF_PROCPS) += procps
 #
 # Paths and names
 #
-PROCPS_VERSION := 3.3.12
-PROCPS_MD5 := 957e42e8b193490b2111252e4a2b443c
+PROCPS_VERSION := 3.3.15
+PROCPS_MD5 := 2b0717a7cb474b3d6dfdeedfbad2eccc
 PROCPS := procps-ng-$(PROCPS_VERSION)
 PROCPS_SUFFIX  := tar.xz
 PROCPS_URL := $(call ptx/mirror, SF, 
procps-ng/Production/$(PROCPS).$(PROCPS_SUFFIX))
@@ -62,7 +62,8 @@ PROCPS_CONF_OPT   := \
--without-libiconv-prefix \
--without-libintl-prefix \
--$(call ptx/wwo, PTXCONF_PROCPS_USES_NCURSES)-ncurses \
-   --$(call ptx/wwo, PTXCONF_PROCPS_WITH_SYSTEMD)-systemd
+   --$(call ptx/wwo, PTXCONF_PROCPS_WITH_SYSTEMD)-systemd \
+   --without-elogind
 
 
 # 
-- 
2.17.1


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH] gnupg: version bump 2.2.5 -> 2.2.8

2018-06-12 Thread Clemens Gruber
Signed-off-by: Clemens Gruber 
---
 rules/gnupg.make | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rules/gnupg.make b/rules/gnupg.make
index dad3ac3d6..fdda1c873 100644
--- a/rules/gnupg.make
+++ b/rules/gnupg.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_GNUPG) += gnupg
 #
 # Paths and names
 #
-GNUPG_VERSION  := 2.2.5
-GNUPG_MD5  := 567cd2d41fa632903066fde73d2005cb
+GNUPG_VERSION  := 2.2.8
+GNUPG_MD5  := 0db6d8ec569e260435a7d2bfb2ecfe5c
 GNUPG  := gnupg-$(GNUPG_VERSION)
 GNUPG_SUFFIX   := tar.bz2
 GNUPG_URL  := ftp://ftp.gnupg.org/gcrypt/gnupg/$(GNUPG).$(GNUPG_SUFFIX)
@@ -75,6 +75,7 @@ GNUPG_CONF_OPT := $(CROSS_AUTOCONF_USR) \
--disable-dirmngr-auto-start \
$(GLOBAL_LARGE_FILE_OPTION) \
--disable-sqlite \
+   --disable-npth-debug \
--disable-ntbtls \
--disable-gnutls \
--disable-ldap \
-- 
2.17.1


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH] e2fsprogs: version bump 1.44.1 -> 1.44.2

2018-06-12 Thread Clemens Gruber
License file hash changed due to an update to the FSF address in Boston.

Signed-off-by: Clemens Gruber 
---
 rules/e2fsprogs.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/e2fsprogs.make b/rules/e2fsprogs.make
index dcc75079f..f6b481707 100644
--- a/rules/e2fsprogs.make
+++ b/rules/e2fsprogs.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_E2FSPROGS) += e2fsprogs
 #
 # Paths and names
 #
-E2FSPROGS_VERSION  := 1.44.1
-E2FSPROGS_MD5  := d6079b031682fa947ea0f96013379155
+E2FSPROGS_VERSION  := 1.44.2
+E2FSPROGS_MD5  := 5e8690b6870e07e644283c88915a557f
 E2FSPROGS  := e2fsprogs-$(E2FSPROGS_VERSION)
 E2FSPROGS_SUFFIX   := tar.gz
 E2FSPROGS_URL  := $(call ptx/mirror, SF, 
e2fsprogs/$(E2FSPROGS).$(E2FSPROGS_SUFFIX))
@@ -26,7 +26,7 @@ E2FSPROGS_SOURCE  := 
$(SRCDIR)/$(E2FSPROGS).$(E2FSPROGS_SUFFIX)
 E2FSPROGS_DIR  := $(BUILDDIR)/$(E2FSPROGS)
 E2FSPROGS_LICENSE  := GPL-2.0-or-later AND LGPL-2.0-or-later AND 
BSD-3-Clause AND MIT
 E2FSPROGS_LICENSE_FILES:= \
-   file://NOTICE;md5=b48f21d765b875bd10400975d12c1ca2 \
+   file://NOTICE;md5=d50be0580c0b0a7fbc7a4830bbe6c12b \

file://lib/uuid/gen_uuid.c;startline=4;endline=31;md5=697cf5d1be275fa2588beaaf2bb481bd
 
 # 
-- 
2.17.1


___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] missing libfakeroot.so

2018-06-12 Thread Michael Olbrich
On Tue, Jun 12, 2018 at 03:20:33PM -0400, Jon Ringle wrote:
> On Tue, Jun 12, 2018 at 9:39 AM Michael Olbrich
>  wrote:
> >
> > On Tue, Jun 12, 2018 at 08:43:34AM -0400, Jon Ringle wrote:
> > > I'm running into the following problem building on our bamboo server.
> > > It complains about missing libfakeroot.so, but as you can see, target
> > > host-fakeroot.install.post completes, which I presume should have
> > > installed libfakeroot.so under $(SYSROOT_HOST)?
> > >
> > > Any ideas?
> >
> > libfakeroot.so should be in sysroot-host/lib/fakeroot/. Also,
> > sysroot-host/bin/fakeroot is a shell script, so you can add some debugging.
> 
> I added `set -x` to the fakeroot script and found it rather odd the
> paths in the env variables:
> FAKEROOT_PREFIX="FAKEROOT_SYSROOT"
> FAKEROOT_BINDIR="FAKEROOT_SYSROOT/bin"
> PATHS="FAKEROOT_SYSROOT/lib/fakeroot":${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot

Which ptxdist version is this? Prior to ptxdist-2018.03.0 there was a patch
that introduced FAKEROOT_SYSROOT and it was then replaced with sysroot-host
in host-fakeroot.install.post. Since ptxdist-2018.03.0 the path is
calculated relative to the location of the fakeroot script.

Maybe you have the old patches with a new host-fakeroot.make or something
like this?

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

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] missing libfakeroot.so

2018-06-12 Thread Jon Ringle
On Tue, Jun 12, 2018 at 9:39 AM Michael Olbrich
 wrote:
>
> On Tue, Jun 12, 2018 at 08:43:34AM -0400, Jon Ringle wrote:
> > I'm running into the following problem building on our bamboo server.
> > It complains about missing libfakeroot.so, but as you can see, target
> > host-fakeroot.install.post completes, which I presume should have
> > installed libfakeroot.so under $(SYSROOT_HOST)?
> >
> > Any ideas?
>
> libfakeroot.so should be in sysroot-host/lib/fakeroot/. Also,
> sysroot-host/bin/fakeroot is a shell script, so you can add some debugging.

I added `set -x` to the fakeroot script and found it rather odd the
paths in the env variables:
FAKEROOT_PREFIX="FAKEROOT_SYSROOT"
FAKEROOT_BINDIR="FAKEROOT_SYSROOT/bin"
PATHS="FAKEROOT_SYSROOT/lib/fakeroot":${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot

Here the debug output:
---
target: host-opkg-utils.install
---

+ FAKEROOT_PREFIX=FAKEROOT_SYSROOT
+ FAKEROOT_BINDIR=FAKEROOT_SYSROOT/bin
+ USEABSLIBPATH=0
+ LIB=libfakeroot.so
+ 
PATHS=FAKEROOT_SYSROOT/lib/fakeroot:FAKEROOT_SYSROOT/lib64/libfakeroot:FAKEROOT_SYSROOT/lib32/libfakeroot
+ FAKED=FAKEROOT_SYSROOT/bin/faked
+ FAKED_MODE=unknown-is-root
+ export FAKED_MODE
+ libfound=no
++ getopt --version
+ GETOPTEST='getopt from util-linux 2.20.1'
+ case $GETOPTEST in
++ getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version
-l help -- +l:f:i:s:ub:vh --
+ FAKE_TEMP=' --'
+ test 0 -ne 0
+ eval set -- ' --'
++ set -- --
+ FAKEDOPTS=
+ PIPEIN=
+ WAITINTRAP=0
+ test X-- '!=' X--
+ shift
+ ABSLIB=
+ '[' -n 
FAKEROOT_SYSROOT/lib/fakeroot:FAKEROOT_SYSROOT/lib64/libfakeroot:FAKEROOT_SYSROOT/lib32/libfakeroot
']'
++ echo 
FAKEROOT_SYSROOT/lib/fakeroot:FAKEROOT_SYSROOT/lib64/libfakeroot:FAKEROOT_SYSROOT/lib32/libfakeroot
++ sed 's/:/ /g'
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r FAKEROOT_SYSROOT/lib/fakeroot/libfakeroot.so
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r FAKEROOT_SYSROOT/lib64/libfakeroot/libfakeroot.so
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r FAKEROOT_SYSROOT/lib32/libfakeroot/libfakeroot.so
+ test no = no
+ fatal 'preload library `libfakeroot.so'\'' not found, aborting.'
+ stderr 'preload library `libfakeroot.so'\'' not found, aborting.'
+ local i
+ for i in '"$@"'
+ echo 'fakeroot: preload library `libfakeroot.so'\'' not found, aborting.'
fakeroot: preload library `libfakeroot.so' not found, aborting.
+ exit 1
make: *** 
[/home/local/GRIDPOINT/jringle/git/linux-initramfs/platform-EC1K/state/host-opkg-utils.install]
Error 1

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] missing libfakeroot.so

2018-06-12 Thread Michael Olbrich
On Tue, Jun 12, 2018 at 08:43:34AM -0400, Jon Ringle wrote:
> I'm running into the following problem building on our bamboo server.
> It complains about missing libfakeroot.so, but as you can see, target
> host-fakeroot.install.post completes, which I presume should have
> installed libfakeroot.so under $(SYSROOT_HOST)?
> 
> Any ideas?

libfakeroot.so should be in sysroot-host/lib/fakeroot/. Also,
sysroot-host/bin/fakeroot is a shell script, so you can add some debugging.

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

___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] missing libfakeroot.so

2018-06-12 Thread Jon Ringle
I'm running into the following problem building on our bamboo server.
It complains about missing libfakeroot.so, but as you can see, target
host-fakeroot.install.post completes, which I presume should have
installed libfakeroot.so under $(SYSROOT_HOST)?

Any ideas?

-Jon

build 12-Jun-2018 12:16:12 
build 12-Jun-2018 12:16:12 target: host-fakeroot.install.unpack
build 12-Jun-2018 12:16:12 
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 finished target host-fakeroot.install.unpack
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 --
build 12-Jun-2018 12:16:12 target: host-fakeroot.install.post
build 12-Jun-2018 12:16:12 --
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 finished target host-fakeroot.install.post
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 
build 12-Jun-2018 12:16:12 target: opkg-utils-0.3.5.tar.bz2
build 12-Jun-2018 12:16:12 
build 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12 --2018-06-12 12:16:12--
http://opensource.gridpoint.com/pool//opkg-utils-0.3.5.tar.bz2
error 12-Jun-2018 12:16:12 Resolving opensource.gridpoint.com
(opensource.gridpoint.com)... 10.201.60.60
error 12-Jun-2018 12:16:12 Connecting to opensource.gridpoint.com
(opensource.gridpoint.com)|10.201.60.60|:80... connected.
error 12-Jun-2018 12:16:12 HTTP request sent, awaiting response... 200 OK
error 12-Jun-2018 12:16:12 Length: 27431 (27K) [application/x-bzip2]
error 12-Jun-2018 12:16:12 Saving to:
'/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/src/opkg-utils-0.3.5.tar.bz2.j5F3MKIcel'
error 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12 0% [
] 0   --.-K/s
error 12-Jun-2018 12:16:12
100%[==>] 27,431  --.-K/s   in
0s
error 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12 2018-06-12 12:16:12 (241 MB/s) -
'/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/src/opkg-utils-0.3.5.tar.bz2.j5F3MKIcel'
saved [27431/27431]
error 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 ---
build 12-Jun-2018 12:16:12 target: host-opkg-utils.get
build 12-Jun-2018 12:16:12 ---
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 finished target host-opkg-utils.get
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 ---
build 12-Jun-2018 12:16:12 target: host-opkg-utils.extract
build 12-Jun-2018 12:16:12 ---
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 extract:
pkg_src=GPEC-ELK2-JOB1/src/opkg-utils-0.3.5.tar.bz2
build 12-Jun-2018 12:16:12 extract:
pkg_extract_dir=GPEC-ELK2-JOB1/platform-EC1K/build-host/opkg-utils-0.3.5
build 12-Jun-2018 12:16:12 patchin: git: initializing repository
build 12-Jun-2018 12:16:12 patchin: git: done
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 pkg_patch_dir:
'ptxdist-2018.06.1_GP/patches/opkg-utils-0.3.5'
build 12-Jun-2018 12:16:12 pkg_patch_series:
'ptxdist-2018.06.1_GP/patches/opkg-utils-0.3.5/series'
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 patchin: git: apply
'ptxdist-2018.06.1_GP/patches/opkg-utils-0.3.5/series'
build 12-Jun-2018 12:16:12 tagging -> base
build 12-Jun-2018 12:16:12 0001-opkg-make-ar-deterministic.patch
build 12-Jun-2018 12:16:13 0002-opkg-build-use-CROSS_COMPILE-ar.patch
build 12-Jun-2018 12:16:13 0003-Fill-out-Installed-Size.patch
build 12-Jun-2018 12:16:13
0004-opkg-build-in-ptxdist-the-maxium-UID-for-system-user.patch
build 12-Jun-2018 12:16:13 patchin: git: done
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 finished target host-opkg-utils.extract
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 
build 12-Jun-2018 12:16:13 target: host-opkg-utils.extract.post
build 12-Jun-2018 12:16:13 
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 pkg_patch_autogen: ''
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 finished target host-opkg-utils.extract.post
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 ---
build 12-Jun-2018 12:16:13 target: host-opkg-utils.prepare
build 12-Jun-2018 12:16:13 ---
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 prepare stage disabled.
build 12-Jun-2018 12:16:13 finished target host-opkg-utils.prepare
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 ---
build 12-Jun-2018 12:16:13 target: host-opkg-utils.compile
build 12-Jun-2018 12:16:13 ---
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 make[1]: Entering directory
`/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/platform-EC1K/build-host/opkg-utils-0.3.5'
build 12-Jun-2018 12:16:13 pod2man -r "" -c 

Re: [ptxdist] libblkid

2018-06-12 Thread Jakov Simunic
Resolved it, I just copied your files from master but I didn't check the 
ptxdist configuration, 
in which the e2fsprogs package was still selected although I deleted it from 
util-linux-ng.in 
(the 1.99.20 version of util-linux-ng.in) and the build failed cause ptx was 
getting the libblkid 
from util-linux-ng (master version) but still tried to build e2fsprogs libblkid 
and those two
conflicted.
Once I had removed the e2fsprogs package from the ptxdist configuration, then 
the build
worked like a charm.
By 'commenting support' I meant that due to the problem described above I 
thought
ptxdist was executing commented lines in rules/util-linux-ng.in (the 1.99.20 
version),
you are probably confused with what i said now, but what I did is the following:
1. Changed util-linux-ng.make, but didn't changed the util-linux-ng.in
2. Tried to build, didn't work.
3. Thought that the commented lines in util-linux-ng.in were executing
because they contained E2FSPROGS but I commented them out, so
I didn't know why ptxdist built e2fsprogs, without aksing me.
4. Changed util-linux-ng.in, tried to build, conflict between 
util-linux-ng
and e2fsprogs showed up.
5. Chenged ptxdist configuration, disabled e2fsprogs, then it worked.
--
Lijep pozdrav / Best regards
Jakov Šimunić


On Tue, Jun 12, 2018 at 07:14:35AM +, Jakov Simunic wrote:
> Yes, you are right, it is udev.in.
> Btw, still haven't resolved it, somehow ptxdist also tries to build 
> e2fsprogs, although i don't see it selected in the files I modified 
> (it is commented the same way as in current ptx master), does ptx 
> 1.99.20 even have commenting support?

A long time ago libblkid was provided by e2fsprogs, so maybe you need to select 
this instead. I'm not sure what you mean by 'commenting support'.

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

___
ptxdist mailing list
ptxdist@pengutronix.de
___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] libblkid

2018-06-12 Thread Michael Olbrich
On Tue, Jun 12, 2018 at 07:14:35AM +, Jakov Simunic wrote:
> Yes, you are right, it is udev.in.
> Btw, still haven't resolved it, somehow ptxdist also tries to build 
> e2fsprogs, 
> although i don't see it selected in the files I modified (it is commented the 
> same way as in current ptx master), does ptx 1.99.20 even have commenting 
> support?

A long time ago libblkid was provided by e2fsprogs, so maybe you need to
select this instead. I'm not sure what you mean by 'commenting support'.

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

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] libblkid

2018-06-12 Thread Jakov Simunic
Hello Michael,
Yes, you are right, it is udev.in.
Btw, still haven't resolved it, somehow ptxdist also tries to build e2fsprogs, 
although i don't see it selected in the files I modified (it is commented the 
same way as in current ptx master), does ptx 1.99.20 even have commenting 
support?

--
Lijep pozdrav / Best regards
Jakov Šimunić

-Original Message-
From: ptxdist  On Behalf Of Michael Olbrich
Sent: Monday, June 11, 2018 4:59 PM
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] libblkid

Hi,

On Mon, Jun 11, 2018 at 07:34:04AM +, Jakov Simunic wrote:
> I am confused about rules/libblkid.in, there is no corresponding 
> rules/libblkid.make file, I use this to build udev, but it fails this 
> way when i do the following:
> 
> ./ptxdist clean
> ./ptxdist compile udev
> 
> It fails in the configure with the error: checking for BLKID... not 
> found However, it builds when i first do this:
> 
> ./ptxdist clean
> ./ptxdist targetinstall util-linux-ng
> ./ptxdist compile udev
> 
> So my conclusion is that ptxdist can't build libblkid without a 
> corresponding rule/libblkid.make, should one be written?
> Currently I just made udev.make select UTIL_LINUX_NG but it doesn't 
> seem right to me.

udev.in not udev.make, right? For your PTXdist version that's the correct 
solution. At least I think so, I barely remember that this version ever 
existed... ;-)

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

___
ptxdist mailing list
ptxdist@pengutronix.de
___
ptxdist mailing list
ptxdist@pengutronix.de