[MacPorts] #37141: Handbrake build fails
#37141: Handbrake build fails --------------------------+-------------------------------- Reporter: wahspilihp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: Handbrake --------------------------+-------------------------------- This does not appear to be a duplicate of #36298. I am building with the python 2.7 variant. {{{ :info:build ** BUILD FAILED ** :info:build :info:build :info:build The following build commands failed: :info:build ExternalBuildToolExecution external :info:build (1 failure) :info:build make: *** [macosx.build] Error 65 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build" && /usr/bin/make -j4 -w :info:build Exit code: 2 :error:build org.macports.build for port HandBrake returned: command execution failed :debug:build Error code: CHILDSTATUS 54066 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" }}} -- Ticket URL: <https://trac.macports.org/ticket/37141> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37141: Handbrake build fails ---------------------------+-------------------------------- Reporter: wahspilihp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | ---------------------------+-------------------------------- Changes (by macsforever2000@…): * port: Handbrake => HandBrake -- Ticket URL: <https://trac.macports.org/ticket/37141#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37141: HandBrake: error: expected specifier-qualifier-list before ‘Point’ / ‘Rect’ ---------------------------+-------------------------------- Reporter: wahspilihp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | ---------------------------+-------------------------------- Comment (by ryandesign@…): The first error I see in the log is: {{{ :info:build Making all in examples :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/llvm- gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../src -I./../src -fpascal-strings -I/Developer/Headers/FlatCarbon -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -I/opt/local/include -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -std=gnu99 -W -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer-arith -pipe -c sndfile-resample.c :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/llvm- gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../src -I./../src -fpascal-strings -I/Developer/Headers/FlatCarbon -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -I/opt/local/include -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -std=gnu99 -W -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer-arith -pipe -c varispeed-play.c :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/llvm- gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../src -I./../src -fpascal-strings -I/Developer/Headers/FlatCarbon -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -I/opt/local/include -arch x86_64 -mmacosx-version-min=10.8 -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 :info:build autoreconf: running: glibtoolize --copy --force :info:build autoreconf: running: glibtoolize --copy --force :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:31, :info:build from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, :info:build from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18, :info:build from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20, :info:build from audio_out.c:172: :info:build /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:240: error: expected specifier-qualifier-list before ‘Point’ :info:build /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:246: error: expected specifier-qualifier-list before ‘Rect’ :info:build /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:261: error: expected specifier-qualifier-list before ‘Point’ :info:build /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:284: error: expected specifier-qualifier-list before ‘Point’ :info:build /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:312: error: expected specifier-qualifier-list before ‘Rect’ :info:build /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:327: error: expected specifier-qualifier-list before ‘Point’ }}} Point and Rect are of course types dating back to the original Macintosh Toolbox, which these days should be defined in /usr/include/MacTypes.h. Can you verify that this file exists and that it contains these definitions? {{{ $ grep 'typedef \(Point\|Rect\)' /usr/include/MacTypes.h typedef Point * PointPtr; typedef Rect * RectPtr; }}} If not, please try reinstalling Xcode command line tools. -- Ticket URL: <https://trac.macports.org/ticket/37141#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37141: HandBrake: error: expected specifier-qualifier-list before ‘Point’ / ‘Rect’ ---------------------------+-------------------------------- Reporter: wahspilihp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | ---------------------------+-------------------------------- Comment (by wahspilihp@…): Replying to [comment:2 ryandesign@…]:
Point and Rect are of course types dating back to the original Macintosh Toolbox, which these days should be defined in /usr/include/MacTypes.h. Can you verify that this file exists and that it contains these definitions?
Yes, it does exist, with those typedefs, and is world-readable. -- Ticket URL: <https://trac.macports.org/ticket/37141#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts