[ptxdist] ptxdist -jN fails with GNU make >= 4.2
Hi, starting with GNU make 4.2, the "internal-only" command line option --jobserver-fds has been renamed to --jobserver-auth. Thanks, Clemens ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] ca-certificates: call python2 instead of python
On Fri, Jul 01, 2016 at 12:37:55PM +0200, Michael Olbrich wrote: > Can you try '#!/usr/bin/env python'? That should work too. That won't work, because the problem is not the path itself, it's that python is symlinked to python3 on Arch and probably in the future in other distros as well. Arch is just a little ahead. /usr/bin/env python --version returns "Python 3.5.1" on ArchLinux. We could use /usr/bin/env python2 but that would only be good for systems where python2 is not in /usr/bin but that does not seem to be the problem. A python2 symlink exists also on Debian, so /usr/bin/python2 should work for most systems. Otherwise we would need a logic like the following: #!/bin/sh ''':' if type python2 >/dev/null 2>/dev/null; then exec python2 "$0" "$@" else exec python "$0" "$@" fi ''' # real Python script starts here Would you prefer that? Clemens ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2016.06.0 released
On Fri, Jul 01, 2016 at 12:28:50PM +0200, Michael Olbrich wrote: > Now I get it. You cannot update the md5sum for gdbserver with > '--update-md5'. You need to do it manually. gdb and gdbserver share the > md5sum and the kconfig symbol is PTXCONF_GDB_MD5. Run > "md5sum /home/clemens/shared-src/gdb-7.11.1.tar.gz" and enter the result in > 'ptxdist menuconfig' or edit the ptxconfig manually to update > PTXCONF_GDB_MD5. Hm, OK, I am entering it manually now, but would this be hard to implement in ptxdist to automatically set a kconfig symbol if it does not exist yet? Same problem appears when updating toolchain components. And why is the PTXCONF_GDBSERVER_MD5 kconfig symbol removed from ptxconfig when leaving ptxdist menu? Clemens ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [ANNOUNCE] PTXdist 2016.05.1 and 2016.06.1 released
Hi, I'm happy to announce that I've just released ptxdist-2016.05.1 and ptxdist-2016.06.1. Both are just small bugfix releases. ptxdist-2016.05.1 fixes the problem with incorrectly stripped kernel modules. With ptxdist-2016.06.1 'make install' work again, even if sphinx-build is not found. Enjoy, Michael Olbrich ptxdist-2016.05.1: Michael Olbrich (1): ptxd_make_xpkg_pkg: fix strip detection. - ptxdist-2016.06.1: Michael Olbrich (1): Makefile.in: fix installing if sphinx-build is not found -- 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- | signature.asc Description: Digital signature ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
On Fri, Jul 01, 2016 at 02:26:31PM +0200, Ladislav Michl wrote: > On Fri, Jul 01, 2016 at 12:13:44PM +0200, Michael Olbrich wrote: > > On Fri, Jul 01, 2016 at 10:41:10AM +0200, Ladislav Michl wrote: > > > I extended it a bit: > > > $ cat rules/post/zzz.make > > > foo: > > > echo $(PTXCONF_HOST_GETTEXT) > > > echo $(HOST_GETTEXT_SOURCE) > > > echo $($(HOST_GETTEXT_SOURCE)) > > > echo $(PTXCONF_HOST_ACL) > > > echo $(HOST_ACL_SOURCE) > > > echo $($(HOST_ACL_SOURCE)) > > > echo $(PTXCONF_HOST_NCURSES) > > > echo $(HOST_NCURSES_SOURCE) > > > echo $($(HOST_NCURSES_SOURCE)) > > > > > > $ grep -e GETTEXT -e ACL -e NCURSES < configs/ptxconfig > > > PTXCONF_HOST_ACL=y > > > PTXCONF_HOST_GETTEXT=m > > > PTXCONF_HOST_NCURSES=m > > > PTXCONF_NCURSES=m > > > (output edited) > > > > looks correct so far. > > > > > $ ptxdist --force make foo > > > echo m > > > m > > > echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz > > > /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz > > > echo > > > > > > > You should get 'HOST_GETTEXT' here :-/. > > Perhaps I should also mention I'm using collections. Previous output was with > full collection. Once I delete 'selected_collectionconfig' I get correct > output: [...] > (Note: collection selects only tagret packages) Indeed. I understand the problem now. I'm not sure yet, what the correct solution is. 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
Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
On Fri, Jul 01, 2016 at 12:13:44PM +0200, Michael Olbrich wrote: > On Fri, Jul 01, 2016 at 10:41:10AM +0200, Ladislav Michl wrote: > > I extended it a bit: > > $ cat rules/post/zzz.make > > foo: > > echo $(PTXCONF_HOST_GETTEXT) > > echo $(HOST_GETTEXT_SOURCE) > > echo $($(HOST_GETTEXT_SOURCE)) > > echo $(PTXCONF_HOST_ACL) > > echo $(HOST_ACL_SOURCE) > > echo $($(HOST_ACL_SOURCE)) > > echo $(PTXCONF_HOST_NCURSES) > > echo $(HOST_NCURSES_SOURCE) > > echo $($(HOST_NCURSES_SOURCE)) > > > > $ grep -e GETTEXT -e ACL -e NCURSES < configs/ptxconfig > > PTXCONF_HOST_ACL=y > > PTXCONF_HOST_GETTEXT=m > > PTXCONF_HOST_NCURSES=m > > PTXCONF_NCURSES=m > > (output edited) > > looks correct so far. > > > $ ptxdist --force make foo > > echo m > > m > > echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz > > /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz > > echo > > > > You should get 'HOST_GETTEXT' here :-/. Perhaps I should also mention I'm using collections. Previous output was with full collection. Once I delete 'selected_collectionconfig' I get correct output: $ ptxdist --force make foo echo m m echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz echo HOST_GETTEXT HOST_GETTEXT echo y y echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz echo HOST_ACL HOST_ACL echo m m echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz echo HOST_NCURSES HOST_NCURSES (Note: collection selects only tagret packages) > > echo y > > y > > echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz > > /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz > > echo HOST_ACL > > HOST_ACL > > echo m > > m > > echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz > > /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz > > echo NCURSES > > NCURSES > > This is strange. With ncurses and host-ncurses selected, I would have > expected HOST_NCURSES here. > > Can you make this change: > > diff --git a/rules/post/ptxd_make_world_get.make > b/rules/post/ptxd_make_world_get.make > index 142d672f74c3..6405263fad6b 100644 > --- a/rules/post/ptxd_make_world_get.make > +++ b/rules/post/ptxd_make_world_get.make > @@ -14,7 +14,7 @@ > # $(_SOURCE) := > # > define pkg_source > -$(if $($(1)_SOURCE),$(eval $($(1)_SOURCE) := $(1)),) > +$(if $($(1)_SOURCE),$(eval $(warning $($(1)_SOURCE) := $(1))),) > endef > $(foreach pkg, $(PTX_PACKAGES_SELECTED), $(call > pkg_source,$(PTX_MAP_TO_PACKAGE_$(pkg > > > ... and then run 'ptxdist make foo' again? It will break things, so the ptxd_make_world_get.make:19: src/glib-2.48.1.tar.xz := GLIB ptxd_make_world_get.make:19: src/fbterm-1.7.0.tar.gz := FBTERM ptxd_make_world_get.make:19: src/libpng-1.2.54.tar.xz := LIBPNG ptxd_make_world_get.make:19: src/nettle-2.7.1.tar.gz := NETTLE ptxd_make_world_get.make:19: src/xz-5.2.2.tar.bz2 := XZ ptxd_make_world_get.make:19: src/dbus-glib-0.104.tar.gz := DBUS_GLIB ptxd_make_world_get.make:19: src/NetworkManager-1.2.2.tar.xz := NETWORKMANAGER ptxd_make_world_get.make:19: src/libtasn1-4.8.tar.gz := LIBTASN1 ptxd_make_world_get.make:19: src/memtool-2015.12.2.tar.xz := MEMTOOL ptxd_make_world_get.make:19: src/NetworkManager-openvpn-1.2.2.tar.xz := NETWORKMANAGER_OPENVPN ptxd_make_world_get.make:19: src/ModemManager-1.4.14.tar.xz := MODEMMANAGER ptxd_make_world_get.make:19: src/zlib-1.2.8.tar.xz := ZLIB ptxd_make_world_get.make:19: src/htop-2.0.1.tar.gz := HTOP ptxd_make_world_get.make:19: src/libusb-1.0.18.tar.bz2 := LIBUSB ptxd_make_world_get.make:19: src/font-alias-1.0.3.tar.bz2 := XORG_FONT_ALIAS ptxd_make_world_get.make:19: src/atop-1.24.tar.gz := ATOP ptxd_make_world_get.make:19: src/dbus-1.10.8.tar.gz := DBUS ptxd_make_world_get.make:19: src/linux-4.6.tar.xz := KERNEL_HEADER ptxd_make_world_get.make:19: src/libffi-3.2.1.tar.gz := LIBFFI ptxd_make_world_get.make:19: src/u-boot-2016.03.tar.bz2 := U_BOOT ptxd_make_world_get.make:19: src/cairo-1.12.18.tar.xz := CAIRO ptxd_make_world_get.make:19: src/pcre-8.38.tar.bz2 := LIBPCRE ptxd_make_world_get.make:19: src/libcap-2.24.tar.xz := LIBCAP ptxd_make_world_get.make:19: src/pixman-0.34.0.tar.bz2 := PIXMAN ptxd_make_world_get.make:19: src/freetype-2.6.3.tar.bz2 := FREETYPE ptxd_make_world_get.make:19: src/libgudev-230.tar.xz := LIBGUDEV ptxd_make_world_get.make:19: src/kmod-22.tar.xz := LIBKMOD ptxd_make_world_get.make:19: src/mc-4.6.1.tar.gz := MC ptxd_make_world_get.make:19: src/ncurses-5.9.tar.gz := NCURSES ptxd_make_world_get.make:19: src/font-util-1.3.0.tar.bz2 := XORG_FONT_UTIL ptxd_make_world_get.make:19: src/openssh-7.2p2.tar.gz := OPENSSH ptxd_make_world_get.make:
Re: [ptxdist] [PATCH] ca-certificates: call python2 instead of python
On Fri, Jul 01, 2016 at 11:15:45AM +0200, Clemens Gruber wrote: > On ArchLinux, python defaults to python 3.5.1, which breaks the script. > Fix it by calling python2 directly instead of assuming python != > python3. > > Signed-off-by: Clemens Gruber > --- > scripts/certdata2pem.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/certdata2pem.py b/scripts/certdata2pem.py > index 0482894..efb0eb3 100755 > --- a/scripts/certdata2pem.py > +++ b/scripts/certdata2pem.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python > +#!/usr/bin/python2 Can you try '#!/usr/bin/env python'? That should work too. Michael > # vim:set et sw=4: > # > # certdata2pem.py - splits certdata.txt into multiple files > -- > 2.9.0 > > > ___ > ptxdist mailing list > ptxdist@pengutronix.de -- 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] [ANNOUNCE] OSELAS.Toolchain() 2016.06.0 released
On Fri, Jul 01, 2016 at 10:39:39AM +0200, Clemens Gruber wrote: > On Fri, Jul 01, 2016 at 08:33:29AM +0200, Michael Olbrich wrote: > > On Thu, Jun 30, 2016 at 06:08:39PM +0200, Clemens Gruber wrote: > > > There is only one longstanding issue, which is probably a ptxdist > > > problem but it is occuring during the toolchain build as well: > > > The problem seems to be that some _MD5 lines are removed from the config > > > during clean or at other stages of the build and are then missing if > > > built again. > > > For example PTXCONF_GLIBC_HEADERS_MD5, PTXCONF_GLIBC_CRT_MD5, etc. > > > After ptxdist clean, only PTXCONF_GLIBC_MD5="..." remains and I have to > > > manually add all other variations for the build to succeed. > > > > > > I also experienced this problem when building gdbserver in my BSP: > > > I have to manually add a PTXCONF_GDBSERVER_MD5="" line for ptxdist > > > targetinstall gdbserver --update-md5 to succeed. It gets removed by > > > ptxdist again later on. Only PTXCONF_GDB_MD5=".." remains and if I now > > > enter ptxdist clean gdbserver && ptxdist targetinstall gdbserver, the > > > build fails again, until I add PTXCONF_GDBSERVER_MD5=".." to the > > > ptxconfig. > > > > > > Can you reproduce this? > > > > You're saying, that PTXdist modifies the ptxconfig when you run 'ptxdist > > clean gdbserver'? I've never seen anything like this. Can you create a > > minimal BSP that has this problem and send it to me? > > No, it's as follows: > > I think it only appears if I for example change the GDB version of the > BSP. For example, just change your GDB version in the BSP to 7.11.1. > Then run ptxdist clean gdb gdbserver and ptxdist go, which stops with: > ptxdist: error: Wrong md5sum for 'gdbserver' > (/home/clemens/shared-src/gdb-7.11.1.tar.gz) > > Nothing wrong so far. > > So I run ptxdist go --update-md5 and after that, the error I meant, > appears: > sed: couldn't open temporary file > /usr/local/lib/ptxdist-2016.06.0/rules/sedx2aZZd: Permission denied > ptxdist: error: Could not update md5sum for 'gdbserver': GDBSERVER_MD5 > not found > > Then I have to add GDBSERVER_MD5="" and run ptxdist go --update-md5 > again, which works. > > After the build finished, the GDBSERVER_MD5 is still in place. > But the next time I go into ptxdist menu, even if I change nothing, when > exiting, I am asked if I want to save my new configuration and after > that, the GDBSERVER_MD5 entry vanishes. > > Please try above steps with anyone of your BSPs, I don't think it > depends upon anything special in the BSP. Now I get it. You cannot update the md5sum for gdbserver with '--update-md5'. You need to do it manually. gdb and gdbserver share the md5sum and the kconfig symbol is PTXCONF_GDB_MD5. Run "md5sum /home/clemens/shared-src/gdb-7.11.1.tar.gz" and enter the result in 'ptxdist menuconfig' or edit the ptxconfig manually to update PTXCONF_GDB_MD5. 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] [BUG] error: empty parameter to 'ptxd_make_get'
On Fri, Jul 01, 2016 at 10:41:10AM +0200, Ladislav Michl wrote: > On Thu, Jun 30, 2016 at 04:04:20PM +0200, Michael Olbrich wrote: > > I can't reproduce this here. Can you please create a file like this: > > > > $ cat rules/post/zzz.make > > foo: > > echo $(PTXCONF_HOST_GETTEXT) > > echo $(HOST_GETTEXT_SOURCE) > > echo $($(HOST_GETTEXT_SOURCE)) > > > > And then call: > > $ ptxdist make foo > > > > What do you get? > > I extended it a bit: > $ cat rules/post/zzz.make > foo: > echo $(PTXCONF_HOST_GETTEXT) > echo $(HOST_GETTEXT_SOURCE) > echo $($(HOST_GETTEXT_SOURCE)) > echo $(PTXCONF_HOST_ACL) > echo $(HOST_ACL_SOURCE) > echo $($(HOST_ACL_SOURCE)) > echo $(PTXCONF_HOST_NCURSES) > echo $(HOST_NCURSES_SOURCE) > echo $($(HOST_NCURSES_SOURCE)) > > $ grep -e GETTEXT -e ACL -e NCURSES < configs/ptxconfig > PTXCONF_HOST_ACL=y > PTXCONF_HOST_GETTEXT=m > PTXCONF_HOST_NCURSES=m > PTXCONF_NCURSES=m > (output edited) looks correct so far. > $ ptxdist --force make foo > echo m > m > echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz > /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz > echo > You should get 'HOST_GETTEXT' here :-/. > echo y > y > echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz > /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz > echo HOST_ACL > HOST_ACL > echo m > m > echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz > /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz > echo NCURSES > NCURSES This is strange. With ncurses and host-ncurses selected, I would have expected HOST_NCURSES here. Can you make this change: diff --git a/rules/post/ptxd_make_world_get.make b/rules/post/ptxd_make_world_get.make index 142d672f74c3..6405263fad6b 100644 --- a/rules/post/ptxd_make_world_get.make +++ b/rules/post/ptxd_make_world_get.make @@ -14,7 +14,7 @@ # $(_SOURCE) := # define pkg_source -$(if $($(1)_SOURCE),$(eval $($(1)_SOURCE) := $(1)),) +$(if $($(1)_SOURCE),$(eval $(warning $($(1)_SOURCE) := $(1))),) endef $(foreach pkg, $(PTX_PACKAGES_SELECTED), $(call pkg_source,$(PTX_MAP_TO_PACKAGE_$(pkg ... and then run 'ptxdist make foo' again? It will break things, so the last echo for all 3 cases will print nothing but you should get a list of warnings. Send that list please. And the output of "ptxdist print PTX_PACKAGES_SELECTED". 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] [PATCH] mpg123: bump version to 1.23.5
Important bugfixes. 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 059c3f6..e660947 100644 --- a/rules/mpg123.make +++ b/rules/mpg123.make @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_MPG123) += mpg123 # # Paths and names # -MPG123_VERSION := 1.23.1 -MPG123_MD5 := f99210d31467dbf587e1e2974f329e5d +MPG123_VERSION := 1.23.5 +MPG123_MD5 := 6a318579dd7b52c5851bb7950af969ac MPG123 := mpg123-$(MPG123_VERSION) MPG123_SUFFIX := tar.bz2 MPG123_URL := http://www.mpg123.org/download/$(MPG123).$(MPG123_SUFFIX) -- 2.9.0 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] ca-certificates: update certificates
Signed-off-by: Clemens Gruber --- rules/ca-certificates.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/ca-certificates.make b/rules/ca-certificates.make index 15065e0..01abd7a 100644 --- a/rules/ca-certificates.make +++ b/rules/ca-certificates.make @@ -16,10 +16,10 @@ PACKAGES-$(PTXCONF_CA_CERTIFICATES) += ca-certificates # # Paths and names # -CA_CERTIFICATES_VERSION:= 2015.04.22-1 +CA_CERTIFICATES_VERSION:= 2016.02.26 # The commit hash of the default branch. Update this in sync with the date above. -CA_CERTIFICATES_HASH := d7ca3b75c842 -CA_CERTIFICATES_MD5:= da5ff774b32aecbebb18d6fa974ef12a +CA_CERTIFICATES_HASH := 07594dabc757 +CA_CERTIFICATES_MD5:= 6dc99591db944198254c6e6ad8f0eaa4 CA_CERTIFICATES:= ca-certificates-$(CA_CERTIFICATES_VERSION) CA_CERTIFICATES_SUFFIX := txt CA_CERTIFICATES_URL:= https://hg.mozilla.org/releases/mozilla-release/raw-file/$(CA_CERTIFICATES_HASH)/security/nss/lib/ckfw/builtins/certdata.$(CA_CERTIFICATES_SUFFIX) -- 2.9.0 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] libcurl: bump version and fix URL
Signed-off-by: Clemens Gruber --- rules/libcurl.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/libcurl.make b/rules/libcurl.make index 2a2f7f9..ca81879 100644 --- a/rules/libcurl.make +++ b/rules/libcurl.make @@ -17,11 +17,11 @@ PACKAGES-$(PTXCONF_LIBCURL) += libcurl # # Paths and names # -LIBCURL_VERSION:= 7.43.0 -LIBCURL_MD5:= 11bddbb452a8b766b932f859aaeeed39 +LIBCURL_VERSION:= 7.49.1 +LIBCURL_MD5:= 6bb1f7af5b58b30e4e6414b8c1abccab LIBCURL:= curl-$(LIBCURL_VERSION) LIBCURL_SUFFIX := tar.bz2 -LIBCURL_URL:= https://github.com/bagder/curl/releases/download/curl-7_43_0/$(LIBCURL).$(LIBCURL_SUFFIX) +LIBCURL_URL:= https://curl.haxx.se/download/$(LIBCURL).$(LIBCURL_SUFFIX) LIBCURL_SOURCE := $(SRCDIR)/$(LIBCURL).$(LIBCURL_SUFFIX) LIBCURL_DIR:= $(BUILDDIR)/$(LIBCURL) LIBCURL_LICENSE:= MIT -- 2.9.0 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] ca-certificates: call python2 instead of python
On ArchLinux, python defaults to python 3.5.1, which breaks the script. Fix it by calling python2 directly instead of assuming python != python3. Signed-off-by: Clemens Gruber --- scripts/certdata2pem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/certdata2pem.py b/scripts/certdata2pem.py index 0482894..efb0eb3 100755 --- a/scripts/certdata2pem.py +++ b/scripts/certdata2pem.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # vim:set et sw=4: # # certdata2pem.py - splits certdata.txt into multiple files -- 2.9.0 ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
On Thu, Jun 30, 2016 at 04:04:20PM +0200, Michael Olbrich wrote: > I can't reproduce this here. Can you please create a file like this: > > $ cat rules/post/zzz.make > foo: > echo $(PTXCONF_HOST_GETTEXT) > echo $(HOST_GETTEXT_SOURCE) > echo $($(HOST_GETTEXT_SOURCE)) > > And then call: > $ ptxdist make foo > > What do you get? I extended it a bit: $ cat rules/post/zzz.make foo: echo $(PTXCONF_HOST_GETTEXT) echo $(HOST_GETTEXT_SOURCE) echo $($(HOST_GETTEXT_SOURCE)) echo $(PTXCONF_HOST_ACL) echo $(HOST_ACL_SOURCE) echo $($(HOST_ACL_SOURCE)) echo $(PTXCONF_HOST_NCURSES) echo $(HOST_NCURSES_SOURCE) echo $($(HOST_NCURSES_SOURCE)) $ grep -e GETTEXT -e ACL -e NCURSES < configs/ptxconfig PTXCONF_HOST_ACL=y PTXCONF_HOST_GETTEXT=m PTXCONF_HOST_NCURSES=m PTXCONF_NCURSES=m (output edited) $ ptxdist --force make foo echo m m echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz /home/ladis/src/peoplemetr/SimEarTools/dist/src/gettext-0.19.1.tar.xz echo echo y y echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz /home/ladis/src/peoplemetr/SimEarTools/dist/src/acl-2.2.52.src.tar.gz echo HOST_ACL HOST_ACL echo m m echo /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz /home/ladis/src/peoplemetr/SimEarTools/dist/src/ncurses-5.9.tar.gz echo NCURSES NCURSES Thank you, ladis ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2016.06.0 released
On Fri, Jul 01, 2016 at 08:33:29AM +0200, Michael Olbrich wrote: > On Thu, Jun 30, 2016 at 06:08:39PM +0200, Clemens Gruber wrote: > > There is only one longstanding issue, which is probably a ptxdist > > problem but it is occuring during the toolchain build as well: > > The problem seems to be that some _MD5 lines are removed from the config > > during clean or at other stages of the build and are then missing if > > built again. > > For example PTXCONF_GLIBC_HEADERS_MD5, PTXCONF_GLIBC_CRT_MD5, etc. > > After ptxdist clean, only PTXCONF_GLIBC_MD5="..." remains and I have to > > manually add all other variations for the build to succeed. > > > > I also experienced this problem when building gdbserver in my BSP: > > I have to manually add a PTXCONF_GDBSERVER_MD5="" line for ptxdist > > targetinstall gdbserver --update-md5 to succeed. It gets removed by > > ptxdist again later on. Only PTXCONF_GDB_MD5=".." remains and if I now > > enter ptxdist clean gdbserver && ptxdist targetinstall gdbserver, the > > build fails again, until I add PTXCONF_GDBSERVER_MD5=".." to the > > ptxconfig. > > > > Can you reproduce this? > > You're saying, that PTXdist modifies the ptxconfig when you run 'ptxdist > clean gdbserver'? I've never seen anything like this. Can you create a > minimal BSP that has this problem and send it to me? No, it's as follows: I think it only appears if I for example change the GDB version of the BSP. For example, just change your GDB version in the BSP to 7.11.1. Then run ptxdist clean gdb gdbserver and ptxdist go, which stops with: ptxdist: error: Wrong md5sum for 'gdbserver' (/home/clemens/shared-src/gdb-7.11.1.tar.gz) Nothing wrong so far. So I run ptxdist go --update-md5 and after that, the error I meant, appears: sed: couldn't open temporary file /usr/local/lib/ptxdist-2016.06.0/rules/sedx2aZZd: Permission denied ptxdist: error: Could not update md5sum for 'gdbserver': GDBSERVER_MD5 not found Then I have to add GDBSERVER_MD5="" and run ptxdist go --update-md5 again, which works. After the build finished, the GDBSERVER_MD5 is still in place. But the next time I go into ptxdist menu, even if I change nothing, when exiting, I am asked if I want to save my new configuration and after that, the GDBSERVER_MD5 entry vanishes. Please try above steps with anyone of your BSPs, I don't think it depends upon anything special in the BSP. Thanks, Clemens ___ ptxdist mailing list ptxdist@pengutronix.de