[ptxdist] Building the OSELAS.Toolchain on non Linux/GNU based systems?

2012-06-13 Thread Juergen Beisert
Hi, I'm trying to build the OSELAS.Toolchain in FreeBSD with ptxdist and it fails badly. Does someone know what is additionally required on the host on a non Linux/GNU based system to make it work again (especially Bernhard and Andreas due to their work on MacOS)? One funny error message is (f

Re: [ptxdist] Building the OSELAS.Toolchain on non Linux/GNU based systems?

2012-06-13 Thread Andreas Bießmann
Dear Juergen Beisert, On 13.06.2012 12:18, Juergen Beisert wrote: > Hi, > > I'm trying to build the OSELAS.Toolchain in FreeBSD with ptxdist and it fails > badly. Does someone know what is additionally required on the host on a non > Linux/GNU based system to make it work again (especially Bern

[ptxdist] Make PTXdist more OS independent

2012-06-13 Thread Juergen Beisert
While my tests to get PTXdist work on FreeBSD some issues came up. This patch series fixes most of these issues (hopefully) and also clean up some other things to get the configure and make step more robust on non Linux/GNU systems. Testers and comments are welcome. Note: with these patches PTXdi

[ptxdist] [PATCH 01/14] Core CPU count detection: do not rely on a fixed path to the 'sysctl' tool

2012-06-13 Thread Juergen Beisert
Using a fix path is a bad idea. Lets 'configure' search for the tool and use it as is. Signed-off-by: Juergen Beisert --- Makefile.in |1 + bin/ptxdist |2 +- configure.ac |3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 8382402.

