Opened 20 years ago

Closed 18 years ago

#1933 closed defect (invalid)

BUG: libsdl doesn't build on pure darwin

Reported by: yves@… Owned by: ben@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: snu@…
Port:

Description

And it looks very hard to explain to the Makefiles that Darwin is not MacOSX ...

Attachments (2)

configure-sdl.log (10.9 KB) - added by yves@… 19 years ago.
port -v configure
build-sdl.log (3.6 KB) - added by yves@… 19 years ago.
port -v build

Download all attachments as: .zip

Change History (18)

comment:1 Changed 19 years ago by snu@…

Owner: changed from darwinports-bugs@… to rshaw@…
Summary: libsdl does not build on puredarwinBUG: libsdl

Since I changed the Summary, I thought i'd add a comment to say that the problem is that libsdl does not build on Darwin.

comment:2 Changed 19 years ago by rshaw@…

Status: newassigned

Can you be more detailed? I need some sort of build output showing the errors? Have you built libsdl recently? I just updated it and it should build fine on both Darwin and MacOSX. -rshaw

comment:3 Changed 19 years ago by rshaw@…

Cc: snu@… added

Please explain Finlay. Thanks!

comment:4 Changed 19 years ago by snu@…

I don't have much insight to provide, I just forwarded this bug on to you because you're the maintainer for libsdl. Yves was complaining that it doesn't build on Darwin, I'm assuming this is because SDL is assuming that Darwin == OS X, and since it's Darwin it's trying to build the OS X bits (which depend on Cocoa, OpenGL, etc).

comment:5 Changed 19 years ago by yves@…

Yeah, sorry for the sloppy report, it was done rather quickly and does date over 6 months but the problem was that I was not able to have a pure darwin build as it kept searching for OSX stuff.

comment:6 Changed 19 years ago by rshaw@…

Can you attach a "port -d build" output using the latest libsdl port? Thanks, -Robert

comment:7 Changed 19 years ago by yves@…

I will, but that may go in a few weeks

Changed 19 years ago by yves@…

Attachment: configure-sdl.log added

port -v configure

Changed 19 years ago by yves@…

Attachment: build-sdl.log added

port -v build

comment:8 Changed 19 years ago by rshaw@…

Thanks, I'll take a look at this. -rshaw

comment:9 Changed 19 years ago by rshaw@…

Owner: changed from rshaw@… to darwinports-bugs@…
Status: assignednew

No longer maintaining these ports.

comment:10 Changed 19 years ago by pguyot (Paul Guyot)

Summary: BUG: libsdlBUG: libsdl doesn't build on pure darwin

comment:11 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to ben@…

Assigning to new libsdl maintainer.

comment:12 Changed 18 years ago by gerry.kirk.subscriptions@…

I got this error, on OSX 10.4.3 with latest version of DarwinPorts downloaded yesterday (dmg version):

