yada and perl-5.6
Hello.
I've been compiling a package from cvs on a woody box (the package is
gimp-print) which uses yada.
I've noticed that itwon't work with perl-5.6 (but works perfectly with
perl-5.005)
And I'd like to know what exactly to do. I'm not a yada expert
(neither do I know perl)... Do I file a bug against yada? (Or is it
some stupid thing I did?)
This is the error:
pkg-shlibdeps -pgimp-1:d1-print -dDepends debian/tmp-gimp-1.1-print/usr/lib/gimp/1.1/plug-ins/*
/usr/bin/yada compress gimp-1.1-print
find debian/tmp-gimp-1.1-print -type f -print \
| sed -n 's/^debian\/tmp-gimp-1.1-print\(\/etc\/.*\)$/\1/p' \
> debian/tmp-gimp-1.1-print/DEBIAN/conffiles
if test ! -s debian/tmp-gimp-1.1-print/DEBIAN/conffiles; then rm -f debian/tmp-gimp-1.1-print/DEBIAN/conffiles; fi
/usr/bin/yada generate maintscripts gimp-1.1-print
Modification of a read-only value attempted at /usr/bin/yada line 1299, <PACKAGES> line 81.
make: *** [debian/tmp-gimp-1.1-print/DEBIAN/control] Error 255
line 1299 from /usr/bin/yada is:
if (not defined $script or $script =~ s/^sh\n//s) {
# shell script
chomp;
^^^^^
Here!
print MAINT "#! /bin/sh\n# This maintainer script was generated by yada\n\nset -e\n" or die;
if ($_ eq 'postinst') {
print MAINT <<EOM or die;
Some days ago, I compiled it using perl-5.005 and it worked perfectly.
Also... I see the new perl-5.6 package removed /etc/alternatives/perl
(the mantainer said in a bug report that he's removing that), but
perl-5.005 doesn't conflict with perl-5.6. Is there a clean way to use
perl-5.005? (I suppose it's not a good idea to go messing with links
in /usr/bin myself...)
Thanks,
J.
--
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:jeronimo@ic.unicamp.br mailto:pellegrini@iname.com
Reply to: