[MacPorts] #40737: FLAC build OSX 10.9
#40737: FLAC build OSX 10.9 --------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Keywords: | Port: flac --------------------------------+-------------------------------- FLAC won't build out of the box due to differences in the compiler receive a lot of duplicate symbol errors To fix /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/audio/flac/Portfile {{{ patchfiles patch-nasm.h.diff \ not89.patch \ patch-build_lib.mk.diff \ autoconf-no-xmms.patch }}} /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/audio/flac/files/not89.patch {{{ --- configure.ac.original 2013-05-27 12:08:57.000000000 +0400 +++ configure.ac 2013-10-10 00:42:58.000000000 +0400 @@ -388,7 +388,11 @@ fi if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then - XIPH_ADD_CFLAGS([-fgnu89-inline]) + if $CC --version 2>&1| grep -q clang ; then + true + else + XIPH_ADD_CFLAGS([-fgnu89-inline]) + fi fi fi }}} -- Ticket URL: <https://trac.macports.org/ticket/40737> MacPorts <http://www.macports.org/> Ports system for OS X
#40737: FLAC build OSX 10.9 ---------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: mavericks haspatch Port: flac | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => mavericks haspatch Comment: Could you point me to the upstream bug report about this issue? -- Ticket URL: <https://trac.macports.org/ticket/40737#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40737: FLAC build OSX 10.9 ---------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: mavericks haspatch Port: flac | ---------------------------------+-------------------------------- Comment (by mattbrocklehurst@…): http://sourceforge.net/p/flac/bugs/405/ -- Ticket URL: <https://trac.macports.org/ticket/40737#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40737: FLAC build OSX 10.9 ---------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: mavericks haspatch Port: flac | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: flac builds fine for me on Maverics without any patches. Are you sure you followed the [wiki:Migration migration instructions] and installed Xcode and the command line tools correctly? -- Ticket URL: <https://trac.macports.org/ticket/40737#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40737: FLAC build OSX 10.9 ---------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: mavericks haspatch Port: flac | ---------------------------------+-------------------------------- Comment (by mattbrocklehurst@…): thats weird, i definitely couldn't get it to build without the above patch.... are you using the latest XCode 5 dp? i think im still on Xcode 5 DP 3 maybe they've altered the compiler build in later Xcode DP releases? -- Ticket URL: <https://trac.macports.org/ticket/40737#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40737: FLAC build OSX 10.9 ---------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: mavericks haspatch Port: flac | ---------------------------------+-------------------------------- Comment (by ryandesign@…): No, I'm not a member of the developer program. I'm using the released versions of Mavericks 10.9 and Xcode 5.0.1 as installed from the Mac App Store. -- Ticket URL: <https://trac.macports.org/ticket/40737#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40737: FLAC build OSX 10.9 ---------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: mavericks haspatch Port: flac | ---------------------------------+-------------------------------- Comment (by mattbrocklehurst@…): I hadn't noticed they'd released Mavericks (must of been asleep!)... i'll sort out my dev enviroment to release builds and then will try again and will let you know, cheers! -- Ticket URL: <https://trac.macports.org/ticket/40737#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40737: FLAC build OSX 10.9 ---------------------------------+-------------------------------- Reporter: mattbrocklehurst@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: worksforme | Keywords: mavericks haspatch Port: flac | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme Comment: Assuming that fixed it. Please re-open if not. -- Ticket URL: <https://trac.macports.org/ticket/40737#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts