Each time g-cpan is run, with or without an argument the following error spits out: phoenix alan # g-cpan.pl Global symbol "$distfiles" requires explicit package name at /usr/bin/g-cpan.pl line 266. syntax error at /usr/bin/g-cpan.pl line 268, near ") push" Execution of /usr/bin/g-cpan.pl aborted due to compilation errors. phoenix alan # Reproducible: Always Steps to Reproduce: 1. run g-cpan.pl 2. 3.
it seems to work when uncommenting the system call on line 266 in g-cpan. $distfiles occurs only on that line in the whole script... change: ----------- snip ----------- 265 create_ebuild( $obj, $dir, $file, $prereq_pm, $md5string ); 266 system("mv -f $localfile $distfiles/") ----------- snip ----------- to ----------- snip ----------- 265 create_ebuild( $obj, $dir, $file, $prereq_pm, $md5string ); 266 # system("mv -f $localfile $distfiles/") ----------- snip -----------
Try portage-2.0.48-r1
> Try portage-2.0.48-r1 works :)
Created attachment 12924 [details] code fix
Fixed already. DISTDIR is not a constant.