<div dir="ltr">So I'm returning to this, again, after a long break, after updating flatpak & associated libs, and using the latest perl ... hoping things "just work" ... but I have the same issue, after making the above changes, eg:<div><br></div><div><div>{</div><div> "app-id": "biz.smartassociates.sdf",</div><div> "runtime": "org.gnome.Platform",</div><div> "runtime-version": "3.26",</div><div> "sdk": "org.gnome.Sdk",</div><div> "command": "print \"hello world\n\";",</div><div> "finish-args": [</div><div> "--socket=x11",</div><div> "--share=network"</div><div> ],</div><div> "modules": [</div><div> {</div><div> "name": "perl",</div><div> "no-autogen": true,</div><div> "buildsystem": "simple",</div><div> "build-commands": [ "./Configure -d -e -Dprefix=/app ; make DESTDIR=/app ; make DESTDIR=/app install" ],</div><div> "sources": [</div><div> {</div><div> "type": "archive",</div><div> "url": "<a href="http://www.cpan.org/src/5.0/perl-5.26.1.tar.gz">http://www.cpan.org/src/5.0/perl-5.26.1.tar.gz</a>",</div><div> "sha256": "e763aa485e8dc1a70483dbe6d615986bbf32b977f38016480d68c99237e701dd"</div><div> }</div><div> ]</div><div> }</div><div> ]</div><div>}</div></div><div><br></div><div>Perl builds, and appears to think it's installing into /app, but then fails:</div><div><br></div><div><div> /app/man/man1/libnetcfg.1</div><div> /app/man/man1/perlbug.1</div><div> /app/man/man1/perlthanks.1</div><div> /app/man/man1/perlivp.1</div><div> /app/man/man1/piconv.1</div><div> /app/man/man1/pl2pm.1</div><div> /app/man/man1/pod2html.1</div><div> /app/man/man1/prove.1</div><div> /app/man/man1/ptar.1</div><div> /app/man/man1/ptardiff.1</div><div> /app/man/man1/ptargrep.1</div><div> /app/man/man1/shasum.1</div><div> /app/man/man1/splain.1</div><div> /app/man/man1/xsubpp.1</div><div> /app/man/man1/zipdetails.1</div><div>compressing debuginfo in: /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/bin/perl5.26.1</div><div>processing: /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/bin/perl5.26.1</div><div>[27] .debug_aranges compressed -> .zdebug_aranges (208 => 85 40.87%)</div><div>[28] .debug_info compressed -> .zdebug_info (433 => 233 53.81%)</div><div>[29] .debug_abbrev compressed -> .zdebug_abbrev (118 => 103 87.29%)</div><div>[30] .debug_line compressed -> .zdebug_line (367 => 219 59.67%)</div><div>[31] .debug_str compressed -> .zdebug_str (350 => 237 67.71%)</div><div>[32] .debug_ranges compressed -> .zdebug_ranges (128 => 56 43.75%)</div><div>[33] Updating section string table</div><div>stripping /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/bin/perl5.26.1 to /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/lib/debug/app/bin/perl5.26.1.debug</div><div>compressing debuginfo in: /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/bin/perl</div><div>processing: /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/bin/perl</div><div>[27] .debug_aranges compressed -> .zdebug_aranges (208 => 85 40.87%)</div><div>[28] .debug_info compressed -> .zdebug_info (433 => 233 53.81%)</div><div>[29] .debug_abbrev compressed -> .zdebug_abbrev (118 => 103 87.29%)</div><div>[30] .debug_line compressed -> .zdebug_line (367 => 219 59.67%)</div><div>[31] .debug_str compressed -> .zdebug_str (350 => 237 67.71%)</div><div>[32] .debug_ranges compressed -> .zdebug_ranges (128 => 56 43.75%)</div><div>[33] Updating section string table</div><div>stripping /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/bin/perl to /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/lib/debug/app/bin/perl.debug</div><div>compressing debuginfo in: /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/lib/perl5/5.26.1/x86_64-linux/auto/arybase/arybase.so</div><div>processing: /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/lib/perl5/5.26.1/x86_64-linux/auto/arybase/arybase.so</div><div>[26] .debug_aranges compressed -> .zdebug_aranges (128 => 62 48.44%)</div><div>[27] .debug_info compressed -> .zdebug_info (196 => 124 63.27%)</div><div>[28] .debug_abbrev NOT compressed, wouldn't be smaller</div><div>[29] .debug_line compressed -> .zdebug_line (197 => 123 62.44%)</div><div>[30] .debug_ranges compressed -> .zdebug_ranges (128 => 54 42.19%)</div><div>[31] Updating section string table</div><div>stripping /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/lib/perl5/5.26.1/x86_64-linux/auto/arybase/arybase.so to /home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/lib/debug/app/lib/perl5/5.26.1/x86_64-linux/auto/arybase/arybase.so.debug</div><div>eu-strip: while opening '/home/dkasak/src/flatpak/sdf/.flatpak-builder/rofiles/rofiles-wPb3Yb/files/app/lib/perl5/5.26.1/x86_64-linux/auto/arybase/arybase.so': Permission denied</div><div>Error: module perl: Child process exited with code 1</div></div><div><br></div><div>Help please :)</div><div><br></div><div>Dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 24, 2017 at 4:18 PM, Bartłomiej Piotrowski <span dir="ltr"><<a href="mailto:b@bpiotrowski.pl" target="_blank">b@bpiotrowski.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2017-07-24 03:58, Daniel Kasak wrote:<br>
> "build-commands": [ "./Configure -d -e -Dprefix=/app ; make ;<br>
> make install" ],<br>
<br>
</span>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">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>
</blockquote></div><br></div>