Skip Menu |
 

This queue is for tickets about the Term-Gnuplot CPAN distribution.

Report information
The Basics
Id: 59672
Status: open
Priority: 0/
Queue: Term-Gnuplot

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: term-gnuplot doesn't compile against perl 5.12
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 7480
Download (untitled) / with headers
text/plain 7.3k
$ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor ...Looking for libs, expect some warnings... Note (probably harmless): No library found for -lsocket Note (probably harmless): No library found for -llinuxvga Note (probably harmless): No library found for -ljmgraph Note (probably harmless): No library found for -lvesa Note (probably harmless): No library found for -lpdf ...Found libs: '-lX11 -lvga -lgd -lpng -ljpeg -lfreetype -lz' ...Found detected_PNGversion89 png_create_write_struct png_read_image (out of png_read_image detected_PNGversion89 png_create_write_struct) in png.h, keeping -lpng. trygd.h:1:16: error: gd.h: No such file or directory close pipe from `x86_64-mandriva-linux-gnu-gcc -E -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include trygd.h': at Makefile.PL line 65. ...Could not find gdImageCreate gdImageGif gdImageJpeg gdImageStringFT gdImageStringTTF gdImagePng in gd.h, removing -lgd. Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lsocket Note (probably harmless): No library found for -llinuxvga Note (probably harmless): No library found for -ljmgraph Note (probably harmless): No library found for -lvesa Note (probably harmless): No library found for -lpdf Writing Makefile for Term::Gnuplot::gnuterm Warning: Guessing NAME [pm_exec] from current directory name. Note (probably harmless): No library found for -lsocket Note (probably harmless): No library found for -llinuxvga Note (probably harmless): No library found for -ljmgraph Note (probably harmless): No library found for -lvesa Note (probably harmless): No library found for -lpdf Writing Makefile for Term::Gnuplot::plotx Writing Makefile for Term::Gnuplot $ make -j2 /usr/bin/perl5.12.0 /usr/lib/perl5/5.12.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.12.0/ExtUtils/typemap Gnuplot.xs > Gnuplot.xsc && mv Gnuplot.xsc Gnuplot.c cp GnuplotTerminals.pod blib/lib/Term/GnuplotTerminals.pod cp Gnuplot.pm blib/lib/Term/Gnuplot.pm Running Mkbootstrap for Term::Gnuplot () chmod 644 Gnuplot.bs cd ./gnuterm; make libgnuterm.a LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4" PREFIX="/usr" PASTHRU_DEFINE="" PASTHRU_INC="" make[1]: Entering directory `/home/mandrake/rpm/BUILD/Term-Gnuplot-0.90380905/gnuterm' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. x86_64-mandriva-linux-gnu-gcc -c -I. -Iterm -Igd -I.. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.12.0/x86_64-linux-thread-multi/CORE" -DPM3D -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DRETSIGTYPE=void -DGPLT_X11_MODE -DPIPES -DX11 -DX11_DRIVER_DIR=\".\" -DEXENAME_X11=gnuplot_x11b -DEXENAME_PM=gplpmdrb -DCANT_ACCEPT_COMMANDS -DX11_FORCED_PATH -DHAVE_UNISTD_H -DHAVE_FLOAT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_MATH_H -DHAVE_MALLOC_H -DHAVE_STDLIB_H -DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_STAT_H -DHAVE_SYS_PARAM_H -DHAVE_TIME_H -DHAVE_MEMCPY -DHAVE_MEMSET -DHAVE_STRCHR -DHAVE_STRSTR -DHAVE_STRERROR -DANSI_C -DHAVE_STRNCASECMP -DHAVE_DIRENT_H term.c Please specify prototyping behavior for Gnuplot.xs (see perlxs manual) cp Gnuplot.bs blib/arch/auto/Term/Gnuplot/Gnuplot.bs chmod 644 blib/arch/auto/Term/Gnuplot/Gnuplot.bs x86_64-mandriva-linux-gnu-gcc -c -I./gnuterm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DVERSION=\"0.90380905\" -DXS_VERSION=\"0.90380905\" -fPIC "-I/usr/lib/perl5/5.12.0/x86_64-linux-thread-multi/CORE" -DPM3D -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG Gnuplot.c In file included from term_api.h:43, from term.c:77: stdfn.h:89:1: warning: "strcspn" redefined In file included from /usr/include/string.h:635, from stdfn.h:53, from term_api.h:43, from term.c:77: /usr/include/bits/string2.h:935:1: warning: this is the location of the previous definition In file included from term.h:271, from term.c:1002: term/cgm.trm: In function 'CGM_write_char_record': term/cgm.trm:1059: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm:1061: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm:1066: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm:1072: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm: In function 'CGM_write_byte_record': term/cgm.trm:1085: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm:1087: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm: In function 'CGM_write_mixed_record': term/cgm.trm:1126: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm:1128: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm:1131: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm:1133: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/cgm.trm: In function 'CGM_write_int': term/cgm.trm:1186: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result In file included from term.h:288, from term.c:1002: term/emf.trm: In function 'EMF_write_byte': term/emf.trm:347: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/emf.trm: In function 'EMF_write_short': term/emf.trm:360: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/emf.trm: In function 'EMF_write_long': term/emf.trm:374: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/emf.trm: In function 'EMF_write_float': term/emf.trm:397: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result In file included from term.h:288, from term.c:1002: term/emf.trm: In function 'EMF_put_text': term/emf.trm:775: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result term/emf.trm:776: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result Gnuplot.xs: In function 'set_tokens': Gnuplot.xs:40: warning: format '%d' expects type 'int', but argument 4 has type 'long int' Gnuplot.xs:53: warning: format '%d' expects type 'int', but argument 3 has type 'IV' In file included from term.h:358, from term.c:1002: term/post.trm: In function 'PS_graphics': term/post.trm:1565: error: format not a string literal and no format arguments make[1]: *** [term.o] Error 1 make[1]: Leaving directory `/home/mandrake/rpm/BUILD/Term-Gnuplot-0.90380905/gnuterm' make: *** [gnuterm/libgnuterm.a] Error 2
From nospam-abuse [...] ilyaz.org Sat Jul 24 18: 43:08 2010
CC: undisclosed-recipients: ;
X-Ymail-Osg: _XX2034VM1lIrfDN7dHZHvZt3ICO1S2Fv8X3JIMOXPM94Ly Lxa.lqiB0k0r7Tsi8F6lo1fn9oh05_yHZlz00z6BSkcuyIT8Tx192Tmd1SVY .QKDGhZQhBI_W8E8JEwos.KmnClSbRie2uT1U_5WuRygUIE3GjwVFLV.Vash T0AEKUQTJACejs4d3xx_hqWXMqXT3UMMaa5l9gT5uuYyeCBh6yjnXWoh2KKf 7V2AgtR.K3dq.E7kvM.hOb4Guj3i6N3KceLSmH4J9pLHZ640hSIZPpPt676B k
MIME-Version: 1.0
X-Spam-Status: No, score=-10.598 tagged_above=-99.9 required=10 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNPARSEABLE_RELAY=0.001] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2372-1279976592-729.59672-4-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
X-Yahoo-Newman-ID: 102918.28031.bm [...] omp411.mail.mud.yahoo.com
References: <RT-Ticket-59672 [...] rt.cpan.org> <rt-3.8.HEAD-2372-1279976592-729.59672-4-0 [...] rt.cpan.org>
X-Yahoo-SMTP: oLSY3dWswBBqoBVzCkLl_RIsw6heKMxu8wpEbARv1SU-
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Yahoo-Newman-Property: ymail-3
Message-ID: <20100724224452.GA11850 [...] powdermilk.math.berkeley.edu>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -10.598
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id BB72A240A54 for <cpan-bug+term-gnuplot [...] hipster.bestpractical.com>; Sat, 24 Jul 2010 18:43:08 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wV4p68+aD9bs for <cpan-bug+term-gnuplot [...] hipster.bestpractical.com>; Sat, 24 Jul 2010 18:43:07 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D8460240968 for <bug-term-gnuplot [...] rt.cpan.org>; Sat, 24 Jul 2010 18:43:06 -0400 (EDT)
Received: (qmail 19999 invoked by uid 103); 24 Jul 2010 22:44:58 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 24 Jul 2010 22:44:58 -0000
Received: from n23a.bullet.mail.mud.yahoo.com (HELO n23a.bullet.mail.mud.yahoo.com) (68.142.207.189) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Sat, 24 Jul 2010 15:44:57 -0700
Received: from [68.142.200.227] by n23.bullet.mail.mud.yahoo.com with NNFMP; 24 Jul 2010 22:44:54 -0000
Received: from [68.142.201.250] by t8.bullet.mud.yahoo.com with NNFMP; 24 Jul 2010 22:44:54 -0000
Received: from [127.0.0.1] by omp411.mail.mud.yahoo.com with NNFMP; 24 Jul 2010 22:44:54 -0000
Received: (qmail 44831 invoked from network); 24 Jul 2010 22:44:53 -0000
Received: from localhost.localdomain (nospam-abuse [...] 128.32.213.171 with login) by smtp111.plus.mail.sp1.yahoo.com with SMTP; 24 Jul 2010 15:44:53 -0700 PDT
Delivered-To: cpan-bug+term-gnuplot [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #59672] term-gnuplot doesn't compile against perl 5.12
User-Agent: Mutt/1.4.2.2i
Return-Path: <nospam-abuse [...] ilyaz.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+term-gnuplot [...] hipster.bestpractical.com
X-RT-Mail-Extension: term-gnuplot
Date: Sat, 24 Jul 2010 15:44:52 -0700
X-Spam-Level:
To: Jerome Quelin via RT <bug-Term-Gnuplot [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
RT-Message-ID: <rt-3.8.HEAD-2367-1280011502-828.59672-0-0 [...] rt.cpan.org>
Content-Length: 969
Download (untitled) / with headers
text/plain 969b
On Sat, Jul 24, 2010 at 09:03:12AM -0400, Jerome Quelin via RT wrote: Show quoted text
> x86_64-mandriva-linux-gnu-gcc -c -I./gnuterm -D_REENTRANT -D_GNU_SOURCE > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector > --param=ssp-buffer-size=4 -DVERSION=\"0.90380905\" > -DXS_VERSION=\"0.90380905\" -fPIC > "-I/usr/lib/perl5/5.12.0/x86_64-linux-thread-multi/CORE" -DPM3D > -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG Gnuplot.c
Show quoted text
> In file included from term.h:358, > from term.c:1002: > term/post.trm: In function 'PS_graphics': > term/post.trm:1565: error: format not a string literal and no format > arguments
Looks like a compiler bug. What I see is static char GPFAR psg1[] = "0 setgray\nnewpath\n"; ... fprintf(gpoutfile, psg1); with GPFAR which should be empty. Hope this helps, Ilya


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.