Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#365125: perl: More info

0 views
Skip to first unread message

vaqfla...@spammotel.com

unread,
May 9, 2006, 7:20:09 PM5/9/06
to
Package: perl
Version: 5.8.4-8sarge4
Followup-For: Bug #365125


I would like to add some more info on this bug to help others such as me
that have been bitten by this. I use a program VOCP to do voice message
processing among other things and it uses perl-tk 804.027 for its
graphical elements. These elements ceased to function upon upgrading to
perl_5.8.4-8sarge4.

I've discovered that you can downgrade the single package perl-base to
perl-base_5.8.4-8sarge3 available at snapshot.debian.net to restore
perl-tk functionallity.
example:
wget
http://snapshot.debian.net/archive/2006/01/17/debian-security/pool/updates/main/p/perl/perl-base_5.8.4-8sarge3_i386.deb
dpkg -i perl-base_5.8.4-8sarge3_i386.deb
Other archetectures are available at the same location.
WARNING: See Bug#227621 to see if it effects you before deciding to downgrade.

I've also found that if you build perl_5.8.4-8sarge4 from source without
the patch debian/patches/23_fix_utf8_taint, you will get a custom built
perl_5.8.4-8sarge4 which will work with perl-tk 804.027
example:
mkdir perl
cd perl
apt-get source perl=5.8.4-8sarge4
cd perl-5.8.4
fakeroot debian/rules clean
debian/rules unpatch
rm debian/patches/23_fix_utf8_taint
vi patches-applied # remove the line debian/patches/23_fix_utf8_taint
and save your changes
debian/rules patch
dch -i # edit the changelog for your custom package
pkg-buildpackage -rfakeroot -us -uc # if your told you need any additional
packages installed to build perl, install them and issue this command
again
cd ../
dpkg -i perl-base_5.8.4-8sarge4< your custom designation >_i386.deb
or
dpkg -i *.deb # to install all perl 5.8.4-8sarge4< your
custom designation > packages you built

It may be possible to edit 23_fix_utf8_taint to further isolate or
eliminate this bug but thats probably beyond my capabilities.

*** .reportbug.sig

NOTE: Due to debian.org's inadequate measures to prevent email address
harvesting from bugs.debian.org, you must include "Bugs#", without the
quotes, in the subject of any email that you wish to send me.
Thank You.


-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (800, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages perl depends on:
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime
ii perl-base 5.8.4-8sarge4custom1 The Pathologically Eclectic Rubbis
ii perl-modules 5.8.4-8sarge4 Core Perl modules

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Brendan O'Dea

unread,
May 10, 2006, 2:50:16 AM5/10/06
to
tags 365125 + patch pending
thanks

On Tue, May 09, 2006 at 06:50:01PM -0400, vaqfla...@spammotel.com wrote:
>I would like to add some more info on this bug to help others such as me
>that have been bitten by this. I use a program VOCP to do voice message
>processing among other things and it uses perl-tk 804.027 for its
>graphical elements. These elements ceased to function upon upgrading to
>perl_5.8.4-8sarge4.
>
>I've discovered that you can downgrade the single package perl-base to
>perl-base_5.8.4-8sarge3 available at snapshot.debian.net to restore
>perl-tk functionallity.

OK. It would seem that the utf8 change introduced in sarge4 does indeed
not play nicely with the newer version of Tk.

I've prepared a new version of debian/patches/23_fix_utf8_taint which
incorporates upstream changes #23084 and #23085 from Nick Ing-Simmonds
for Tk.

This seems to work for the original testcase for utf8/taint, and the
widget demo from perl-tk 804.027-4 works for me.

Please test:

$ apt-get source perl
$ cd perl-5.8.4
$ debian/rules unpatch
[replace debian/patches/23_fix_utf8_taint attached]
$ debian/rules patch
$ dch -n Test Tk fix
$ dpkg-buildpackage -rfakeroot -us -uc

--bod

23_fix_utf8_taint

Helmut Lichtenberg

unread,
May 10, 2006, 5:20:08 AM5/10/06
to
On Wed, May 10, 2006 at 04:28:59PM +1000, Brendan O'Dea wrote:
> tags 365125 + patch pending
> thanks
>
> On Tue, May 09, 2006 at 06:50:01PM -0400, vaqfla...@spammotel.com wrote:
[ ... ]

> OK. It would seem that the utf8 change introduced in sarge4 does indeed
> not play nicely with the newer version of Tk.
>
> I've prepared a new version of debian/patches/23_fix_utf8_taint which
> incorporates upstream changes #23084 and #23085 from Nick Ing-Simmonds
> for Tk.
>
> This seems to work for the original testcase for utf8/taint, and the
> widget demo from perl-tk 804.027-4 works for me.
>
> Please test:
>
> $ apt-get source perl
> $ cd perl-5.8.4
> $ debian/rules unpatch
> [replace debian/patches/23_fix_utf8_taint attached]
> $ debian/rules patch
> $ dch -n Test Tk fix
> $ dpkg-buildpackage -rfakeroot -us -uc
>
> --bod

I followed your instructions, rebuilt the packages and everything works for me
now.

Thanks for your help
Helmut

--
-------------------------------------------------------------------------
Helmut Lichtenberg <Helmut.Li...@fal.de> Tel. +49 (0)5034/871-128
Institut für Tierzucht 31535 Neustadt Germany
-------------------------------------------------------------------------

0 new messages