Opened 12 years ago

Closed 12 years ago

#32440 closed defect (fixed)

port install upx @3.07_0 failure with clang

Reported by: qingyun.oracle@… Owned by: 0xced (Cédric Luthi)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc:
Port: upx

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

--->  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 (1)

main.log (26.2 KB) - added by qingyun.oracle@… 12 years ago.
syslog file for port install ups failure

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by qingyun.oracle@…

Attachment: main.log added

syslog file for port install ups failure

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cedric.luthi@… removed
Description: modified (diff)
Keywords: clang added; upx removed
Owner: changed from macports-tickets@… to cedric.luthi@…
Summary: port install upx @3.07_0 failureport 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 12 years 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 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

And you used "sudo port clean upx" before each of those attempts?

comment:4 in reply to:  3 Changed 12 years 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.

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Seems OK with 3.08.

Note: See TracTickets for help on using tickets.