Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4510 closed defect (wontfix)

CrimsonFields: Won't build

Reported by: ericg01@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

While attempting to build CrimsonFields, I get the following errors:

(The maintainer of the port thought it might have something to do with the changes the libsdl* ports have gone through recently.)

~ $port install CrimsonFields ---> Fetching CrimsonFields ---> Attempting to fetch crimson-0.4.8.tar.bz2 from http://crimson.seul.org/files/ ---> Verifying checksum(s) for CrimsonFields ---> Extracting CrimsonFields ---> Configuring CrimsonFields ---> Building CrimsonFields 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_games_CrimsonFields/work/crimson-0.4.8" && make all" returned error 2 Command output: if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT mapwidget.o -MD -MP -MF ".deps/mapwidget.Tpo" -c -o

mapwidget.o `test -f '../common/mapwidget.cpp'
echo

'./'`../common/mapwidget.cpp; \ then mv -f ".deps/mapwidget.Tpo" ".deps/mapwidget.Po"; else rm -f ".deps/mapwidget.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o `test -f

'../common/misc.cpp'
echo './'`../common/misc.cpp; \

then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT rect.o -MD -MP -MF ".deps/rect.Tpo" -c -o rect.o `test -f

'../common/rect.cpp'
echo './'`../common/rect.cpp; \

then mv -f ".deps/rect.Tpo" ".deps/rect.Po"; else rm -f ".deps/rect.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT slider.o -MD -MP -MF ".deps/slider.Tpo" -c -o slider.o `test

-f '../common/slider.cpp'
echo './'`../common/slider.cpp; \

then mv -f ".deps/slider.Tpo" ".deps/slider.Po"; else rm -f ".deps/slider.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT sound.o -MD -MP -MF ".deps/sound.Tpo" -c -o sound.o `test -f

'../common/sound.cpp'
echo './'`../common/sound.cpp; \

then mv -f ".deps/sound.Tpo" ".deps/sound.Po"; else rm -f ".deps/sound.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT strutil.o -MD -MP -MF ".deps/strutil.Tpo" -c -o strutil.o test -f '../common/strutil.cpp' || echo './'../common/strutil.cpp; \ then mv -f ".deps/strutil.Tpo" ".deps/strutil.Po"; else rm -f ".deps/strutil.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT surface.o -MD -MP -MF ".deps/surface.Tpo" -c -o surface.o test -f '../common/surface.cpp' || echo './'../common/surface.cpp; \ then mv -f ".deps/surface.Tpo" ".deps/surface.Po"; else rm -f ".deps/surface.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT textbox.o -MD -MP -MF ".deps/textbox.Tpo" -c -o textbox.o test -f '../common/textbox.cpp' || echo './'../common/textbox.cpp; \ then mv -f ".deps/textbox.Tpo" ".deps/textbox.Po"; else rm -f ".deps/textbox.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT view.o -MD -MP -MF ".deps/view.Tpo" -c -o view.o `test -f

'../common/view.cpp'
echo './'`../common/view.cpp; \

then mv -f ".deps/view.Tpo" ".deps/view.Po"; else rm -f ".deps/view.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT widget.o -MD -MP -MF ".deps/widget.Tpo" -c -o widget.o `test

-f '../common/widget.cpp'
echo './'`../common/widget.cpp; \

then mv -f ".deps/widget.Tpo" ".deps/widget.Po"; else rm -f ".deps/widget.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"Crimson\ Fields\" -DPACKAGE_TARNAME=\"crimson\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"Crimson\ Fields\ 0.4.8\" -DPACKAGE_BUGREPORT=\"jensgr@…\" -DPACKAGE=\"crimson\" -DVERSION=\"0.4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBZ=1 -DHAVE_DIRENT_H=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DCF_DATADIR=\"/opt/local/share/crimson/\" -I. -I../../src/common -I/opt/local/include/SDL -D_THREAD_SAFE -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o `test

-f '../common/window.cpp'
echo './'`../common/window.cpp; \

then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi g++ -g -O2 -I/opt/local/include/SDL -D_THREAD_SAFE -o crimson ai.o building.o combat.o container.o event.o game.o history.o initwindow.o main.o map.o mapwindow.o mission.o path.o player.o unit.o unitwindow.o SDL_zlib.o button.o extwindow.o fileio.o filewindow.o font.o gamewindow.o hexsup.o lang.o list.o listselect.o lset.o mapview.o mapwidget.o misc.o rect.o slider.o sound.o strutil.o surface.o textbox.o view.o widget.o window.o -lz -L/opt/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -lSDL_ttf -lSDL_mixer ld: warning prebinding disabled because dependent library: /opt/local/lib/libSDL_ttf-2.0.0.dylib is not prebound ld: Undefined symbols: vtable for MoveShader vtable for Path make[2]: * [crimson] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Change History (3)

comment:1 Changed 14 years ago by ben@…

I don't think this is an sdl problem. This works for me on 10.4.2 with the most recent libsdl*. Google suggests this is a problem with gcc-3.3:

http://archives.seul.org/crimson/users/Jul-2005/msg00025.html

comment:2 Changed 14 years ago by mww@…

Resolution: wontfix
Status: newclosed

please dont use gcc_select as darwinports relies on the default compiler to be in place!

comment:3 Changed 14 years ago by mww@…

I've made CrimsonFields use gcc4 explicitely on 10.4 though;

Note: See TracTickets for help on using tickets.