Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284667 - Amule cannot compile anymore
Summary: Amule cannot compile anymore
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-12 09:59 UTC by Silvio
Modified: 2009-09-14 13:59 UTC (History)
2 users (show)

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


Attachments
bild.log of error in compilation (build.log,37.94 KB, text/plain)
2009-09-12 10:00 UTC, Silvio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2009-09-12 09:59:14 UTC
I recompiled amule (emerge @preserved-rebuild decide to recompile it) and it fails with this error:

CryptoPP::TwoBases<CryptoPP::SimpleKeyedTransformation<CryptoPP::BlockTransformation>, CryptoPP::DES_EDE3_Info>]+0x70): undefined reference to `non-virtual thunk to CryptoPP::SimpleKeyedTransformation<CryptoPP::BlockTransformation>::GetAlgorithm() const'
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 *
 * ERROR: net-p2p/amule-2.2.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2700:  Called _eapi2_src_compile
 *               ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-p2p/amule-2.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/amule-2.2.5/temp/environment'.
 *

>>> Failed to emerge net-p2p/amule-2.2.5, Log file:

>>>  '/var/tmp/portage/net-p2p/amule-2.2.5/temp/build.log'

I will attach soon my build.log

my emerge --info is this:

emerge --info
Portage 2.2_rc40 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo i686)
=================================================================                          
System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 12 Sep 2009 08:00:01 +0000                                                 
ccache version 2.4 [enabled]                                                                       
app-shells/bash:     4.0_p33                                                                       
dev-java/java-config: 2.1.9                                                                        
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1, 3.1.1                                              
dev-util/ccache:     2.4-r8                                                                        
dev-util/cmake:      2.6.4-r2                                                                      
sys-apps/baselayout: 2.0.1                                                                         
sys-apps/openrc:     0.4.3-r3                                                                      
sys-apps/sandbox:    2.1                                                                           
sys-devel/autoconf:  2.13, 2.63-r1                                                                 
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                              
sys-devel/binutils:  2.19.1-r1                                                                     
sys-devel/gcc-config: 1.4.1                                                                        
sys-devel/libtool:   2.2.6a                                                                        
virtual/os-headers:  2.6.30-r1                                                                     
ACCEPT_KEYWORDS="x86 ~x86"                                                                         
CBUILD="i686-pc-linux-gnu"                                                                         
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                              
CHOST="i686-pc-linux-gnu"                                                                          
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc"                                                                                                                                                  
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                     
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                                                              
DISTDIR="/usr/portage/distfiles"                                                                                                                     
FEATURES="assume-digests buildpkg ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                                                                  
GENTOO_MIRRORS=" http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ rsync://rsync3.it.gentoo.org/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo/"        
LANG="it_IT"                                                                                                                                         
LC_ALL="it_IT"                                                                                                                                       
LDFLAGS="-Wl,-O1"                                                                                                                                    
LINGUAS="it en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voyageur /usr/portage/local/layman/armagetron /usr/portage/local/layman/genstef /usr/portage/local/layman/sunrise /usr/portage/local/layman/trauma /usr/portage/local/layman/zugaina"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds X a52 aac acl acpi aiglx akode alias alsa amr ao apache apm audiofile autoreplace avi bash-completion berkdb bitmap-fonts bluetooth bmp browserplugin bzip bzip2 cairo cdaudio cdr cli connectionstatus contactnotes cracklib crypt cups dialup djvu dri dv dvd dvdr dvdread ebook ethereal exif fam fat ffmpeg firefox flac fluidsynth foomaticdb fortran freetds gdbm gif glib glitz gphoto2 gpm gps groupwise gtk gtk2 hal highlight history hvm i8x0 iconv ieee1394 imagemagick innodb ipod ipv6 irc isdnlog ithreads jack java javascript jingle jpeg jpeg2k kde kde4 kerberos kqemu lame laptop ldap lm_sensors lucene m4a midi mime mmx mmxext mozilla mp3 mp4 mpeg mpeg2 mplayer mssql mudflap mysql ncurses netmeeting nls nowlistening npt1 nptl nptlonly nsplugin ntfs nvidia odbc ogg openexr opengl openipmi openmp oss pam pcmcia pcre pda pdf perl pmu png portaudio postgres ppds pppd prelude python qt qt3support qt4 quicktime rar raw rdesktop readline reflection reiserfs samba sametime sdl semantic-desktop session smp sms speex spell spl sse sse2 ssl subtitles svg sysfs tcpd texteffect texteffects theora tidy tiff timidity translator truetype truetype-fonts twolame type1-fonts unicode usb utempter v4l v4l2 vcd vorbis webkit webpresence wifi win32codecs winpopup wlm wmf wxwindows x86 xcb xine xml xorg xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -Davu world
3. emerge amule

Actual Results:  
no recopile

Expected Results:  
compiling
Comment 1 Silvio 2009-09-12 10:00:27 UTC
Created attachment 203853 [details]
bild.log of error in compilation
Comment 2 Christophe LEFEBVRE 2009-09-12 14:55:27 UTC
The build is successfull for me on x86. What happened if you re-emerge dev-libs/crypto++ before amule ?
Comment 3 Silvio 2009-09-12 15:05:45 UTC
(In reply to comment #2)
> The build is successfull for me on x86. What happened if you re-emerge
> dev-libs/crypto++ before amule ?
> 

crypto++ were not in my world list and it was not updated by emerge -Davu world.

infact as soon as I did
emerge -av crypto
it says
[ebuild     U ] dev-libs/crypto++-5.6.0-r1 [5.5.2-r1] USE="-sse3" 0 kB

and then I do emerge -av amule and it try to downgrade crypto++ again
[ebuild     UD] dev-libs/crypto++-5.5.2-r1 [5.6.0-r1] USE="-sse3" 0 kB
[ebuild   R   ] net-p2p/amule-2.2.5  USE="gtk nls stats unicode -daemon -debug -geoip -remote -upnp" 0 k

I give the ok, I will inform you on progresses
Comment 4 Christophe LEFEBVRE 2009-09-12 15:20:46 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > The build is successfull for me on x86. What happened if you re-emerge
> > dev-libs/crypto++ before amule ?
> > 
> 
> crypto++ were not in my world list and it was not updated by emerge -Davu
> world.
> 
> infact as soon as I did
> emerge -av crypto
> it says
> [ebuild     U ] dev-libs/crypto++-5.6.0-r1 [5.5.2-r1] USE="-sse3" 0 kB
> 
> and then I do emerge -av amule and it try to downgrade crypto++ again
> [ebuild     UD] dev-libs/crypto++-5.5.2-r1 [5.6.0-r1] USE="-sse3" 0 kB
> [ebuild   R   ] net-p2p/amule-2.2.5  USE="gtk nls stats unicode -daemon -debug
> -geoip -remote -upnp" 0 k
> 
> I give the ok, I will inform you on progresses
> 

Ok, it's a good idea because as far as I am concerned, the build of amule was successfull with the version 5.5.2-r1 of crypto++.
Comment 5 Christophe LEFEBVRE 2009-09-12 15:46:14 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > The build is successfull for me on x86. What happened if you re-emerge
> > > dev-libs/crypto++ before amule ?
> > > 
> > 
> > crypto++ were not in my world list and it was not updated by emerge -Davu
> > world.
> > 
> > infact as soon as I did
> > emerge -av crypto
> > it says
> > [ebuild     U ] dev-libs/crypto++-5.6.0-r1 [5.5.2-r1] USE="-sse3" 0 kB
> > 
> > and then I do emerge -av amule and it try to downgrade crypto++ again
> > [ebuild     UD] dev-libs/crypto++-5.5.2-r1 [5.6.0-r1] USE="-sse3" 0 kB
> > [ebuild   R   ] net-p2p/amule-2.2.5  USE="gtk nls stats unicode -daemon -debug
> > -geoip -remote -upnp" 0 k
> > 
> > I give the ok, I will inform you on progresses
> > 
> 
> Ok, it's a good idea because as far as I am concerned, the build of amule was
> successfull with the version 5.5.2-r1 of crypto++.
> 

I think you have this error because you have " ACCEPT_KEYWORDS="x86 ~x86" ", then due to "~x86", you emerge the latest "unstable" ebuilds like "crypto++-5.6", and amule-2.2.5 need "crypto++-5.5*".

Now, it's a good idea to know why amule-2.2.5 can't build with crypto++-5.6... I try to do this emerge to know if I have also the same problem.
Comment 6 Silvio 2009-09-12 16:21:08 UTC
> I think you have this error because you have " ACCEPT_KEYWORDS="x86 ~x86" ",
> then due to "~x86", you emerge the latest "unstable" ebuilds like
> "crypto++-5.6", and amule-2.2.5 need "crypto++-5.5*".

yes, but as you saw, it downgrades crypto before emerging amule, and the error still remain,
> 
> Now, it's a good idea to know why amule-2.2.5 can't build with crypto++-5.6...
> I try to do this emerge to know if I have also the same problem.

Let me know, but problem is still here :-(
 

Comment 7 Silvio 2009-09-12 16:21:39 UTC
> 
> and then I do emerge -av amule and it try to downgrade crypto++ again
> [ebuild     UD] dev-libs/crypto++-5.5.2-r1 [5.6.0-r1] USE="-sse3" 0 kB
> [ebuild   R   ] net-p2p/amule-2.2.5  USE="gtk nls stats unicode -daemon -debug
> -geoip -remote -upnp" 0 k
> 
> I give the ok, I will inform you on progresses
> 

Nothing, same error.
It is possibile that it would work wth the newest crypto++ but they are blocked, as I said before.

nothing to do. Bug still open.
Comment 8 Silvio 2009-09-12 16:22:33 UTC
> > Ok, it's a good idea because as far as I am concerned, the build of amule was
> > successfull with the version 5.5.2-r1 of crypto++.

no compilation with that
Comment 9 Christophe LEFEBVRE 2009-09-12 20:47:02 UTC
It can be also a parallele compilation problem.

1/ How many processors do you have ? 
2/ Can you try the same emerge with MAKEOPTS="-j1"
Comment 10 Christophe LEFEBVRE 2009-09-12 21:46:32 UTC
(In reply to comment #9)
> It can be also a parallele compilation problem.
> 
> 1/ How many processors do you have ? 
> 2/ Can you try the same emerge with MAKEOPTS="-j1"
> 
3/ A change has been applied on amule dependencies on 10 Sep 2009 : cf. bug #276515". Then, try to do also an "emerge --sync" an try the same emerge. Current version of amule is only compatible with "crypto++-5.5.2*".

Comment 11 Silvio 2009-09-12 23:22:42 UTC
> 3/ A change has been applied on amule dependencies on 10 Sep 2009 : cf. bug
> #276515". Then, try to do also an "emerge --sync" an try the same emerge.
> Current version of amule is only compatible with "crypto++-5.5.2*".

Nothing changes, same error here. It doesn't compile.
 

Comment 12 Silvio 2009-09-12 23:23:53 UTC
> 1/ How many processors do you have ? 

2

> 2/ Can you try the same emerge with MAKEOPTS="-j1"

Tried, nothing changes, error compiling also with -j1
Comment 13 allein 2009-09-13 07:56:06 UTC
net-p2p/amule-2.2.5 compiles and works fine for me but with downgrading dev-libs/crypto++-5.5.2-r1.

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================                              
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5800_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 12 Sep 2009 14:45:01 +0000                                                   
ccache version 2.4 [enabled]                                                                         
app-shells/bash:     4.0_p33                                                                         
dev-java/java-config: 2.1.9                                                                          
dev-lang/python:     2.6.2-r1, 3.1.1                                                                 
dev-util/ccache:     2.4-r8                                                                          
dev-util/cmake:      2.6.4-r2                                                                        
sys-apps/baselayout: 2.0.1                                                                           
sys-apps/openrc:     0.4.3-r3                                                                        
sys-apps/sandbox:    2.1                                                                             
sys-devel/autoconf:  2.13, 2.63-r1                                                                   
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                 
sys-devel/binutils:  2.19.1-r1                                                                       
sys-devel/gcc-config: 1.4.1                                                                          
sys-devel/libtool:   2.2.6a                                                                          
virtual/os-headers:  2.6.30-r1                                                                       
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mneisen.org/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/qting-edge"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alsa amd64 avahi berkdb bzip2 cairo cdr chm cli cracklib crypt cups dbus djvu dri dvd dvdr flac fontconfig gdbm gnome gnutls gpm gtk hal iconv ipod ipv6 isdnlog java javascript jpeg kde laptop lm_sensors mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oscar pam pcre pdf perl plasma png podcast pppd python qt3 qt3support qt4 rar readline reflection samba session spl sse sse2 ssl ssse3 svg sysfs syslog tcpd tiff truetype unicode v4l v4l2 vorbis wma xft xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Silvio 2009-09-13 08:28:00 UTC
(In reply to comment #13)
> net-p2p/amule-2.2.5 compiles and works fine for me but with downgrading
> dev-libs/crypto++-5.5.2-r1.
> 

As I said before, I _always_ compiled amule with dev-libs/crypto++-5.5.2-r1 and _never_ with the new version.

It isn't possible to compile with crypto-5.6.0-r1 because as soon as you try to emerge amule it downgrade crypto++ _before_ you can emerge amule.

So I confirm my emerge error with crypto++-5.5.2-r1.

This is not the cause of the error.
Comment 15 Patrick Lauer gentoo-dev 2009-09-13 10:40:53 UTC
Most likely the preserved-rebuild feature of portage interfering.
Remove the libs from ctypto++ it mentions and things should go well

(I had the same "failure" - it's a rare corner case)
Comment 16 Silvio 2009-09-13 13:44:57 UTC
(In reply to comment #15)
> Most likely the preserved-rebuild feature of portage interfering.
> Remove the libs from ctypto++ it mentions and things should go well
> 
> (I had the same "failure" - it's a rare corner case)
> 

Sorry, I don't understand what you mean with "remove the libs from crypto++ it mentions". 

Comment 17 xenon 2009-09-14 13:59:56 UTC
I think I can confirm what Patrick wrote in comment #15: I had found myself in a situation where I couldn't run amule (segfault) nor I could re-emerge it, even when the correct version of crypto++ was installed. Then I unmerged both of them, emerged amule 2.2.5 (which of course pulled in crypto++ 5.5.2-r1), it completed successfully and amule now works.