[MacPorts] #24119: py26-pyqwt 5.2.0 not building

MacPorts noreply at macports.org
Thu Mar 18 16:09:52 PDT 2010


#24119: py26-pyqwt 5.2.0 not building
-----------------------------------+----------------------------------------
 Reporter:  andre.david@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.2                                
 Keywords:                         |        Port:  py26-pyqwt                           
-----------------------------------+----------------------------------------
 With more or less pain all the dependencies went fine, but then I get:

 {{{
 --->  Computing dependencies for py26-pyqwt
 DEBUG: Searching for dependency: py26-pyqt4
 DEBUG: Found Dependency: receipt exists for py26-pyqt4
 DEBUG: Searching for dependency: qwt52
 DEBUG: Found Dependency: receipt exists for qwt52
 DEBUG: Searching for dependency: py26-numpy
 DEBUG: Found Dependency: receipt exists for py26-numpy
 DEBUG: Executing org.macports.main (py26-pyqwt)
 DEBUG: Skipping completed org.macports.fetch (py26-pyqwt)
 DEBUG: Skipping completed org.macports.checksum (py26-pyqwt)
 DEBUG: Skipping completed org.macports.extract (py26-pyqwt)
 DEBUG: Skipping completed org.macports.patch (py26-pyqwt)
 DEBUG: Skipping completed org.macports.configure (py26-pyqwt)
 --->  Building py26-pyqwt
 DEBUG: Executing org.macports.build (py26-pyqwt)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyqwt/work/PyQwt-5.2.0/configure"
 && /usr/bin/nice -n 10 /usr/bin/make -j2'
 make: *** No targets specified and no makefile found.  Stop.
 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-pyqwt/work/PyQwt-5.2.0/configure"
 && /usr/bin/nice -n 10 /usr/bin/make -j2 " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyqwt/work/PyQwt-5.2.0/configure"
 && /usr/bin/nice -n 10 /usr/bin/make -j2 " returned error 2
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for py26-pyqwt):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 In fact, in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyqwt/work/PyQwt-5.2.0/configure`
 there is no `Makefile`:
 {{{
 $ ls -la
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyqwt/work/PyQwt-5.2.0/configure
 total 52
 drwxr-xr-x  5 root admin   170 Aug  2  2009 .
 drwxr-xr-x 25 root admin   850 Aug  2  2009 ..
 -rw-r--r--  1 root admin  8657 Aug  1  2009 PyQwt.nsi.in
 -rw-r--r--  1 root admin   653 Jul 14  2009 configqt.bat
 -rwxr-xr-x  1 root admin 36438 Aug  1  2009 configure.py
 }}}

 If I go there and run what's in the `Portfile`, all goes smoothly:

 {{{
 $ sudo python2.6 ./configure.py -I /opt/local/include -I
 /opt/local/include/qwt -I /opt/local/include/python2.6 -L /opt/local/lib
 --disable-numarray --disable-numeric

 [...]

 Setup the PyQwt build.

 Great, run make or nmake to build and install PyQwt.
 }}}

 and there is now a `Makefile`:
 {{{
 $ ls -la
 total 264
 drwxr-xr-x  20 root admin    680 Mar 18 23:51 .
 drwxr-xr-x  25 root admin    850 Aug  2  2009 ..
 -rw-r--r--   1 root admin    196 Mar 18 23:51 Makefile
 -rw-r--r--   1 root admin   8608 Mar 18 23:51 PyQwt.nsi
 -rw-r--r--   1 root admin   8657 Aug  1  2009 PyQwt.nsi.in
 -rw-r--r--   1 root admin    653 Jul 14  2009 configqt.bat
 -rwxr-xr-x   1 root admin  36438 Aug  1  2009 configure.py
 drwxr-xr-x   6 root admin    204 Mar 18 23:51 iqt5qt4
 drwxr-xr-x 128 root admin   4352 Mar 18 23:51 qwt5qt4
 -rw-r--r--   1 root admin    144 Mar 18 23:51 qwt_svg_check.cpp
 drwxr-xr-x   3 root admin    102 Mar 18 23:50 qwt_version_info.app
 -rw-r--r--   1 root admin    575 Mar 18 23:50 qwt_version_info.cpp
 -rw-r--r--   1 root admin  10637 Mar 18 23:50 qwt_version_info.mak
 -rw-r--r--   1 root admin 160528 Mar 18 23:51 qwt_version_info.o
 -rw-r--r--   1 root admin    465 Mar 18 23:50 qwt_version_info.pro
 -rw-r--r--   1 root admin     49 Mar 18 23:51 qwt_version_info.py
 -rw-r--r--   1 root admin    311 Mar 18 23:51 qwt_version_info.pyc
 -rw-r--r--   1 root admin    116 Mar 18 23:50 size_t_check.cpp
 drwxr-xr-x   5 root admin    170 Mar 18 23:51 tmp-iqt5qt4
 drwxr-xr-x 120 root admin   4080 Mar 18 23:51 tmp-qwt5qt4
 }}}

 From here `port build py26-pyqwt` works as well as `destroot` and
 `install`.

-- 
Ticket URL: <http://trac.macports.org/ticket/24119>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list