<div dir="ltr">What's the proper way forward here? Enter a bug report?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 23, 2018 at 11:14 AM, Daniel Kasak <span dir="ltr"><<a href="mailto:d.j.kasak.dk@gmail.com" target="_blank">d.j.kasak.dk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the response Emmanuele. I've tried various approaches like this. At first, it appeared to be working, but would complain about a different .so each time ... which I'd add to the list, eg:<div><br></div><div><div>      "ensure-writable": [ "/lib/perl5/5.26.1/*/auto/<wbr>arybase/arybase.so",</div><div>                           "/lib/perl5/5.26.1/*/auto/<wbr>attributes/attributes.so",</div><div>                           "/lib/perl5/5.26.1/*/auto/IO/<wbr>IO.so",</div><div>                           "/lib/perl5/5.26.1/*/auto/B/<wbr>B.so"</div><div>      ],</div></div><div><br></div><div>But at this one - B.so - I still get the error after adding it to the list:</div><div><br></div><div><div>[32] Updating section string table</div><div>stripping /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/<wbr>rofiles-wPb3Yb/files/app/lib/<wbr>perl5/5.26.1/x86_64-linux/<wbr>auto/B/B.so to /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/<wbr>rofiles-wPb3Yb/files/lib/<wbr>debug/app/lib/perl5/5.26.1/<wbr>x86_64-linux/auto/B/B.so.debug</div><div>eu-strip: while opening '/home/dkasak/src/flatpak/sdf/<wbr>.flatpak-builder/rofiles/<wbr>rofiles-wPb3Yb/files/app/lib/<wbr>perl5/5.26.1/x86_64-linux/<wbr>auto/B/B.so': Permission denied</div><span class=""><div>Error: module perl: Child process exited with code 1</div></span></div><div><br></div><div>I've also tried the scatter-gun approach:</div><div><br></div><div>      "ensure-writable": [ "/lib/perl5/5.26.1/*/*/*/*" ],<br></div><div><br></div><div> ... but this didn't work either, and in fact goes back to the initial error:</div><span class=""><div><br></div><div><div>stripping /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/<wbr>rofiles-wPb3Yb/files/app/lib/<wbr>perl5/5.26.1/x86_64-linux/<wbr>auto/arybase/arybase.so to /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/<wbr>rofiles-wPb3Yb/files/lib/<wbr>debug/app/lib/perl5/5.26.1/<wbr>x86_64-linux/auto/arybase/<wbr>arybase.so.debug</div><div>eu-strip: while opening '/home/dkasak/src/flatpak/sdf/<wbr>.flatpak-builder/rofiles/<wbr>rofiles-wPb3Yb/files/app/lib/<wbr>perl5/5.26.1/x86_64-linux/<wbr>auto/arybase/arybase.so': Permission denied</div><div>Error: module perl: Child process exited with code 1</div></div><div><br></div></span><div>Any ideas?</div><div><br></div><div>Dan</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 9:28 PM, Emmanuele Bassi <span dir="ltr"><<a href="mailto:ebassi@gmail.com" target="_blank">ebassi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi;<br>
<br>
Try adding:<br>
<br>
  "ensure-writable": "/lib/perl5/5.26.1/*/auto/aryb<wbr>ase/arybase.so"<br>
<br>
to the "perl" module in the manifest. See:<br>
<a href="http://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html#flatpak-manifest" rel="noreferrer" target="_blank">http://docs.flatpak.org/en/lat<wbr>est/flatpak-builder-command-<wbr>reference.html#flatpak-<wbr>manifest</a><br>
<br>
Ciao,<br>
 Emmanuele.<br>
