Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#13484 closed defect (worksforme)

py-biggles won't build

Reported by: dsteinkamp@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: deric@…, blb@…
Port: py-biggles

Description

I tried to install py-biggles but it errors out during the build. I successfully installed plotutils separately, so that is why I included that in the log. (py-biggles depends on plotutils) Anyways, here is the output of the unsuccessful install:

dereks:local dsteinkamp$ sudo port install plotutils
--->  Fetching zlib
--->  Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib with target all
--->  Staging zlib into destroot
--->  Installing zlib 1.2.3_1
--->  Activating zlib 1.2.3_1
--->  Cleaning zlib
--->  Fetching libpng
--->  Attempting to fetch libpng-1.2.23.tar.bz2 from http://downloads.sourceforge.net/libpng
--->  Verifying checksum(s) for libpng
--->  Extracting libpng
--->  Configuring libpng
--->  Building libpng with target all
--->  Staging libpng into destroot
--->  Installing libpng 1.2.23_0
--->  Activating libpng 1.2.23_0
--->  Cleaning libpng
--->  Fetching plotutils
--->  Attempting to fetch plotutils-2.4.1.tar.gz from http://ftp.gnu.org/gnu/plotutils
--->  Attempting to fetch ltconfig13 from http://svn.macports.org/repository/macports/distfiles/lt
--->  Attempting to fetch ltmain13 from http://svn.macports.org/repository/macports/distfiles/lt
--->  Verifying checksum(s) for plotutils
--->  Extracting plotutils
--->  Applying patches to plotutils
--->  Configuring plotutils
--->  Building plotutils with target all
--->  Staging plotutils into destroot
--->  Installing plotutils 2.4.1_2
--->  Activating plotutils 2.4.1_2
--->  Cleaning plotutils
dereks:local dsteinkamp$ sudo port install py-biggles
Password:
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from http://downloads.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat with target all
--->  Staging expat into destroot
--->  Installing expat 2.0.1_0
--->  Activating expat 2.0.1_0
--->  Cleaning expat
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.12.tar.gz from http://ftp.gnu.org/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv with target all
--->  Staging libiconv into destroot
--->  Installing libiconv 1.12_0
--->  Activating libiconv 1.12_0
--->  Cleaning libiconv
--->  Fetching gettext
--->  Attempting to fetch gettext-0.17.tar.gz from http://ftp.gnu.org/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext with target all
--->  Staging gettext into destroot
--->  Installing gettext 0.17_1
--->  Activating gettext 0.17_1
--->  Cleaning gettext
--->  Fetching python24
--->  Attempting to fetch Python-2.4.4.tar.bz2 from http://www.python.org//ftp/python/2.4.4/
--->  Verifying checksum(s) for python24
--->  Extracting python24
--->  Applying patches to python24
--->  Configuring python24
--->  Building python24 with target all libpython2.4.dylib
--->  Staging python24 into destroot
--->  Installing python24 2.4.4_1+darwin_9
--->  Activating python24 2.4.4_1+darwin_9
--->  Cleaning python24
--->  Fetching py-numeric
--->  Attempting to fetch Numeric-24.2.tar.gz from http://downloads.sourceforge.net/numpy
--->  Verifying checksum(s) for py-numeric
--->  Extracting py-numeric
--->  Applying patches to py-numeric
--->  Configuring py-numeric
--->  Building py-numeric with target build
--->  Staging py-numeric into destroot
--->  Installing py-numeric 24.2_1+macosx
--->  Activating py-numeric 24.2_1+macosx
--->  Cleaning py-numeric
--->  Fetching py-biggles
--->  Attempting to fetch python2-biggles-1.6.4.tar.gz from http://downloads.sourceforge.net/biggles
--->  Verifying checksum(s) for py-biggles
--->  Extracting py-biggles
--->  Configuring py-biggles
--->  Building py-biggles with target build
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-biggles/work/python2-biggles-1.6.4" && /opt/local/bin/python2.4 setup.py build " returned error 1
Command output: src/_biggles.c:336: error: 'PyArrayObject' undeclared (first use in this function)
src/_biggles.c:336: error: 'l' undeclared (first use in this function)
src/_biggles.c:336: error: 'b' undeclared (first use in this function)
src/_biggles.c:336: warning: left-hand operand of comma expression has no effect
src/_biggles.c:336: error: 'u' undeclared (first use in this function)
src/_biggles.c:336: warning: left-hand operand of comma expression has no effect
src/_biggles.c:336: error: 'v' undeclared (first use in this function)
src/_biggles.c:336: warning: left-hand operand of comma expression has no effect
src/_biggles.c:336: warning: statement with no effect
src/_biggles.c:346: error: syntax error before ')' token
src/_biggles.c:348: error: syntax error before ')' token
src/_biggles.c:356: error: syntax error before ')' token
src/_biggles.c:357: error: syntax error before ')' token
src/_biggles.c: In function 'biggles_hammer_geodesic_fill':
src/_biggles.c:412: error: 'PyArrayObject' undeclared (first use in this function)
src/_biggles.c:412: error: 'l' undeclared (first use in this function)
src/_biggles.c:412: error: 'b' undeclared (first use in this function)
src/_biggles.c:412: warning: left-hand operand of comma expression has no effect
src/_biggles.c:412: error: 'l2' undeclared (first use in this function)
src/_biggles.c:412: warning: left-hand operand of comma expression has no effect
src/_biggles.c:412: error: 'b2' undeclared (first use in this function)
src/_biggles.c:412: warning: left-hand operand of comma expression has no effect
src/_biggles.c:412: warning: statement with no effect
src/_biggles.c:420: error: syntax error before ')' token
src/_biggles.c:422: error: syntax error before ')' token
src/_biggles.c:435: error: syntax error before ')' token
src/_biggles.c:436: error: syntax error before ')' token
src/_biggles.c: In function 'init_biggles':
src/_biggles.c:503: warning: implicit declaration of function 'import_array'
error: command 'gcc' failed with exit status 1

Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 16 years ago by dsteinkamp@…

