Ticket #32440 (closed defect: fixed)
port install upx @3.07_0 failure with clang
| Reported by: | qingyun.oracle@… | Owned by: | cedric.luthi@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | clang | Cc: | |
| Port: | upx |
Description (last modified by ryandesign@…) (diff)
---> Computing dependencies for upx ---> Fetching archive for upx ---> Attempting to fetch upx-3.07_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/upx ---> Fetching upx ---> Verifying checksum(s) for upx ---> Extracting upx ---> Configuring upx ---> Building upx Error: Target org.macports.build returned: shell command failed (see log for details) Log for upx is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_upx/upx/main.log Error: Status 1 encountered during processing.
Attachments
Change History
comment:1 Changed 18 months ago by ryandesign@…
- Keywords clang added; upx removed
- Owner changed from macports-tickets@… to cedric.luthi@…
- Description modified (diff)
- Cc cedric.luthi@… removed
- Summary changed from port install upx @3.07_0 failure to port install upx @3.07_0 failure with clang
The error in the log is:
error: '__acc_cta_t' declared as an array with a negative size
And I see you're using clang. Have you tried using a different compiler? See ProblemHotlist.
comment:2 Changed 18 months ago by qingyun.oracle@…
I am using a 17 inch macbook pro, Software Mac OS X Lion 10.7.2 (11C74).
I just tried
sudo port install upx configure.compiler=llvm-gcc-4.2 sudo port install upx configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
Both of them failed. Is there any other way to compile it? Thanks.
comment:3 follow-up: ↓ 4 Changed 18 months ago by ryandesign@…
And you used "sudo port clean upx" before each of those attempts?
comment:4 in reply to: ↑ 3 Changed 18 months ago by qingyun.oracle@…
Replying to ryandesign@…:
And you used "sudo port clean upx" before each of those attempts?
"sudo port clean upx" and then "sudo port install upx configure.compiler=llvm-gcc-4.2" fixes my problem. Thanks. Please close this ticket.
Note: See
TracTickets for help on using
tickets.


syslog file for port install ups failure