* [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
@ 2016-06-24 5:35 Ladislav Michl
2016-06-30 14:04 ` Michael Olbrich
0 siblings, 1 reply; 11+ messages in thread
From: Ladislav Michl @ 2016-06-24 5:35 UTC (permalink / raw)
To: ptxdist
Get stage fails for all packages built as host-packages only. Steps to
reproduce:
1) chose any package build for host only and clean it:
$ ptxdist clean host-gettext
2) remove source tarball
$ rm src/gettext-0.19.1.tar.xz
3) compile
$ ptxdist compile host-gettext
-----------------------------
target: gettext-0.19.1.tar.xz
-----------------------------
error: empty parameter to 'ptxd_make_get'
make: *** [$(PROJECT_ROOT)/src/gettext-0.19.1.tar.xz] Error 1
$(PTXDIST_TOPDIR)/rules/post/ptxd_make_world_get.make:26: recipe for target '$(PROJECT_ROOT)/src/gettext-0.19.1.tar.xz' failed
This is pretty longstanding bug, but I hit it only rarely as I'm keeping
source tarbals donwloaded in the same dir for multiple projects...
Best regards,
ladis
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2016-06-24 5:35 [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get' Ladislav Michl
@ 2016-06-30 14:04 ` Michael Olbrich
2016-07-01 8:41 ` Ladislav Michl
0 siblings, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2016-06-30 14:04 UTC (permalink / raw)
To: ptxdist
On Fri, Jun 24, 2016 at 07:35:38AM +0200, Ladislav Michl wrote:
> Get stage fails for all packages built as host-packages only. Steps to
> reproduce:
>
> 1) chose any package build for host only and clean it:
> $ ptxdist clean host-gettext
>
> 2) remove source tarball
> $ rm src/gettext-0.19.1.tar.xz
>
> 3) compile
> $ ptxdist compile host-gettext
> -----------------------------
> target: gettext-0.19.1.tar.xz
> -----------------------------
> error: empty parameter to 'ptxd_make_get'
> make: *** [$(PROJECT_ROOT)/src/gettext-0.19.1.tar.xz] Error 1
> $(PTXDIST_TOPDIR)/rules/post/ptxd_make_world_get.make:26: recipe for target '$(PROJECT_ROOT)/src/gettext-0.19.1.tar.xz' failed
>
> This is pretty longstanding bug, but I hit it only rarely as I'm keeping
> source tarbals donwloaded in the same dir for multiple projects...
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?
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] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2016-06-30 14:04 ` Michael Olbrich
@ 2016-07-01 8:41 ` Ladislav Michl
2016-07-01 10:13 ` Michael Olbrich
0 siblings, 1 reply; 11+ messages in thread
From: Ladislav Michl @ 2016-07-01 8:41 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2016-07-01 8:41 ` Ladislav Michl
@ 2016-07-01 10:13 ` Michael Olbrich
2016-07-01 12:26 ` Ladislav Michl
0 siblings, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2016-07-01 10:13 UTC (permalink / raw)
To: ptxdist
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 @@
# $(<PKG>_SOURCE) := <PKG>
#
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-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2016-07-01 10:13 ` Michael Olbrich
@ 2016-07-01 12:26 ` Ladislav Michl
2016-07-01 13:24 ` Michael Olbrich
0 siblings, 1 reply; 11+ messages in thread
From: Ladislav Michl @ 2016-07-01 12:26 UTC (permalink / raw)
To: ptxdist
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 @@
> # $(<PKG>_SOURCE) := <PKG>
> #
> 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:19: src/openvpn-2.3.11.tar.xz := OPENVPN
ptxd_make_world_get.make:19: src/openssl-1.0.2h.tar.gz := OPENSSL
ptxd_make_world_get.make:19: src/libnl-3.2.25.tar.gz := LIBNL3
ptxd_make_world_get.make:19: src/systemd-230.tar.gz := SYSTEMD
ptxd_make_world_get.make:19: src/libqmi-1.12.6.tar.xz := LIBQMI
ptxd_make_world_get.make:19: src/u-boot-2016.05.tar.bz2 := U_BOOT_TOOLS
ptxd_make_world_get.make:19: src/libndp-1.4.tar.gz := LIBNDP
ptxd_make_world_get.make:19: src/gnutls-3.3.13.tar.xz := GNUTLS
ptxd_make_world_get.make:19: src/libmbim-1.12.2.tar.xz := LIBMBIM
ptxd_make_world_get.make:19: src/expat-2.1.1.tar.bz2 := EXPAT
ptxd_make_world_get.make:19: src/dejavu-fonts-ttf-2.35.tar.bz2 := XORG_FONT_TTF_DEJAVU
ptxd_make_world_get.make:19: src/attr-2.4.47.src.tar.gz := ATTR
ptxd_make_world_get.make:19: src/libgpg-error-1.20.tar.bz2 := LIBGPG_ERROR
ptxd_make_world_get.make:19: src/gmp-6.0.0a.tar.bz2 := LIBGMP
ptxd_make_world_get.make:19: src/less-443.tar.gz := LESS
ptxd_make_world_get.make:19: src/ppp-2.4.5.tar.gz := PPP
ptxd_make_world_get.make:19: src/linux-4.6.tar.xz := KERNEL
ptxd_make_world_get.make:19: src/usb-modeswitch-2.3.0.tar.bz2 := USB_MODESWITCH
ptxd_make_world_get.make:19: src/slang-2.3.0.tar.bz2 := SLANG
ptxd_make_world_get.make:19: src/tcl8.5.15-src.tar.gz := TCL
ptxd_make_world_get.make:19: src/readline-6.2.tar.gz := READLINE
ptxd_make_world_get.make:19: src/curl-7.43.0.tar.bz2 := LIBCURL
ptxd_make_world_get.make:19: src/usbutils-007.tar.xz := USBUTILS
ptxd_make_world_get.make:19: src/alsa-utils-1.1.1.tar.bz2 := ALSA_UTILS
ptxd_make_world_get.make:19: src/newt-0.52.18.tar.gz := LIBNEWT
ptxd_make_world_get.make:19: src/lzo-2.08.tar.gz := LIBLZO
ptxd_make_world_get.make:19: src/popt-1.15.tar.gz := LIBPOPT
ptxd_make_world_get.make:19: src/busybox-1.24.2.tar.bz2 := BUSYBOX
ptxd_make_world_get.make:19: src/certdata-2015.04.22-1.txt := CA_CERTIFICATES
ptxd_make_world_get.make:19: src/alsa-lib-1.0.29.tar.bz2 := ALSA_LIB
ptxd_make_world_get.make:19: src/libgcrypt-1.5.3.tar.bz2 := LIBGCRYPT
ptxd_make_world_get.make:19: src/util-linux-2.28.tar.xz := UTIL_LINUX_NG
ptxd_make_world_get.make:19: src/libarchive-3.1.2.tar.gz := LIBARCHIVE
ptxd_make_world_get.make:19: src/mtd-utils-1.5.2.tar.bz2 := MTD_UTILS
ptxd_make_world_get.make:19: src/opkg-0.3.0.tar.gz := OPKG
ptxd_make_world_get.make:19: src/dialog-1.1-20100428.tgz := DIALOG
ptxd_make_world_get.make:19: src/fontconfig-2.11.1.tar.gz := FONTCONFIG
ptxd_make_world_get.make:19: src/acl-2.2.52.src.tar.gz := HOST_ACL
ptxd_make_world_get.make:19: src/dbus-glib-0.104.tar.gz := HOST_DBUS_GLIB
ptxd_make_world_get.make:19: src/opkg-0.3.0.tar.gz := HOST_OPKG
ptxd_make_world_get.make:19: src/lzo-2.08.tar.gz := HOST_LIBLZO
ptxd_make_world_get.make:19: src/libXfont-1.5.0.tar.bz2 := HOST_XORG_LIB_XFONT
ptxd_make_world_get.make:19: src/glib-2.48.1.tar.xz := HOST_GLIB
ptxd_make_world_get.make:19: src/m4-1.4.17.tar.xz := HOST_M4
ptxd_make_world_get.make:19: src/util-linux-2.28.tar.xz := HOST_UTIL_LINUX_NG
ptxd_make_world_get.make:19: src/confuse-2.7.tar.gz := HOST_LIBCONFUSE
ptxd_make_world_get.make:19: src/zlib-1.2.8.tar.xz := HOST_ZLIB
ptxd_make_world_get.make:19: src/dbus-1.10.8.tar.gz := HOST_DBUS
ptxd_make_world_get.make:19: src/fakeroot_1.20.2.orig.tar.bz2 := HOST_FAKEROOT
ptxd_make_world_get.make:19: src/gtk-doc-1.13.tar.bz2 := HOST_GTK_DOC
ptxd_make_world_get.make:19: src/freetype-2.6.3.tar.bz2 := HOST_FREETYPE
ptxd_make_world_get.make:19: src/u-boot-2016.05.tar.bz2 := HOST_U_BOOT_TOOLS
ptxd_make_world_get.make:19: src/figlet-2.2.5.tar.gz := HOST_FIGLET
ptxd_make_world_get.make:19: src/libfontenc-1.1.2.tar.bz2 := HOST_XORG_LIB_FONTENC
ptxd_make_world_get.make:19: src/bdftopcf-1.0.3.tar.bz2 := HOST_XORG_APP_BDFTOPCF
ptxd_make_world_get.make:19: src/font-util-1.3.0.tar.bz2 := HOST_XORG_FONT_UTIL
ptxd_make_world_get.make:19: src/mkfontscale-1.1.0.tar.bz2 := HOST_XORG_APP_MKFONTSCALE
ptxd_make_world_get.make:19: src/pcre-8.38.tar.bz2 := HOST_LIBPCRE
ptxd_make_world_get.make:19: src/openssl-1.0.2h.tar.gz := HOST_OPENSSL
ptxd_make_world_get.make:19: src/mkfontdir-1.0.7.tar.bz2 := HOST_XORG_APP_MKFONTDIR
ptxd_make_world_get.make:19: src/pkg-config-0.28.tar.gz := HOST_PKG_CONFIG
ptxd_make_world_get.make:19: src/systemd-230.tar.gz := HOST_SYSTEMD
ptxd_make_world_get.make:19: src/kmod-22.tar.xz := HOST_LIBKMOD
ptxd_make_world_get.make:19: src/attr-2.4.47.src.tar.gz := HOST_ATTR
ptxd_make_world_get.make:19: src/libffi-3.2.1.tar.gz := HOST_LIBFFI
ptxd_make_world_get.make:19: src/libcap-2.24.tar.xz := HOST_LIBCAP
ptxd_make_world_get.make:19: src/fontsproto-2.1.3.tar.bz2 := HOST_XORG_PROTO_FONTS
ptxd_make_world_get.make:19: src/expat-2.1.1.tar.bz2 := HOST_EXPAT
ptxd_make_world_get.make:19: src/gperf-3.0.4.tar.gz := HOST_GPERF
ptxd_make_world_get.make:19: src/xtrans-1.3.5.tar.bz2 := HOST_XORG_LIB_XTRANS
ptxd_make_world_get.make:19: src/genimage-8.tar.xz := HOST_GENIMAGE
ptxd_make_world_get.make:19: src/mtd-utils-1.5.2.tar.bz2 := HOST_MTD_UTILS
ptxd_make_world_get.make:19: src/coreutils-8.22.tar.xz := HOST_COREUTILS
ptxd_make_world_get.make:19: src/opkg-utils-r4747.tar.gz := HOST_OPKG_UTILS
ptxd_make_world_get.make:19: src/libarchive-3.1.2.tar.gz := HOST_LIBARCHIVE
ptxd_make_world_get.make:19: src/xproto-7.0.26.tar.bz2 := HOST_XORG_PROTO_X
ptxd_make_world_get.make:19: src/unfs3-0.9.22.tar.gz := HOST_UNFS3
ptxd_make_world_get.make:19: src/autoconf-2.69.tar.xz := HOST_AUTOTOOLS_AUTOCONF
ptxd_make_world_get.make:19: src/libtool-2.4.2.tar.gz := HOST_AUTOTOOLS_LIBTOOL
ptxd_make_world_get.make:19: src/automake-1.14.1.tar.xz := HOST_AUTOTOOLS_AUTOMAKE
ptxd_make_world_get.make:19: src/elf-h-compat-0.2.tar.bz2 := HOST_ELF_H_COMPAT
ptxd_make_world_get.make:19: src/lndir-1.0.2.tar.bz2 := HOST_LNDIR
> 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".
xorg-fontsglib
fbterm
libpng
nettle
xz
base
customization
dbus-glib
os-release
networkmanager
libtasn1
memtool
libblkid
networkmanager-openvpn
modemmanager
rc-once
zlib
htop
libusb
xorg-font-alias
atop
dbus
kernel-header
libffi
u-boot
cairo
libpcre
libcap
pixman
locales
freetype
libgudev
libkmod
mc
ncurses
xorg-font-util
writeloader
openssh
openvpn
openssl
initmethod-systemd
libnl3
systemd
libqmi
timezone
u-boot-tools
libndp
gnutls
libmbim
machine-id
expat
xorg-font-ttf-dejavu
attr
validecc
libuuid
libgpg-error
udev
libgmp
less
ppp
dtc
kernel
host-system-perl
usb-modeswitch
slang
libc
tcl
readline
libcurl
usbutils
alsa-utils
libnewt
liblzo
libpopt
busybox
rootfs
ca-certificates
glibc
alsa-lib
libgcrypt
util-linux-ng
libarchive
mtd-utils
opkg
gcclibs
dialog
fontconfig
cross-pkg-config-wrapper
cross-dummy-strip
host-acl
host-dbus-glib
host-opkg
host-liblzo
host-xorg-lib-xfont
host-glib
host-m4
host-util-linux-ng
host-libconfuse
host-zlib
host-dbus
host-fakeroot
host-gtk-doc
host-freetype
host-u-boot-tools
host-figlet
host-xorg-lib-fontenc
host-xorg-app-bdftopcf
host-xorg-font-util
host-xorg-app-mkfontscale
host-libpcre
host-openssl
host-xorg-app-mkfontdir
host-pkg-config
host-systemd
host-libkmod
host-attr
host-libffi
host-libcap
host-xorg-proto-fonts
host-expat
host-gperf
host-xorg-lib-xtrans
host-libuuid
host-genimage
host-mtd-utils
host-coreutils
host-opkg-utils
host-libarchive
host-xorg-proto-x
host-unfs3
host-autotools-autoconf
host-autotools-libtool
host-autotools-automake
host-elf-h-compat
host-lndir
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2016-07-01 12:26 ` Ladislav Michl
@ 2016-07-01 13:24 ` Michael Olbrich
2016-07-09 22:31 ` Ladislav Michl
0 siblings, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2016-07-01 13:24 UTC (permalink / raw)
To: ptxdist
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-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2016-07-01 13:24 ` Michael Olbrich
@ 2016-07-09 22:31 ` Ladislav Michl
0 siblings, 0 replies; 11+ messages in thread
From: Ladislav Michl @ 2016-07-09 22:31 UTC (permalink / raw)
To: ptxdist
On Fri, Jul 01, 2016 at 03:24:35PM +0200, Michael Olbrich wrote:
> On Fri, Jul 01, 2016 at 02:26:31PM +0200, Ladislav Michl wrote:
[...]
> > 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.
Just tested your b3068eeaeb83ac2cf07168a708821de87fa867e7 and
e1064ce9c59f67d2b9b7c55bfc3a0d160b099def commits. Works for me.
Thank you,
ladis
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
@ 2018-10-12 13:44 nigel.hathaway
2018-10-12 15:01 ` Roland Hieber
0 siblings, 1 reply; 11+ messages in thread
From: nigel.hathaway @ 2018-10-12 13:44 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 671 bytes --]
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_platformconfig -> DistroKit/configs/platform-v7a/platformconfig
selected_ptxconfig -> DistroKit/configs/ptxconfig
..
---------------------
target: autogen-tools
---------------------
finished target autogen-tools
-----------------------------
target: acl-2.2.52.src.tar.gz
-----------------------------
error: empty parameter to 'ptxd_make_get'
[-- Attachment #1.2: Type: text/html, Size: 3064 bytes --]
[-- Attachment #2: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2018-10-12 13:44 nigel.hathaway
@ 2018-10-12 15:01 ` Roland Hieber
2018-10-12 16:08 ` nigel.hathaway
0 siblings, 1 reply; 11+ messages in thread
From: Roland Hieber @ 2018-10-12 15:01 UTC (permalink / raw)
To: nigel.hathaway; +Cc: ptxdist
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/ptxdist@pengutronix.de/msg13542.html
Hope that helps,
- Roland
On Fri, Oct 12, 2018 at 02:44:17PM +0100, nigel.hathaway@node-h.com wrote:
> 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_platformconfig -> DistroKit/configs/platform-v7a/platformconfig
>
> selected_ptxconfig -> DistroKit/configs/ptxconfig
>
>
>
> ..
>
> ---------------------
>
> target: autogen-tools
>
> ---------------------
>
>
>
> finished target autogen-tools
>
>
>
> -----------------------------
>
> target: acl-2.2.52.src.tar.gz
>
> -----------------------------
>
>
>
>
>
> error: empty parameter to 'ptxd_make_get'
>
>
>
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Roland Hieber | r.hieber@pengutronix.de |
Pengutronix e.K. | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2018-10-12 15:01 ` Roland Hieber
@ 2018-10-12 16:08 ` nigel.hathaway
2018-10-16 8:39 ` Michael Olbrich
0 siblings, 1 reply; 11+ messages in thread
From: nigel.hathaway @ 2018-10-12 16:08 UTC (permalink / raw)
To: ptxdist
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.12.0'
GEN arm-softmmu/config-devices.mak.tmp
GEN arm-linux-user/config-devices.mak.tmp
GEN config-host.h
mkdir -p dtc/libfdt
mkdir -p dtc/tests
GEN qemu-options.def
GEN arm-linux-user/config-devices.mak
GEN qapi-gen
GEN trace/generated-tcg-tracers.h
GEN trace/generated-helpers-wrappers.h
GEN arm-softmmu/config-devices.mak
GEN trace/generated-helpers.c
GEN trace/generated-helpers.h
GEN module_block.h
GEN ui/input-keymap-linux-to-qcode.c
GEN ui/input-keymap-atset1-to-qcode.c
GEN ui/input-keymap-qcode-to-atset1.c
GEN ui/input-keymap-qcode-to-atset2.c
GEN ui/input-keymap-qcode-to-linux.c
GEN ui/input-keymap-qcode-to-atset3.c
GEN ui/input-keymap-qcode-to-qnum.c
GEN ui/input-keymap-qcode-to-sun.c
GEN ui/input-keymap-qnum-to-qcode.c
GEN ui/input-keymap-usb-to-qcode.c
GEN ui/input-keymap-win32-to-qcode.c
GEN ui/input-keymap-x11-to-qcode.c
GEN ui/input-keymap-xorgevdev-to-qcode.c
GEN ui/input-keymap-xorgkbd-to-qcode.c
GEN ui/input-keymap-xorgxquartz-to-qcode.c
GEN ui/input-keymap-xorgxwin-to-qcode.c
GEN tests/test-qapi-gen
GEN trace-root.h
GEN util/trace.h
GEN crypto/trace.h
GEN io/trace.h
GEN migration/trace.h
GEN block/trace.h
GEN chardev/trace.h
GEN hw/block/trace.h
GEN hw/block/dataplane/trace.h
GEN hw/char/trace.h
Traceback (most recent call last):
File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi-gen.py", line 57, in <module>
main(sys.argv)
File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi-gen.py", line 43, in main
schema = QAPISchema(args.schema)
File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 1495, in __init__
parser = QAPISchemaParser(open(fname, 'r'))
File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 298, in __init__
previously_included)
File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 349, in _include
return QAPISchemaParser(fobj, previously_included, info)
File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 264, in __init__
self.src = fp.read()
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 54: ordinal not in range(128)
GEN hw/intc/trace.h
make[1]: *** [qapi-gen-timestamp] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
make: *** [/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/state/host-qemu.compile] Error 2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'
2018-10-12 16:08 ` nigel.hathaway
@ 2018-10-16 8:39 ` Michael Olbrich
0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2018-10-16 8:39 UTC (permalink / raw)
To: ptxdist
On Fri, Oct 12, 2018 at 05:08:22PM +0100, nigel.hathaway@node-h.com wrote:
> Thanks. Applying the referenced patch causes the build to run much further towards completion.
>
> It now fails on:
What's the output of 'locale -a'?
You need a en_US.UTF-8 locale. I'm not sure about other distros but in
Debian you can configure this with 'dpkg-reconfigure locales'.
Michael
> -------------------------
> target: host-qemu.compile
> -------------------------
>
> make[1]: Entering directory `/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0'
> GEN arm-softmmu/config-devices.mak.tmp
> GEN arm-linux-user/config-devices.mak.tmp
> GEN config-host.h
> mkdir -p dtc/libfdt
> mkdir -p dtc/tests
> GEN qemu-options.def
> GEN arm-linux-user/config-devices.mak
> GEN qapi-gen
> GEN trace/generated-tcg-tracers.h
> GEN trace/generated-helpers-wrappers.h
> GEN arm-softmmu/config-devices.mak
> GEN trace/generated-helpers.c
> GEN trace/generated-helpers.h
> GEN module_block.h
> GEN ui/input-keymap-linux-to-qcode.c
> GEN ui/input-keymap-atset1-to-qcode.c
> GEN ui/input-keymap-qcode-to-atset1.c
> GEN ui/input-keymap-qcode-to-atset2.c
> GEN ui/input-keymap-qcode-to-linux.c
> GEN ui/input-keymap-qcode-to-atset3.c
> GEN ui/input-keymap-qcode-to-qnum.c
> GEN ui/input-keymap-qcode-to-sun.c
> GEN ui/input-keymap-qnum-to-qcode.c
> GEN ui/input-keymap-usb-to-qcode.c
> GEN ui/input-keymap-win32-to-qcode.c
> GEN ui/input-keymap-x11-to-qcode.c
> GEN ui/input-keymap-xorgevdev-to-qcode.c
> GEN ui/input-keymap-xorgkbd-to-qcode.c
> GEN ui/input-keymap-xorgxquartz-to-qcode.c
> GEN ui/input-keymap-xorgxwin-to-qcode.c
> GEN tests/test-qapi-gen
> GEN trace-root.h
> GEN util/trace.h
> GEN crypto/trace.h
> GEN io/trace.h
> GEN migration/trace.h
> GEN block/trace.h
> GEN chardev/trace.h
> GEN hw/block/trace.h
> GEN hw/block/dataplane/trace.h
> GEN hw/char/trace.h
> Traceback (most recent call last):
> File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi-gen.py", line 57, in <module>
> main(sys.argv)
> File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi-gen.py", line 43, in main
> schema = QAPISchema(args.schema)
> File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 1495, in __init__
> parser = QAPISchemaParser(open(fname, 'r'))
> File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 298, in __init__
> previously_included)
> File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 349, in _include
> return QAPISchemaParser(fobj, previously_included, info)
> File "/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/build-host/qemu-2.12.0/scripts/qapi/common.py", line 264, in __init__
> self.src = fp.read()
> File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
> return codecs.ascii_decode(input, self.errors)[0]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 54: ordinal not in range(128)
> GEN hw/intc/trace.h
> make[1]: *** [qapi-gen-timestamp] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** wait: No child processes. Stop.
> make: *** [/home/nigel/repos/ossrc/volatile_ptx_custk/platform-v7a/state/host-qemu.compile] Error 2
>
>
>
> _______________________________________________
> 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-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-10-16 8:39 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 5:35 [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get' Ladislav Michl
2016-06-30 14:04 ` Michael Olbrich
2016-07-01 8:41 ` Ladislav Michl
2016-07-01 10:13 ` Michael Olbrich
2016-07-01 12:26 ` Ladislav Michl
2016-07-01 13:24 ` Michael Olbrich
2016-07-09 22:31 ` Ladislav Michl
2018-10-12 13:44 nigel.hathaway
2018-10-12 15:01 ` Roland Hieber
2018-10-12 16:08 ` nigel.hathaway
2018-10-16 8:39 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox