From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 5 16:50:08 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B22611065672 for ; Fri, 5 Aug 2011 16:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8FB6C8FC0C for ; Fri, 5 Aug 2011 16:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p75Go8oW098379 for ; Fri, 5 Aug 2011 16:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p75Go8ep098378; Fri, 5 Aug 2011 16:50:08 GMT (envelope-from gnats) Resent-Date: Fri, 5 Aug 2011 16:50:08 GMT Resent-Message-Id: <201108051650.p75Go8ep098378@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, daniele Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 412F6106566B for ; Fri, 5 Aug 2011 16:41:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 3142B8FC1A for ; Fri, 5 Aug 2011 16:41:45 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p75GfihV096852 for ; Fri, 5 Aug 2011 16:41:45 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p75GfiYE096851; Fri, 5 Aug 2011 16:41:44 GMT (envelope-from nobody) Message-Id: <201108051641.p75GfiYE096851@red.freebsd.org> Date: Fri, 5 Aug 2011 16:41:44 GMT From: daniele To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/159531: [net][samba4-devel] build stops during configure and, later, compiling X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 16:50:08 -0000 >Number: 159531 >Category: ports >Synopsis: [net][samba4-devel] build stops during configure and, later, compiling >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 05 16:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: daniele >Release: 8.2-RELEASE >Organization: >Environment: 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 *:/usr/obj/usr/src/sys/GENERIC i386 >Description: System is building samba4-devel as it is required to build gnome. The following problems occur: * Samba4-devel's configure script stops the execution because tevent-0.9.8 (recently updated to .13) is not found. [A patch need to be applied] * Samba4-devel's build stops several times because py_talloc_dealloc is not found (talloc being updated to version 2.0.5). [Several patches need to be applied] >How-To-Repeat: make the port >Fix: In this system I applied several patches on the run. I am attaching them in case you would like to take a look; I made the best to adhere to the developers team's guidelines. Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # patch-source4-auth-credentials-pycredentials.h # patch-source4-auth-gensec-pygensec.c # patch-source4-auth-pyauth.h # patch-source4-lib-registry-pyregistry.c # patch-source4-min__versions.m4 # patch-source4-param-pyparam.c # echo x - patch-source4-auth-credentials-pycredentials.h sed 's/^X//' >patch-source4-auth-credentials-pycredentials.h << 'd9f3b3cba2b573b3af1675870563c528' X--- ./source4/auth/credentials/pycredentials.h.orig 2010-01-11 06:35:28.000000000 +0100 X+++ ./source4/auth/credentials/pycredentials.h 2011-08-05 17:40:27.000000000 +0200 X@@ -20,7 +20,7 @@ X #define _PYCREDENTIALS_H_ X X #include "auth/credentials/credentials.h" X-#include "pytalloc.h" X+#include "lib/talloc/pytalloc.h" X X PyAPI_DATA(PyTypeObject) PyCredentials; X #define PyCredentials_Check(py_obj) PyObject_TypeCheck(py_obj, &PyCredentials) d9f3b3cba2b573b3af1675870563c528 echo x - patch-source4-auth-gensec-pygensec.c sed 's/^X//' >patch-source4-auth-gensec-pygensec.c << '47c68c793f7ece39993a8ea8cc9e38dc' X--- ./source4/auth/gensec/pygensec.c.orig 2010-01-11 06:35:28.000000000 +0100 X+++ ./source4/auth/gensec/pygensec.c 2011-08-05 17:51:42.000000000 +0200 X@@ -22,7 +22,7 @@ X #include "auth/gensec/gensec.h" X #include "libcli/util/pyerrors.h" X #include "scripting/python/modules.h" X-#include "pytalloc.h" X+#include "lib/talloc/pytalloc.h" X #include X X #ifndef Py_RETURN_NONE 47c68c793f7ece39993a8ea8cc9e38dc echo x - patch-source4-auth-pyauth.h sed 's/^X//' >patch-source4-auth-pyauth.h << '43e25aea7884426d38543a4047d376ac' X--- ./source4/auth/pyauth.h.orig 2010-01-11 06:35:28.000000000 +0100 X+++ ./source4/auth/pyauth.h 2011-08-05 17:45:16.000000000 +0200 X@@ -20,7 +20,7 @@ X #ifndef _PYAUTH_H_ X #define _PYAUTH_H_ X X-#include "pytalloc.h" X+#include "lib/talloc/pytalloc.h" X #include "auth/session.h" X X PyAPI_DATA(PyTypeObject) PyAuthSession; 43e25aea7884426d38543a4047d376ac echo x - patch-source4-lib-registry-pyregistry.c sed 's/^X//' >patch-source4-lib-registry-pyregistry.c << '126ca60dd855922b693e051258d6df3f' X--- ./source4/lib/registry/pyregistry.c.orig 2010-01-11 06:35:28.000000000 +0100 X+++ ./source4/lib/registry/pyregistry.c 2011-08-05 17:48:51.000000000 +0200 X@@ -23,7 +23,7 @@ X #include "libcli/util/pyerrors.h" X #include "lib/registry/registry.h" X #include "scripting/python/modules.h" /* for py_iconv_convenience() */ X-#include X+#include "lib/talloc/pytalloc.h" X #include "auth/credentials/pycredentials.h" X #include "param/pyparam.h" X 126ca60dd855922b693e051258d6df3f echo x - patch-source4-min__versions.m4 sed 's/^X//' >patch-source4-min__versions.m4 << '5f9d8edcacdb0617ce4e8f0766d79617' X--- ./source4/min_versions.m4.orig 2010-01-11 06:35:28.000000000 +0100 X+++ ./source4/min_versions.m4 2011-08-05 17:15:56.000000000 +0200 X@@ -3,4 +3,4 @@ X define(TDB_MIN_VERSION,1.2.0) X define(TALLOC_MIN_VERSION,2.0.1) X define(LDB_REQUIRED_VERSION,0.9.10) X-define(TEVENT_REQUIRED_VERSION,0.9.8) X+define(TEVENT_REQUIRED_VERSION,0.9.13) 5f9d8edcacdb0617ce4e8f0766d79617 echo x - patch-source4-param-pyparam.c sed 's/^X//' >patch-source4-param-pyparam.c << '1199bc364cfd21e75b4ab23688a5150a' X--- ./source4/param/pyparam.c.orig 2011-08-05 17:33:17.000000000 +0200 X+++ ./source4/param/pyparam.c 2011-08-05 17:33:48.000000000 +0200 X@@ -21,7 +21,7 @@ X #include "includes.h" X #include "param/param.h" X #include "param/loadparm.h" X-#include "pytalloc.h" X+#include "lib/talloc/pytalloc.h" X X /* There's no Py_ssize_t in 2.4, apparently */ X #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5 1199bc364cfd21e75b4ab23688a5150a exit >Release-Note: >Audit-Trail: >Unformatted: