Package Details: mldonkey 3.1.7.2-3

Git Clone URL: https://aur.archlinux.org/mldonkey.git (read-only, click to copy)
Package Base: mldonkey
Description: A multi-network P2P client
Upstream URL: http://mldonkey.sourceforge.net/
Licenses: GPL2
Submitter: arojas
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 4
Popularity: 0.000014
First Submitted: 2021-05-08 09:19 (UTC)
Last Updated: 2023-10-30 06:03 (UTC)

Pinned Comments

FabioLolix commented on 2023-06-18 14:41 (UTC)

I have uploaded ocaml4 on the AUR, it is not compatible with ocaml from the official repository, fortunately there was no need to make an ocaml4 version of dune (for now)

Latest Comments

1 2 3 4 Next › Last »

FabioLolix commented on 2023-10-30 06:04 (UTC)

@evilred the file is still there, anyway I made a copy in my patch collection

evilred commented on 2023-10-30 04:44 (UTC)

failed to download https://raw.githubusercontent.com/gentoo/gentoo/master/net-p2p/mldonkey/files/cpp17-byte-namespace.patch

FabioLolix commented on 2023-09-18 18:48 (UTC)

@grosjo can't confirm, successfully build with devtools and (outdated) system, my suggestion are:

  • remove any pkgbuild cache
  • remove any ocaml(5) package(s) if left

My best guess is on the cache, I have different ouput:

Compiling CryptoPP.cc can take several minutes, on slow machines up to half an hour.
make[1]: Entering directory '/build/mldonkey/src/mldonkey-3.1.7-2'
make[1]: 'svg_converter.byte' is up to date.
make[1]: Leaving directory '/build/mldonkey/src/mldonkey-3.1.7-2'
/usr/bin/ocamlopt.opt -unsafe-string -inline 10 -w +a-3-4-6-27-29-32-35-37-41-44-45-48-60    -I src/utils/extlib  [...] -I +camlp4 -I +num -c src/utils/lib/syslog.ml

Note svg_converter.byte line which is missing from yours and the first file build is syslog.ml, while I don't have filename2.cmi anywhere in my log but there are several filename2.cmx


Btw that isn't a full log, uploading full logs here isn't welcome so send it directly to me by email or with a pastbin services

grosjo commented on 2023-09-18 10:59 (UTC) (edited on 2023-09-18 12:21 (UTC) by grosjo)

Compilers:
 - OCaml version     4.14.1 
 - gcc version       13.2.1
 - g++ version       13.2.1

\nNow execute 'make' to start compiling. Good luck!

To compile a static code execute:     make mlnet.static
To produce a release tarball execute: make release.mlnet.static
To clean the build directory execute: make maintainerclean

Compiling CryptoPP.cc can take several minutes, on slow machines up to half an hour.
make[1]: Entering directory '/files/admin/aur/mldonkey/src/mldonkey-3.1.7-2'
/usr/bin/ocamlc.opt -unsafe-string -w +a-3-4-6-27-29-32-35-37-41-44-45-48-60   -I src/utils/extlib  -I src/utils/cdk  -I src/utils/bitstring  -I src/utils/lib  -I src/utils/ocamlrss  -I src/utils/xml-light  -I src/utils/net  -I tools  -I src/daemon/common  -I src/daemon/driver  -I src/utils/mp3tagui  -I src/config/unix  -I src/gtk2/gui  -I src/gtk2/gui/x11  -I src/gtk2/gui/win32  -I icons/rsvg  -I +lablgtk2  -I src/networks/direct_connect  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -I +num -c src/utils/lib/misc2.ml
File "src/utils/lib/misc2.ml", line 1:
Error: src/utils/cdk/filename2.cmi
       is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
make[1]: *** [Makefile:5446: src/utils/lib/misc2.cmo] Error 2
make[1]: Leaving directory '/files/admin/aur/mldonkey/src/mldonkey-3.1.7-2'
make: *** [Makefile:5167: depend] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

FabioLolix commented on 2023-09-18 09:17 (UTC)

Hi grosjo, send me the full log, I'll take a look when I have time, I'm not at the pc at the moment

grosjo commented on 2023-09-18 08:17 (UTC)

Hi

On up-to-date Archlinux, I get the following error

File "src/utils/lib/misc2.ml", line 1: Error: src/utils/cdk/filename2.cmi is not a compiled interface for this version of OCaml. It seems to be for an older version of OCaml.

I installed ocaml4 and removed ocaml5 indeed

korimitsu commented on 2023-06-20 17:50 (UTC) (edited on 2023-06-20 17:50 (UTC) by korimitsu)

If dependency hell with ocaml and ocaml4 happens:

https://bbs.archlinux.org/viewtopic.php?id=286627

FabioLolix commented on 2023-06-18 14:41 (UTC)

I have uploaded ocaml4 on the AUR, it is not compatible with ocaml from the official repository, fortunately there was no need to make an ocaml4 version of dune (for now)

FabioLolix commented on 2023-06-18 14:34 (UTC)

@korimitsu there was not need to flag OOD again:

  • there is no new version
  • I know that this don't build with ocaml5
  • upstream know that this no longer build with ocaml5

The package is broken from AUR

changes happen and I'm not an OCaml developer

Downloading the zst doesn't mean the AUR package is fixed.

I gave reasonable solution and I didn't say it was fixed

korimitsu commented on 2023-06-12 14:07 (UTC)

The package is broken from AUR. Downloading the zst doesn't mean the AUR package is fixed.