[MacPorts] #42570: There is a problem in install squid3
#42570: There is a problem in install squid3 -----------------------------+-------------------------------- Reporter: dmitrybarynov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: error | Port: squid3 -----------------------------+-------------------------------- Hi. In building process squid3 on os x snow leopard, I have a mistake. [http://puu.sh/73cNw.log main log] -- Ticket URL: <https://trac.macports.org/ticket/42570> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 | ------------------------------+------------------- Comment (by jmr@…): What version of Xcode are you using? -- Ticket URL: <https://trac.macports.org/ticket/42570#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ------------------------------+------------------- Comment (by dmitrybarynov@…): Xcode: version 4.2 build 4C199 -- Ticket URL: <https://trac.macports.org/ticket/42570#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ------------------------------+------------------- Comment (by jmr@…): And what version does `clang++ -v` say? -- Ticket URL: <https://trac.macports.org/ticket/42570#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ------------------------------+------------------- Comment (by dmitrybarynov@…): OK "Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)" -- Ticket URL: <https://trac.macports.org/ticket/42570#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42570: squid3 build error ------------------------------+-------------------- Reporter: dmitrybarynov@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: squid3 | ------------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: OK, so I guess the problem is http://llvm.org/bugs/show_bug.cgi?id=9041 r117290 -- Ticket URL: <https://trac.macports.org/ticket/42570#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts