[MacPorts] #32440: port install upx @3.07_0 failure
#32440: port install upx @3.07_0 failure --------------------------------------+------------------------------------- Reporter: qingyun.oracle@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: upx | Port: upx --------------------------------------+------------------------------------- ---> Computing dependencies for upx[[BR]] ---> Fetching archive for upx[[BR]] ---> Attempting to fetch upx-3.07_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/upx ---> Fetching upx[[BR]] ---> Verifying checksum(s) for upx[[BR]] ---> Extracting upx[[BR]] ---> Configuring upx[[BR]] ---> Building upx[[BR]] Error: Target org.macports.build returned: shell command failed (see log for details)[[BR]] 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[[BR]] Error: Status 1 encountered during processing.[[BR]] -- Ticket URL: <https://trac.macports.org/ticket/32440> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32440: port install upx @3.07_0 failure with clang --------------------------------------+------------------------------------- Reporter: qingyun.oracle@… | Owner: cedric.luthi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: upx --------------------------------------+------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => cedric.luthi@… * cc: cedric.luthi@… (removed) * keywords: upx => clang Old description:
---> Computing dependencies for upx[[BR]] ---> Fetching archive for upx[[BR]] ---> Attempting to fetch upx-3.07_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/upx ---> Fetching upx[[BR]] ---> Verifying checksum(s) for upx[[BR]] ---> Extracting upx[[BR]] ---> Configuring upx[[BR]] ---> Building upx[[BR]] Error: Target org.macports.build returned: shell command failed (see log for details)[[BR]] 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[[BR]] Error: Status 1 encountered during processing.[[BR]]
New description: {{{ ---> 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. }}} -- Comment: 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 [wiki:ProblemHotlist#compiler]. -- Ticket URL: <https://trac.macports.org/ticket/32440#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32440: port install upx @3.07_0 failure with clang --------------------------------------+------------------------------------- Reporter: qingyun.oracle@… | Owner: cedric.luthi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: upx --------------------------------------+------------------------------------- Comment(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. }}} -- Ticket URL: <https://trac.macports.org/ticket/32440#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32440: port install upx @3.07_0 failure with clang --------------------------------------+------------------------------------- Reporter: qingyun.oracle@… | Owner: cedric.luthi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: upx --------------------------------------+------------------------------------- Comment(by ryandesign@…): And you used "sudo port clean upx" before each of those attempts? -- Ticket URL: <https://trac.macports.org/ticket/32440#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32440: port install upx @3.07_0 failure with clang --------------------------------------+------------------------------------- Reporter: qingyun.oracle@… | Owner: cedric.luthi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: upx --------------------------------------+------------------------------------- Comment(by qingyun.oracle@…): Replying to [comment:3 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. }}} -- Ticket URL: <https://trac.macports.org/ticket/32440#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32440: port install upx @3.07_0 failure with clang ---------------------------------------+------------------------------------ Reporter: qingyun.oracle@… | Owner: cedric.luthi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: upx | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Seems OK with 3.08. -- Ticket URL: <https://trac.macports.org/ticket/32440#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts