Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fail to emerge mldonkey-3.1.0, thanks for your help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bluephoenix
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2008
Posts: 75

PostPosted: Mon May 20, 2013 4:41 am    Post subject: fail to emerge mldonkey-3.1.0, thanks for your help Reply with quote

I just update my "USE" parameter as the follows:

USE="-ipv6 -gnome -kde -minimal -qt4 -apache - apache2 nginx symlink dbus jpeg alsa lock session sqlite thunar udev X startup-notification lock extras fastcgi cgi cli ming xml ftp curl pdo mysql ctype gd hash python pam sasl ssl bindist mmx sse sse2"

When I use 'emerge -avuDN world' to upgrade the system, I fail to emerge mldonkey. It seems other software is OK to be upgraded.

The error message is:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/bin/ld: note: 'png_access_version_number@@PNG15_0' is defined in DSO /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libpng15.so so try adding it to the linker command line
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libpng15.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
make: *** [mlnet] Error 2
make: *** Waiting for unfinished jobs....
emake failed
* ERROR: net-p2p/mldonkey-3.1.0 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3229: Called die
* The specific snippet of code:
* emake || die "emake failed";
*
* If you need support, post the output of `emerge --info '=net-p2p/mldonkey-3.1.0'`,
* the complete build log and the output of `emerge -pqv '=net-p2p/mldonkey-3.1.0'`.
* The complete build log is located at '/var/tmp/portage/net-p2p/mldonkey-3.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/mldonkey-3.1.0/temp/environment'.
* Working directory: '/var/tmp/portage/net-p2p/mldonkey-3.1.0/work/mldonkey-3.1.0'
* S: '/var/tmp/portage/net-p2p/mldonkey-3.1.0/work/mldonkey-3.1.0'

>>> Failed to emerge net-p2p/mldonkey-3.1.0, Log file:

>>> '/var/tmp/portage/net-p2p/mldonkey-3.1.0/temp/build.log'

emerge --info '=net-p2p/mldonkey-3.1.0
> '
Portage 2.1.11.62 (default/linux/x86/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-gentoo-2.2
KiB Mem: 509588 total, 16816 free
KiB Swap: 1048572 total, 814468 free
Timestamp of tree: Sun, 19 May 2013 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.3-r3, 3.2.3-r2
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/ http://ftp.daum.net/gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/ http://mirrors.163.com/gentoo/ http://ftp.kaist.ac.kr/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit cracklib crypt ctype cups curl cxx dbus dri dts dvd dvdr emboss encode exif extras fam fastcgi firefox flac fortran ftp gd gdbm gif gpm gtk hash iconv jpeg lcms ldap libnotify lock mad ming mmx mng modules mp3 mp4 mpeg mudflap mysql ncurses nginx nls nptl ogg opengl openmp pam pango pcre pdf pdo png policykit ppds python qt3support readline sasl sdl session spell sqlite sse sse2 ssl startup-notification svg symlink tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh_CN zh" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
Package Settings
=================================================================

net-p2p/mldonkey-3.1.0 was built with the following:
USE="gtk ocamlopt -bittorrent -doc -fasttrack -gd -gnutella -guionly -magic"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"


emerge -pqv '=net-p2p/mldonkey-3.1.0'
[ebuild R ] net-p2p/mldonkey-3.1.0 USE="gd* gtk ocamlopt -bittorrent -doc -fasttrack -gnutella -guionly -magic"
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5414

PostPosted: Mon May 20, 2013 5:20 am    Post subject: Reply with quote

Try revdep-rebuild first, if that doesn't help - rebuild lablgtk.
Back to top
View user's profile Send private message
bluephoenix
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2008
Posts: 75

PostPosted: Mon May 20, 2013 5:56 am    Post subject: Reply with quote

TI followed your two methods, but no helped.

Do you have other ideas?

Thanks!
Back to top
View user's profile Send private message
bluephoenix
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2008
Posts: 75

PostPosted: Tue May 21, 2013 3:06 pm    Post subject: Reply with quote

Is there anyone can help to solve this issue?

Thank you very much!
Back to top
View user's profile Send private message
r_pns
n00b
n00b


Joined: 02 Jul 2006
Posts: 25

PostPosted: Sun Jul 07, 2013 11:12 pm    Post subject: Reply with quote

Try to build the package with gd flag unset:
Code:

USE="-gd" emerge mldonkey

Alternatively, the new version 3.1.3 seems to compile successfully even with that flag set.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum