NetBSD Problem Report #51397
From www@NetBSD.org Mon Aug 8 01:29:47 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id A98667A27F
for <gnats-bugs@gnats.NetBSD.org>; Mon, 8 Aug 2016 01:29:47 +0000 (UTC)
Message-Id: <20160808012946.3D83F7A2B9@mollari.NetBSD.org>
Date: Mon, 8 Aug 2016 01:29:46 +0000 (UTC)
From: german@free.fr
Reply-To: german@free.fr
To: gnats-bugs@NetBSD.org
Subject: mldonkey doesn't build anymore
X-Send-Pr-Version: www-1.0
>Number: 51397
>Category: pkg
>Synopsis: mldonkey doesn't build anymore
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jaapb
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 08 01:30:00 +0000 2016
>Closed-Date: Mon Nov 07 05:01:40 +0000 2016
>Last-Modified: Mon Nov 07 05:01:40 +0000 2016
>Originator: Germain Le Chapelain
>Release: tip
>Organization:
COGENAV
>Environment:
NetBSD germ.vc.shawcable.net 7.99.31 NetBSD 7.99.31 (GENERIC) #1: Sat Jul 16 15:06:51 UTC 2016 german@germ:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
mldonkey package doesn't build for me:
When I go make install clean clean-depends in /usr/pkgsrc/net/mldonkey I eventually get:
/usr/pkgsrc/net/mldonkey/work/.buildlink/bin/ocamlc.opt -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/networks/direct_connect -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I +camlp4 -c src/utils/cdk/zip.mli
ocamlopt.opt -inline 10 -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/networks/direct_connect -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I +camlp4 -c src/utils/cdk/zip.ml
File "src/utils/cdk/zip.ml", line 30, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "src/utils/cdk/zip.ml", line 75, characters 10-15:
Error: Multiple definition of the extension constructor name Error.
Names must be unique in a given structure or signature.
gmake: *** [Makefile:5447: src/utils/cdk/zip.cmx] Error 2
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/net/mldonkey
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/mldonkey
bash-4.3#
>How-To-Repeat:
try building mldonkey
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jaapb
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 09 Aug 2016 17:42:55 +0000
Responsible-Changed-Why:
Jaap, this is ocaml-related. Could you take a look please?
From: Jaap Boender <jaapb@kerguelen.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51397 (mldonkey doesn't build anymore)
Date: Fri, 12 Aug 2016 14:38:32 +0100
At first glance, this looks like an ocaml 4.03 problem. mldonkey doesn't
seem to have been updated for a while now, and the repository seems to
be down. I'll check if someone else has fixed this bug somewhere.
From: "Jaap Boender" <jaapb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51397 CVS commit: pkgsrc/net/mldonkey
Date: Mon, 15 Aug 2016 15:48:19 +0000
Module Name: pkgsrc
Committed By: jaapb
Date: Mon Aug 15 15:48:19 UTC 2016
Modified Files:
pkgsrc/net/mldonkey: Makefile distinfo
pkgsrc/net/mldonkey/patches: patch-config_configure.in
Added Files:
pkgsrc/net/mldonkey/patches: patch-src_config_unix_os_stubs.c.c
patch-src_networks_donkey_donkeyGlobals.ml
patch-src_utils_cdk_gdstubs.c patch-src_utils_cdk_zip.ml
patch-src_utils_cdk_zlibstubs.c patch-src_utils_lib_fst_hash.c
patch-src_utils_lib_options.ml4 patch-src_utils_lib_os_stubs.h
Log Message:
Added patches to net/mldonkey to make it compile with OCaml 4.03. Most of
the patches were taken from the Gentoo ebuild at
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ddc06bf06bc144de45139545ff4eb6f660b443c
with one pkgsrc-specific addition. There were no upstream changes.
This (hopefully) fixes PR pkg/51397
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/net/mldonkey/Makefile
cvs rdiff -u -r1.63 -r1.64 pkgsrc/net/mldonkey/distinfo
cvs rdiff -u -r1.5 -r1.6 \
pkgsrc/net/mldonkey/patches/patch-config_configure.in
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/mldonkey/patches/patch-src_config_unix_os_stubs.c.c \
pkgsrc/net/mldonkey/patches/patch-src_networks_donkey_donkeyGlobals.ml \
pkgsrc/net/mldonkey/patches/patch-src_utils_cdk_gdstubs.c \
pkgsrc/net/mldonkey/patches/patch-src_utils_cdk_zip.ml \
pkgsrc/net/mldonkey/patches/patch-src_utils_cdk_zlibstubs.c \
pkgsrc/net/mldonkey/patches/patch-src_utils_lib_fst_hash.c \
pkgsrc/net/mldonkey/patches/patch-src_utils_lib_options.ml4 \
pkgsrc/net/mldonkey/patches/patch-src_utils_lib_os_stubs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: jaapb@NetBSD.org
State-Changed-When: Mon, 15 Aug 2016 15:52:22 +0000
State-Changed-Why:
Fix committed, could the reporter please check that the program works
properly?
From: german@free.fr
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51397 (mldonkey doesn't build anymore)
Date: Sun, 06 Nov 2016 23:25:06 +0100
Le 2016-08-15 17:52, jaapb@NetBSD.org a écrit :
> Synopsis: mldonkey doesn't build anymore
>
> State-Changed-From-To: open->feedback
> State-Changed-By: jaapb@NetBSD.org
> State-Changed-When: Mon, 15 Aug 2016 15:52:22 +0000
> State-Changed-Why:
> Fix committed, could the reporter please check that the program works
> properly?
Thanks so much, yes it does work now.
I have been experiencing weird crashes with my setup at current which
prevented me to test until I reset to the release 7.0.1 (I am about to
try 7.0.2 now)
From: coypu@SDF.ORG
To: gnats-bugs@NetBSD.org
Cc: german@free.fr
Subject: Re: pkg/51397 (mldonkey doesn't build anymore)
Date: Sun, 6 Nov 2016 22:35:29 +0000
On Sun, Nov 06, 2016 at 10:30:01PM +0000, german@free.fr wrote:
> I have been experiencing weird crashes with my setup at current which
> prevented me to test until I reset to the release 7.0.1 (I am about to
> try 7.0.2 now)
>
Please file a bug for those too!
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 07 Nov 2016 05:01:40 +0000
State-Changed-Why:
this problem confirmed fixed - please do file another PR for the other
probelms unless they're really local-only.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.