Gerry-Kirks-Computer:~ gerry$ sudo port install py-wxpython ---> Building libsdl with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8" && make all" returned error 2 Command output: Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/events/.libs/libevents.a rm -fr .libs/libSDL.lax/libjoystick.a mkdir .libs/libSDL.lax/libjoystick.a Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/joystick/.libs/libjoystick.a rm -fr .libs/libSDL.lax/libcdrom.a mkdir .libs/libSDL.lax/libcdrom.a Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/cdrom/.libs/libcdrom.a rm -fr .libs/libSDL.lax/libthread.a mkdir .libs/libSDL.lax/libthread.a Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/thread/.libs/libthread.a rm -fr .libs/libSDL.lax/libtimer.a mkdir .libs/libSDL.lax/libtimer.a Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/timer/.libs/libtimer.a rm -fr .libs/libSDL.lax/libendian.a mkdir .libs/libSDL.lax/libendian.a Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/endian/.libs/libendian.a rm -fr .libs/libSDL.lax/libfile.a mkdir .libs/libSDL.lax/libfile.a Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/file/.libs/libfile.a rm -fr .libs/libSDL.lax/libcpuinfo.a mkdir .libs/libSDL.lax/libcpuinfo.a Extracting /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_libsdl/work/SDL-1.2.8/src/cpuinfo/.libs/libcpuinfo.a gcc -dynamiclib -o .libs/libSDL-1.2.0.7.1.dylib .libs/SDL.o .libs/SDL_error.o .libs/SDL_fatal.o .libs/SDL_getenv.o .libs/SDL_loadso.o .libs/libSDL.lax/libarch.a/arch.o .libs/libSDL.lax/libaudio.a/SDL_audio.o .libs/libSDL.lax/libaudio.a/SDL_audiocvt.o .libs/libSDL.lax/libaudio.a/SDL_audiodev.o .libs/libSDL.lax/libaudio.a/SDL_audiomem.o .libs/libSDL.lax/libaudio.a/SDL_coreaudio.o .libs/libSDL.lax/libaudio.a/SDL_diskaudio.o .libs/libSDL.lax/libaudio.a/SDL_mixer.o .libs/libSDL.lax/libaudio.a/SDL_mixer_m68k.o .libs/libSDL.lax/libaudio.a/SDL_mixer_MMX.o .libs/libSDL.lax/libaudio.a/SDL_mixer_MMX_VC.o .libs/libSDL.lax/libaudio.a/SDL_romaudio.o .libs/libSDL.lax/libaudio.a/SDL_wave.o .libs/libSDL.lax/libvideo.a/SDL_blit.o .libs/libSDL.lax/libvideo.a/SDL_blit_0.o .libs/libSDL.lax/libvideo.a/SDL_blit_1.o .libs/libSDL.lax/libvideo.a/SDL_blit_A.o .libs/libSDL.lax/libvideo.a/SDL_blit_N.o .libs/libSDL.lax/libvideo.a/SDL_bmp.o .libs/libSDL.lax/libvideo.a/SDL_cursor.o .libs/libSDL.lax/libvideo.a/SDL_gamma.o .libs/libSDL.lax/libvideo.a/SDL_nullevents.o .libs/libSDL.lax/libvideo.a/SDL_nullmouse.o .libs/libSDL.lax/libvideo.a/SDL_nullvideo.o .libs/libSDL.lax/libvideo.a/SDL_pixels.o .libs/libSDL.lax/libvideo.a/SDL_QuartzEvents.o .libs/libSDL.lax/libvideo.a/SDL_QuartzGL.o .libs/libSDL.lax/libvideo.a/SDL_QuartzVideo.o .libs/libSDL.lax/libvideo.a/SDL_QuartzWindow.o .libs/libSDL.lax/libvideo.a/SDL_QuartzWM.o .libs/libSDL.lax/libvideo.a/SDL_QuartzYUV.o .libs/libSDL.lax/libvideo.a/SDL_RLEaccel.o .libs/libSDL.lax/libvideo.a/SDL_stretch.o .libs/libSDL.lax/libvideo.a/SDL_surface.o .libs/libSDL.lax/libvideo.a/SDL_video.o .libs/libSDL.lax/libvideo.a/SDL_yuv.o .libs/libSDL.lax/libvideo.a/SDL_yuv_mmx.o .libs/libSDL.lax/libvideo.a/SDL_yuv_sw.o .libs/libSDL.lax/libevents.a/SDL_active.o .libs/libSDL.lax/libevents.a/SDL_events.o .libs/libSDL.lax/libevents.a/SDL_expose.o .libs/libSDL.lax/libevents.a/SDL_keyboard.o .libs/libSDL.lax/libevents.a/SDL_mouse.o .libs/libSDL.lax/libevents.a/SDL_quit.o .libs/libSDL.lax/libevents.a/SDL_resize.o .libs/libSDL.lax/libjoystick.a/SDL_joystick.o .libs/libSDL.lax/libjoystick.a/SDL_sysjoystick.o .libs/libSDL.lax/libcdrom.a/AudioFilePlayer.o .libs/libSDL.lax/libcdrom.a/AudioFileReaderThread.o .libs/libSDL.lax/libcdrom.a/CAGuard.o .libs/libSDL.lax/libcdrom.a/CDPlayer.o .libs/libSDL.lax/libcdrom.a/SDL_cdrom.o .libs/libSDL.lax/libcdrom.a/SDL_syscdrom.o .libs/libSDL.lax/libthread.a/SDL_syscond.o .libs/libSDL.lax/libthread.a/SDL_sysmutex.o .libs/libSDL.lax/libthread.a/SDL_syssem.o .libs/libSDL.lax/libthread.a/SDL_systhread.o .libs/libSDL.lax/libthread.a/SDL_thread.o .libs/libSDL.lax/libtimer.a/SDL_systimer.o .libs/libSDL.lax/libtimer.a/SDL_timer.o .libs/libSDL.lax/libendian.a/SDL_endian.o .libs/libSDL.lax/libfile.a/SDL_rwops.o .libs/libSDL.lax/libcpuinfo.a/SDL_cpuinfo.o -framework OpenGL -framework AGL -framework AudioToolbox -framework AudioUnit -framework IOKit -lstdc++ -framework Cocoa -framework Carbon -framework QuickTime -install_name /opt/local/lib/libSDL-1.2.0.dylib -Wl,-compatibility_version -Wl,8 -Wl,-current_version -Wl,8.1 ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: Unwind_Resume /usr/bin/libtool: internal link edit command failed make[2]: * [libSDL.la] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Error: The following dependencies failed to build: wxWidgets libsdl libsdl_mixer libogg libvorbis smpeg tiff

comment:13 Changed 18 years ago by gerry.kirk.subscriptions@…

i just updated DarwinPorts, and that fixed the prob.

comment:14 Changed 18 years ago by ben@…

I altered the ports from 'darwin' -> 'macosx'. Now it's a feature, not a bug :-) Please can someone close this?

comment:15 Changed 18 years ago by yves@…

I would like to but I filed it with my old @gnu-darwin.org account, so I don't have perms anymore

comment:16 Changed 18 years ago by yves@…

Resolution: invalid
Status: newclosed

me old @gnu-darwin.org account still works !

Note: See TracTickets for help on using tickets.