With x11-libs/wxGTK-2.8.7.1-r1 installed, wxconfig (/usr/lib/wx/config/gtk2-unicode-release-2.8) fails horribly: [snip] checking dependency style of i686-pc-linux-gnu-g++... none checking for a BSD-compatible install... /usr/bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for beer in -lfridge... no Warning: No beer found in fridge! We highly suggest that you rectify this situation immediately. checking for OpenGL support... yes checking for OpenAL support... checking for openal-config... /usr/bin/openal-config yes checking for Freealut support... checking for freealut-config... /usr/bin/freealut-config yes checking for OpenAL compilation... yes checking for wx-config... /usr/lib/wx/config/gtk2-unicode-release-2.8 checking for wxWindows version >= 2.4.0... Warning: No config found to match: /usr/lib/wx/config/gtk2-unicode-release-2.8 --static --libs in /usr/lib/wx/config If you require this configuration, please install the desired library build. If this is part of an automated configuration test and no other errors occur, you may safely ignore it. You may use wx-config --list to see all configs available in the default prefix. yes (version 2.8.7) checking for Ogg... yes checking for Vorbis... yes checking for freetype-config... /usr/bin/freetype-config checking for FreeType -- version >= 7.0.1... yes checking for FFTW... yes checking for SDL... checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.5... yes checking for SDL_net lib... yes [snip] Calling /usr/lib/wx/config/gtk2-unicode-release-2.8 --static --libs fails, because wxGTK is not compiled statically. /usr/lib/wx/config/gtk2-unicode-release-2.8 --libs: -pthread -L/usr/X11R6/lib -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_dbgrid-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_odbc-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 Why is scorched3d trying to compile against a static wxGTK? There doesn't even appear to be a way to get the wxGTK ebuild to create a static build, at least with USE flags. wxGTK was compiled with flags: USE="X gnome gstreamer odbc opengl pch sdl -debug -doc" Reproducible: Always Steps to Reproduce: Emerge games-strategy/scorched3d-41.3-r1 against x11-libs/wxGTK-2.8.7.1-r1. Also emerge games-strategy/scorched3d-41.3-r2 available from Bugzilla. Actual Results: After configure script finishes: make[2]: Entering directory `/var/tmp/portage/games-strategy/scorched3d-41.3-r2/work/scorched/src/scorched' i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -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_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -O2 -march=prescott -fomit-frame-pointer -pipe -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r2\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o main.o `test -f './main.cpp' || echo './'`./main.cpp i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -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_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -O2 -march=prescott -fomit-frame-pointer -pipe -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r2\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ScorchedParams.o `test -f './ScorchedParams.cpp' || echo './'`./ScorchedParams.cpp i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -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_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -O2 -march=prescott -fomit-frame-pointer -pipe -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r2\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModDirs.o `test -f '../engine/ModDirs.cpp' || echo './'`../engine/ModDirs.cpp ../engine/ModDirs.cpp: In member function 'bool ModDirs::loadModDir(const char*, bool)': ../engine/ModDirs.cpp:48: warning: deprecated conversion from string constant to 'char*' i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -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_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -O2 -march=prescott -fomit-frame-pointer -pipe -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r2\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModFileEntry.o `test -f '../engine/ModFileEntry.cpp' || echo './'`../engine/ModFileEntry.cpp i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -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_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -O2 -march=prescott -fomit-frame-pointer -pipe -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r2\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModFiles.o `test -f '../engine/ModFiles.cpp' || echo './'`../engine/ModFiles.cpp In file included from /usr/include/sql.h:19, from /usr/include/wx-2.8/wx/db.h:82, from /usr/include/wx-2.8/wx/variant.h:30, from /usr/include/wx-2.8/wx/colour.h:48, from /usr/include/wx-2.8/wx/window.h:25, from /usr/include/wx-2.8/wx/wx.h:36, from ./main.cpp:27: /usr/include/sqltypes.h:97: error: conflicting declaration 'typedef long unsigned int DWORD' ../porting/windows.h:14: error: 'DWORD' has a previous declaration as 'typedef unsigned int DWORD' ../engine/ModFiles.cpp: In member function 'bool ModFiles::loadModFiles(const char*, bool, ProgressCounter*)': ../engine/ModFiles.cpp:89: warning: deprecated conversion from string constant to 'char*' ../engine/ModFiles.cpp:103: warning: deprecated conversion from string constant to 'char*' ../engine/ModFiles.cpp:118: warning: deprecated conversion from string constant to 'char*' ../engine/ModFiles.cpp: In member function 'bool ModFiles::loadModDir(const char*, const char*, ProgressCounter*)': ../engine/ModFiles.cpp:173: warning: deprecated conversion from string constant to 'char*' i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -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_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -O2 -march=prescott -fomit-frame-pointer -pipe -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r2\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModInfo.o `test -f '../engine/ModInfo.cpp' || echo './'`../engine/ModInfo.cpp i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -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_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -O2 -march=prescott -fomit-frame-pointer -pipe -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r2\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o OptionsDisplay.o `test -f '../graph/OptionsDisplay.cpp' || echo './'`../graph/OptionsDisplay.cpp make[2]: *** [main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/games-strategy/scorched3d-41.3-r2/work/scorched/src/scorched' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-strategy/scorched3d-41.3-r2/work/scorched/src' make: *** [all-recursive] Error 1 Expected Results: Working scorched3d compile. Applying the HWND patch available in Bugzilla changes the output error, but the wxconfig failure appears fatal to the build process.
What's the error if you apply the patch from bug 213872?
I applied the patch before posting the output.
That error has been fixed in portage. Same version. Please try and report back if it does not work Thanks