[MacPorts] #34787: HandBrake @0.9.5 Error: Processing of port handbrake failed
#34787: HandBrake @0.9.5 Error: Processing of port handbrake failed -----------------------------+---------------------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: HandBrake @0.9.5 -----------------------------+---------------------------------------------- I am getting an error when trying build HandBrake on OS X Lion 10.7.4, XCode 4.3.2. Error is below and main.log is attached. {{{ ---> Extracting HandBrake ---> Configuring HandBrake ---> Building HandBrake Error: org.macports.build for port HandBrake returned: command execution failed Please see the log file for port HandBrake for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HandBrake/HandBrake/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port handbrake failed }}} -- Ticket URL: <https://trac.macports.org/ticket/34787> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34787: HandBrake @0.9.5: error: Carbon.h: No such file or directory -----------------------------+---------------------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: HandBrake -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * port: HandBrake @0.9.5 => HandBrake Comment: The log says: {{{ audio_out.c:172:20: error: Carbon.h: No such file or directory }}} So I guess this uses Carbon, which is an old API, but which should still be available in Lion. Are you sure your Xcode is installed properly, including separately installing the command line tools from within the Xcode app? Also, it looks like HandBrake 0.9.6 was released in February, so it might be worthwhile for someone to try to update the port to that version. -- Ticket URL: <https://trac.macports.org/ticket/34787#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34787: HandBrake @0.9.5: error: Carbon.h: No such file or directory -----------------------------+---------------------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: HandBrake -----------------------------+---------------------------------------------- Comment(by ross@…): Ah, now that you pointed out the error, I was able to see that the compiler is looking in the wrong place for FlatCarbon: {{{ :info:build /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I. -I../src -I./.. /src -fpascal-strings -I/Developer/Headers/FlatCarbon -arch x86_64 -I/opt/local /include -arch x86_64 -std=gnu99 -W -Wstrict-prototypes -Wmissing- prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer- arith -pipe -c audio_out.c }}} But `/Developer/Headers/FlatCarbon` does not exist; the correct path to the `Developer` dir is: {{{ # xcode-select -print-path /Applications/Xcode.app/Contents/Developer }}} I tried adjusting `configure.cflags-append` in the Portfile but that did not work. However, the following hack ''did'' work: `sudo ln -s /Applications/Xcode.app/Contents/Developer /Developer` -- Ticket URL: <https://trac.macports.org/ticket/34787#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34787: HandBrake @0.9.5: error: Carbon.h: No such file or directory -----------------------------+---------------------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: HandBrake -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * cc: ag@… (added) Comment: Has duplicate #35602. -- Ticket URL: <https://trac.macports.org/ticket/34787#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34787: HandBrake @0.9.5: error: Carbon.h: No such file or directory -----------------------------+---------------------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: HandBrake -----------------------------+---------------------------------------------- Comment(by ag@…): Tried to do the same and create the mentioned link, but didn't work. Suppose because I have ML installed. The link may work under Lion. In ML the path to the headers is: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/Headers and the path to Carbon.h is: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/Headers/FlatCarbon/Carbon.h My error was maybe a duplicate regarding the error message, but the solution may differ between Lion and Mountain Lion installation. I don't have Lion installation anymore to reflect that. -- Ticket URL: <https://trac.macports.org/ticket/34787#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34787: HandBrake @0.9.5: error: Carbon.h: No such file or directory ------------------------+-------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: HandBrake | ------------------------+-------------------------------- Comment (by h_atac@…): Cc me! -- Ticket URL: <https://trac.macports.org/ticket/34787#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34787: HandBrake @0.9.5: error: Carbon.h: No such file or directory ------------------------+-------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: HandBrake | ------------------------+-------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r98037 -- Ticket URL: <https://trac.macports.org/ticket/34787#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts