<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 28, 2018 at 1:48 PM Till Wegmüller <<a href="mailto:toasterson@gmail.com">toasterson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I managed to get it Working by hardcoding every Value with a Whitespace<br>
inside it in the Package manifest.<br>
<br>
Looks like the problem seems to be the way gmake passes Variables to<br>
pkgmogrify. It usualy does so by specifying -D $VARIABLE on the command<br>
line. That seems not to be working consistently.<br>
<br>
So lesson from that seems to be that we need to hardcode values with<br>
whitespace into the manifest.<br>
<br>
Thanks for the pointers.<br></blockquote><div><br></div><div>I am not sure this is the case, there are other instances of values with whitespaces.<br></div><div>The way values are quoted should be influencial depending on how the recipe passes them to pkgmogrify.<br></div><div>There is a similar problem with non-escaping dots in PKG_MACROS.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Greetings<br>
Till<br>
<br>
On 09/28/18 12:23 PM, Joerg Schilling wrote:<br>
> Till Wegmüller <<a href="mailto:toasterson@gmail.com" target="_blank">toasterson@gmail.com</a>> wrote:<br>
> <br>
>> A Makefile like so:<br>
>><br>
>> <snip><br>
>> COMPONENT_NAME=salt<br>
>> COMPONENT_VERSION=2018.3.2<br>
>> COMPONENT_SUMMARY='Portable, distributed, remote execution and<br>
>> configuration management system'<br>
>> COMPONENT_PROJECT_URL=<a href="http://saltstack.com" rel="noreferrer" target="_blank">http://saltstack.com</a><br>
>> COMPONENT_FMRI=system/management/$(COMPONENT_NAME)<br>
>> COMPONENT_CLASSIFICATION='System/Administration and Configuration'<br>
>> <snip><br>
>><br>
>> Something like COMPONENT_CLASSIFICATION would break pkgmogrify with:<br>
>> pkgmogrify: File<br>
>> /export/home/toast/workspace/openindiana/userland/components/python/salt/build/manifest-i386-salt-27.p5m<br>
>> line 18: Malformed action at position: 90: whitespace in key:<br>
>> set name=info.classification<br>
>> value=org.opensolaris.category.2008:System/Administration and Configuration<br>
> <br>
> It would help if you could investigate and report on what happenes that causes<br>
> your problem and whether you are unhappy with "make" or with the called <br>
> program... <br>
> <br>
> BTW: do you use "gmake" or make?<br>
> gmake is known to have a buggy white space handling.<br>
> <br>
> Jörg<br>
> <br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div></div>