[MacPorts] #25949: activewire build failure
#25949: activewire build failure ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: activewire ------------------------------+--------------------------------------------- {{{ libaw: CompileC build/libaw.build/Release/libaw.build/Objects- normal/x86_64/aw_sock.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c normal x86_64 c com.apple.compilers.gcc.4_2 CompileC build/libaw.build/Release/libaw.build/Objects- normal/x86_64/libCdsaCrypt.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/libCdsaCrypt/libCdsaCrypt.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2 (2 failures) }}} -- Ticket URL: <http://trac.macports.org/ticket/25949> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25949: activewire: 'u_int32_t' undeclared (first use in this function) ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: activewire ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Actually the relevant error is {{{ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c: In function 'constructServerSocket': :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: 'u_int32_t' undeclared (first use in this function) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: (Each undeclared identifier is reported only once :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: for each function it appears in.) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: expected ')' before numeric constant :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: expected ')' before numeric constant :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: expected ')' before numeric constant :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: expected ')' before numeric constant :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: expected ')' before numeric constant :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_activewire/work/aw_4.0/Source/libaw/../Shared/aw_sock.c:56: error: expected ')' before numeric constant }}} -- Ticket URL: <http://trac.macports.org/ticket/25949#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25949: activewire: 'u_int32_t' undeclared (first use in this function) ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: activewire ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: Replying to [comment:1 ryandesign@…]:
error: 'u_int32_t' undeclared (first use in this function)
This error appears to occur only when using the 10.5 SDK (which the port always does) or when building on 10.5. The remaining errors are of this type: {{{ error: invalid conversion from 'void* (*)(uint32, void*)' to 'void* (*)(CSSM_SIZE, void*)' }}} This appears to be because this software is using an outdated version of Apple's libCdsaCrypt sample code, and usage of uint32 in this code needs to be replaced with the 64-bit-safe CSSM_SIZE type, [http://lists.apple.com/archives/Xcode-users/2008/May/msg00542.html as discussed on Xcode-users] and as seen in [http://www.opensource.apple.com/source/DirectoryService/DirectoryService-621... a later version of this code provided by Apple]. -- Ticket URL: <https://trac.macports.org/ticket/25949#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25949: activewire: 'u_int32_t' undeclared (first use in this function) ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: activewire ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Fixed the problems on 10.6 in r72148. Still need to fix the problems on 10.5, possibly with [https://issues.asterisk.org/file_download.php?file_id=17556&type=bug a patch like this one]. -- Ticket URL: <https://trac.macports.org/ticket/25949#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25949: activewire: 'u_int32_t' undeclared (first use in this function) -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: Port: activewire | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Fixed the problems on 10.5 in r72150. -- Ticket URL: <https://trac.macports.org/ticket/25949#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts