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

Reply via email to