[ptxdist] [PATCH] squashfs-tools: include sysmacros.h for recent systems (glibc 2.28)

2018-10-12 Thread Andreas Pretzsch
Since glibc 2.28 (and deprecated since 2.25), sys/sysmacros.h is no longer included from sys/types.h. Explicitly include it, to have minor(), major() and makedev() defined. Strictly speaking, it might make sense to replace these calls also with gnu_dev_minor() et al., as the above #define's are his

[ptxdist] [PATCH] squashfs-tools: remove old patches for v3.4 (version removed)

2018-10-12 Thread Andreas Pretzsch
In commit ccf3982 (part of ptxdist-2018.08.0), support for old squashfs-tools 3.4 was dropped. Remove leftover patches. Signed-off-by: Andreas Pretzsch --- patches/squashfs3.4/series | 1 - patches/squashfs3.4/squashfs_libs.diff | 34 -- 2 files changed, 35 d

Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'

2018-10-12 Thread nigel.hathaway
Thanks. Applying the referenced patch causes the build to run much further towards completion. It now fails on: - target: host-qemu.compile - make[1]: Entering directory `/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.1

Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'

2018-10-12 Thread Roland Hieber
Hi, this bug was already discussed in a previous thread [2], and fixed today in commit 477cdd08aee [1] on master. I don't know if mol will release a 2018.10.1... [1]: https://git.pengutronix.de/cgit/ptxdist/commit/?id=477cdd08aeeeb965ce6b2a001b2c2cdfa9e63daa [2]: https://www.mail-archive.com/ptx

[ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'

2018-10-12 Thread nigel.hathaway
This is just a test run to ensure that ptxdist works, using the latest reference DistroKit. It falls over early on. I tried downloading acl manually, and it built, but then it fell over on the next package with the same error. OS: Ubuntu 14.04 Ptxdist version: ptxdist-2018.10.0 selected_platf

Re: [ptxdist] [PATCH 2/3] barebox: add option for building barebox reproducibly

2018-10-12 Thread Baeuerle, Florian
Am Freitag, den 12.10.2018, 14:01 +0200 schrieb Michael Olbrich: > On Thu, Oct 11, 2018 at 02:19:17PM +, Baeuerle, Florian wrote: > > Inject fake timestamps into the build via faketime to produce the exact > > same binaries. > > > > Signed-off-by: Florian Bäuerle > > --- > > platforms/barebo

Re: [ptxdist] [PATCH 2/3] barebox: add option for building barebox reproducibly

2018-10-12 Thread Baeuerle, Florian
Am Freitag, den 12.10.2018, 14:01 +0200 schrieb Michael Olbrich: > On Thu, Oct 11, 2018 at 02:19:17PM +, Baeuerle, Florian wrote: > > Inject fake timestamps into the build via faketime to produce the exact > > same binaries. > > > > Signed-off-by: Florian Bäuerle > > --- > > platforms/barebo

Re: [ptxdist] [PATCH 2/3] barebox: add option for building barebox reproducibly

2018-10-12 Thread Michael Olbrich
On Thu, Oct 11, 2018 at 02:19:17PM +, Baeuerle, Florian wrote: > Inject fake timestamps into the build via faketime to produce the exact > same binaries. > > Signed-off-by: Florian Bäuerle > --- > platforms/barebox.in | 10 ++ > rules/barebox.make | 16 +++- > 2 files c

Re: [ptxdist] [DistroKit] Recent DistroKit with ptxdist 2018.10.0 fails to get host-coreutils

2018-10-12 Thread Michael Olbrich
On Thu, Oct 11, 2018 at 10:05:56PM +0200, Roland Hieber wrote: > On Thu, Oct 11, 2018 at 04:28:43PM +0200, Roland Hieber wrote: > > On Wed, Oct 10, 2018 at 03:22:13PM +0200, Alexander Dahl wrote: > > > On Wed, Oct 10, 2018 at 02:21:48PM +0200, Roland Hieber wrote: > > > > On Wed, Oct 10, 2018 at 01

Re: [ptxdist] [PATCH 2/3] barebox: add option for building barebox reproducibly

2018-10-12 Thread Baeuerle, Florian
I tested this for phycore-am335x and phycard-imx27 bootloaders. I get the same binaries from different machines, but I think anyone using that feature should first test it before putting any trust into it. This is a quick implementation that I primarily need for my RAUC bundles (for not overwritin

Re: [ptxdist] [PATCH 1/3] host-faketime: new package

2018-10-12 Thread Baeuerle, Florian
Hi Roland, Am Donnerstag, den 11.10.2018, 16:43 +0200 schrieb Roland Hieber: > Hmmm, we had a similar patch in August that added libfaketime as a > runtime dependency to PTXdist in order to detect changes to packages' > patch series: > > https://www.mail-archive.com/ptxdist@pengutronix.de/msg1319