[MacPorts] #42955: x264 @20140124_1 Build failure vs Xcode v5.1 (5B130a)
#42955: x264 @20140124_1 Build failure vs Xcode v5.1 (5B130a) -------------------------------------+-------------------------------- Reporter: scdeimos+macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: mavericks | Port: x264 -------------------------------------+-------------------------------- x264 @20140124_1 OS X v10.9.2 Xcode v5.1 (5B130a) Apple LLVM version 5.1 (clang-503.0.38) Install x264 fails with the following error in config.log: -- clang: error: unknown argument: '-falign-loops=16' [-Wunused-command-line- argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future -- It appears that the x264/Portfile:post-path method is not correctly detecting clang, so it is failing to remove the "-falgin-loops=16" configure option. The following workaround is not currently usable (downloading llvm-3.3-3.3_1.darwin_13.x86_64.tbz2 times out): -- sudo port clean x264 sudo port install apple-gcc42 sudo port install x264 configure.compiler=apple-gcc-4.2 -- The following hack allows install to complete: -- mkdir ~/ports/multimedia/x264 cd ~/ports/multimedia/x264 cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/x264/Portfile . echo "#Fix error:" >> Portfile echo "#clang: error: unknown argument: '-falign-loops=16' [-Wunused- command-line-argument-hard-error-in-future]" >> Portfile echo "#clang: note: this will be a hard error (cannot be downgraded to a warning) in the future" >> Portfile echo "configure.cflags-append -Qunused-arguments" >> Portfile echo "configure.cppflags-append -Qunused-arguments" >> Portfile cd ~/ports portindex sudo port install x264 -- HTH, Anthony. -- Ticket URL: <https://trac.macports.org/ticket/42955> MacPorts <http://www.macports.org/> Ports system for OS X
#42955: x264 @20140124_1 Build failure vs Xcode v5.1 (5B130a) --------------------------------------+---------------------- Reporter: scdeimos+macports.org@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: xcode51 Port: x264 | --------------------------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * status: new => assigned * keywords: mavericks => xcode51 Old description:
x264 @20140124_1 OS X v10.9.2 Xcode v5.1 (5B130a) Apple LLVM version 5.1 (clang-503.0.38)
Install x264 fails with the following error in config.log: -- clang: error: unknown argument: '-falign-loops=16' [-Wunused-command- line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future --
It appears that the x264/Portfile:post-path method is not correctly detecting clang, so it is failing to remove the "-falgin-loops=16" configure option.
The following workaround is not currently usable (downloading llvm-3.3-3.3_1.darwin_13.x86_64.tbz2 times out): -- sudo port clean x264 sudo port install apple-gcc42 sudo port install x264 configure.compiler=apple-gcc-4.2 --
The following hack allows install to complete: -- mkdir ~/ports/multimedia/x264 cd ~/ports/multimedia/x264 cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/x264/Portfile . echo "#Fix error:" >> Portfile echo "#clang: error: unknown argument: '-falign-loops=16' [-Wunused- command-line-argument-hard-error-in-future]" >> Portfile echo "#clang: note: this will be a hard error (cannot be downgraded to a warning) in the future" >> Portfile echo "configure.cflags-append -Qunused-arguments" >> Portfile echo "configure.cppflags-append -Qunused-arguments" >> Portfile cd ~/ports portindex sudo port install x264 --
HTH, Anthony.
New description: x264 @20140124_1 OS X v10.9.2 Xcode v5.1 (5B130a) Apple LLVM version 5.1 (clang-503.0.38) Install x264 fails with the following error in config.log: {{{ clang: error: unknown argument: '-falign-loops=16' [-Wunused-command-line- argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future }}} It appears that the x264/Portfile:post-path method is not correctly detecting clang, so it is failing to remove the "-falgin-loops=16" configure option. The following workaround is not currently usable (downloading llvm-3.3-3.3_1.darwin_13.x86_64.tbz2 times out): {{{ sudo port clean x264 sudo port install apple-gcc42 sudo port install x264 configure.compiler=apple-gcc-4.2 }}} The following hack allows install to complete: {{{ mkdir ~/ports/multimedia/x264 cd ~/ports/multimedia/x264 cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/x264/Portfile . echo "#Fix error:" >> Portfile echo "#clang: error: unknown argument: '-falign-loops=16' [-Wunused- command-line-argument-hard-error-in-future]" >> Portfile echo "#clang: note: this will be a hard error (cannot be downgraded to a warning) in the future" >> Portfile echo "configure.cflags-append -Qunused-arguments" >> Portfile echo "configure.cppflags-append -Qunused-arguments" >> Portfile cd ~/ports portindex sudo port install x264 }}} HTH, Anthony. -- Comment: Will take a look. In the future, please make sure to Cc: the maintainer of the port and to use WikiFormatting to improve the readability of plain text such as terminal output and quotations from logs. -- Ticket URL: <https://trac.macports.org/ticket/42955#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42955: x264 @20140124_1 Build failure vs Xcode v5.1 (5B130a) --------------------------------------+---------------------- Reporter: scdeimos+macports.org@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: xcode51 Port: x264 | --------------------------------------+---------------------- Comment (by scdeimos+macports.org@…): Replying to [comment:1 devans@…]:
Will take a look.
In the future, please make sure to Cc: the maintainer of the port and to use WikiFormatting to improve the readability of plain text such as terminal output and quotations from logs.
Thank you. Please forgive the missing Cc, this was my first submission. Note also that the formatting controls (and the direction to "use WikiFormatting") do not appear unless JavaScript is enabled in the browser. -- Ticket URL: <https://trac.macports.org/ticket/42955#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts