#5488: optional polymake package fails to build on OS X
-------------------------------------+--------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-5.1
Component: optional packages | Resolution:
Keywords: sd40.5 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Benjamin Jones | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Changes (by {'newvalue': u'Benjamin Jones', 'oldvalue': ''}):
* author: => Benjamin Jones
Comment:
On a system where `config.h` can be found, polymake still fails to build:
{{{
jonesbe@sage:~/sage/sage-5.0$ ./sage -f tmp/polymake-2.2.p6.spkg Calling
sage-spkg on
'tmp/polymake-2.2.p6.spkg'polymake-2.2.p6====================================================Extracting
package /home/jonesbe/sage/sage-5.0/tmp/polymake-2.2.p6.spkg-rw-r--r-- 1
jonesbe jonesbe 1502253 May 26 00:30
/home/jonesbe/sage/sage-5.0/tmp/polymake-2.2.p6.spkg
Finished extraction
****************************************************
Host system:
Linux sage 2.6.32 #1 SMP Fri Sep 2 21:08:57 CDT 2011 x86_64 GNU/Linux
****************************************************C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-1'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-
languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-
suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch-32=i586
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnuThread model: posixgcc
version 4.6.3 (Debian 4.6.3-1)
****************************************************Using gmp-5.0.4 to
build polymakeUsing cddlib-094f.p11 to build polymakeChecking if your kit
is complete...
Looks good
Writing Makefile for Poly::Ext
Writing MYMETA.yml
make[1]: Entering directory
`/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src/build/perlx-5.14.2-x86_64
-linux-gnu-thread-multi'
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap
/usr/share/perl/5.14/ExtUtils/typemap Ext.xs > Ext.xsc && mv Ext.xsc
Ext.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-
aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC
"-I/usr/lib/perl/5.14/CORE" Ext.c
Ext.xs: In function ‘dump_me’:
Ext.xs:64:92: error: ‘XPVHV’ has no member named ‘xhv_name’
Ext.xs:67:134: error: ‘XPVAV’ has no member named ‘xav_flags’
make[1]: *** [Ext.o] Error 1
make[1]: Leaving directory
`/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src/build/perlx-5.14.2-x86_64
-linux-gnu-thread-multi'
[ -d
/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src/build/perlx-5.14.2-x86_64
-linux-gnu-thread-multi ] || perl
/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src/support/install.pl
-d -m 755
/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src/build/perlx-5.14.2-x86_64
-linux-gnu-thread-multi
cd
/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src/build/perlx-5.14.2-x86_64
-linux-gnu-thread-multi;
TOP=/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src perl
/home/jonesbe/sage/sage-5.0/spkg/build/polymake-2.2.p6/src/perl/ext/Makefile.PL
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-
aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC
"-I/usr/lib/perl/5.14/CORE" Ext.c
Ext.xs: In function ‘dump_me’:
Ext.xs:64:92: error: ‘XPVHV’ has no member named ‘xhv_name’
Ext.xs:67:134: error: ‘XPVAV’ has no member named ‘xav_flags’
make[2]: *** [Ext.o] Error 1
make[1]: *** [all-perlx] Error 2
make: *** [all] Error 2
Failed to configure.
}}}
Here is the (still broken) spkg in case anyone feels like diagnosing the
build problem:
http://sage.math.washington.edu/home/bjones/polymake-2.2.p6.spkg
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5488#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.