[ptxdist] [PATCH 02/14] Sed: prefer the GNU sed tool to do the configure job

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1723ef9..526fa55 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ fi dnl Check for sed >= 4.0 -AC_PATH_PROGS(SED, sed,, $PA

[ptxdist] [PATCH 03/14] Don't check for 'find' twice

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- configure.ac |6 -- 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 526fa55..b054145 100644 --- a/configure.ac +++ b/configure.ac @@ -272,12 +272,6 @@ if test -z "$CAT"; then AC_MSG_ERROR([cat could not be found, pl

[ptxdist] [PATCH 04/14] Fix: use the 'find' utility which was already detected as the correct one

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b054145..956fefd 100644 --- a/configure.ac +++ b/configure.ac @@ -273,7 +273,7 @@ if test -z "$CAT"; then fi AC_MSG_CHECKING([find version])

[ptxdist] [PATCH 05/14] Don't check for 'install' twice

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- configure.ac |6 -- 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 956fefd..9e73005 100644 --- a/configure.ac +++ b/configure.ac @@ -153,12 +153,6 @@ GNU_TOOL(find, findutils) dnl Check for egrep AC_PROG_EGREP -dnl Che

[ptxdist] [PATCH 06/14] Don't check for 'readlink' twice

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- configure.ac |6 -- 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 9e73005..2a4d75d 100644 --- a/configure.ac +++ b/configure.ac @@ -236,12 +236,6 @@ if test -z "$UNZIP"; then AC_MSG_ERROR([unzip could not be found

[ptxdist] [PATCH 07/14] 'sort' is from coreutils. So, handle it like all other coreutil tools

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |1 + configure.ac |7 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index f041814..0326bf0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -56,6 +56,7 @@ environment: @ln -sf @GNU_tar

[ptxdist] [PATCH 08/14] 'dirname' is from coreutils. So, handle it like all other coreutil tools

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |1 + configure.ac |7 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 0326bf0..c810f4e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55,6 +55,7 @@ environment: @ln -sf @GNU_mkn

[ptxdist] [PATCH 09/14] 'cat' is from coreutils. So, handle it like all other coreutil tools

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |1 + configure.ac |7 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index c810f4e..2d13444 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55,6 +55,7 @@ environment: @ln -sf @GNU_mkn

[ptxdist] [PATCH 10/14] 'xargs' is from findutils. So, handle it like all other findutils tools

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |2 +- configure.ac | 14 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Makefile.in b/Makefile.in index 2d13444..83bd4bc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,7 +61,7 @@ environment: @ln -sf

[ptxdist] [PATCH 11/14] Find: ensure the 'file' command is always found

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |1 + configure.ac |1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 83bd4bc..a5c5ad4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55,6 +55,7 @@ environment: @ln -sf @GNU_mknod@ "$(abs_srcdir)/bin

[ptxdist] [PATCH 12/14] 'tty' is from coreutils. So, handle it like all other coreutil tools

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |1 + configure.ac |7 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index a5c5ad4..ebddea5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,6 +53,7 @@ environment: @ln -sf @GNU_ins

[ptxdist] [PATCH 14/14] Make: ensure the GNU make is always found

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index c027625..e171045 100644 --- a/Makefile.in +++ b/Makefile.in @@ -66,6 +66,7 @@ environment: @ln -sf @GNU_xargs@ "$(abs_srcdir)/bin/xargs" @ln -sf @B

[ptxdist] [PATCH 13/14] Bash: ensure the bash is always found

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert --- Makefile.in |1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index ebddea5..c027625 100644 --- a/Makefile.in +++ b/Makefile.in @@ -64,6 +64,7 @@ environment: @ln -sf @PYTHON@ "$(abs_srcdir)/bin/python" @ln -sf @SED

Re: [ptxdist] Building the OSELAS.Toolchain on non Linux/GNU based systems?

2012-06-13 Thread Bernhard Walle
Am 13.06.12 12:18, schrieb Juergen Beisert: > One funny error message is (for example): > > In file included from ../include/sys/types.h:1, > from ../misc/sys/uio.h:24, > from :3: > ../posix/sys/types.h:147:20: error: stddef.h: No such file or directory Can't re

Re: [ptxdist] Make PTXdist more OS independent

2012-06-13 Thread Bernhard Walle
Am 13.06.12 17:23, schrieb Juergen Beisert: > Testers and comments are welcome. Do you have a git tree with the patches? Then I could just check if everything still works on Mac OS. But I'm too lazy to save 14 patches in Thunderbird and apply them (and too lazy to write a script :D). Regards, Be

Re: [ptxdist] [ANNOUNCE] PTXdist 2012.06.0 released

2012-06-13 Thread Bernhard Walle
Am 12.06.12 12:29, schrieb Andreas Bießmann: > > Bernhard Walle: > Add host-parted > Allow creation of bootable SD card for OMAP CPUs And the good thing is that they don't touch core stuff of ptxdist, so they can't (famous last words, I know) break anything. Regards, Bernhard -- p

Re: [ptxdist] Make PTXdist more OS independent

2012-06-13 Thread Juergen Beisert
Hi Bernhard, Bernhard Walle wrote: > Am 13.06.12 17:23, schrieb Juergen Beisert: > > Testers and comments are welcome. > > Do you have a git tree with the patches? Then I could just check if > everything still works on Mac OS. But I'm too lazy to save 14 patches in > Thunderbird and apply them (an

Re: [ptxdist] Make PTXdist more OS independent

2012-06-13 Thread Michael Olbrich
On Wed, Jun 13, 2012 at 07:22:18PM +0200, Juergen Beisert wrote: > Bernhard Walle wrote: > > Am 13.06.12 17:23, schrieb Juergen Beisert: > > > Testers and comments are welcome. > > > > Do you have a git tree with the patches? Then I could just check if > > everything still works on Mac OS. But I'm

[ptxdist] [RFC] src-autoconf-lib package template, this is a try to make it more 'feature' complete

2012-06-13 Thread Juergen Beisert
Signed-off-by: Juergen Beisert diff --git a/rules/templates/src-autoconf-lib/@name@.c b/rules/templates/src-autoconf-lib/@name@.c index f89e37e..c7944a5 100644 --- a/rules/templates/src-autoconf-lib/@name@.c +++ b/rules/templates/src-autoconf-lib/@name@.c @@ -1,8 +1,47 @@ +/* + * (C) Copyright

[ptxdist] [PATCH] tmux: new package

2012-06-13 Thread Bernhard Walle
tmux is a terminal mutiplexer. Something like GNU screen, but BSD licensed, actively developed and with a (at least in my opinion) simpler configuration. Signed-off-by: Bernhard Walle --- rules/tmux.in |9 + rules/tmux.make | 56 +++

[ptxdist] [PATCH] sqlite: Update to 3.7.13

2012-06-13 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/sqlite.make |4 ++-- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-) diff --git a/rules/sqlite.make b/rules/sqlite.make index 097cf76..0ff4c86 100644 --- a/rules/sqlite.make +++ b/rules/sqlite.make @@ -20,8 +20,8 @@ PACKAGES-$(PTXCONF_S

[ptxdist] [PATCH] busybox: Fix build on Darwin after update

2012-06-13 Thread Bernhard Walle
Just trivial. I'll send the patch upstream to Busybox developers. Signed-off-by: Bernhard Walle --- .../0001-reactivate-check-for-tty.patch|1 + .../0002-Fix-compilation-on-Darwin.patch | 26 patches/busybox-1.20.1/series |

Re: [ptxdist] [PATCH 1/3] host-gettext: Fix build on Darwin

2012-06-13 Thread Michael Olbrich
On Sun, Jun 10, 2012 at 11:30:36AM +0200, Bernhard Walle wrote: > See the comments of the patches for a description. > > Signed-off-by: Bernhard Walle > --- > ...-Fix-build-if-stpncpy-is-defined-as-macro.patch | 44 > > ...02-Fix-relocatable-installation-on-Darwin.patch |

Re: [ptxdist] [PATCH 3/3] host-glib: Add host-gettext dependency

2012-06-13 Thread Michael Olbrich
On Sun, Jun 10, 2012 at 11:30:38AM +0200, Bernhard Walle wrote: > We need a gettext implementation for glib. While gettext is present in > glibc on Linux, this missing dependency was not discovered. On Mac OS, > however, glib didn't compile. Applied this and the previous patch. Michael > Signed-

Re: [ptxdist] [PATCH 2/2] ptxd_make_world_install_post: Darwin: Edit install name of binaries

2012-06-13 Thread Michael Olbrich
On Sun, Jun 10, 2012 at 05:05:32PM +0200, Bernhard Walle wrote: > This patch should solve the problem that binaries in > $PTXDIST_SYSROOT_HOST/bin must be able to find their libraries in > $PTXDIST_SYSROOT_HOST/lib. On ELF systems that problem is solved > by using rpath. However, rpath doesn't exis

Re: [ptxdist] [PATCH] libcurl: version bump to 7.26.0

2012-06-13 Thread Michael Olbrich
On Tue, Jun 12, 2012 at 10:38:15PM +0200, Bernhard Walle wrote: > Signed-off-by: Bernhard Walle > --- > rules/libcurl.make |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/rules/libcurl.make b/rules/libcurl.make > index 58ff053..faa753b 100644 > --- a/rules/libcurl