Opened 4 years ago

Last modified 22 months ago

#53397 assigned defect

panda refuses to install

Reported by: chtonic Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc:
Port: panda

Description (last modified by mf2k (Frank Schima))

Error: org.macports.destroot for port panda returned: no files matched glob pattern "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_panda/panda/work/.home/.perl6/short/*"

Also cleaned before building, and a new version was fetched.

Attachments (1)

main.log (24.0 KB) - added by chtonic 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by chtonic

Attachment: main.log added

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: mojca@… removed
Owner: set to mojca
Status: newassigned

In the future, please use WikiFormatting.

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 4 years ago by mojca (Mojca Miklavec)

I'll investigate, but I would be super grateful if Will as an actual Perl6 user would check. It's quite possible that Panda stayed behind after a year of progress with Perl 6: it seems that Panda hasn't seen a new release since February, while new Perl6 packages get released each month.

The error looks like something trivial to fix in the Portfile (even though I'm not sure I understand what exactly changed), so hopefully this should not be too difficult, perhaps deleting a single line should help. I'll update MoarVM, nqp, rakudo first and then take a look at panda.

Also, if someone else comes up with a patch, I won't mind :)

comment:4 Changed 4 years ago by mojca (Mojca Miklavec)

The problem lies in the following code:

foreach d {dist resources short sources} {
    xinstall -d -m 0755 ${destroot}/${perl6_share}/${d}
    foreach f [glob -type f ${src}/${d}/*] {
        xinstall -W ${src}/${d} ${f} ${destroot}/${perl6_share}/${d}
    }
}

The four dirs used to contain just plain files. Now perl6 apparently installs folders rather than files to short and

foreach f [glob -type f ${src}/${d}/*] {

doesn't find any regular files when ${d} equals short (all of them are dirs). I probably need some help coming up with a proper syntax to fix this.

Then again it's still not clear to me what exactly panda installation is supposed to do. I would prefer to have some perl6 expert available ...

comment:5 Changed 22 months ago by mf2k (Frank Schima)

Cc: coke removed
Note: See TracTickets for help on using tickets.