I guess it is probably worth mentioning that this is on Leopard:

dereks:local dsteinkamp$ uname -a Darwin dereks.cis.anl.gov 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386

running XCode 3.0 as suggested.

comment:2 Changed 16 years ago by jmpp@…

Milestone: MacPorts 1.5Port Bugs

comment:3 in reply to:  1 Changed 16 years ago by jurgenfd@…

Replying to dsteinkamp@anl.gov:

I guess it is probably worth mentioning that this is on Leopard:

dereks:local dsteinkamp$ uname -a Darwin dereks.cis.anl.gov 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386

running XCode 3.0 as suggested.

Is there a workaround for this problem? I have the exact same problem on Leopard too.

comment:4 Changed 15 years ago by blb@…

Cc: blb@… added
Keywords: biggles py-biggles removed
Port: py-biggles added

Is anyone still experiencing this, it builds fine for me on 10.5.6?

comment:5 Changed 15 years ago by deric@…

Going to verify this one is still functional. I haven't used it myself in quite a while but I still think it would be my default choice if I was to do any plotting, so I'm going to give it a py25 port as well.

comment:6 Changed 15 years ago by deric@…

Resolution: worksforme
Status: newclosed

Built fine for me on 10.5.6. Closing.

PyArrayObject comes from numpy indicating the problem might be with numpy and not biggles.

_biggles.c {{{#ifdef NO_NUMERIC_INCDIR #include <arrayobject.h> #else #include <Numeric/arrayobject.h> #endif}}}

comment:7 Changed 15 years ago by deric@…

_biggles.c

#ifdef NO_NUMERIC_INCDIR
#include <arrayobject.h>
#else
#include <Numeric/arrayobject.h>
#endif

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.