ports/163688: net/samba4-devel build stops

Takeharu KATO takeharu1219 at ybb.ne.jp
Thu Dec 29 00:30:11 UTC 2011


>Number:         163688
>Category:       ports
>Synopsis:       net/samba4-devel build stops
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 29 00:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Takeharu KATO
>Release:        8.2-RELEASE
>Organization:
>Environment:
8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 
>Description:
Can not build samba4-devel whichh is need to build x11/gnome2.

error messages:
    param/pyparam_util.c: In function 'lp_from_py_object':
    param/pyparam_util.c:50: error: expected expression before 'struct'

same error occurs in  lib/talloc/pytalloc.c

>How-To-Repeat:
type make install in /usr/ports/net/samba4-devel.
>Fix:
Apply the attached patches.


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-lib__talloc__pytalloc.c
#	patch-source4-param-pyparam_util.c
#
echo x - patch-lib__talloc__pytalloc.c
sed 's/^X//' >patch-lib__talloc__pytalloc.c << '9b446a1daafb203374432eb68707cf33'
X--- lib/talloc/pytalloc.c.orig	2011-12-28 04:17:32.076825692 +0900
X+++ lib/talloc/pytalloc.c	2011-12-28 04:22:03.628624873 +0900
X@@ -18,8 +18,8 @@
X */
X 
X #include "replace.h"
X-#include <talloc.h>
X-#include <pytalloc.h>
X+#include "talloc.h"
X+#include "pytalloc.h"
X 
X /**
X  * Simple dealloc for talloc-wrapping PyObjects
9b446a1daafb203374432eb68707cf33
echo x - patch-source4-param-pyparam_util.c
sed 's/^X//' >patch-source4-param-pyparam_util.c << '4dce954c747fc74cba6022905e0f9b1f'
X--- source4/param/pyparam_util.c.orig	2011-12-28 04:07:27.962289417 +0900
X+++ source4/param/pyparam_util.c	2011-12-28 04:04:04.891668850 +0900
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 #define PyLoadparmContext_AsLoadparmContext(obj) py_talloc_get_type(obj, struct loadparm_context)
X 
4dce954c747fc74cba6022905e0f9b1f
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list