<div class="m_2288700814845787066HOEnZb"><div class="m_2288700814845787066h5"><br>
On 22 February 2018 at 09:50, Daniel Kasak <<a href="mailto:d.j.kasak.dk@gmail.com" target="_blank">d.j.kasak.dk@gmail.com</a>> wrote:<br>
> So I'm returning to this, again, after a long break, after updating flatpak<br>
> & associated libs, and using the latest perl ... hoping things "just work"<br>
> ... but I have the same issue, after making the above changes, eg:<br>
><br>
> {<br>
>   "app-id": "biz.smartassociates.sdf",<br>
>   "runtime": "org.gnome.Platform",<br>
>   "runtime-version": "3.26",<br>
>   "sdk": "org.gnome.Sdk",<br>
>   "command": "print \"hello world\n\";",<br>
>   "finish-args": [<br>
>      "--socket=x11",<br>
>      "--share=network"<br>
>   ],<br>
>   "modules": [<br>
>     {<br>
>       "name": "perl",<br>
>       "no-autogen": true,<br>
>       "buildsystem": "simple",<br>
>       "build-commands": [ "./Configure -d -e -Dprefix=/app ; make<br>
> DESTDIR=/app ; make DESTDIR=/app install" ],<br>
>       "sources": [<br>
>         {<br>
>           "type": "archive",<br>
>           "url": "<a href="http://www.cpan.org/src/5.0/perl-5.26.1.tar.gz" rel="noreferrer" target="_blank">http://www.cpan.org/src/5.0/p<wbr>erl-5.26.1.tar.gz</a>",<br>
>           "sha256":<br>
> "e763aa485e8dc1a70483dbe6d6159<wbr>86bbf32b977f38016480d68c99237e<wbr>701dd"<br>
>         }<br>
>       ]<br>
>     }<br>
>   ]<br>
> }<br>
><br>
> Perl builds, and appears to think it's installing into /app, but then fails:<br>
><br>
>   /app/man/man1/libnetcfg.1<br>
>   /app/man/man1/perlbug.1<br>
>   /app/man/man1/perlthanks.1<br>
>   /app/man/man1/perlivp.1<br>
>   /app/man/man1/piconv.1<br>
>   /app/man/man1/pl2pm.1<br>
>   /app/man/man1/pod2html.1<br>
>   /app/man/man1/prove.1<br>
>   /app/man/man1/ptar.1<br>
>   /app/man/man1/ptardiff.1<br>
>   /app/man/man1/ptargrep.1<br>
>   /app/man/man1/shasum.1<br>
>   /app/man/man1/splain.1<br>
>   /app/man/man1/xsubpp.1<br>
>   /app/man/man1/zipdetails.1<br>
> compressing debuginfo in:<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/bin/perl5.<wbr>26.1<br>
> processing:<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/bin/perl5.<wbr>26.1<br>
> [27] .debug_aranges compressed -> .zdebug_aranges (208 => 85 40.87%)<br>
> [28] .debug_info compressed -> .zdebug_info (433 => 233 53.81%)<br>
> [29] .debug_abbrev compressed -> .zdebug_abbrev (118 => 103 87.29%)<br>
> [30] .debug_line compressed -> .zdebug_line (367 => 219 59.67%)<br>
> [31] .debug_str compressed -> .zdebug_str (350 => 237 67.71%)<br>
> [32] .debug_ranges compressed -> .zdebug_ranges (128 => 56 43.75%)<br>
> [33] Updating section string table<br>
> stripping<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/bin/perl5.<wbr>26.1<br>
> to<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/lib/debug/app/<wbr>bin/perl5.26.1.debug<br>
> compressing debuginfo in:<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/bin/perl<br>
> processing:<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/bin/perl<br>
> [27] .debug_aranges compressed -> .zdebug_aranges (208 => 85 40.87%)<br>
> [28] .debug_info compressed -> .zdebug_info (433 => 233 53.81%)<br>
> [29] .debug_abbrev compressed -> .zdebug_abbrev (118 => 103 87.29%)<br>
> [30] .debug_line compressed -> .zdebug_line (367 => 219 59.67%)<br>
> [31] .debug_str compressed -> .zdebug_str (350 => 237 67.71%)<br>
> [32] .debug_ranges compressed -> .zdebug_ranges (128 => 56 43.75%)<br>
> [33] Updating section string table<br>
> stripping<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/bin/perl<br>
> to<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/lib/debug/app/<wbr>bin/perl.debug<br>
> compressing debuginfo in:<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/lib/perl5/<wbr>5.26.1/x86_64-linux/auto/<wbr>arybase/arybase.so<br>
> processing:<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/lib/perl5/<wbr>5.26.1/x86_64-linux/auto/<wbr>arybase/arybase.so<br>
> [26] .debug_aranges compressed -> .zdebug_aranges (128 => 62 48.44%)<br>
> [27] .debug_info compressed -> .zdebug_info (196 => 124 63.27%)<br>
> [28] .debug_abbrev NOT compressed, wouldn't be smaller<br>
> [29] .debug_line compressed -> .zdebug_line (197 => 123 62.44%)<br>
> [30] .debug_ranges compressed -> .zdebug_ranges (128 => 54 42.19%)<br>
> [31] Updating section string table<br>
> stripping<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/app/lib/perl5/<wbr>5.26.1/x86_64-linux/auto/<wbr>arybase/arybase.so<br>
> to<br>
> /home/dkasak/src/flatpak/sdf/.<wbr>flatpak-builder/rofiles/rofile<wbr>s-wPb3Yb/files/lib/debug/app/<wbr>lib/perl5/5.26.1/x86_64-linux/<wbr>auto/arybase/arybase.so.debug<br>
> eu-strip: while opening<br>
> '/home/dkasak/src/flatpak/sdf/<wbr>.flatpak-builder/rofiles/rofil<wbr>es-wPb3Yb/files/app/lib/perl5/<wbr>5.26.1/x86_64-linux/auto/<wbr>arybase/arybase.so':<br>
> Permission denied<br>
> Error: module perl: Child process exited with code 1<br>
><br>
> Help please :)<br>
><br>
> Dan<br>
><br>
> On Mon, Jul 24, 2017 at 4:18 PM, Bartłomiej Piotrowski <<a href="mailto:b@bpiotrowski.pl" target="_blank">b@bpiotrowski.pl</a>><br>
> wrote:<br>
>><br>
>> On 2017-07-24 03:58, Daniel Kasak wrote:<br>
>> >       "build-commands": [ "./Configure -d -e -Dprefix=/app ; make ;<br>
>> > make install" ],<br>
>><br>
>> You need to pass DESTDIR to your 'make' invocation. Most likely this way:<br>
>><br>
>> make DESTDIR=/app install<br>
>><br>
>> You can also create a script source ("type": "script") named "configure"<br>
>> with your "./Configure" line (without make and make install) and remove<br>
>> build-commands to fake autotools build system.<br>
>><br>
>> Bartłomiej<br>
>> ______________________________<wbr>_________________<br>
>> Flatpak mailing list<br>
>> <a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
>> <a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/flatpak</a><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Flatpak mailing list<br>
> <a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/flatpak</a><br>
><br>
<br>
<br>
<br>
</div></div><span class="m_2288700814845787066HOEnZb"><font color="#888888">--<br>
<a href="https://www.bassi.io" rel="noreferrer" target="_blank">https://www.bassi.io</a><br>
[@] ebassi [@<a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>]<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>