[MacPorts] #37977: py24-mssql build fails on OS X 10.6.8

MacPorts noreply at macports.org
Fri Feb 8 05:59:42 PST 2013


#37977: py24-mssql build fails on OS X 10.6.8
-------------------------------+--------------------------------
 Reporter:  bruce.allen@…      |      Owner:  macports-tickets@…
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.1.3
 Keywords:  py24-mssql,LPBYTE  |       Port:  py24-mssql
-------------------------------+--------------------------------
 {{{
 $ tail -30
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mssql/py24-mssql/main.log
 :info:build running build
 :info:build running build_py
 :info:build creating build
 :info:build creating build/lib.macosx-10.6-i386-2.4
 :info:build copying pymssql.py -> build/lib.macosx-10.6-i386-2.4
 :info:build running build_ext
 :info:build building '_mssql' extension
 :info:build creating build/temp.macosx-10.6-i386-2.4
 :info:build /usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -DNDEBUG -g
 -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/sw/include
 -I/opt/local/include -I/opt/local/include/freetds
 -I/opt/local/include/python2.4 -c mssqldbmodule.c -o
 build/temp.macosx-10.6-i386-2.4/mssqldbmodule.o
 :info:build mssqldbmodule.c:88: error: redefinition of typedef ‘LPBYTE’
 :info:build /opt/local/include/freetds/sqlfront.h:36: error: previous
 declaration of ‘LPBYTE’ was here
 :info:build error: command '/usr/bin/gcc-4.2' failed with exit status 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mssql/py24-mssql/work/pymssql-1.0.2" &&
 /opt/local/bin/python2.4 setup.py build
 :info:build Exit code: 1
 :error:build org.macports.build for port py24-mssql returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 23093 1
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for py24-mssql:
 org.macports.install org.macports.build org.macports.destroot
 :notice:build Please see the log file for port py24-mssql for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mssql/py24-mssql/main.log
 }}}

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


More information about the macports-tickets mailing list