<div dir="auto">At a glance, this would almost seem like the packlist file already existed, which would imply that package was already installed since the file is package specific.<div dir="auto"><br></div><div dir="auto">Not entirely related, but have you tried using flatpak-cpan-generator from the flatpak-builder-tools repository?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 2, 2019, 8:09 AM Daniel Kasak <<a href="mailto:d.j.kasak.dk@gmail.com">d.j.kasak.dk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all.</div><div><br></div><div>I'm having an issue with a handful of Perl libraries. Builds are failing because .packlist is readonly:</div><div><br></div><div>---</div><div><br></div><div>perl Makefile.PL<br>Generating a Unix-style Makefile<br>Writing Makefile for XML::SAX::Base<br>Writing MYMETA.yml and MYMETA.json<br>cp BuildSAXBase.pl blib/lib/XML/SAX/BuildSAXBase.pl<br>cp lib/XML/SAX/Exception.pm blib/lib/XML/SAX/Exception.pm<br>cp lib/XML/SAX/Base.pm blib/lib/XML/SAX/Base.pm<br>Manifying 3 pod documents<br>Can't open file /app/lib/perl5/site_perl/5.28.1/x86_64-linux/auto/XML/SAX/Base/.packlist: Read-only file system at /app/lib/perl5/5.28.1/ExtUtils/Install.pm line 858.<br>make: *** [Makefile:725: pure_site_install] Error 30<br>Error: module perl-XML-SAX-Base: Child process exited with code 2</div><div><br></div><div>---</div><div><br></div><div>I usually fix readonly issues ( typically with Perl libs compiled to a .so file ) with a "post-install" section, like:</div><div><br></div><div>---</div><div><br></div><div>{<br> "cleanup" : [<br> "/bin"<br> ],<br> "sources" : [<br> {<br> "sha256" : "66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0",<br> "url" : "<a href="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-1.09.tar.gz" target="_blank" rel="noreferrer">https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-1.09.tar.gz</a>",<br> "type" : "archive"<br> },<br> {<br> "path" : "perl-MakefilePL-Makefile",<br> "dest-filename" : "Makefile",<br> "type" : "file"<br> }<br> ],<br> "name" : "perl-XML-SAX-Base",<br> "no-autogen" : true,<br> "post-install": [<br> "chmod 755 /app/lib/perl5/site_perl/5.28.1/x86_64-linux/auto/XML/SAX/Base/.packlist"<br> ]<br>}</div><div><br></div><div>---</div><div><br></div><div>But in these cases ( all with the .packlist file ) - this doesn't work. Different kind of problem I guess. How can I make it work?</div><div><br></div><div>Thanks :)</div><div><br></div><div>Dan<br></div></div>
_______________________________________________<br>
Flatpak mailing list<br>
<a href="mailto:Flatpak@lists.freedesktop.org" target="_blank" rel="noreferrer">Flatpak@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/flatpak</a></blockquote></div>