[MacPorts] #22360: py26-numpy won't build

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

[MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  macports-tickets@…                  
     Type:  defect        |      Status:  new                                  
 Priority:  Normal        |   Milestone:                                      
Component:  ports         |     Version:  1.8.1                                
 Keywords:                |        Port:  py26-numpy                          
--------------------------+-------------------------------------------------
 On OS X 10.6, error message:

 {{{
 --->  Computing dependencies for py26-gtk
 --->  Building py26-numpy
 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_py26-numpy/work/numpy-1.3.0"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build " returned error 1
 Command output:     return old_setup(**new_attr)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
 line 152, in setup
     dist.run_commands()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 987, in run_commands
     self.run_command(cmd)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 1007, in run_command
     cmd_obj.run()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build.py",
 line 37, in run
     old_build.run(self)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py",
 line 134, in run
     self.run_command(cmd_name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py",
 line 333, in run_command
     self.distribution.run_command(command)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 1007, in run_command
     cmd_obj.run()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
 line 130, in run
     self.build_sources()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
 line 147, in build_sources
     self.build_extension_sources(ext)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
 line 250, in build_extension_sources
     sources = self.generate_sources(sources, ext)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
 line 307, in generate_sources
     source = func(extension, build_dir)
   File "numpy/core/setup.py", line 286, in generate_config_h
     moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
   File "numpy/core/setup.py", line 30, in check_types
     out = check_types(*a, **kw)
   File "numpy/core/setup.py", line 186, in check_types
     "Cannot compiler 'Python.h'. Perhaps you need to "\
 SystemError: Cannot compiler 'Python.h'. Perhaps you need to install
 python-dev|python-devel.

 Error: The following dependencies failed to build: py26-cairo py26-numpy
 py26-gobject libffi
 Error: Status 1 encountered during processing.
 }}}

--
Ticket URL: <http://trac.macports.org/ticket/22360>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => mcalhoun@…


--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------
Changes (by snc@…):

 * cc: snc@… (added)


Comment:

 Have you tried rebuilding python26 and everything up from there?  Perhaps
 it was an old build that got used as it built fine for me.

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-gtk2 won't build (was: py26-numpy won't build)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-gtk2 won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build (was: py26-gtk2 won't build)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ram@…):

 Sorry, should read better next time :-(

 Can you attach a full debug log.

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ak@…):

 Well, I erased (as specified in the FAQ) and reinstalled macports, and I'm
 getting the exact same error. Just in case, the flags I'm using are
 "+universal +quartz +no_x11".

 As for the full debug log, can you tell me where to find it?

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by snc@…):

 You can create a full debug log in your home directory using the
 following:
 {{{
 sudo port -d install py26-numpy &> ~/py26-numpy.log
 }}}

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ram@…):

 Is python26 fully up to date? Have you made python26 the default python by
 running

 {{{
 sudo python_select python26
 }}}

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by mike@…):

 I can confirm that py26-numpy does not build on 10.6.2.  I have python26
 selected, and both python-config and python2.6-config return the correct
 paths.

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ram@…):

 It builds for me on 10.6.2:

 {{{
 [ram@cizin ~]$ sudo port outdated
 No installed ports are outdated.
 [ram@cizin ~]$ sudo port install py26-numpy
 --->  Computing dependencies for py26-numpy
 --->  Fetching py26-numpy
 --->  Verifying checksum(s) for py26-numpy
 --->  Extracting py26-numpy
 --->  Applying patches to py26-numpy
 --->  Configuring py26-numpy
 --->  Building py26-numpy
 --->  Staging py26-numpy into destroot
 --->  Installing py26-numpy @1.3.0_0
 --->  Activating py26-numpy @1.3.0_0
 --->  Cleaning py26-numpy
 [ram@cizin ~]$
 }}}

 Is everything up to date?

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by mike@…):

 Everything was up to date. I ran "port sync", then "port install -u
 outdated", then tried to install py26-numpy.  I was able to build it
 directly from the work folder, then install using sudo port install -f
 py26-numpy.

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ram@…):

 Replying to [comment:14 mike@…]:
 > I was able to build it directly from the work folder, then install using
 sudo port install -f py26-numpy

 What do you mean by the above? What command did you use in the build
 directory?

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by mike@…):

 Replying to [comment:15 ram@…]:
 > Replying to [comment:14 mike@…]:
 > > I was able to build it directly from the work folder, then install
 using sudo port install -f py26-numpy
 >
 > What do you mean by the above? What command did you use in the build
 directory?

 sudo python setup.py build

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ram@…):

 Which doesn't pass the appropriate options to link against the MacPorts
 atlas, does the no_atlas variant build?

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by firxen@…):

 Replying to [comment:17 ram@…]:
 > Which doesn't pass the appropriate options to link against the MacPorts
 atlas, does the no_atlas variant build?
 The no_atlas variant fails with the same error for me.

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ram@…):

 Have you tried rebuilding python26 as suggested?

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by firxen@…):

 Replying to [comment:20 ram@…]:
 > Have you tried rebuilding python26 as suggested?
 I reinstalled python26 and all py26-* packages I had installed. The only
 non-default variant I'm using (apart from the +no_atlas test) is
 +universal.

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:21>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by ram@…):

 atlas does not build universally so I imagine that is causing a problem,
 can you try building numpy without +universal?

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:22>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by firxen@…):

 It builds (with +universal) if I have python26 installed with -universal.
 I'm not entirely clear on what magic +universal does, but that seems to be
 what's breaking it.

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:23>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22360: py26-numpy won't build

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
 Reporter:  ak@…          |       Owner:  mcalhoun@…          
     Type:  defect        |      Status:  new                  
 Priority:  Normal        |   Milestone:                      
Component:  ports         |     Version:  1.8.1                
 Keywords:                |        Port:  py26-numpy          
--------------------------+-------------------------------------------------

Comment(by firxen@…):

 I should be clearer on what I actually did here.

 I uninstalled python26 and everything depending on it. Then in installed
 python26 with -universal. After that, I reinstalled everything else with
 +universal (which is my default) and everything seems happy. I haven't
 actually used any of it yet, though.

 Just building numpy with -universal, as ram suggested, failed in the same
 way with a +universal python26.

 And now my head hurts. :-(

--
Ticket URL: <http://trac.macports.org/ticket/22360#comment:24>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets
< Prev | 1 - 2 | Next >