Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22789 - emerge lmule-1.2.1 failed on compile
Summary: emerge lmule-1.2.1 failed on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-13 16:05 UTC by herve coatanhay
Modified: 2003-06-25 05:48 UTC (History)
1 user (show)

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 herve coatanhay 2003-06-13 16:05:11 UTC
When I try to emerge lmule. I get the following error when compiling (compile is
OK except for the following (./configure: line 7420: --cppflags: command not
found) :

AddFriend.cpp:125: no matching function for call to `CString::Format(const 
   char[3], const wxChar*)'
mfc.h:335: candidates are: void CString::Format(const wxChar*, ...)
AddFriend.cpp:136: cannot convert `const wxChar*' to `const char*' for argument 
   `1' to `int atoi(const char*)'
AddFriend.cpp:136: cannot convert `const wxChar*' to `const char*' for argument 
   `1' to `int atoi(const char*)'
AddFriend.cpp:163: cannot convert `const wxChar*' to `const char*' for argument 
   `1' to `int sscanf(const char*, const char*, ...)'
make[2]: *** [AddFriend.o] Error 1

Reproducible: Always
Steps to Reproduce:
1.emerge lmule
2.
3.

Actual Results:  
emerge failed

Expected Results:  
lmule is installed

emerge info

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo/
http://www.fhh.opensource-mirror.de/gentoo.org/
ftp://ftp.belnet.be/packages/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/
http://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config /opt/quake3/cpma/server.cfg"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm crypt encode gif jpeg libg++ mikmod ncurses nls png spell
truetype gdbm berkdb slang readline arts svga tcltk java guile gpm tcpd pam
imlib oggvorbis gtk motif -3dnow aalib alsa bonobo cdr dga directfb doc esd evo
fbcon gb gd ggi gphoto2 gtk2 gtkhtml innodb ipv6 jikes ldap libgda mozilla mysql
nas perl plotutils sasl socks5 tiff xmf xface xml python xml2 xmms zeo sse mmx
apache2 cups libwww mbox opengl qt qtmt sdl tetex avi quicktime gnome kde mpeg
pdflib slp xv zlib X mozsvg mozxmlterm ssl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -mfpmath=sse -msse -mmmx -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"
Comment 1 Rainer Größlinger (RETIRED) gentoo-dev 2003-06-24 06:55:55 UTC
could you please try the following:

Recompile wxGTK with -gtk2 and compile lmule again, if that doesn't work try to compile lmule with MAKEOPTS="-j1" emerge lmule
(use MAKEOPTS on the second try if the first didn't work because if you don't we don't know if your compile problem was related to
a) wxGTK or
b) MAKEOPTS)

The wxGTK-2.4.0 ebuild was changed some time ago without a new -r so you may still have the "old" wxGTK ebuild merged.
Comment 2 herve coatanhay 2003-06-24 10:19:26 UTC
Recompile wxGTK with -gtk2 and compile lmule again and now it compiles OK.

Didn't need to change MAKEOPTS
Comment 3 Rainer Größlinger (RETIRED) gentoo-dev 2003-06-25 05:48:12 UTC
ok, so we have the culprit ;)