[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#339349: marked as done (pgperl )

Your message dated Sun, 20 Nov 2005 21:12:55 +0100
with message-id <87acfzdqns.fsf@diziet.irb.hr>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 15 Nov 2005 17:56:07 +0000
>From bret_martin@hms.harvard.edu Tue Nov 15 09:56:07 2005
Return-path: <bret_martin@hms.harvard.edu>
Received: from miranda.org ([] ident=qmailr)
	by spohr.debian.org with smtp (Exim 4.50)
	id 1Ec52N-0002xk-AX
	for submit@bugs.debian.org; Tue, 15 Nov 2005 09:56:07 -0800
Received: (qmail 30823 invoked from network); 15 Nov 2005 12:56:05 -0500
Received: from unknown (HELO anasazi.miranda.org) (
  by miranda.org with SMTP; 15 Nov 2005 12:56:05 -0500
Received: (qmail 13268 invoked from network); 15 Nov 2005 17:56:05 -0000
Received: from unknown (HELO anasazi.miranda.org) (
  by localhost with SMTP; 15 Nov 2005 17:56:05 -0000
X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-4) with nmh-1.1
From: Bret Martin <bret_martin@hms.harvard.edu>
Reply-To: Bret Martin <bret_martin@hms.harvard.edu>
To: submit@bugs.debian.org
Subject: pgperl 
Mime-Version: 1.0
Content-Type: multipart/mixed ;
Date: Tue, 15 Nov 2005 12:56:05 -0500
Message-ID: <13266.1132077365@anasazi.miranda.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.5 required=4.0 tests=BAYES_10,HAS_PACKAGE,ONEWORD 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multipart MIME message.

Content-Type: text/plain; charset=us-ascii

Package: pgperl
Version: 2.18-5

I can't generate PNG files using the pgperl package as supplied in 

(pgtest.pl is attached)
orchestra ~ % perl pgtest.pl
libpng warning: Application was compiled with png.h from libpng-1.2.5
libpng warning: Application  is  running with png.c from libpng-1.0.18
libpng error: Incompatible libpng version in application and library
PGPLOT /png: error in libpng while writing file test.png, plotting disabled

I am not really sure why this error occurs since the pgperl package 
appears to be built with libpng 1.0 (it build-requires libpng2-dev) and 
is explicitly linked against it.

% ldd /usr/lib/perl5/auto/PGPLOT/PGPLOT.so
        libpgplot.so.5 => /usr/lib/libpgplot.so.5 (0x40041000)
        libpng10.so.0 => /usr/lib/libpng10.so.0 (0x400c9000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400ed000)
        libg2c.so.0 => /usr/lib/libg2c.so.0 (0x401b4000)
        libm.so.6 => /lib/libm.so.6 (0x401d2000)
        libc.so.6 => /lib/libc.so.6 (0x401f4000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40327000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40330000)
        libdl.so.2 => /lib/libdl.so.2 (0x40343000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

In any case, if I change the Build-Depends: for pgperl to instead use
libpng12-dev, as in the enclosed patch, and rebuild the package, I can
generate PNGs as expected.


Bret Andrew Martin                 Harvard Medical School
Senior Research Systems Architect  Research Information Technology Group
bret_martin@hms.harvard.edu        http://ritg.med.harvard.edu

Content-Type: text/x-perl ; name="pgtest.pl"; charset=us-ascii
Content-Description: pgtest.pl
Content-Disposition: attachment; filename="pgtest.pl"


use PDL;
use PDL::Graphics::PGPLOT;


$win = dev("test.png/PNG");

@x = (1, 3, 4, 5);
@y = (5, 6, 8, 1);

$a = pdl @x;
$b = pdl @y;

line ($a, $b, {COLOUR => CYAN, SYMBOL => 18});

Content-Type: text/plain ; name="pgperl-libpng-patch.txt"; charset=us-ascii
Content-Description: pgperl-libpng-patch.txt
Content-Disposition: attachment; filename="pgperl-libpng-patch.txt"

--- pgperl-2.18/debian/control  2005-11-15 12:32:40.000000000 -0500
+++ pgperl-2.18/debian/control.orig     2005-11-15 12:38:35.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Standards-Version: 3.5.6
-Build-Depends: debhelper (>> 4.1), perl (>> 5.8), pgplot5 (> 5.2.2),
g77, xlibs-dev, libpng12-dev
+Build-Depends: debhelper (>> 4.1), perl (>> 5.8), pgplot5 (> 5.2.2),
g77, xlibs-dev, libpng2-dev
 Package: pgperl
 Architecture: any


Received: (at 339349-done) by bugs.debian.org; 20 Nov 2005 20:12:32 +0000
>From vela@debian.org Sun Nov 20 12:12:32 2005
Return-path: <vela@debian.org>
Received: from mail.irb.hr ([] ident=UNKNOWN)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EdvY7-0005cL-NJ
	for 339349-done@bugs.debian.org; Sun, 20 Nov 2005 12:12:32 -0800
Received: from diziet.irb.hr (diziet.irb.hr [])
	by mail.irb.hr (8.13.4/8.13.4/Debian-3) with ESMTP id jAKKCNqs019590
	for <339349-done@bugs.debian.org>; Sun, 20 Nov 2005 21:12:23 +0100
Received: from diziet.irb.hr (localhost [])
	by diziet.irb.hr (8.13.5/8.13.5/Debian-3) with ESMTP id jAKKCt4X008124
	for <339349-done@bugs.debian.org>; Sun, 20 Nov 2005 21:12:55 +0100
Received: (from mvela@localhost)
	by diziet.irb.hr (8.13.5/8.13.5/Submit) id jAKKCtnP008122;
	Sun, 20 Nov 2005 21:12:55 +0100
From: Matej Vela <vela@debian.org>
To: 339349-done@bugs.debian.org
Subject: Removed
Date: Sun, 20 Nov 2005 21:12:55 +0100
Message-ID: <87acfzdqns.fsf@diziet.irb.hr>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.51 on
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 

pgperl was removed from Debian in July after being orphaned for 7
months.  Please see <http://bugs.debian.org/279820> for details.

Reply to: