[MacPorts] #16063: BNBT fails to build
#16063: BNBT fails to build ----------------------------------+----------------------------------------- Reporter: calle.kabo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: bnbt | ----------------------------------+----------------------------------------- I get the following output when typing "sudo port install bnbt" {{{ ---> Fetching bnbt ---> Attempting to fetch bnbt81b-3-sf.zip from http://downloads.sourceforge.net/bnbt ---> Verifying checksum(s) for bnbt ---> Extracting bnbt ---> Configuring bnbt ---> Building bnbt with target bnbt Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bnbt/work/bnbt/src" && make bnbt " returned error 2 Command output: g++ -o atom.o -O2 -flat_namespace -D__APPLE__ -I. -c atom.cpp bnbt.h:145: error: conflicting declaration 'typedef int socklen_t' /usr/include/sys/socket.h:108: error: 'socklen_t' has a previous declaration as 'typedef __darwin_socklen_t socklen_t' make: *** [atom.o] Error 1 Error: Status 1 encountered during processing. }}} :/ -- Ticket URL: <http://trac.macports.org/ticket/16063> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16063: BNBT fails to build -----------------------------------+---------------------------------------- Reporter: calle.kabo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bnbt -----------------------------------+---------------------------------------- Changes (by jmr@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macports.org/ticket/16063#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16063: BNBT fails to build -----------------------------------+---------------------------------------- Reporter: calle.kabo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bnbt -----------------------------------+---------------------------------------- Comment (by calle.kabo@gmail.com): I managed to get the compile to work by changing line 155 from "typedef int socklen_t;" to "typedef __darwin_socklen_t socklen_t;" Install worked :) -- Ticket URL: <http://trac.macports.org/ticket/16063#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16063: BNBT fails to build -----------------------------------+---------------------------------------- Reporter: calle.kabo@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bnbt -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * status: new => assigned Comment: There seems to be no problem installing bnbt on Mac OS X 10.4.11 with Xcode 2.5, but I do see the problem with Mac OS X 10.5.4 and Xcode 3.0. P.S: Remember WikiFormatting. -- Ticket URL: <http://trac.macports.org/ticket/16063#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16063: BNBT fails to build -----------------------------------+---------------------------------------- Reporter: calle.kabo@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: bnbt -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed Comment: Ah, I see. A patch was added to fix this issue on Tiger in r11749 but that broke the build on Panther. So in r11762 the patch was changed to only apply to Tiger. I have now added the patch for Leopard as well in r38565. Thanks for reporting this problem. -- Ticket URL: <http://trac.macports.org/ticket/16063#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts