Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55555 - Can't emerge net-p2p/mldonkey-2.5.16-r4
Summary: Can't emerge net-p2p/mldonkey-2.5.16-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 06:23 UTC by b52
Modified: 2004-07-07 10:53 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 b52 2004-06-29 06:23:57 UTC
I get the following error while compiling net-p2p/mldonkey-2.5.16-r4 with and without distcc:

checking for pthread_join in LIBS=yes with CFLAGS=... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking compile GTK GUI... no
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for ../src/pic/picMain.ml... no
checking for ../src/spider/spiderMain.ml... no
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating Makefile.config.i386
config.status: creating Makefile.config.i486
config.status: creating Makefile.config.i586
config.status: creating Makefile.config.i686
config.status: creating mldonkey.rc
config.status: creating ../src/utils/lib/autoconf.ml.new
config.status: creating ../src/utils/lib/gAutoconf.ml.new
config.status: creating ../packages/rpm/mldonkey.spec
config.status: creating ../packages/rpm/Makefile
config.status: creating ../packages/windows/mlnet.nsi
config.status: creating config.h
Building dependencies
Building dependencies fails: try: 'make depend' or 'gmake depend'
The following modules will not be compiled: { audio_galaxy(obsolete) openFT(obsolete) mldonkey_gui$(EXE) mldonkey_gui2$(EXE) mlchat$(EXE) }
ocamllex.opt src/networks/opennap/napigator.mll
26 states, 272 transitions, table size 1244 bytes
echo '# 1 "tools/ocamlpp.ml4"' > tools/ocamlpp.ml
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -impl tools/ocamlpp.ml4 >> tools/ocamlpp.ml
echo '# 1 "src/utils/lib/options.ml4"' > src/utils/lib/options.ml
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -impl src/utils/lib/options.ml4 >> src/utils/lib/options.ml
echo '# 1 "src/utils/lib/gettext.ml4"' > src/utils/lib/gettext.ml
ocamllex.opt src/utils/cdk/xmllex.mll
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -impl src/utils/lib/gettext.ml4 >> src/utils/lib/gettext.ml
ocamllex.opt src/utils/lib/http_lexer.mll
50 states, 549 transitions, table size 2496 bytes
13 states, 263 transitions, table size 1130 bytes
make: *** [tools/ocamlpp.ml] Error 139
make: *** Waiting for unfinished jobs....
make: *** [src/utils/lib/options.ml] Error 139
make: *** [src/utils/lib/gettext.ml] Error 139

!!! ERROR: net-p2p/mldonkey-2.5.16-r4 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge -vuD net-p2p/mldonkey
2.
3.

Actual Results:  
compilation exits with errors

Expected Results:  
emerged mldonkey :)

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -mmmx -m3dnow -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon -mmmx -m3dnow -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
rsync://ftp.join.uni-muenster.de/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X509 acpi acpi4linux activefilter amd apache2 autofs berkdb bluetooth
cdr cgi clamav crypt cups drac ethereal fastcgi fax foomaticdb freetds fullrpc
gdbm gif gpm imap innodb ipalias ipv6 isdn jpeg kerberos ldap libg++ libwww mad
maildir md5sum memlimit milter mmx mysql nagios-dns nagios-ntp nagios-ping
nagios-ssh ncurses nls oav pam parse-clocks pcap perl php png python readline
samba sasl skey slang snmp socks5 spell sse ssl tcpd tcsim transparent-proxy usb
virus-scan x86 xml2 zlib"


asterix / # cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 3
model name      : AMD Duron(tm) processor
stepping        : 1
cpu MHz         : 902.175
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1785.85
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-06-29 08:18:28 UTC
Could you please try mldonkey-2.5.16-r6 and let me know if it works. If so, I will mark it stable on x86.
Comment 2 b52 2004-06-29 10:28:38 UTC
I tried and it doesn't work, well i cant emerge it because of the following error:

ACCEPT_KEYWORDS="~x86" emerge -vD /usr/portage/net-p2p/mldonkey/mldonkey-2.5.16-r6.ebuild

configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating Makefile.config.i386
config.status: creating Makefile.config.i486
config.status: creating Makefile.config.i586
config.status: creating Makefile.config.i686
config.status: creating mldonkey.rc
config.status: creating ../src/utils/lib/autoconf.ml.new
config.status: creating ../src/utils/lib/gAutoconf.ml.new
config.status: creating ../packages/rpm/mldonkey.spec
config.status: creating ../packages/rpm/Makefile
config.status: creating ../packages/windows/mlnet.nsi
config.status: creating config.h
Building dependencies
Building dependencies fails: try: 'make depend' or 'gmake depend'
The following modules will not be compiled: { audio_galaxy(obsolete) openFT(obsolete) mldonkey_gui$(EXE) mldonkey_gui2$(EXE) mlchat$(EXE) }
ocamllex.opt src/networks/opennap/napigator.mll
echo '# 1 "tools/ocamlpp.ml4"' > tools/ocamlpp.ml
echo '# 1 "src/utils/lib/options.ml4"' > src/utils/lib/options.ml
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -impl tools/ocamlpp.ml4 >> tools/ocamlpp.ml
echo '# 1 "src/utils/lib/gettext.ml4"' > src/utils/lib/gettext.ml
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -impl src/utils/lib/gettext.ml4 >> src/utils/lib/gettext.ml
ocamllex.opt src/utils/cdk/xmllex.mll
26 states, 272 transitions, table size 1244 bytes
make: *** [tools/ocamlpp.ml] Error 139
make: *** Waiting for unfinished jobs....
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -impl src/utils/lib/options.ml4 >> src/utils/lib/options.ml
make: *** Waiting for unfinished jobs....
50 states, 549 transitions, table size 2496 bytes
make: *** [src/utils/lib/gettext.ml] Error 139

!!! ERROR: net-p2p/mldonkey-2.5.16-r6 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)
Comment 3 spiralvoice 2004-07-06 10:37:11 UTC
What version of Ocaml are you using? 3.07-r1 is recommended.

BTW: Patchpack 2-5-16r is online... I removed all but 2-5-21g patchpacks from that series along with 2-5-21 binaries because they have bad performance and numerous problems with Lugdunum servers. Until further notice (when b8_bavard comes back and makes new contributions to CVS) I will focus on 2-5-16 series, that means no new patchpacks for 2-5-21 series anymore, it is to much trouble switching binaries and ini files. Therefore I think 2-5-21 should stay ~x86.

To all users who want to downgrade from > 2-5-17 to 2-5-16: You *will* lose all not completed chunks because files.ini is not compatible and has to be deleted before starting 2-5-16 core. Also recover_temp will take some time (12+ hours) to recompute your current downloads, so be patient.
Comment 4 Jon Hood (RETIRED) gentoo-dev 2004-07-06 13:39:58 UTC
patch_pack16r (mldonkey-2.5.16-r7) is now available in portage, thanks spiralvoice!

As for it not compiling, you do need ocaml-3.07 from portage, or it probably won't compile for you. Hopefully ocaml-3.07 will be pushed to the stable branch soon. When it is, hopefully all these mldonkey bugs will magically go away :).
Comment 5 Jon Hood (RETIRED) gentoo-dev 2004-07-06 13:51:19 UTC
And exactly 18 seconds after I posted that, ocaml 3.07 is now stable in portage! Next time you sync, try to remerge mldonkey and it _should_ work well.
Comment 6 b52 2004-07-07 10:53:18 UTC
Yes, it works. I merged it properly and until now i got no errors with mldonkey-2.5.16-r4 and ocaml-3.07-r1.
Thanks, bye, b52