[MacPorts] #3845: BUG: cannot build boxbackup
MacPorts
noreply at macports.org
Thu Mar 24 09:54:21 PDT 2016
#3845: BUG: cannot build boxbackup
-------------------------+--------------------------------
Reporter: miyasita@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: boxbackup |
-------------------------+--------------------------------
Changes (by ryandesign@…):
* port: => boxbackup
Old description:
> I cannot build boxbackup-0.09 in dports/sysutil/boxbackup.
>
> When I got some error messages, I re-fetched dports tree and updated it
> but I could not avoid errors.
> The messages I got are follows:
>
> % port build boxbackup
> ---> Fetching boxbackup
> ---> Verifying checksum(s) for boxbackup
> ---> Extracting boxbackup
> ---> Applying patches to boxbackup
> ---> Configuring boxbackup
> ---> Building boxbackup with target all
> Error: Target com.apple.build returned: shell command "cd
> "/opt/local/var/db/dports/build/
> file._Users_miyasita_Sources_DarwinPorts_darwinports_dports_sysutils_boxbackup/work/
> boxbackup-0.09" && make all" returned error 2
> Command output: g++ -DNDEBUG -O2 -Wall -I../../lib/common
> -DPLATFORM_DARWIN -
> DBOX_VERSION="\"0.09\"" -I/opt/local/include -c CipherBlowfish.cpp -o
> ../../release/lib/crypto/
> CipherBlowfish.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c CipherContext.cpp -o
> ../../release/lib/crypto/CipherContext.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c CipherDescription.cpp -o
> ../../release/lib/crypto/CipherDescription.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c MD5Digest.cpp -o
> ../../release/lib/crypto/MD5Digest.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c Random.cpp -o ../../release/lib/crypto/Random.o
> Random.cpp: In function `std::string Random::GenerateHex(int)':
> Random.cpp:111: warning: comparison between signed and unsigned integer
> expressions
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c RollingChecksum.cpp -o
> ../../release/lib/crypto/RollingChecksum.o
> (echo -n > ../../release/lib/crypto/crypto.a; rm
> ../../release/lib/crypto/crypto.a)
> ar -q ../../release/lib/crypto/crypto.a
> ../../release/lib/crypto/autogen_CipherException.o ../../release/
> lib/crypto/CipherAES.o ../../release/lib/crypto/CipherBlowfish.o
> ../../release/lib/crypto/
> CipherContext.o ../../release/lib/crypto/CipherDescription.o
> ../../release/lib/crypto/MD5Digest.o ../../
> release/lib/crypto/Random.o ../../release/lib/crypto/RollingChecksum.o
> ar: creating archive ../../release/lib/crypto/crypto.a
> ranlib ../../release/lib/crypto/crypto.a
> (cd ../../lib/server; bsdmake -D RELEASE -D NODEPS)
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c autogen_ConnectionException.cpp -o
> ../../release/lib/server/
> autogen_ConnectionException.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c autogen_ServerException.cpp -o
> ../../release/lib/server/
> autogen_ServerException.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c Daemon.cpp -o ../../release/lib/server/Daemon.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
> -DBOX_VERSION="\"0.09\"" -I/
> opt/local/include -c LocalProcessStream.cpp -o
> ../../release/lib/server/LocalProcessStream.o
> /usr/include/sys/socket.h:99: error: conflicting declaration 'typedef
> __darwin_socklen_t socklen_t'
> ../../lib/common/BoxPlatform.h:120: error: 'socklen_t' has a previous
> declaration as 'typedef int
> socklen_t'
> /usr/include/sys/socket.h:99: error: declaration of 'typedef
> __darwin_socklen_t socklen_t'
> ../../lib/common/BoxPlatform.h:120: error: conflicts with previous
> declaration 'typedef int socklen_t'
> /usr/include/sys/socket.h:99: error: declaration of 'typedef
> __darwin_socklen_t socklen_t'
> ../../lib/common/BoxPlatform.h:120: error: conflicts with previous
> declaration 'typedef int socklen_t'
> *** Error code 1
>
> Stop in /opt/local/var/db/dports/build/
> file._Users_miyasita_Sources_DarwinPorts_darwinports_dports_sysutils_boxbackup/work/
> boxbackup-0.09/lib/server.
> *** Error code 1
>
> Stop.
> make: *** [parcels/boxbackup-0.09-backup-client-Darwin.tgz] Error 1
New description:
I cannot build boxbackup-0.09 in dports/sysutil/boxbackup.
When I got some error messages, I re-fetched dports tree and updated it
but I could not avoid errors.
The messages I got are follows:
{{{
% port build boxbackup
---> Fetching boxbackup
---> Verifying checksum(s) for boxbackup
---> Extracting boxbackup
---> Applying patches to boxbackup
---> Configuring boxbackup
---> Building boxbackup with target all
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/file._Users_miyasita_Sources_DarwinPorts_darwinports_dports_sysutils_boxbackup/work/boxbackup-0.09"
&& make all" returned error 2
Command output: g++ -DNDEBUG -O2 -Wall -I../../lib/common
-DPLATFORM_DARWIN -DBOX_VERSION="\"0.09\"" -I/opt/local/include -c
CipherBlowfish.cpp -o ../../release/lib/crypto/CipherBlowfish.o
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c CipherContext.cpp -o
../../release/lib/crypto/CipherContext.o
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c CipherDescription.cpp -o
../../release/lib/crypto/CipherDescription.o
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c MD5Digest.cpp -o
../../release/lib/crypto/MD5Digest.o
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c Random.cpp -o
../../release/lib/crypto/Random.o
Random.cpp: In function `std::string Random::GenerateHex(int)':
Random.cpp:111: warning: comparison between signed and unsigned integer
expressions
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c RollingChecksum.cpp -o
../../release/lib/crypto/RollingChecksum.o
(echo -n > ../../release/lib/crypto/crypto.a; rm
../../release/lib/crypto/crypto.a)
ar -q ../../release/lib/crypto/crypto.a
../../release/lib/crypto/autogen_CipherException.o
../../release/lib/crypto/CipherAES.o
../../release/lib/crypto/CipherBlowfish.o
../../release/lib/crypto/CipherContext.o
../../release/lib/crypto/CipherDescription.o
../../release/lib/crypto/MD5Digest.o ../../release/lib/crypto/Random.o
../../release/lib/crypto/RollingChecksum.o
ar: creating archive ../../release/lib/crypto/crypto.a
ranlib ../../release/lib/crypto/crypto.a
(cd ../../lib/server; bsdmake -D RELEASE -D NODEPS)
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c
autogen_ConnectionException.cpp -o ../../release/lib/server/
autogen_ConnectionException.o
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c
autogen_ServerException.cpp -o ../../release/lib/server/
autogen_ServerException.o
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c Daemon.cpp -o
../../release/lib/server/Daemon.o
g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_DARWIN
-DBOX_VERSION="\"0.09\"" -I/opt/local/include -c LocalProcessStream.cpp
-o ../../release/lib/server/LocalProcessStream.o
/usr/include/sys/socket.h:99: error: conflicting declaration 'typedef
__darwin_socklen_t socklen_t'
../../lib/common/BoxPlatform.h:120: error: 'socklen_t' has a previous
declaration as 'typedef int socklen_t'
/usr/include/sys/socket.h:99: error: declaration of 'typedef
__darwin_socklen_t socklen_t'
../../lib/common/BoxPlatform.h:120: error: conflicts with previous
declaration 'typedef int socklen_t'
/usr/include/sys/socket.h:99: error: declaration of 'typedef
__darwin_socklen_t socklen_t'
../../lib/common/BoxPlatform.h:120: error: conflicts with previous
declaration 'typedef int socklen_t'
*** Error code 1
Stop in
/opt/local/var/db/dports/build/file._Users_miyasita_Sources_DarwinPorts_darwinports_dports_sysutils_boxbackup/work/boxbackup-0.09/lib/server.
*** Error code 1
Stop.
make: *** [parcels/boxbackup-0.09-backup-client-Darwin.tgz] Error 1
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/3845#comment:14>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list