[MacPorts] #42570: squid3 build error (was: There is a problem in install squid3)
MacPorts
noreply at macports.org
Thu Feb 20 10:02:54 PST 2014
#42570: squid3 build error
------------------------------+-------------------
Reporter: dmitrybarynov@… | Owner: jmr@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: squid3 |
------------------------------+-------------------
Changes (by macsforever2000@…):
* keywords: error =>
* owner: macports-tickets@… => jmr@…
Comment:
In the future, please Cc the port maintainers ({{{port info --maintainers
squid3}}}).
Error appears to be:
{{{
:info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H
-DDEFAULT_STATEDIR=\"/opt/local/var/squid/run/squid\" -I../..
-I../../include -I../../lib -I../../src -I../../include
-I/opt/local/include -I/opt/local/include -D_REENTRANT -pipe -Os -arch
x86_64 -MT SharedListen.lo -MD -MP -MF .deps/SharedListen.Tpo -c
SharedListen.cc -o SharedListen.o
:info:build In file included from StoreMap.cc:6:
:info:build In file included from ../../src/ipc/StoreMap.h:4:
:info:build In file included from ../../src/ipc/ReadWriteLock.h:4:
:info:build ../../src/ipc/AtomicWord.h:45:53: error: cannot initialize a
parameter of type 'volatile char *' with an rvalue of type 'Value *' (aka
'int *')
:info:build Value get() const { return
__sync_fetch_and_add(const_cast<Value*>(&value), 0); }
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ../../src/ipc/AtomicWord.h:46:38: note: in instantiation of
member function 'Ipc::Atomic::WordT<int>::get' requested here
:info:build operator Value () const { return get(); }
:info:build ^
:info:build StoreMap.cc:217:12: note: in instantiation of member function
'Ipc::Atomic::WordT<int>::operator int' requested here
:info:build return shared->count;
:info:build ^
:info:build 1 error generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/42570#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list