<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">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>