Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57332 - Unable to compile netpanzer
Summary: Unable to compile netpanzer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 15:09 UTC by imbacil
Modified: 2004-07-26 07:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imbacil 2004-07-16 15:09:47 UTC
I'm not able to compile games-strategy/netpanzer-0.1.5. The compilation of it results in the following:

...failed updating 8 target(s)...
...skipped 1 target(s)...
...updated 290 target(s)...
 
!!! ERROR: games-strategy/netpanzer-0.1.5 failed.
!!! Function src_compile, Line 37, Exitcode 1
!!! jam failed

Compiled a lot of games today, including vegastrike, wesnoth, project-starfighter and simutrans. The only one that didn't compile is netpanzer.

There are like a million wx* errors and warnings. Too many to list here.
Here's some:

...failed C++ ./out/i686-pc-linux-gnu/opt/src/Editor/TemplateCreator.o ...
C++ ./out/i686-pc-linux-gnu/opt/src/Editor/TileSetView.o
src/Editor/TileSetView.cpp: In member function `virtual bool
   TileSetView::DropTarget::OnDropFiles(int, int, const wxArrayString&)':
src/Editor/TileSetView.cpp:274: error: conversion from `const char[31]' to `
   const wxString' is ambiguous
/usr/include/wx/string.h:306: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error:                 wxString::wxString(int)
   <near match>
src/Editor/TileSetView.cpp:274: error: conversion from `const char[6]' to `
   const wxString' is ambiguous
/usr/include/wx/string.h:306: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error:                 wxString::wxString(int)
   <near match>
src/Editor/TileSetView.cpp:282: error: cannot convert `
   (+filenames)->wxArrayString::operator[](i)' from type `wxString' to type `
   const char*'
src/Editor/TileSetView.cpp:286: error: conversion from `const char*' to `const
   wxString' is ambiguous
/usr/include/wx/string.h:306: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error:                 wxString::wxString(int)
   <near match>
src/Editor/TileSetView.cpp:286: error: conversion from `const char[6]' to `
   const wxString' is ambiguous
/usr/include/wx/string.h:306: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error:                 wxString::wxString(int)
   <near match>


x11-libs/wxGTK
Latest version installed: 2.4.2-r1

dev-python/wxpython
Latest version installed: 2.4.2.4

Linux kernel 2.6.7
gcc 3.3.3
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-16 19:25:13 UTC
Reopen with the output from emerge --info please.
Comment 2 imbacil 2004-07-17 07:02:17 UTC
# emerge --info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.du.se/pub/os/gentoo http://ftp.ntua.gr/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi berkdb bonobo bzlib cdr crypt curl divx4linux dvd encode faac faad ffmpeg flac freetype gd gdbm glade gnome gpm gstreamer gtk gtk2 idea imagemagick imap ipv6 jpeg libg++ libwww live mad maildir mbox md5sum mikmod mmx mozsvg mpeg mpeg4 ncurses nls oggvorbis opengl operanom2 pam png postgres quicktime readline ruby sdl slang spell sse ssl tcltk tcpd theora tiff truetype unicode v4l2 vanilla x86 xml2 xmms xv xvid yv12 zlib"
 
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-07-22 19:34:54 UTC
remerge wxGTK and try it again please.  I think there's been some changes related to the unicode USE flag.  If that doesn't work, try merging wxGTK with USE="-unicode" and see if that makes a difference.
Comment 4 Matze Braun 2004-07-25 04:28:29 UTC
Hmm as the netpanzereditor isn't really working at the moment anyway, you could hack the ebuild to pass a --with-wx-config=none, so that the netpanzereditor isn't built anymore and wxWindows isn't needed/used...
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-07-25 21:10:30 UTC
Heck, if Matze says it, it must be good. ;-)  I'll fix up the ebuild.
...
netpanzer-0.1.5-r1 should be more fun for you Vidvandre.  Reopen if you
still have a problem.
Comment 6 imbacil 2004-07-26 07:01:56 UTC
Compiling wxGTK without unicode helped.
r1 seems even better. thanks :)