LibSDL build failure on Mac OS 10.5.
It looks as if the macports patch does not apply to the version of libsdl sources which are downloaded: humber:Video williamg$ sudo port install mpeg4ip ---> Fetching automake ---> Attempting to fetch automake-1.10.tar.bz2 from http://ftp.gnu.org/gnu/automake ---> Verifying checksum(s) for automake ---> Extracting automake ---> Configuring automake ---> Building automake with target all ---> Staging automake into destroot ---> Installing automake 1.10_0 ---> Activating automake 1.10_0 ---> Cleaning automake ---> Fetching libsdl ---> Attempting to fetch SDL-1.2.13.tar.gz from http://www.libsdl.org/release/ ---> Verifying checksum(s) for libsdl ---> Extracting libsdl ---> Applying patches to libsdl Error: Target org.macports.patch returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_devel_libsdl/work/SDL-1.2.13" && patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/ devel/libsdl/files/patch-AudioFilePlayer.h'" returned error 1 Command output: patching file src/cdrom/macosx/AudioFilePlayer.h Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file src/cdrom/macosx/ AudioFilePlayer.h.rej Error: The following dependencies failed to build: libsdl Error: Status 1 encountered during processing.
On 11 Jan 2008, at 16:44, William Gallafent wrote:
---> Applying patches to libsdl Error: Target org.macports.patch returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_devel_libsdl/work/SDL-1.2.13" && patch - p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ ports/devel/libsdl/files/patch-AudioFilePlayer.h'" returned error 1 Command output: patching file src/cdrom/macosx/AudioFilePlayer.h Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file src/cdrom/macosx/ AudioFilePlayer.h.rej
Removing the following section from the port file completely appears to fix the problem: platform darwin 9 { patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c } - It looks as if the upstream sources now work OK on Mac OS 10.5, so there's no need for macports to apply these patches any more.
On Jan 11, 2008, at 10:52, William Gallafent wrote:
On 11 Jan 2008, at 16:44, William Gallafent wrote:
---> Applying patches to libsdl Error: Target org.macports.patch returned: shell command " cd "/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_deve l_libsdl/work/SDL-1.2.13" && patch -p0 < '/opt/local/var/macports/ sources/rsync.macports.org/release/ports/devel/libsdl/files/patch- AudioFilePlayer.h'" returned error 1 Command output: patching file src/cdrom/macosx/AudioFilePlayer.h Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file src/cdrom/macosx/ AudioFilePlayer.h.rej
Removing the following section from the port file completely appears to fix the problem:
platform darwin 9 { patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c }
- It looks as if the upstream sources now work OK on Mac OS 10.5, so there's no need for macports to apply these patches any more.
Please file a ticket in our issue tracker then, and assign it to the maintainer of the libsdl port.
Ryan Schmidt wrote:
On Jan 11, 2008, at 10:52, William Gallafent wrote:
On 11 Jan 2008, at 16:44, William Gallafent wrote:
---> Applying patches to libsdl Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_deve l_libsdl/work/SDL-1.2.13" && patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/ devel/libsdl/files/patch-AudioFilePlayer.h'" returned error 1 Command output: patching file src/cdrom/macosx/AudioFilePlayer.h Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file src/cdrom/macosx/AudioFilePlayer.h.rej
Removing the following section from the port file completely appears to fix the problem:
platform darwin 9 { patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c }
- It looks as if the upstream sources now work OK on Mac OS 10.5, so there's no need for macports to apply these patches any more.
Please file a ticket in our issue tracker then, and assign it to the maintainer of the libsdl port.
This issue was already fixed as http://trac.macports.org/projects/macports/ticket/13882 --anders
participants (3)
-
Anders F Björklund
-
Ryan Schmidt
-
William Gallafent