[MacPorts] #50254: Error: org.macports.build for port harfbuzz-icu returned: command execution failed
#50254: Error: org.macports.build for port harfbuzz-icu returned: command execution failed --------------------------+-------------------------------- Reporter: fortran_cc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: --------------------------+-------------------------------- ---> Computing dependencies for harfbuzz-icu ---> Building harfbuzz-icu Error: org.macports.build for port harfbuzz-icu returned: command execution failed Please see the log file for port harfbuzz-icu for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz /harfbuzz-icu/main.log Error: Problem while installing harfbuzz-icu -- Ticket URL: <https://trac.macports.org/ticket/50254> MacPorts <https://www.macports.org/> Ports system for OS X
#50254: harfbuzz-icu @1.1.2: error: unrecognized command line option "-std=c++0x" ---------------------------+-------------------------- Reporter: fortran_cc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: harfbuzz-icu | ---------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * port: => harfbuzz-icu Old description:
---> Computing dependencies for harfbuzz-icu ---> Building harfbuzz-icu Error: org.macports.build for port harfbuzz-icu returned: command execution failed Please see the log file for port harfbuzz-icu for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz /harfbuzz-icu/main.log Error: Problem while installing harfbuzz-icu
New description: {{{ ---> Computing dependencies for harfbuzz-icu ---> Building harfbuzz-icu Error: org.macports.build for port harfbuzz-icu returned: command execution failed Please see the log file for port harfbuzz-icu for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz /harfbuzz-icu/main.log Error: Problem while installing harfbuzz-icu }} -- Comment: I see that you're on Lion, that MacPorts has chosen to use the llvm-g++ compiler, and that it does not understand the "`-std=c++0x`" flag. I am not surprised llvm-g++ doesn't understand that flag, but I am surprised MacPorts chose to use llvm-g++. What version of Xcode is installed (find out by getting info on Xcode.app), and what version of clang? (find out by running "`clang -v`") -- Ticket URL: <https://trac.macports.org/ticket/50254#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50254: harfbuzz-icu @1.1.2: error: unrecognized command line option "-std=c++0x" ---------------------------+-------------------------- Reporter: fortran_cc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: harfbuzz-icu | ---------------------------+-------------------------- Description changed by ryandesign@…: Old description:
{{{ ---> Computing dependencies for harfbuzz-icu ---> Building harfbuzz-icu Error: org.macports.build for port harfbuzz-icu returned: command execution failed Please see the log file for port harfbuzz-icu for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz /harfbuzz-icu/main.log Error: Problem while installing harfbuzz-icu }}
New description: {{{ ---> Computing dependencies for harfbuzz-icu ---> Building harfbuzz-icu Error: org.macports.build for port harfbuzz-icu returned: command execution failed Please see the log file for port harfbuzz-icu for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz /harfbuzz-icu/main.log Error: Problem while installing harfbuzz-icu }}} -- -- Ticket URL: <https://trac.macports.org/ticket/50254#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50254: harfbuzz-icu @1.1.2: error: unrecognized command line option "-std=c++0x" ---------------------------+-------------------------- Reporter: fortran_cc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: harfbuzz-icu | ---------------------------+-------------------------- Comment (by ykzhou@…): Replying to [comment:2 ryandesign@…]: here are the xcode info: Version: 4.2.1 (4D502) Location: /Developer Applications: Xcode: 4.2.1 (834) Instruments: 4.2 (4233) Dashcode: 3.0.2 (336) SDKs: Mac OS X: 10.6: (10K549) 10.7: (11C63) %clang -v Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix ---------------------------------------- The xcode I have is based on gcc-4.2. I do have a newer version gcc49 installed using 'sudo port install gcc49'. Even after adding /opt/local/bin to the beginning of my $PATH, the configure still could not find (or use?) the newer compiler. -- Ticket URL: <https://trac.macports.org/ticket/50254#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50254: harfbuzz-icu @1.1.2: error: unrecognized command line option "-std=c++0x" ---------------------------+-------------------------- Reporter: fortran_cc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: harfbuzz-icu | ---------------------------+-------------------------- Changes (by ryandesign@…): * cc: ykzhou@… (added) Comment: ykzhou: It is intentional that MacPorts does not use a compiler you have installed or selected. Can you upgrade to a newer version of Xcode? The latest that is compatible with OS X 10.7 is 4.6.3. -- Ticket URL: <https://trac.macports.org/ticket/50254#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50254: harfbuzz-icu @1.1.2: error: unrecognized command line option "-std=c++0x" ---------------------------+-------------------------- Reporter: fortran_cc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: harfbuzz-icu | ---------------------------+-------------------------- Comment (by fortran_cc@…): thank you. installing xcode 4.6.3 solved the compiler problem. now my macport is back to normal. -- Ticket URL: <https://trac.macports.org/ticket/50254#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50254: harfbuzz-icu @1.1.2: error: unrecognized command line option "-std=c++0x" ---------------------------+-------------------------- Reporter: fortran_cc@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: duplicate | Keywords: lion Port: harfbuzz-icu | ---------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * keywords: => lion * resolution: => duplicate Comment: Duplicate of #46287. -- Ticket URL: <https://trac.macports.org/ticket/50254#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts