ports/160214: math/p5-Math-Pari port build failure

Yevgeniy Titov etitov at hc.ru
Fri Aug 26 13:20:08 UTC 2011


>Number:         160214
>Category:       ports
>Synopsis:       math/p5-Math-Pari port build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 26 13:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Yevgeniy Titov
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD test.local 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Mon Apr 25 08:07:55 UTC 2011     root at test.local:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
===>   Returning to build of p5-Math-Pari-2.01080605
===>   p5-Math-Pari-2.01080605 depends on file: /usr/local/bin/perl5.10.1 - found
===>   p5-Math-Pari-2.01080605 depends on shared library: pari - found
===>  Configuring for p5-Math-Pari-2.01080605
Setting up Math::Pari with Perl 5.010001 on freebsd version 8.2-release-p2;
   cc=cc, gccversion=4.2.1 20070719  [FreeBSD], cccdlflags='-DPIC -fPIC',
   ccflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.10.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
   optimize='-O2 -pipe -fno-strict-aliasing',
   ld=cc, ldflags=' -Wl,-E  -fstack-protector -L/usr/local/lib'.
Trying to use existing PARI library (at -L/usr/local/lib -lpari)
     (FAKE integer-formatted version 2003000).
Checking if your kit is complete...
Looks good
Warning: Guessing NAME [libPARI] from current directory name.
Writing Makefile for Math::Pari
===>  Building for p5-Math-Pari-2.01080605
cp PariInit.pm blib/lib/Math/PariInit.pm
cp Pari.pm blib/lib/Math/Pari.pm
cp libPARI.pod blib/lib/Math/libPARI.pod
/usr/local/bin/perl5.10.1 /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap  Pari.xs > Pari.xsc && mv Pari.xsc Pari.c
cc -c  -I/usr/local/include/pari -I/work/a/ports/math/pari/work/pari-2.5.0/src  -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing    -DVERSION=\"2.01080605\"  -DXS_VERSION=\"2.01080605\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.10.1/mach/CORE"  -DNO_HIGHLEVEL_PARI -DPARI_VERSION_EXP=2003000 -DDEBUG_PARI -DUSE_SLOW_ARRAY_ACCESS -DUSE_SLOW_NARGS_ACCESS -DLSB_in_U32=0 -Derr=pari_err -DGCC_INLINE -DHAVE_PARIPRIV -DNO_GRAPHICS_PARI Pari.c
Pari.xs: In function 'findVariable':
Pari.xs:550: error: 'ordvar' undeclared (first use in this function)
Pari.xs:550: error: (Each undeclared identifier is reported only once
Pari.xs:550: error: for each function it appears in.)
Pari.xs: At top level:
Pari.xs:768: warning: excess elements in struct initializer
Pari.xs:768: warning: (near initialization for 'perlOut')
Pari.xs:769: warning: excess elements in struct initializer
Pari.xs:769: warning: (near initialization for 'perlErr')
Pari.xs: In function 'pari2iv':
Pari.xs:937: error: 'TWOPOTBYTES_IN_LONG' undeclared (first use in this function)
Pari.xs: In function 'setprecision':
Pari.xs:1036: error: 'BYTES_IN_LONG' undeclared (first use in this function)
Pari.xs:1118:1: warning: "BL_HEAD" redefined
In file included from Pari.xs:8:
/work/a/ports/math/pari/work/pari-2.5.0/src/language/anal.h:29:1: warning: this is the location of the previous definition
Pari.xs: In function 'installPerlFunctionCV':
Pari.xs:1272: warning: cast to pointer from integer of different size
Pari.xs: In function 'freePerlFunction':
Pari.xs:1290: warning: passing argument 1 of 'free' discards qualifiers from pointer target type
Pari.xs:1292: warning: passing argument 1 of 'free' discards qualifiers from pointer target type
Pari.xs: At top level:
Pari.xs:1322: error: conflicting types for 'allocatemem'
/usr/local/include/pari/paridecl.h:1887: error: previous declaration of 'allocatemem' was here
Pari.xs: In function 'callPerlFunction':
Pari.xs:1337: warning: cast from pointer to integer of different size
Pari.xs:1733:1: warning: "NO_GRAPHICS_PARI" redefined
<command-line>: warning: this is the location of the previous definition
Pari.xs: In function 'XS_Math__Pari_interface_flexible_void':
Pari.xs:1974: warning: passing argument 2 of 'fill_argvect' discards qualifiers from pointer target type
Pari.xs: In function 'XS_Math__Pari_interface_flexible_gen':
Pari.xs:2002: warning: passing argument 2 of 'fill_argvect' discards qualifiers from pointer target type
Pari.xs: In function 'XS_Math__Pari_interface_flexible_long':
Pari.xs:2032: warning: passing argument 2 of 'fill_argvect' discards qualifiers from pointer target type
Pari.xs: In function 'XS_Math__Pari_interface_flexible_int':
Pari.xs:2062: warning: passing argument 2 of 'fill_argvect' discards qualifiers from pointer target type
Pari.xs: In function 'XS_Math__Pari_loadPari':
Pari.xs:3462: error: 'EpUSER' undeclared (first use in this function)
Pari.xs:3574: warning: assignment discards qualifiers from pointer target type
Pari.xs: In function 'XS_Math__Pari_listPari':
Pari.xs:3624: error: 'functions_basic' undeclared (first use in this function)
Pari.xs: In function 'boot_Math__Pari':
Pari.xs:3772: warning: assignment from incompatible pointer type
*** Error code 1

Stop in /work/a/ports/math/p5-Math-Pari/work/Math-Pari-2.01080605.
*** Error code 1

Stop in /a/ports/math/p5-Math-Pari.
>How-To-Repeat:
# cd ports/math/p5-Math-Pari
# make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list