Problem building some Perl libs ( .packlist readonly )
Daniel Kasak
d.j.kasak.dk at gmail.com
Tue Jul 2 13:09:31 UTC 2019
Hi all.
I'm having an issue with a handful of Perl libraries. Builds are failing
because .packlist is readonly:
---
perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for XML::SAX::Base
Writing MYMETA.yml and MYMETA.json
cp BuildSAXBase.pl blib/lib/XML/SAX/BuildSAXBase.pl
cp lib/XML/SAX/Exception.pm blib/lib/XML/SAX/Exception.pm
cp lib/XML/SAX/Base.pm blib/lib/XML/SAX/Base.pm
Manifying 3 pod documents
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.
make: *** [Makefile:725: pure_site_install] Error 30
Error: module perl-XML-SAX-Base: Child process exited with code 2
---
I usually fix readonly issues ( typically with Perl libs compiled to a .so
file ) with a "post-install" section, like:
---
{
"cleanup" : [
"/bin"
],
"sources" : [
{
"sha256" :
"66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0",
"url" : "
https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-1.09.tar.gz",
"type" : "archive"
},
{
"path" : "perl-MakefilePL-Makefile",
"dest-filename" : "Makefile",
"type" : "file"
}
],
"name" : "perl-XML-SAX-Base",
"no-autogen" : true,
"post-install": [
"chmod 755
/app/lib/perl5/site_perl/5.28.1/x86_64-linux/auto/XML/SAX/Base/.packlist"
]
}
---
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?
Thanks :)
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190702/a8d8bf86/attachment.html>
More information about the Flatpak
mailing list