Opened 13 years ago

Closed 13 years ago

#31647 closed defect (fixed)

Squid3 build fail on Lion 10.7.2 with Xcode 4.2

Reported by: steven.zimmerman@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: squid3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

In the build phase, the following error was generated. Attached are the logs. I had this installed on 10.7.1 with Xcode 4.1 before, but reloaded to document all steps with updated release of OS.

<system>$ sudo port clean squid3
--->  Cleaning squid3
<system>$ sudo port install squid3
--->  Computing dependencies for squid3
--->  Fetching archive for squid3
--->  Attempting to fetch squid3-3.1.16_0+openssl.darwin_11.x86_64.tbz2 from http://packages.macports.org/squid3
--->  Fetching squid3
--->  Verifying checksum(s) for squid3
--->  Extracting squid3
--->  Applying patches to squid3
--->  Configuring squid3
--->  Building squid3
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for squid3 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_squid3/squid3/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (161.8 KB) - added by steven.zimmerman@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by steven.zimmerman@…

Attachment: main.log added

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to jmr@…
Port: squid3 added; Squid3 removed

The relevant error in the log seems to be:

class 'AuthUserHashPointer' was previously declared as a struct [-Werror,-Wmismatched-tags]

Presumably we will want to remove -Werror.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Disabled use of -Werror in r85991. Upstream bug opened: http://bugs.squid-cache.org/show_bug.cgi?id=3388

Note: See TracTickets for help on using tickets.