[MacPorts] #37102: squid3 +ipfw_transparent on 10.6.8/ MP2.1.2/ XCode 4.2
#37102: squid3 +ipfw_transparent on 10.6.8/ MP2.1.2/ XCode 4.2 --------------------------+-------------------------------- Reporter: thomasbjoh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: --------------------------+-------------------------------- Hi, everytime i try to install squid3 i got this error: {{{ bomini:~ bomas$ sudo port install squid3 +ipfw_transparent ---> Computing dependencies for squid3 ---> Fetching archive for squid3 ---> Attempting to fetch squid3-3.2.3_0+ipfw_transparent+openssl.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/squid3 ---> Attempting to fetch squid3-3.2.3_0+ipfw_transparent+openssl.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/squid3 ---> Attempting to fetch squid3-3.2.3_0+ipfw_transparent+openssl.darwin_10.x86_64.tbz2 from http://packages.macports.org/squid3 ---> Fetching distfiles for squid3 ---> Verifying checksum(s) for squid3 ---> Extracting squid3 ---> Applying patches to squid3 ---> Configuring squid3 ---> Building squid3 Error: org.macports.build for port squid3 returned: command execution failed Please see the log file for port squid3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_squid3/squid3/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port squid3 failed }}} so i looked up the main.log and found this error: {{{ :info:archivefetch ---> squid3-3.2.3_0+ipfw_transparent+openssl.darwin_10.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch squid3-3.2.3_0+ipfw_transparent+openssl.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/squid3 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :msg:archivefetch ---> Attempting to fetch squid3-3.2.3_0+ipfw_transparent+openssl.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/squid3 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :msg:archivefetch ---> Attempting to fetch squid3-3.2.3_0+ipfw_transparent+openssl.darwin_10.x86_64.tbz2 from http://packages.macports.org/squid3 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 }}} so /opt/local/var/macports/incoming/verified is empty, but in /opt/local/var/macports/distfiles/squid3 is a file called "squid-3.2.3.tar.bz2" can anybody help? thank you, regard Thomas -- Ticket URL: <https://trac.macports.org/ticket/37102> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8/ MP2.1.2/ XCode 4.2 ---------------------------+-------------------------------- Reporter: thomasbjoh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by thomasbjoh@…): i was uninstalling squid to install squid3 {{{ $ sudo port uninstall squid $ sudo port clean squid $ sudo port install squid3 +ipfw_transparent }}} -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: squid3 | ---------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jmr@… * port: => squid3 Comment: For whatever reason, there are no pre-built binary packages for squid3 on our packages server (hence the 404 errors when trying to download them). Therefore MacPorts downloads and uses the source distfile and tries to build it on your system. This is normal. Looking further in the log, we see this error while trying to build: {{{ :info:build In file included from nis_support.cc:18: :info:build /usr/include/rpcsvc/yp_prot.h:94:22: error: redeclaration of C++ built-in type 'bool' :info:build typedef unsigned int bool; :info:build ^ :info:build /usr/bin/../lib/clang/3.0/include/stdbool.h:37:15: note: instantiated from: :info:build #define bool bool :info:build ^ :info:build 1 error generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: squid3 | ---------------------------+------------------- Comment (by ryandesign@…): A similar problem appears to have been identified and fixed for FreeBSD: http://www.squid-cache.org/mail-archive/squid-dev/201108/0152.html -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: squid3 | ---------------------------+------------------- Comment (by thomasbjoh@…): Replying to [comment:3 ryandesign@…]:
A similar problem appears to have been identified and fixed for FreeBSD:
http://www.squid-cache.org/mail-archive/squid-dev/201108/0152.html
The first lines of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_squid3/squid3/work/squid-3.2.3/helpers/basic_auth/NIS/nis_support.cc are already: {{{ /* * Written By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x */ #include "squid.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <syslog.h> #include <sys/types.h> #include <rpc/rpc.h> #if _SQUID_FREEBSD_ && !defined(BOOL_DEFINED) // BUG: FreeBSD rpcsvc/yp_* headers try to redefine bool unless we match their non-standard hack. #define BOOL_DEFINED #endif #include <rpcsvc/ypclnt.h> #include <rpcsvc/yp_prot.h> #include "nis_support.h" }}} maybe it's stupid, but i don't have to add the + in front of this lines, do I? -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: squid3 | ---------------------------+------------------- Comment (by jmr@…): Yes, the patch was applied shortly after that mail message. Checking if it's building on FreeBSD doesn't have any affect for us on Darwin. -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: squid3 | ---------------------------+------------------- Comment (by jmr@…): Can't reproduce with Xcode 3.2.6. I don't have 4.2 for Snow Leopard. -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+-------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: squid3 | ---------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Shouldn't hurt to add the define for darwin 10. r99979 -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+-------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: squid3 | ---------------------------+-------------------- Comment (by thomasbjoh@…): Replying to [comment:7 jmr@…]:
Shouldn't hurt to add the define for darwin 10. r99979
So this is nothing I can do, right? I tried it once more, but i got the same error... I will try it with Xcode 3.2.6 again... 4gb to download :/ -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+-------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: squid3 | ---------------------------+-------------------- Comment (by jmr@…): Did you selfupdate first? -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+-------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: squid3 | ---------------------------+-------------------- Comment (by thomasbjoh@…): after selfupdate and update outdated now I get another error... I will upload the new main.log... the first google and ticket searches end up without helping results... should I open a new ticket again? it's frustrating... {{{ :info:build ../../src/ipc/AtomicWord.h:47:53: error: cannot initialize a parameter of type 'volatile char *' with an rvalue of type 'Value *' (aka 'int *') }}} -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' ---------------------------+-------------------- Reporter: thomasbjoh@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: squid3 | ---------------------------+-------------------- Comment (by thomasbjoh@…): it's done. I removed MacPorts like it is described in the guide.[[BR]] I removed xcode ( http://pushkararora.com/how-to/how-to-uninstall-xcode- completely/ ) [[BR]] I installed xcode 3.2.6 (restarted the machine like suggest)[[BR]] I installed MacPorts[[BR]] I installed squid3 +ipfw_transparent[[BR]] NOW it worked. thank you for your help! -- Ticket URL: <https://trac.macports.org/ticket/37102#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts