Opened 12 years ago

Closed 10 years ago

#37977 closed defect (fixed)

py24-mssql @1.0.2: build fails on OS X 10.6.8

Reported by: ballen4705 Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: py-mssql

Description

$ 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

Change History (9)

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Keywords: py24-mssql LPBYTE removed
Owner: changed from macports-tickets@… to ruseel@…
Port: py-mssql added; py24-mssql removed
Summary: py24-mssql build fails on OS X 10.6.8py24-mssql @1.0.2: build fails on OS X 10.6.8

Thanks for the ticket. In the future, please try to Cc relevant port maintainers.

comment:2 Changed 12 years ago by ballen4705

Apologies, I'm not very familiar with the macports project. Is there anything I should do not, or just wait for questions/comments/solutions from the maintainers?

comment:3 in reply to:  2 Changed 12 years ago by larryv (Lawrence Velázquez)

You could send a message to the macports-dev mailing list; someone there might be able to give you a hand.

comment:4 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:5 Changed 10 years ago by petrrr

The port is abandoned #45338 and unmaintained r126927.

comment:6 Changed 10 years ago by petrrr

Owner: changed from ruseel@… to macports-tickets@…

comment:7 Changed 10 years ago by petrrr

The port was updated in r126965 to 2.1.0. The new version now used cython and has changes significantly. I therefore would expect that the update solve this ticket.

comment:8 Changed 10 years ago by petrrr

Cc: petr@… removed
Owner: changed from macports-tickets@… to petr@…
Status: newassigned

comment:9 Changed 10 years ago by petrrr

Resolution: fixed
Status: assignedclosed

Build 30612 seems to confirm the above assumption. Closing!

Note: See TracTickets for help on using tickets.