[MacPorts] #23653: py26-sqlite: wrong test.dir on Intel

MacPorts noreply at macports.org
Wed Feb 10 13:16:53 PST 2010


#23653: py26-sqlite: wrong test.dir on Intel
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  snc@…           
     Type:  defect                   |      Status:  new             
 Priority:  Normal                   |   Milestone:                  
Component:  ports                    |     Version:  1.8.2           
 Keywords:                           |        Port:  py26-sqlite     
-------------------------------------+--------------------------------------
 I just simplified the way py26-sqlite defines its test.dir in r63629 but
 I've now discovered it's not actually correct on Intel (at least not on my
 Mac on Snow Leopard). The port builds the directory name using ${os.arch}
 (which is "i386" on Intel) but py26-sqlite builds the directory name
 containing "intel".

 {{{
 --->  Building py26-sqlite
 DEBUG: Executing org.macports.build (py26-sqlite)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py26-sqlite/work/pysqlite-2.5.6"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build'
 running build
 running build_py
 creating build
 creating build/lib.macosx-10.6-intel-2.6
 creating build/lib.macosx-10.6-intel-2.6/pysqlite2
 }}}

 {{{
 --->  Testing py26-sqlite
 DEBUG: Executing org.macports.test (py26-sqlite)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py26-sqlite/work/pysqlite-2.5.6/build/lib.macosx-10.6-i386-2.6"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 -c 'from pysqlite2.test import test; test()' test'
 sh: line 0: cd:
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py26-sqlite/work/pysqlite-2.5.6/build/lib.macosx-10.6-i386-2.6:
 No such file or directory
 }}}

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


More information about the macports-tickets mailing list