You are not logged in.
Build log:
$ paru -S mldonkey
:: Resolving dependencies...
:: There are 2 providers available for mldonkey:
:: Repository AUR:
1) mldonkey 2) mldonkey-ed2kad-daemon-git
Enter a number (default=1):
:: Calculating conflicts...
:: Calculating inner conflicts...
:: marked out of date: mldonkey
Aur (1) mldonkey-3.1.7.2-3
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
/home/korimitsu/.cache/paru/clone/mldonkey/mldonkey.service-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
[Unit]
Description=Mldonkey - Multiple Peer-To-Peer Network Client
After=network.target
[Service]
User=mldonkey
ExecStart=/usr/bin/mlnet -log_to_syslog true -log_file /dev/null -pid /run/mldonkey
[Install]
WantedBy=multi-user.target
/home/korimitsu/.cache/paru/clone/mldonkey/mldonkey.conf
# Parameters to be passed to the daemon (default is empty)
PARAMS=""
/home/korimitsu/.cache/paru/clone/mldonkey/PKGBUILD
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=mldonkey
_pkgver=3.1.7-2
pkgver=${_pkgver//-/.}
pkgrel=3
pkgdesc='A multi-network P2P client'
arch=(x86_64)
url='http://mldonkey.sourceforge.net/'
license=(GPL2)
depends=(file gd hicolor-icon-theme libnatpmp libminiupnpc.so)
makedepends=(gtk2 librsvg ocaml4 ocaml4-camlp4 ocaml4-lablgtk2 ocaml4-num miniupnpc)
optdepends=('librsvg: GUI support'
'gtk2: GUI support'
'gtk-engine-murrine: optional theme engine')
backup=(etc/conf.d/mldonkey)
source=("https://github.com/ygrek/mldonkey/releases/download/release-${pkgver//./-}/mldonkey-${_pkgver}.tar.bz2"
"https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/mldonkey-cpp17-byte-namespace.patch"
"https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/mldonkey-fix-build-with-4.12.patch"
"https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/mldonkey-fix-build.patch"
mldonkey.conf
mldonkey.service
mldonkey.tmpfiles
mldonkey.sysusers)
sha256sums=('b926e7aa3de4b4525af73c88f1724d576b4add56ef070f025941dd51cb24a794'
'eef21187cecc6f1052ff6e0d988093a6fed8b4745ecb257b9e127c23c60cb27d'
'9c8f54159e2bf5e390f574a015a79b88a87a2117f5bb732741296948a2fb0b8b'
'333c3b0ad43b6d6f1786cdd780d4b66fadc638d192875df4422724176201ffdf'
'f1d9401cefd591662d49011c53fdb2788755a6f745a963e46d8037b990edeb6a'
'778cebe8edcffd63db3594054c2daa62ce571644a96ad235b8c95470b55c0415'
'9c78fbfbba4f8286e2c2299e4da6f76d0f34f33fde26964922707c34fb75157b'
'24d7ef8f6af93a8d87a82842b0ed796e35ce2f88d81734d9275eede8f4e10fba')
# {,.asc}
# FAILED (the public key A34C49DD3DB8B78DFAEBE0FA6346B945708D5A0C is not trusted)
prepare() {
cd "mldonkey-${_pkgver}"
patch -Np1 -i ../mldonkey-cpp17-byte-namespace.patch
patch -Np1 -i ../mldonkey-fix-build-with-4.12.patch
patch -Np1 -i ../mldonkey-fix-build.patch
:: Accept changes? [Y/n]:
fetching devel info...
==> Making package: mldonkey 3.1.7.2-3
==> Retrieving sources...
-> Downloading mldonkey-3.1.7-2.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2736k 100 2736k 0 0 2824k 0 --:--:-- --:--:-- --:--:-- 24.0M
-> Downloading mldonkey-cpp17-byte-namespace.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2224 100 2224 0 0 9404 0 --:--:-- --:--:-- --:--:-- 9423
-> Downloading mldonkey-fix-build-with-4.12.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 847 100 847 0 0 3340 0 --:--:-- --:--:-- --:--:-- 3334
-> Downloading mldonkey-fix-build.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 630 100 630 0 0 2260 0 --:--:-- --:--:-- --:--:-- 2266
-> Found mldonkey.conf
-> Found mldonkey.service
-> Found mldonkey.tmpfiles
-> Found mldonkey.sysusers
==> Validating source files with sha256sums...
mldonkey-3.1.7-2.tar.bz2 ... Passed
mldonkey-cpp17-byte-namespace.patch ... Passed
mldonkey-fix-build-with-4.12.patch ... Passed
mldonkey-fix-build.patch ... Passed
mldonkey.conf ... Passed
mldonkey.service ... Passed
mldonkey.tmpfiles ... Passed
mldonkey.sysusers ... Passed
==> Making package: mldonkey 3.1.7.2-3
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found mldonkey-3.1.7-2.tar.bz2
-> Found mldonkey-cpp17-byte-namespace.patch
-> Found mldonkey-fix-build-with-4.12.patch
-> Found mldonkey-fix-build.patch
-> Found mldonkey.conf
-> Found mldonkey.service
-> Found mldonkey.tmpfiles
-> Found mldonkey.sysusers
==> Validating source files with sha256sums...
mldonkey-3.1.7-2.tar.bz2 ... Passed
mldonkey-cpp17-byte-namespace.patch ... Passed
mldonkey-fix-build-with-4.12.patch ... Passed
mldonkey-fix-build.patch ... Passed
mldonkey.conf ... Passed
mldonkey.service ... Passed
mldonkey.tmpfiles ... Passed
mldonkey.sysusers ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting mldonkey-3.1.7-2.tar.bz2 with bsdtar
==> Starting prepare()...
patching file src/utils/lib/CryptoPP.cc
patching file src/utils/lib/CryptoPP.h
patching file src/networks/donkey/donkeyClient.ml
patching file src/utils/lib/CryptoPP.h
==> Sources are ready.
mldonkey-3.1.7.2-3: parsing pkg list...
==> Making package: mldonkey 3.1.7.2-3
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Arguments to configure: '--enable-option-checking=fatal' '--prefix=/usr' '--enable-gui=newgui2' '--enable-upnp-natpmp' '--enable-batch' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/korimitsu/.cache/paru/clone/mldonkey/src=/usr/src/debug/mldonkey -flto=auto' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/korimitsu/.cache/paru/clone/mldonkey/src=/usr/src/debug/mldonkey -flto=auto'
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
--------------------------------
Checking system tools.
--------------------------------
checking for ranlib... ranlib
checking for gmake... no
checking for make... make
checking if make is GNU make ... yes
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for perl... /usr/bin/perl
checking for rpmbuild... no
checking for rpm... no
checking for wget... wget
----------------------------------------
Checking system tools finished.
----------------------------------------
--------------------------------
Checking OCaml compiler.
--------------------------------
checking for ocamlc.opt... /usr/bin/ocamlc.opt
checking for ocamlc... /usr/bin/ocamlc.opt
checking for camlp4... /usr/bin/camlp4
checking for ocamlopt.opt... /usr/bin/ocamlopt.opt
checking for ocamlopt... (cached) /usr/bin/ocamlopt.opt
checking for ocamldep... /usr/bin/ocamldep
checking for ocamllex.opt... /usr/bin/ocamllex.opt
checking for ocamllex... (cached) /usr/bin/ocamllex.opt
checking for ocamlyacc... /usr/bin/ocamlyacc
checking for ocamldoc... /usr/bin/ocamldoc
checking for ocamlmktop... /usr/bin/ocamlmktop
checking for camlp4... (cached) /usr/bin/camlp4
checking for camlp4of... /usr/bin/camlp4of
-------------------------------------------
Checking OCaml 4.14.2 finished.
-------------------------------------------
checking ocaml num library... found -I +num
----------------------------------
Checking system headers.
----------------------------------
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for setrlimit... yes
checking for getrlimit... yes
checking for strerror_r... yes
checking for strerror... yes
checking for posix_fallocate... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for poll... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
-------------------------------------------
Checking system headers finished.
-------------------------------------------
-----------------------------------
Checking system libraries.
-----------------------------------
----- checking zlib (required)
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
----- checking bzlib (optional)
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzReadOpen in -lbz2... yes
checking for BZ2_bzlibVersion in -lbz2... yes
----- checking libminiupnpc >= 1.6 (optional)
checking miniupnpc/miniupnpc.h usability... yes
checking miniupnpc/miniupnpc.h presence... yes
checking for miniupnpc/miniupnpc.h... yes
checking for upnpDiscover in -lminiupnpc... yes
----- checking libnatpmp >= 20110808 (optional)
checking natpmp.h usability... yes
checking natpmp.h presence... yes
checking for natpmp.h... yes
checking for initnatpmp in -lnatpmp... yes
----- checking libmagic (GNU file) (optional)
checking magic.h usability... yes
checking magic.h presence... yes
checking for magic.h... yes
checking for magic_file in -lmagic... yes
checking whether MAGIC_ERROR is declared... yes
----- checking gd (optional)
checking for gdlib-config... no
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for gdImageCreate in -lgd... no
configure: not found, trying another method
checking for gdImageCreate in -lgd... yes
checking for libpng-config... libpng-config
checking for png_create_read_struct in -lpng... yes
checking for gdImagePng in -lgd... no
configure: not found, trying another method
checking for gdImagePng in -lgd... yes
checking for png support in libgd... yes
checking for png_access_version_number in -lpng... yes
checking for jpeg_CreateCompress in -ljpeg... yes
checking for gdImageJpeg in -lgd... no
configure: not found, trying another method
checking for gdImageJpeg in -lgd... yes
checking for jpeg support in libgd... yes
----- checking iconv (optional)
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for locale_charset... no
configure: found nl_langinfo(CODESET)
checking for locale_charset in -lcharset... no
checking libcharset.h usability... no
checking libcharset.h presence... no
checking for libcharset.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
----- checking thread support (optional, strongly advised)
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
----- GNU C Library version
checking linux/limits.h usability... yes
checking linux/limits.h presence... yes
checking for linux/limits.h... yes
checking gnu/libc-version.h usability... yes
checking gnu/libc-version.h presence... yes
checking for gnu/libc-version.h... yes
checking for GNU C Library version... 2.39
---------------------------------------------
Checking system libraries finished.
---------------------------------------------
--------------------------------------
Checking activated networks.
--------------------------------------
checking eDonkey... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++... g++
checking eMule SUI... yes
checking whether g++ accepts -fno-omit-frame-pointer... yes
checking whether g++ accepts -mno-omit-leaf-frame-pointer... yes
checking BitTorrent... yes
checking FileTP... yes
checking Fasttrack... yes
checking DirectConnect... yes
-----------------------------------------------
Checking activated networks finished.
-----------------------------------------------
---------------------------------------------------------
Checking the libraries required to build the GTK GUI.
---------------------------------------------------------
checking for GTK+ - version >= 2.4.0... yes
checking for librsvg - version >= 2.4.0... yes
checking for native code lablgtk2... yes
checking GToolbox.popup_menu args... val popup_menu : entries: menu_entry list -> button: int -> time: int32 -> unit
new
---------------------------------------------------------
End of GTK GUI configuration.
---------------------------------------------------------
configure: creating ./config.status
config.status: creating Makefile.config
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 ../src/utils/bitstring/bitstring.ml
config.status: creating ../src/utils/lib/magic.ml
config.status: creating ../src/networks/donkey/donkeySui.ml
config.status: creating ../src/daemon/driver/driverGraphics.ml
config.status: creating ../packages/rpm/mldonkey.spec
config.status: creating ../packages/rpm/Makefile
config.status: creating ../packages/slackware/mldonkey.options
config.status: creating config.h
Building dependencies (if it blocks, try 'make depend' to see the problem)
Building dependencies fails: try: 'make depend'
Configuring MLDonkey 3.1.7 completed.
Network modules:
- eDonkey enabled (eMule SUI enabled)
- BitTorrent enabled
- FileTP (aka wget) enabled
- Fasttrack enabled
- Gnutella disabled - unmaintained
- Gnutella2 disabled - unmaintained
- Direct Connect enabled
- Open Napster disabled - currently not usable
- Soulseek disabled - currently not usable
- OpenFT disabled - currently not usable
Core features:
- zlib (required) enabled
- threads enabled
- bzip2 enabled
- iconv enabled
- libmagic enabled
- upnp & natpmp enabled
- graphical stats enabled
- png support enabled
- jpg support enabled
- GUI support GTK2 GUI
Compilers:
- OCaml version 4.14.2
- gcc version 14.1.1
- g++ version 14.1.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 '/home/korimitsu/.cache/paru/clone/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 -verbose -ccopt "-I /byterun -o src/utils/lib/charsetstubs.o" -ccopt "-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/korimitsu/.cache/paru/clone/mldonkey/src=/usr/src/debug/mldonkey -flto=auto -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/sysprof-6 " -ccopt "-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto " -cclib "-lz " -cclib -lbz2 -c src/utils/lib/charsetstubs.c
+ gcc -O2 -fno-strict-aliasing -fwrapv -pthread -g -fno-omit-frame-pointer -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/korimitsu/.cache/paru/clone/ocaml4/src=/usr/src/debug/ocaml4 -flto=auto -ffat-lto-objects -D_FILE_OFFSET_BITS=64 -c -I /byterun -o src/utils/lib/charsetstubs.o -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/korimitsu/.cache/paru/clone/mldonkey/src=/usr/src/debug/mldonkey -flto=auto -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/sysprof-6 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -I'/usr/lib/ocaml' 'src/utils/lib/charsetstubs.c'
src/utils/lib/charsetstubs.c: In function ‘raise_error’:
src/utils/lib/charsetstubs.c:171:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
171 | closure_f = caml_named_value("charset_error");
| ^
src/utils/lib/charsetstubs.c:173:13: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead
173 | raise_constant(*closure_f);
| ^~~~~~~~~~~~~~~~~
src/utils/lib/charsetstubs.c: In function ‘ml_iconv’:
src/utils/lib/charsetstubs.c:1207:23: error: passing argument 2 of ‘iconv’ from incompatible pointer type [-Wincompatible-pointer-types]
1207 | return iconv (cd, inbuf, inbytes_left, outbuf, outbytes_left);
| ^~~~~
| |
| const char **
In file included from src/utils/lib/charsetstubs.c:45:
/usr/include/iconv.h:49:54: note: expected ‘char ** restrict’ but argument is of type ‘const char **’
49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
| ~~~~~~~~~~~~~~~~~~^~~~~~~
src/utils/lib/charsetstubs.c: In function ‘ml_copy_string_len_and_free’:
src/utils/lib/charsetstubs.c:1339:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead
1339 | v = alloc_string (len);
| ^~~~~~~~~~~~~
src/utils/lib/charsetstubs.c: In function ‘ml_convert_string’:
src/utils/lib/charsetstubs.c:1351:13: warning: "string_length" is deprecated: use "caml_string_length" instead
1351 | c_res = ml_convert(String_val(str),string_length(str),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/utils/lib/charsetstubs.c: In function ‘ml_utf8_validate’:
src/utils/lib/charsetstubs.c:1361:13: warning: "string_length" is deprecated: use "caml_string_length" instead
1361 | return Val_bool(utf8_validate(SizedString_val(s),NULL));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/utils/lib/charsetstubs.c: In function ‘ml_locale_charset’:
src/utils/lib/charsetstubs.c:1380:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
1380 | return (copy_string ((char*) str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:5476: src/utils/lib/charsetstubs.o] Error 2
make[1]: Leaving directory '/home/korimitsu/.cache/paru/clone/mldonkey/src/mldonkey-3.1.7-2'
make: *** [Makefile:5167: depend] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'mldonkey-3.1.7.2-3':
error: packages failed to build: mldonkey-3.1.7.2-3
Last edited by korimitsu (2024-06-30 20:11:50)
Offline
This is due to new compiler changes in gcc, you can just dirty-patch it back like so:
CFLAGS+=" -Wno-incompatible-pointer-types"
Offline
makepkg -si fails:
Warning 33 [unused-open]: unused open Gettext.
File "src/gtk2/gui/guiMisc.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "src/gtk2/gui/guiMisc.ml", line 25, characters 0-13:
25 | open GuiProto
^^^^^^^^^^^^^
Warning 33 [unused-open]: unused open GuiProto.
/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 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/gtk2/gui/guiSystray.ml
File "src/gtk2/gui/guiSystray.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
/usr/bin/ocamlopt.opt -unsafe-string -inline 10 -w +a-3-4-6-27-29-32-35-37-41-44-45-48-60 -linkall -o mlguistarter \
bigarray.cmxa unix.cmxa str.cmxa -I +num nums.cmxa -ccopt "-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto " -cclib "-lz " -cclib -lbz2 \
-ccopt "" -cclib "-lgtk-x11-2.0 -lgdk-x11-2.0 -lharfbuzz -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lX11" -I +lablgtk2 lablgtk.cmxa gtkInit.cmx lablrsvg.cmxa \
\
\
\
\
\
-I build build/extlib.cmxa build/cdk.cmxa build/common.cmxa build/icons.cmxa build/guibase.cmxa src/gtk2/gui/guiStarter.cmx
File "_none_", line 1:
Error: Files /usr/lib/ocaml/num/nums.cmxa and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Stdlib__Sys
make: *** [Makefile:3621: mlguistarter] Error 2
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
Offline